summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix x86.c for real this time, probably, hopefullyGravatar Michael Smith 2023-05-021-16/+24
|
* Correct the ModR/M cases in x86.cGravatar Michael Smith 2023-05-011-5/+6
|
* Argh, bump the stupid copyright header!Gravatar Michael Smith 2023-05-011-1/+1
| | | | I need to write a pre-commit hook to check this or something.
* Fix default float values for cvarsGravatar Michael Smith 2023-04-281-3/+3
| | | | This has been a known issue for a long time. Let's finally fix it!
* Fix incorrectly implemented con_setvar functionsGravatar Michael Smith 2023-04-281-12/+21
| | | | | | | | | | | | | | | | These were never actually used before or this would have been caught sooner, but as they're being used in some in-progress code this obviously needs fixed now. The virtual table indices in use were wrong for some engines due to the funny thing Windows does with reverse-ordered overloads. The code for building the plugin's own virtual tables explicitly accounts for this but calling into existing cvars failed to do so, due to a skill issue. This fix is kind of inelegant and stupid but making it elegant and non-stupid is less of a priority at the moment. It should happen eventually with future improvements to the gamedata system, for some definition of "should," "eventually," and "future."
* Tidy up mem.h and prevent horrible assembly outputGravatar Michael Smith 2023-04-171-29/+15
| | | | Removes the mem_store functions because they're never used anywhere.
* Fix some miscellaneous stupid bugs and jankGravatar Michael Smith 2023-04-084-8/+8
| | | | Note: fixes.c was changed this year, so correct the copyright year too.
* Fix a sizeof blunder I happened to notice recentlyGravatar Michael Smith 2023-01-154-11/+13
| | | | | | | | | Nobody seems to have been affected by this in the wild yet, thank goodness. Will probably be a while before there's an actual release, so hopefully people will continue not to be affected. I suppose it's only an issue for paths longer than 128 characters, so it's not too likely to matter under normal circumstances...
* Document more recent knowledge on the lag issueGravatar Michael Smith 2023-01-151-7/+6
|
* Remove fov.h that was mistakenly left behindGravatar Michael Smith 2023-01-151-25/+0
|
* Fix deferred init for Portal 2 compatibilityGravatar Michael Smith 2023-01-157-34/+34
| | | | Thanks Bill for figuring out what the problem was.
* Fix FOV feature crashing Portal 3420 on map loadGravatar Willian Henrique 2022-12-261-3/+3
| | | | This was an accidental regression in an earlier refactoring.
* Add basic mouse input scalingGravatar Michael Smith 2022-12-256-68/+153
|
* Fix dumb oversight in codegenGravatar Michael Smith 2022-09-201-0/+1
|
* 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
|