summaryrefslogtreecommitdiffhomepage
path: root/src/os-win32.h
AgeCommit message (Collapse)Author
2023-06-12Remove the terrible gameinfo.txt garbage at lastMichael Smith
This also tidies up library handle grabbing with more os.h stuff, and improves the VDF creation logic - since we no longer store a couple of paths which makes it necessary to change that a bit anyway.
2023-06-10Prune some comments and tidy up other minor thingsMichael Smith
2023-05-21Improve os_dlfile() interfaceMichael Smith
Might as well return the length since we have it anyway. Also this maybe fixes the totally busted Linux code but it's still untested and probably doesn't work for reasons that will be discovered later on.
2023-05-16Do some pedantic spring cleaningMichael Smith
- 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
2022-05-16Make the demo directory check more robustMichael Smith
This is how it should've been to begin with, but I was lazy.
2022-05-12Add a few more os-win32.h definitions for laterMichael Smith
This is part of some other WIP but might be useful in general so might as well be committed on its own.
2022-03-24Add auto VDF installationMichael Smith
Breaks the Linux build because I can't file paths brain I need sleeping
2022-03-24Clean up gameinfo_init() and other random stuffMichael Smith
- Just ask the engine for the game directory instead of doing the stupid argv sniffing hacks from the early days of trying to get the damn thing working. - Also add some other path variables, functions and whatnot, and do some other minor tidying up. - Also also, another damn copyright year, somebody please help me. Unfortunate negative effect off this change: con_init() no longer reports the game name, because it has to happen before gameinfo_init(). I've decided I don't really care, though.
2022-03-19Spruce up text and fix some copyright yearsMichael Smith
Sometimes, you just want to Unicode.
2021-12-30Split up os.h, inline functions and fix some typosMichael Smith