summaryrefslogtreecommitdiffhomepage
path: root/src/engineapi.h
AgeCommit message (Collapse)Author
2023-05-04Refactor the RGBA colour struct into engineapi.hMichael Smith
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.
2023-01-15Fix deferred init for Portal 2 compatibilityMichael Smith
Thanks Bill for figuring out what the problem was.
2022-12-25Add basic mouse input scalingMichael Smith
2022-05-26Remove some dodgy whitespaceMichael Smith
2022-05-12Further clean up engine API initialisationMichael Smith
2022-05-03Add entity property finding and L4D warp testingMichael Smith
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.
2022-04-30Centralise engine access, add Portal FOV changerMichael Smith
- 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")