aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some lingering idiocyGravatar Michael Smith 2022-09-132-4/+3
| | | | | | Thanks Aciidz for pointing out the strings with no newline in them, and thanks Clang for warning me I wasn't using a function for ages while I was too lazy to delete it.
* Move towards C23, improve events and vcall macrosGravatar Michael Smith 2022-09-1339-185/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | Another big one. Here's a list of things: - Since the upcoming C23 standardises typeof(), use it as an extension for the time being in order to allow passing arbitrary types as macro/codegen parameters. It wouldn't have been a big leap to do this even without standardisation since it's apparently an easy extension to implement - and also, to be honest, this project is essentially glued to Clang anyway so who cares. - Likewise, bool, true and false are becoming pre-defined, so pre-pre-define them now in order to get the benefit of not having to remember one header everywhere. - Really ungodly/amazing vcall macro stuff now allows us to call C++ virtual functions like regular C functions. It's pretty cool! - Events can now take arbitrary parameters and come in two types: regular events and predicates. All this makes the base code even uglier but makes the feature implementation nicer. In other words, it places more of the cognitive burden on myself and less on other people who might want to contribute. This is a good tradeoff, because I'm a genius.
* Enforce L4D2 FPS limit properly when loaded lateGravatar Michael Smith 2022-09-131-1/+2
| | | | Shoutouts to Lokki for accidentally reporting this bug.
* Allow cl_fullupdate as an attempted bug workaroundGravatar Michael Smith 2022-08-161-0/+20
|
* Acknowledge Monocypher in binary distributionsGravatar Michael Smith 2022-08-162-0/+8
| | | | It seems like the nice thing to do.
* Import Monocypher 3.1.3 + monocypher-rng moduleGravatar Michael Smith 2022-08-169-4/+3530
| | | | | | | | This is for somewhat later. I'd always planned to use it - it existed already in earlier private repos, in fact. I just didn't bother to import it here in case it wouldn't actually be needed, but with the way current plans are going, it's definitely going to be needed, so here it is.
* Fix malloc return check in mkentpropsGravatar Michael Smith 2022-08-161-1/+1
| | | | Spotted by Bill the other day.
* Add magical feature codegen system, at long lastGravatar Michael Smith 2022-08-1034-376/+664
|
* Add event systemGravatar Michael Smith 2022-07-239-10/+235
|
* Fix loading from legacy code page directory namesGravatar Michael Smith 2022-07-231-7/+12
| | | | | | | | | Only if the code page in question is that of the system, obviously; Source itself will fail to start otherwise anyway. This fixes issues for at least one Russian user who'd named a "Games" folder "Игры," which I am told roughly translates to "Games" (and also exactly translates to "Games").
* Split custom demo data into its own file/featureGravatar Michael Smith 2022-07-237-127/+182
| | | | Copyright note: the stuff Bill wrote is all still in the other file.
* Add stuff to track keypressesGravatar Willian Henrique 2022-07-233-2/+114
| | | | | | Committer's note: this is somewhat adapted from Bill's original code, written a while back, but he gets full credit for actually doing the hard part.
* Add keybind lookup codeGravatar Michael Smith 2022-07-238-22/+142
| | | | Also centralise NEXT_INSN macro, into its own header at least for now.
* Document some Portal 2 breakage that needs fixedGravatar Michael Smith 2022-07-233-0/+7
|
* Fix dodgy "has" initialisation case in mkgamedataGravatar Michael Smith 2022-07-231-6/+6
|
* Change some warnings to errorsGravatar Michael Smith 2022-07-234-7/+7
|
* Comply with, and complain about, Portal moderatorsGravatar Michael Smith 2022-07-231-0/+11
|
* Add alias management plus input filtering skeletonGravatar Michael Smith 2022-07-239-11/+351
| | | | | Some of the alias stuff was kind of stolen from earlier figuring-out Bill did. More Bill code is also on the way. :^)
* Add update detection, clean up minor stuffGravatar Michael Smith 2022-06-275-7/+48
|
* Bump version number right away (from now on!)Gravatar Michael Smith 2022-06-021-2/+2
| | | | | | It'll be less confusing not to have development builds versioned the same as existing releases. That's probably obvious, but I'm still new to this releasing software business!
* Solve the error logging situationGravatar Michael Smith 2022-06-0218-127/+245
|
* Add last-minute SteamPipe Portal colour supportv0.4-BETAGravatar Michael Smith 2022-05-311-0/+5
|
* Bump version number and zip datesGravatar Michael Smith 2022-05-312-5/+5
| | | | Preparing for release, I spose!
* Make the DLL copyright fit in the properties boxGravatar Michael Smith 2022-05-311-1/+1
| | | | | | You can widen the text field to read the whole thing, but that's not immediately obvious. Let's just shorten the text and make it nice and concise so people can figure out what to do more easily.
* File a complaint about the error message situationGravatar Michael Smith 2022-05-312-4/+17
|
* Add basic Portal crosshair colour customisationGravatar Michael Smith 2022-05-308-9/+186
| | | | | | | | | | | Currently only works in 3420 and 5135 and uses hardcoded offsets with a byte pattern sanity check. Future work includes making it more widely compatible, and also doing the crazy thing I wanted to do but gave up on wherein the actual textures and stuff get patched in memory to sync up all the colours. Oh also, a couple of vtables were erroneously made executable, so I went ahead and fixed that while I was at it.
* Fix a dumb mistake I didn't check before pushingGravatar Michael Smith 2022-05-261-1/+1
|
* Remove some dodgy whitespaceGravatar Michael Smith 2022-05-264-4/+4
|
* Make MP autojump at least kind of less brokenGravatar Michael Smith 2022-05-261-9/+22
| | | | Meh, whatever.
* Fix wonky comparisons in CreateInterfaceGravatar Michael Smith 2022-05-251-1/+1
| | | | | A stupid, stupid bug I'd probably never have caught for years and years. Thanks Evan Lin in the Portal Discord for pointing it out!
* Properly solve load order issues via deferred initGravatar Michael Smith 2022-05-195-58/+92
|
* Add a quick stopgap hack for Portal purposesGravatar Michael Smith 2022-05-192-0/+25
| | | | | | | | | | People want to be able to write a scheduled-release passphrase to demos to prove that said demos were recorded during a timeboxed event. Ideally this is something that'd be part of the custom demo data and general RTA run management stuff that's planned, but of course that doesn't exist yet. When it does exist, we'd probably want rid of this nonsense, so it's marked hidden and I don't plan to document it anywhere "official." It's just here for people who really need it in the short term.
* Clean up some random bits and bobsGravatar Michael Smith 2022-05-167-33/+25
|
* Make the demo directory check more robustGravatar Michael Smith 2022-05-163-4/+28
| | | | This is how it should've been to begin with, but I was lazy.
* Fix GetEngineBuildNumber and entity property stuffGravatar Michael Smith 2022-05-154-12/+27
| | | | | | | | | | I still haven't bothered to flesh out all the possible indices for GetEngineBuildNumber but we're back to being able to use it to detect The Last Stand (as a result of some old version testing Aciidz did - thanks again!). This means we can do away with the terrible map file- based hotfix. Also, turns out sst_l4d_testwarp doesn't work if the plugin gets loaded early via VDF because certain SendTable offsets start out negated, so we work around that too now.
* Properly finish refactoring con to use gamedataGravatar Michael Smith 2022-05-135-102/+82
|
* Rerun L4D1 console spam fix after config loadingGravatar Michael Smith 2022-05-123-0/+31
| | | | | | This was the simplest way I could think of to solve this issue. Thanks again Aciidz for pointing the issue out, and thanks Turtle Rock for shipping such a broken game.
* Further clean up engine API initialisationGravatar Michael Smith 2022-05-125-30/+37
|
* Add a few more os-win32.h definitions for laterGravatar Michael Smith 2022-05-121-0/+3
| | | | | This is part of some other WIP but might be useful in general so might as well be committed on its own.
* HOTFIX: Fix L4D2 2.0.0.0 crashingv0.3-HOTFIXGravatar Michael Smith 2022-05-065-11/+19
| | | | Idiotic problems require idiotic solutions.
* Set the zip dates to today for final releasev0.3-BETAGravatar Michael Smith 2022-05-051-3/+3
|
* Allow lowering fps_max in the Left 4 DeadsGravatar Michael Smith 2022-05-041-0/+21
|
* Cheat-protect sst_l4d_testwarpGravatar Michael Smith 2022-05-041-1/+1
| | | | | Don't want people hitting a bind by accident and invalidating their runs instantly.
* Fix a woopsy and slightly tweak autorecord UXGravatar Michael Smith 2022-05-042-2/+8
|
* Woops, go ahead and delete that testing codeGravatar Michael Smith 2022-05-031-19/+1
|
* Add entity property finding and L4D warp testingGravatar Michael Smith 2022-05-0321-39/+747
| | | | | | | | This was a lot more code than expected, but it might be finally close to time to release the next beta... We'll see if any more rabbit holes present themselves to jump into, though.
* Fix slashes being skipped in unquoted KV tokensGravatar Michael Smith 2022-05-011-2/+2
|
* Don't bump the demo number if playing another demoGravatar Michael Smith 2022-04-301-9/+9
|
* Centralise engine access, add Portal FOV changerGravatar Michael Smith 2022-04-3024-318/+783
| | | | | | | | | | | | | | | - A bunch of stuff is now defined in one header, engineapi.h - engineapi.c is responsible for setting up any interfaces/stuff that's used in more than one place - mkgamedata is pretty much rewritten and now supports nested conditionals - gamedata variables no longer have the gamedata_ prefix because it was just annoyingly long all the time - vcall macros are somewhat revamped and support dynamic (gamedata) indices - Portal 1 FOV can be set anywhere from 75-120 using fov_desired - tested in both the main versions currently used by runners - A few typos were also fixed ("intput," "writeable," "indexes")
* Fix a couple of bits of convar min/max brokennessGravatar Michael Smith 2022-04-262-5/+6
| | | | It's amazing how long these things can go unnoticed.