Commit graph

588 commits

Author SHA1 Message Date
Walter Julius Hennecke
db393ab350 This is a possible fix for #2. It changes the respawn function to act like a team change (e.g. spectator to player). I can't test this tough because I don't seem to be able to reproduce the crash. 2014-02-16 22:46:12 +01:00
Walter Julius Hennecke
a51e6fb305 Fix for issue #2 on experimental branch (splint). 2014-02-15 22:46:31 +01:00
Walter Julius Hennecke
d2340e55da changes 2014-02-15 22:29:48 +01:00
Walter Julius Hennecke
f5460ca49c Fixed a bug where the admin UI would be greyed out for admisn but active for normal players. 2014-02-15 21:04:09 +01:00
Walter Julius Hennecke
4ecf8fb4a9 Updated g_ui.c 2013-12-20 23:01:08 +01:00
Walter Julius Hennecke
a0b3f9e396 Updated g_missile.c and g_weapon.c 2013-12-20 22:52:54 +01:00
Walter Julius Hennecke
07c56ab5bb ... 2013-12-20 22:26:59 +01:00
Walter Julius Hennecke
56f1618266 Added CG_Assert and UI_Assert 2013-12-20 22:06:25 +01:00
Walter Julius Hennecke
133398e130 Updated comment for G_Assert 2013-12-20 22:02:50 +01:00
Walter Julius Hennecke
ed7c48b8d6 Updated G_Assert
Upadted g_missile.c
2013-12-20 21:57:22 +01:00
Walter Julius Hennecke
2460b1c959 Some minor changes to G_Assert. 2013-12-19 22:53:08 +01:00
Walter Julius Hennecke
d1edc454ee - started updating g_missile.c
- add G_Assert function (see g_missile.c for example usage)
2013-12-19 22:37:50 +01:00
Walter Julius Hennecke
a0318c5983 Updated g_ui.c 2013-12-18 21:58:30 +01:00
Walter Julius Hennecke
21d861cb3b Finished revamp of g_usable.c 2013-12-18 21:45:00 +01:00
Walter Julius Hennecke
587ca0cdc4 Started overhaul of g_usbale.c 2013-12-17 19:59:26 +01:00
Walter Julius Hennecke
630a1c5b7b Fixed errors. 2013-12-13 21:10:33 +01:00
Walter Julius Hennecke
90e6997dcf Added G_logger logging to g_utils and added additional nullptr checks. 2013-12-13 21:06:39 +01:00
Walter Julius Hennecke
16e7b0e0f4 Added nullptr checks. 2013-12-13 20:13:13 +01:00
Walter Julius Hennecke
36d905cf51 Added G_Logger based logging to g_weapons.c 2013-12-13 19:53:57 +01:00
Walter Julius Hennecke
f662df7835 Added additional nullptr checks 2013-12-12 22:36:42 +01:00
Walter Julius Hennecke
1d44e45c69 Updated G_RunFrame 2013-12-12 22:18:34 +01:00
Walter Julius Hennecke
f13d568918 Added nullptr check 2013-12-12 21:34:22 +01:00
Walter Julius Hennecke
986596e0d4 Fixed an error and added an additional function. 2013-12-09 22:05:33 +01:00
Walter Julius Hennecke
07bb309d8d Removed luaDefParser
Not needed anymore.
2013-12-09 22:04:24 +01:00
Walter Julius Hennecke
056553e85c Replaced ray box intersection and added additinal function
- Replaced the ray box intersection function by a other
- added BG_OriginFromBoundingBox which calculates an approximate origin
from a given bounding box
2013-11-30 19:11:15 +01:00
Walter Julius Hennecke
f0cbc78f41 Updated game logger and sql
- ensure that after each log message a '\n' is added if the format
string does not have it as last char
- started adding another db to gameside sql
- started changing logging to logger for gameside sql
2013-11-24 00:28:08 +01:00
Walter Julius Hennecke
a9cc86d1d8 Added ray bounding box interception test. 2013-11-23 23:04:21 +01:00
Walter Julius Hennecke
8ca34a6df1 Mutliple changes
- added new lua hook LuaHook_CmdScriptCall
- added new g_developer enabled command scrip_call that can call a lua
function in a script (only functions without arguments)
- added lua functions GetAngles and SetAngles to lua_entity
- added lua functions X, Y, Z, SetX, SetY, SetZ to lua_vector
2013-11-15 22:13:01 +01:00
Walter Julius Hennecke
2a1acdb4fe Work on cinematic cameras ...
... had a mayor breakthrough there but it is still far from beeing
usable.
2013-11-13 21:07:56 +01:00
Walter Julius Hennecke
24af0bd6a6 Updates and added new logger to g_ui.c 2013-10-23 20:21:02 +02:00
Walter Julius Hennecke
e04b660350 More updates
- updates of multiple functions in g_trigger.c
- added new logger in g_trigger.c
2013-10-19 20:36:48 +02:00
Walter Julius Hennecke
18d557c691 More updates 2013-10-16 19:20:49 +02:00
Walter Julius Hennecke
37d3a908f7 Fixed some errors in previous commit. 2013-10-16 18:51:22 +02:00
Walter Julius Hennecke
17b026374a Updates
- documentation
- new logger
- other updates
2013-10-15 23:28:06 +02:00
Walter Julius Hennecke
b0ea82f7c1 Documentation update 2013-10-15 20:03:10 +02:00
Walter Julius Hennecke
e6b384e63f Documentation updates 2013-10-14 22:52:15 +02:00
Walter Julius Hennecke
830d8cabe5 g_weapon documentation update. 2013-10-14 22:14:55 +02:00
Walter Julius Hennecke
c62b0bcefa Refactoring of some function names 2013-10-13 22:06:17 +02:00
Walter Julius Hennecke
67306ef4bf Moved several functions from g_local.h to other headers 2013-10-13 21:55:11 +02:00
Walter Julius Hennecke
175a78215a More updates 2013-10-13 21:31:06 +02:00
Walter Julius Hennecke
c097714e81 More updates 2013-10-13 00:50:21 +02:00
Walter Julius Hennecke
35f8ee0283 Some work on g_weapon.c 2013-10-13 00:39:12 +02:00
Walter Julius Hennecke
49bd6251ce Updates to the list module.
- int to int32_t
- renamed to bg_list.(c|h)
- changed Makefile so only a single instance of bg_list.(c|h) files are
needed
2013-10-13 00:15:35 +02:00
Walter Julius Hennecke
0ed8422996 changed handling of strings 2013-10-10 21:42:02 +02:00
Walter Hennecke
216a871ff8 Fix crash of bgLex on linux. No idea why this worked on Windows it should have crashed as well. 2013-10-10 23:36:08 +02:00
Walter Julius Hennecke
aee36d9ad1 some changes to bg_lex 2013-10-10 21:10:12 +02:00
Walter Julius Hennecke
14b22ee5db Revert "some changes to bg_lex"
This reverts commit 57bf980ef7.
2013-10-10 21:08:59 +02:00
Walter Julius Hennecke
57bf980ef7 some changes to bg_lex 2013-10-10 21:06:12 +02:00
Walter Julius Hennecke
b2250734e0 Changed morphem string data to a fixed size of 1024. 2013-10-09 23:16:24 +02:00
Walter Julius Hennecke
9a7adfab67 More logger replacements 2013-10-09 22:33:04 +02:00