aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Support decoding a bunch of MMX/SSE instructionsGravatar Michael Smith 2023-05-211-88/+202
| | | | | | | | | This is actually required for an upcoming feature to work, as an instruction scan bumps into a xorps instruction. Still not supporting SSE3 or later, or AVX, although at this point it seems that that would be relatively easy to add, as this thing has kept growing on an incremental case-by-case basis.
* Add some server entity code-crawling machineryGravatar Michael Smith 2023-05-173-0/+207
|
* Fix some woopsies I hastily pushed last nightGravatar Michael Smith 2023-05-171-12/+6
| | | | | For the record, most of this wasn't Bill's fault. I shouldn't be fixing up patches in the middle of the night. :^)
* Add snd_mute_losefocus backportGravatar Willian Henrique 2023-05-171-0/+108
|
* Add a hack for features to distinguish VDF loadingGravatar Michael Smith 2023-05-172-0/+6
|
* Do some pedantic spring cleaningGravatar Michael Smith 2023-05-1621-85/+77
| | | | | | | | | | | | | | | | | | | | | | | - Use const in more places where it makes sense - not absolutely everywhere because it can get a bit annoying - Make all the instruction search loops a bit more readable by casting the function pointer into a temporary variable to loop over - Add a few more doc comments and fix a typo or two - Make that RTTI thing flexibly-sized, finally - Don't include gamedata.h in vcall.h for no reason; consequently include gamedata.h in a bunch of places where it was implictly pulled in before - Fix dbg_toghidra() and ent_getedict() having mismatched return types between their headers and respective source files - Remove that one broken, hacky, secret Portal non-feature that probably nobody even ended up using; it can be implemented properly later if required
* Somewhat expand on WIP ac.c stuffGravatar Michael Smith 2023-05-052-20/+58
| | | | | | This still isn't totally complete, or used anywhere yet, but it's been sitting here for literally months, so it might as well get committed so there's one less thing to deal with later.
* Implement APIs to control demo recordingGravatar Michael Smith 2023-05-052-3/+109
| | | | This is a surprise tool that will help us later!
* Fix enabling and disabling addons in L4D1Gravatar Hayden K 2023-05-041-0/+5
|
* Improve L4D2 and Portal gametype detectionGravatar Willian Henrique 2023-05-042-11/+16
| | | | | | Adds tags for L4D2 2147 and Portal 3420. Committer's note: really the gamedata system might benefit from improvement in the future to support things like numerical ranges, but this will do for now.
* Unhide cl_showdemooverlayGravatar Hayden K 2023-05-041-1/+2
|
* Refactor the RGBA colour struct into engineapi.hGravatar Michael Smith 2023-05-048-48/+47
| | | | | | In both the engine and SST it's used in more places than just console printing, so it makes more sense to give it a more appropriate nanme and location.
* 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-151-2/+2
| | | | | | | | | 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-155-31/+26
| | | | 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-255-68/+145
|
* 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-1337-172/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* Import Monocypher 3.1.3 + monocypher-rng moduleGravatar Michael Smith 2022-08-167-1/+3524
| | | | | | | | 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-1032-367/+661
|
* Add event systemGravatar Michael Smith 2022-07-238-9/+234
|
* 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-235-127/+180
| | | | Copyright note: the stuff Bill wrote is all still in the other file.
* Add stuff to track keypressesGravatar Willian Henrique 2022-07-232-1/+107
| | | | | | 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-236-22/+140
| | | | 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-232-0/+5
|
* 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-236-6/+337
| | | | | 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-273-5/+43
|
* 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-0214-89/+192
|
* 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-311-2/+2
| | | | 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-311-4/+6
|