Tried to replace some int's and float's with double's, no negative effect however the bugs still exist.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Bit of restructuring in the command.
Fixes to the entity so it will fire all systems.
Need to look in the random-functions. The systems are firing out every hit.
Also relative Strength does not work in Shiphealth command (gives either 100 or 0)
Aditionally forced SD-Killmode active with the target merely being for FX.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
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>
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