Commit graph

75 commits

Author SHA1 Message Date
Walter Julius Hennecke
9c63510b62 Forgot to save g_target.c 2012-10-26 13:35:24 +02:00
Walter Julius Hennecke
7693b09407 Moved self destruct safe zones list into level locals 2012-10-26 13:33:49 +02:00
Walter Julius Hennecke
ea3763fe53 Cleanup 2012-10-26 13:23:55 +02:00
Walter Julius Hennecke
b37ae04858 Updated sqlite3 to newer version 2012-10-24 13:17:34 +02:00
Walter Julius Hennecke
0968fb8dd2 Update game/g_public.h 2012-10-24 14:06:35 +03:00
Walter Julius Hennecke
c44ad25442 Cleanup 2012-10-19 13:23:22 +02:00
Walter Julius Hennecke
003ae75b3c More reformating and cleanup 2012-10-17 16:27:41 +02:00
Walter Julius Hennecke
0a3edff976 reformating and cleanup
- reformated code for readability
- removed old/unused code
2012-10-17 16:07:35 +02:00
Walter Julius Hennecke
542fb5c8fe Cleanup
- removed old/unused commented code
- removed unused cvars in cgame
2012-10-17 13:50:09 +02:00
Harry Young
aa801834af Fixes to FX-System
fixed drip-entity (was stowing duration in wrong state-var)
fixed defaultstate for chunks-entity (material was 0 = none, fixed to 1 = metal)
disabled spawnfunction for all non-functional SP-Ports (I might look into them gain... maybe I just need to find their shaders)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-15 14:51:25 +02:00
Walter Julius Hennecke
1357097a35 Sync with rpgxEF Repo 2012-10-15 13:17:19 +02:00
Harry Young
0eec649b90 Addition to selfdestruct to interconnect with healthent
selfdestruct will now look out for a healthEnt and - if found - will rig it for a kill and call it's usefunction, which will do all the killing instead.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-09 16:22:40 +02:00
Harry Young
2ac7330d45 addition to shipdamage command to abort if the ship is destroyed.
This commit is free to be pulled to the other 2 repos

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-08 16:45:09 +02:00
Harry Young
31d4c595c4 fixed the issue with the last commit by building a failsave around the entire use-function's math segment.
I don't know why I'm calling this at this point...

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-08 10:42:20 +02:00
Harry Young
ae23187eed More work on target_shiphealth
made target_alert toggle the shields automatically and appropriately
however if you toggle red alert (even just for audio) at low hull it blows up the ship
minor alteration to selfdestruct command description

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-08 01:30:29 +02:00
Harry Young
76f21155bd 2 minor things
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-04 23:43:47 +02:00
Harry Young
9642e186b2 Addition to shiphealth system
added another layer of shield indicator (-2) to the system. Indicators are now
offline (-2, shields are not charged)
inoperable (-1 shield emiters destroyed)
standing by (0, shields charged, no alert ongoing)
online (1, shields charged, alert ongoing)
Also eased off on the shiphealth command

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-10-04 02:18:06 +02:00
Harry Young
bf476a80d8 Finished work on the first complete version of shiphealth
Turned out simply using '/' for divisions didn't do the trick so i tried '* pow(x, -1)' instead and it got all my issues working ^^
Also added a functionality that selects colors for the appropriate condition of shields and hull.
Added the failsave-functionality to the entity for shield reenstatement

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-09-30 20:20:05 +02:00
Harry Young
695cfa6067 More work on shiphealth
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>
2012-09-28 15:52:56 +02:00
Harry Young
eb0669507c Continued work on shiphealth.
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>
2012-09-28 02:31:05 +02:00
Walter Julius 'GSIO01' Hennecke
6bde5fb79e Sync with rpgxEF repo ...
How long will we keep syncing these back?
2012-09-10 21:29:23 +02:00
Walter Julius 'GSIO01' Hennecke
350a734c14 Updated .gitignore with github defualt .gitignore 2012-09-07 17:10:02 +02:00
Walter Julius Hennecke
28f8cde337 Makefile update 2012-08-04 10:05:27 +02:00
Walter Julius Hennecke
b60d5c353e Update game/Makefile
x86_64 to x64 for Windows
2012-08-04 10:43:35 +03:00
Walter Julius Hennecke
e06aadb9d3 Update cgame/Makefile
x86_64 to x64 for Windows
2012-08-04 10:42:58 +03:00
Walter Julius Hennecke
5767df99e6 Fixed a minor bug in two Makefiles 2012-08-03 22:07:52 +02:00
Walter Julius Hennecke
69caaa5b03 Updated make files
- added cross compiling support with mingw32-64
- added windows 64bit support (only with cross compiling)
2012-08-03 21:50:58 +02:00
Harry Young
3153b9a2d6 Okay, all issues are resolved, the commands are in and the libs compile. All that's missing is the external file and a few failsaves. the latter I can do myself with some research, the first is outside my field of expertise.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-08-03 00:17:15 +02:00
Harry Young
fdd83d724b New target_shiphealth entity. I still need to do some debugging here, which I intend to do later tonight.
Minor tweaks.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-08-02 18:56:55 +02:00
Walter Julius Hennecke
45e4d5f31c Fixed a bug ...
... where on maps without target_safezone(s) player wouldn't die through
self destruct.
2012-08-01 21:28:56 +02:00
Walter Julius Hennecke
301fcf69ae Revert "Made all function in g_active.c static where possible"
This reverts commit 5c1777541d.
2012-08-01 20:55:38 +02:00
Walter Julius Hennecke
b8d249950a Revert "Made function static in g_breakable.c where possible"
This reverts commit 3dceb25e0b.
2012-08-01 20:55:34 +02:00
Walter Julius Hennecke
291bbfa0ee Revert "Made functions static where possible in g_target.c"
This reverts commit 973eb5cd23.
2012-08-01 20:55:19 +02:00
Walter Julius Hennecke
973eb5cd23 Made functions static where possible in g_target.c 2012-08-01 20:43:13 +02:00
Walter Julius Hennecke
3dceb25e0b Made function static in g_breakable.c where possible 2012-08-01 20:28:02 +02:00
Walter Julius Hennecke
5c1777541d Made all function in g_active.c static where possible 2012-08-01 20:21:39 +02:00
Walter Julius Hennecke
2ba2ab8005 Fix for shader remapping 2012-08-01 15:28:27 +02:00
Walter Julius Hennecke
d586d19e33 Fixed mem access violation 2012-07-31 21:38:41 +02:00
Walter Julius Hennecke
b7d34b9994 Steps towards reenabling SQL suppport (much TODO)
- acccessing the user DB now works. if it does not exist it will be
  created
- adding new users with the useradd command works again
- userlogin command works again
2012-07-31 13:21:23 +02:00
Walter Julius Hennecke
d58101a275 Missed some things yesterday ... now fixed. 2012-07-28 12:27:28 +02:00
Walter Julius Hennecke
063a0734a5 Removed some unused things 2012-07-28 00:38:41 +02:00
Walter Julius Hennecke
a7cdbc0d95 Changed target_safezones to be freed after spawn again ....
... still can be toggled though :)
2012-07-28 00:16:21 +02:00
Walter Julius Hennecke
0f24d33722 final commit for this night 2012-07-27 01:19:07 +02:00
Walter Julius Hennecke
872f3326e0 target_safezone can now be toggled on and off
- target_safezone can now be toggled on and off
- added STARTON spawnflag
2012-07-27 00:50:55 +02:00
Walter Julius Hennecke
a0b1d4fc9e Added safe zones for self destruct ... 2012-07-27 00:18:35 +02:00
Walter Julius Hennecke
af3633db4d Added missing files ... 2012-07-26 22:48:42 +02:00
Walter Julius Hennecke
85910eb34d forgot to commit changes to game project file 2012-07-26 19:30:34 +02:00
Walter Julius Hennecke
bbbcf322f2 fixed cam shake for self destruct 2012-07-26 19:25:48 +02:00
Walter Julius Hennecke
f027e4ef19 Added a double linked list implementation 2012-07-26 19:19:22 +02:00
Harry Young
185451ad39 still need to learn things about git...
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-07-26 19:04:22 +02:00