aboutsummaryrefslogtreecommitdiff
path: root/src/nosleep.c
Commit message (Collapse)AuthorAgeFilesLines
* Revise syntax macros and add a ton of branch hintsGravatar Michael Smith 2024-08-231-2/+3
| | | | | | | | | 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!
* Add basic mouse input scalingGravatar Michael Smith 2022-12-251-7/+3
|
* Add magical feature codegen system, at long lastGravatar Michael Smith 2022-08-101-15/+12
|
* Change some warnings to errorsGravatar Michael Smith 2022-07-231-2/+2
|
* Solve the error logging situationGravatar Michael Smith 2022-06-021-4/+5
|
* Add basic Portal crosshair colour customisationGravatar Michael Smith 2022-05-301-1/+1
| | | | | | | | | | | 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.
* Centralise engine access, add Portal FOV changerGravatar Michael Smith 2022-04-301-10/+9
| | | | | | | | | | | | | | | - 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")
* Add engine_no_focus_sleep backport, fix codegenGravatar Michael Smith 2022-04-251-0/+73
Default gamedata values actually work the way they're supposed to now.