Re:Someone dropped the source code for Far Cry 1 on archive.org
by cobalt on Sunday July 02, 2023 @01:00PM
(#36563305)
A console game will have hundreds if not thousands of API calls, particularly in the io/gfx code
Re:Someone dropped the source code for Far Cry 1 on archive.org
by someplaceguy on Monday July 03, 2023 @10:09AM
(#36573093)
A good IDE can rename thousands of calls in a single command.
Re:Someone dropped the source code for Far Cry 1 on archive.org
by maccard on Monday July 03, 2023 @07:03PM
(#36579942)
And all of the parameter types, e.g. btVector3 needs to become a new non-sdk specific name.
> It could require a bit of creativity and some work but <...>
Honestly, you can stop there. This is why it's not done - the value is small, it requires creativity and work and...
> just be a one-time rename per function name + structure name + field name.
https://sgringwe.com/2019/10/10/Please-just-stop-saying-just.... In this particular case "what about legal" pretty much stops the "just" dead in it's tracks.
e.g. instead of ps3_fly_up(...) you'd rename to something a bit more generic like sdk_float_up(...) or something like that.
It could require a bit of creativity and some work but with a sufficiently-intelligent IDE it'd just be a one-time rename per function name + structure name + field name.