Added target_selfdestruct. I hope I got everything right so far...
I'd need someone to compile it for me. If I try to my game dies horribly...
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
*added folder RPG-X2 and put everything in there that might later become part of a .pk3 (excluding lua-associated files as they'll stand alone)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
func_breakables now don't need a trigger anymore to be repaired which
saves one entity for each reapairable func_breakable. Still needs a bit of
finetuning and code cleanup.
Updated DEVELOPER macro:
- now uses cvar g_developer instead of developer
- now allows single statement, multistatement, block, and multiple blocks
as argument
Added a new macro DEVELOPER(X) that only executes the statement X if the
cvar developer != 0.
Changed output of Entity errors and warnings:
- only printed if developer is set
- color changed to yello for all
- Errors are now printed as: [Entity-Error] ErrorMessage
- Warnings are now printed as: [Entity-Warning] WarningMessage
Changes in g_weapons.c:
- reformated a lot of comments
- reformated some code
- removed unused macros, variables, and functions
- made all functions and variables static where it was possible