summaryrefslogtreecommitdiffhomepage
path: root/src/fastfwd.c
AgeCommit message (Collapse)Author
2024-08-23Revise syntax macros and add a ton of branch hintsMichael Smith
My new programming style is branch hints. All non-confusing branches must be hinted when I can be bothered. It's faster, sometimes, maybe. Also, start trying to use more signed sizes in at least some of the places where it makes sense. Unsigned sizes are surprisingly error-prone!
2024-05-21Disable fastfwd outside L4D so SPT doesn't breakMichael Smith
2024-01-21Rethink mem_loadoffset, and consequently, kill itMichael Smith
Suggested by bill. Having something semantically pointer-sized that's only ever used for stuff that's always 32-bit doesn't really make sense. Note that I intentionally did not add a copyright line for myself in hud.c because, I mean, come on. I'll just say I waive any claim to that tiny trivial change.
2023-12-05Add fast-forward gaps for checking item spawnsMichael Smith
This complicates things greatly! Therefore, it's a separate commit to the baseline fast-forward functionality, to keep the confusing stuff relatively contained.
2023-11-26Add a way to fast-forward game timeMatthew Wozniak
This will be mostly useful for skipping cutscenes in Left 4 Dead games. It may work in other games, but probably won't really be as useful. Committer's note: this was adapted a fair bit from woz's original code, hence the joint copyright, but he did most the hard work of figuring out how to get this deep into the engine's call stack. Thanks! bill also provided a fair bit of help figuring out missing gamedata and fixing compatibility with L4D2 2147 and later. Also thanks!