Commit graph

12 commits

Author SHA1 Message Date
Daniel Gibson
dcf3a3d392 Fix or at least comment on some valid compiler warnings
(this target = NULL thing is less dangerous than it looks because it
 just always uses the else-case, but pretty misleading and possibly
 leads to bugs further down the function when target is used again)
2021-12-19 06:12:26 +01:00
Daniel Gibson
c639df99d1 Rename to hardcorps and integrate all its code changes
hardqore2 is now called hardcorps.
I got all the changes from https://github.com/revility/hardcorps
2021-12-19 05:55:54 +01:00
Daniel Gibson
30391e13f0 Make Hardqore2 build
mostly by fixing missing includes and some other compiler errors,
also fixed some compiler warnings (mostly uninitialized variables)
2018-08-26 23:55:54 +02:00
Daniel Gibson
ab119636d3 Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Daniel Gibson
4ad1349113 Fix crash by assert in last RoE level (and maybe elsewhere)
The assertion in idBounds::operator-(const idBounds&) was triggered
from idWeapon::Event_LaunchProjectiles() (ownerBounds - projBounds)
It only happened when using the BFG.
So I added a check to make sure calling operator- is legal.

I guess this also caused #122
2018-08-20 01:46:39 +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
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