aboutsummaryrefslogtreecommitdiff
path: root/src/build/mkgamedata.c
Commit message (Collapse)AuthorAgeFilesLines
* Centralise engine access, add Portal FOV changerGravatar Michael Smith 2022-04-301-129/+129
| | | | | | | | | | | | | | | - 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-7/+13
| | | | Default gamedata values actually work the way they're supposed to now.
* Fix some old KV parser issuesGravatar Michael Smith 2022-03-191-5/+6
| | | | | | | - Implement conditionals in the lexer and reject or ignore them in callbacks. This will allow something to use them later if needed. - Make error handling less stupid (return a bool instead of using the state struct).
* Fix build scripts and codegen on LinuxGravatar Michael Smith 2022-01-061-1/+1
| | | | | | | | | | | SST itself doesn't build, but it's a start! Really interesting is the declaration after a switch label. That's of course invalid, but Clang on Windows never complained. I guess it's an MSVC extension, eh? How annoying. Also, haha yes the script wasn't even executable. Forgot to update-index when I remade the repo, I guess...
* Split up os.h, inline functions and fix some typosGravatar Michael Smith 2021-12-301-1/+1
|
* Initial public snapshotGravatar Michael Smith 2021-11-201-0/+238
With code from Bill. Thanks Bill!