aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary and/or confusing stuffGravatar Michael Smith 2024-02-263-6/+3
|
* Update the stupid copyright yearsGravatar Michael Smith 2024-02-253-3/+3
| | | | I will probably forget to do this every year.
* Re-learn how to write C headers, apparentlyGravatar Michael Smith 2024-01-221-0/+5
|
* Learn to spell correctlyGravatar Michael Smith 2024-01-211-4/+4
|
* Rethink mem_loadoffset, and consequently, kill itGravatar Michael Smith 2024-01-2111-43/+58
| | | | | | | | | 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.
* Add a half-decent custom crosshairGravatar Michael Smith 2024-01-216-38/+222
|
* Add VGUI HUD overlay drawing featureGravatar Matthew Wozniak 2023-12-197-2/+373
| | | | | | | Currently only supports Orange Box and Left 4 Dead branches. There's quite a large amount of gamedata involved in making this work, and figuring it out for the likes of Portal 2 doesn't seem like a major priority at the moment.
* Don't compile kv.c as part of SST itselfGravatar Michael Smith 2023-12-172-2/+0
| | | | | | | | Of course, this has only been used at build time for quite a while now. Silly oversight! The linker would have dropped it anyway so this will just avoid some wasted effort.
* Cancel fast-forward after the player disconnectsGravatar Michael Smith 2023-12-176-10/+135
| | | | | | | | Avoids spurious and confusing fast-forward behaviour in the event of resetting a run, then disconnecting early and deciding to load some other map. Also fixes a stupid typo (s/propand/propane/).
* Improve quickreset command descriptions a bitGravatar Michael Smith 2023-12-131-2/+2
|
* Add fast-forward gaps for checking item spawnsGravatar Michael Smith 2023-12-053-38/+122
| | | | | | This complicates things greatly! Therefore, it's a separate commit to the baseline fast-forward functionality, to keep the confusing stuff relatively contained.
* Add gamedata for autojump in Portal 3420Gravatar Hayden K 2023-12-041-1/+5
|
* Fix Left 4 Dead Survivors crashGravatar Michael Smith 2023-12-041-2/+8
|
* Add cutscene skipping to L4D quick resetGravatar Michael Smith 2023-12-049-54/+309
| | | | Also done with quite a lot of RE help from bill - thanks again!
* Hook Key_Event instead of DispatchInputEvent in ACGravatar Willian Henrique 2023-11-261-24/+33
| | | | | | This fixes a crash in later L4D2 versions caused by the fact we were unknowingly hooking Key_Event already. Now we hook it all the time on purpose.
* Fix CPlugin ABI on newer L4D2 versionsGravatar Michael Smith 2023-11-262-10/+35
| | | | | Thanks bill for spotting this issue. It was causing crashes on unload, which is obviously no good.
* Add a way to fast-forward game timeGravatar Matthew Wozniak 2023-11-268-0/+303
| | | | | | | | | | | | 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!
* Make L4D2 2147 gametype include all later versionsGravatar Michael Smith 2023-11-262-6/+6
|
* Perform very minor load/unload optimisationsGravatar Michael Smith 2023-08-3010-26/+36
| | | | Because why not.
* Change "plain" filetypes to the proper "text"Gravatar Michael Smith 2023-08-305-5/+5
|
* Only register portal colour cvars in PortalGravatar Michael Smith 2023-08-301-4/+8
|
* Perform minor build script tidyingGravatar Michael Smith 2023-08-302-16/+18
| | | | | - Add a couple of overdue -Werrors that make life easier - Reshuffle cc/ld flags a bit, mainly around -fuse-ld=lld
* Fix editorial mishapGravatar Michael Smith 2023-08-271-1/+0
|
* Remove vcruntime140.dll dependencyGravatar Michael Smith 2023-08-272-5/+57
| | | | | | | | | This will save users having to install the VS runtime in order to load the plugin. Turns out there was very little to implement to make this work. Turning off stack probing might cause spooky outcomes further down the line but we'll burn that bridge when we get there.
* Fix msgpack sizing blundersGravatar Michael Smith 2023-08-272-4/+4
| | | | | Reminder not to actually use any of the code I write until it's at least been included in a few releases of something. :^)
* Get things at least compiling under LinuxGravatar Michael Smith 2023-08-2719-137/+235
| | | | | | | | | | | Nothing really works yet, but at least test.h and fastspin are fixed and some of the issues with RTTI and libdl and stuff are maybe kind of sorted, subject to more testing later. The main issue now seems to be the cvar interface not quite lining up and crashing pretty much immediately. That'll probably take a lot more debugging to figure out, which likely still won't be a priority for quite a while.
* Fix amusing typoGravatar Michael Smith 2023-08-052-2/+2
| | | | Thinks, bill.
* Fix finding key binding list in some newer buildsGravatar Michael Smith 2023-08-041-1/+1
| | | | | Apparently there's slightly longer code for whatever reason which made 32 too conservative of a search window. Easy fix!
* Coerce all-uppercase titles to pseudo-titlecaseGravatar Michael Smith 2023-08-021-0/+15
|
* Filter out graphics backend window title suffixesGravatar Michael Smith 2023-08-021-2/+12
|
* Add gamedata for mouse scaling in newest L4D1Gravatar Hayden K 2023-08-021-0/+1
|
* Make various preparations for upcoming featuresGravatar Michael Smith 2023-08-0228-223/+1767
| | | | | | | | | | | | | | | | | | | | | | A lot of this is random WIP from a while back, at least a month ago, and is being committed now to get it out of the way so that other patches can be brought in and integrated against it without causing headaches. Also rolled into this commit is a way to distinguish plugin_unload from exiting the game. This is required for another soon-to-be-integrated feature to avoid crashing on exit, and could in theory also be used to speed up unloading on exit in future. While we're at it, this also avoids the need to linearly scan through the plugin list to do the old branch unloading fix, because we can. Rough summary of the other smaller stuff I can remember doing: - Rework bitbuf a bit - Add some cryptographic nonsense in ac.c (not final at all) - Introduce the first couple of "chunklets" libraries as a sort-of subproject of this one - Tidy up random small bits and bobs - Add source for a small keypair generation tool - Rework democustom to be very marginally more useful
* Add the auto-update script from the websiteGravatar Michael Smith 2023-08-021-0/+53
| | | | | | Basically for documentation purposes and to ensure it exists outside of my own server; this was a VERY write-only script and is already in fairly wide use so I don't expect to edit it very much.
* Fix VDF creation for old branchesGravatar Michael Smith 2023-08-021-1/+7
| | | | Absolutely no idea how long this has been broken for!
* Fix another stupid fps_max exploitGravatar Michael Smith 2023-08-021-2/+2
|
* Fix another x86 case and add regression testsGravatar Michael Smith 2023-08-024-1/+46
|
* Put back the Monocypher acknowledgementGravatar Michael Smith 2023-06-222-0/+10
| | | | | | It's very very likely to actually get used in the next release, I swear. This reverts commit 7893ef46f85eb5a6021d6ab763ca84e382e64954.
* Update Monocypher yet again, to 4.0.1Gravatar Michael Smith 2023-06-223-2184/+2124
| | | | | | | | | | | | | | There's a solid chance this actually gets used this time. Plus, there's breaking changes, so it makes sense to update before writing any actual code for it. The RNG module is also manually fixed up; upstream wasn't moved to the new Monocypher APIs which might be because the authors don't seem to think it's even a good idea to use anything other than arc4random(). Maybe I'd kind of agree with that if not for both Linux and Windows not having arc4random(), and none of SSTs use cases requiring it either (none of the crypto code is gonna be multithreaded and certainly none of it is gonna fork).
* Update some info in the READMEGravatar Michael Smith 2023-06-211-9/+12
|
* Tweak feature sorting and fix a chibicc bugGravatar Michael Smith 2023-06-202-29/+11
| | | | | | | | | That sorting function was a bit wonky, so make it just a little bit wonky instead. chibicc would produce confusing lex errors if given a stray single quote somewhere, so make it give non-confusing errors. Also get rid of canonicalize_newline() because it's unnecessary for SST so long as Windows Git isn't left in its default misconfigured state.
* Add more GetEngineBuildNumber offsetsGravatar Willian Henrique 2023-06-201-3/+12
|
* Fix L4D VGuiConnect/VGuiIsInitialized gamedataGravatar Willian Henrique 2023-06-152-3/+2
| | | | | | | This was actually breaking deferred initialisation in 0.5, the main observable effect being that the L4D1 console spam fix stopped working. Committer's note: woopsy!
* Fix spuriously-included test case in compile.batGravatar Michael Smith 2023-06-141-2/+0
| | | | | | | | This was clumsily added in 1c4318331663b152b0b298bd2c9e5c971506a86b as a test case for code I was writing at some point but has not been included in the repository yet. This means the 0.6 tag is broken for anyone trying to build from source unless this change is cherry-picked on top. Lesson learned: keep the working tree clean!
* Bump version to 0.6 and reset changelog stringGravatar Michael Smith 2023-06-122-13/+3
|
* Remove the terrible gameinfo.txt garbage at lastGravatar Michael Smith 2023-06-127-320/+109
| | | | | | This also tidies up library handle grabbing with more os.h stuff, and improves the VDF creation logic - since we no longer store a couple of paths which makes it necessary to change that a bit anyway.
* Leave out the Monocypher acknowledgement for nowv0.5-BETAGravatar Michael Smith 2023-06-112-10/+0
| | | | | It's not being used in the 0.5 release; this will be reverted some time after the release is tagged and uploaded.
* Add a stupid hack fix for the autojump cheat checkGravatar Michael Smith 2023-06-111-3/+14
| | | | | | Of course, Portal doesn't actually check this properly, and it was never tested well enough until just now. This fixes it, albeit in a really stupid way. C'est la vie.
* Add update changelog and bump zip dateGravatar Michael Smith 2023-06-102-3/+13
| | | | | | The zip date is tomorrow as that's the expected release date pending some testing and hearing back from Portal people re official approval for use in runs. With any luck it won't need to be bumped further.
* Remove some paranoia about missing commandsGravatar Michael Smith 2023-06-103-18/+1
| | | | There's absolutely no reason these ever wouldn't be there.
* Prune some comments and tidy up other minor thingsGravatar Michael Smith 2023-06-1027-165/+113
|