Daniel Gibson
f17741ba84
Fix -Wformat-security warnings - thanks James Addison!
...
This is based on https://github.com/dhewm/dhewm3/pull/500
by https://github.com/jayaddison
See also https://github.com/blendogames/quadrilateralcowboy/pull/4
2024-03-18 17:35:33 +01:00
Daniel Gibson
9cc5bb2352
Use idStr::Copynz() instead of strncpy()
...
to guarantee \0-termination
(only the applicable parts of that dhewm3 commit)
2022-05-17 07:17:46 +02:00
dhewg
8dfc6df02a
s/ReadDeltaLong/ReadDeltaInt/
...
to match the argument type
2018-08-20 01:46:33 +02:00
dhewg
8cd1580d60
s/WriteDeltaLong/WriteDeltaInt/
...
to match the return type
2018-08-20 01:46:33 +02:00
dhewg
431415c51c
s/ReadLong/ReadInt/ to match the return type
2018-08-20 01:46:33 +02:00
dhewg
814abb55b9
s/WriteLong/WriteInt/ to match the argument type
2018-08-20 01:46:33 +02:00
dhewg
c5c5762ae4
Fix "unreachable code" warnings
2018-08-20 01:46:32 +02:00
dhewg
afebd7e1e5
Untangle the epic precompiled.h mess
...
Don't include the lazy precompiled.h everywhere, only what's
required for the compilation unit.
platform.h needs to be included instead to provide all essential
defines and types.
All includes use the relative path to the neo or the game
specific root.
Move all idlib related includes from idlib/Lib.h to precompiled.h.
precompiled.h still exists for the MFC stuff in tools/.
Add some missing header guards.
2018-08-20 01:46:28 +02:00
dhewg
fc5f9ed56b
Mark unused variables in a non-debug build as such
...
Variables which are only used in assert().
2018-08-20 01:46:24 +02:00
dhewg
c7c187e4dc
Fix all whitespace errors
...
Excluding 3rd party files.
2018-08-20 01:46:22 +02:00
dhewg
eac3112d2d
Fix quoting in GPL headers
2018-08-20 01:46:21 +02:00
Timothee 'TTimo' Besset
aa3dbca015
hello world
2011-11-22 15:28:15 -06:00