Commit graph

10 commits

Author SHA1 Message Date
revility
e8267fd6c0 CheckCrossHairOrigin added
CheckCrossHairOrigin is used when entering and exiting guis to get the player's current setting and restore it when leaving the gui.  Check the player.cpp for full details.
2018-10-21 04:31:15 +02:00
revility
10be5f2713 pm_crossHairOrigin added
Changes cross hair trace line origin from the camera's origin to a joint on the player's model defined in player.cpp file
Done this way because pm_modelview cvar has some kind of over ride going on when the levels start.  Consider this a work  around fix.
2018-10-21 04:31:15 +02:00
revility
37780e0801 New shield int
tellishield is used in player.cpp as part of the shield/shield spell system.
Mostly used in game script to check if the shield is active or not.
2018-10-21 04:31:15 +02:00
revility
d1093579ff Update Player.h
adds the telishield key for the player.def & script to use.  When set to 1, the player will take no damage.  Done this way so we can check it and also apply other effects such as player skin changing.
2018-10-21 04:31:15 +02:00
Daniel Gibson
0c717b0313 Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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
6f0fc9fcc1 Fix -Wunused-variable warnings
unused variable
2018-08-20 01:46:23 +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