I think there is a possibility this could be actual syntax in a c++ modification. I mean in Arduino they somehow managed to use c syntax in a c++ script file.
restrict is part of C99, so pretty much everything after C99 is missing (except for C features that originate from C++). But even within C99, C++ does not have [static N] or VLAs, and there’s probably even more missing
People who played minecraft for years as their first "first person" game where it didn't have a key for sprint (you had to double tap w) and had shift automatically bound to crouch
I do, Minecraft was my first game I played on a pc, and no matter what first person game I’m playing, I always put sprint on ctrl, and crouch on shift
I hope that all variables are already declared and defined somwhere, I also hope that Walk and Move are macro even if the syntax is cursed, ',' can be overloaded but not ' '
I only use i've seen Is for oveloading the operator [ ] which can only take one argument, so with , and some little tricks you can pass more args to [ ]
Then declare every other word used as any global variable (int will do).
next, code starting from start need to be placed in some function (like main()), that will compile.
if you still want this to compile without enclosing function, you need more macro magic . You can't put expression statements in global scope, only declaration statements. so FPS = High; must expand to at least to const auto FPS_ = High;
2
u/ThomasEmminger Feb 08 '26
Why are we putting weird filters on images now?
15
u/UnreasonableEconomy Feb 08 '26
Yo that shit deep
deep fried
but at least it's got deep in it.
86
u/amppf Feb 08 '26
Line 17 is the fakest
88
u/ProbablyBunchofAtoms Feb 08 '26
The audacity to name the file .cpp instead of some toy language
92
u/n00ik Feb 08 '26
Who uses shift for crouch? Shift is sprint and ctrl is crouch...
3
u/Lobster_SEGA Feb 08 '26
Sorry if the image's chopped but i screenshot it by youtube.
15
u/Tiger_man_ Feb 08 '26
current state of gta6
6
u/Then-Candle8036 Feb 08 '26
"ping = pong"
4
u/un_virus_SDF Feb 08 '26
I hope that all variables are already declared and defined somwhere, I also hope that Walk and Move are macro even if the syntax is cursed, ',' can be overloaded but not ' '
4
u/gp57 Feb 08 '26
I wish more devs would add line 17 into their games
3
u/[deleted] Feb 08 '26
I bet Claude Opus could do something with this.
2
u/AccurateExam3155 Feb 08 '26
Can we see that compile…
2
u/That1M8Head Feb 08 '26
I wish it was that easy
2
u/BSFGP_0001 Feb 08 '26
Why does this picture look so sloppy
2
u/Consistent-Bird338 Feb 09 '26
Doesn't he know he has to indent lines 12 and 13?
3
u/Alan157 Feb 08 '26
Crouching with shift? Wtf
1
u/RScrewed Feb 08 '26
Even for a joke, the complete misunderstanding of the assignment operator is hard to overlook.
story.setAttribute(FIRE)
Come on, put some effort into it.
1
u/Katman2991 Feb 08 '26
Who uses wasd? I'm using aefx.
1
u/No-Ambassador581 Feb 08 '26
Ping = Pong 😂😂
1
u/Glass-Pound-9591 Feb 09 '26
Man we are doomed.
1
u/jerrygreenest1 Feb 09 '26
Shift crouch what???? No, this is bad
1
u/Glad_Share_7533 Feb 09 '26
What did line 1 and 2 do wrong?
1
u/Hirakatou Feb 09 '26
Hotel = trivago
1
u/kingofpussy2 Feb 12 '26
Hotel = Trivago;
1
u/oxwilder Feb 12 '26
The game in question is Pong Ping