Commit graph

652 commits

Author SHA1 Message Date
Walter Julius Hennecke
65b6c1ac91 - Added check if entity is a client for G_PrintfClient
- Updates to g_cmds.c
2014-03-15 17:31:04 +01:00
Walter Julius Hennecke
1b90fbbf1a Updates to g_cmds.c 2014-03-15 01:09:52 +01:00
Walter Julius Hennecke
c746c4f07e Updates to g_cmds.c 2014-03-14 19:30:17 +01:00
Walter Julius Hennecke
354093267d Removed commented and unused code. 2014-03-14 18:51:13 +01:00
Walter Julius Hennecke
da77688e30 Add constants to lua libray trace and sound.
Examples:
trace.CONSTANT.MASK_SHOT
sound.CONSTANT.CHAN_AUTO
2014-03-14 00:30:50 +01:00
Walter Julius Hennecke
0242b959ae - Commented out unsued function from the lua vector library.
- Added lua hook for weapon firing.
2014-03-13 22:54:45 +01:00
Walter Julius Hennecke
95fc64d15e - Fixed a bug that rendered the lua vector library inoprateable.
- Fixed lua vector library function vector.Set which only set the x value of a vector.
2014-03-12 02:47:26 +01:00
Walter Julius Hennecke
3546cdaaa2 This commot fixes multiple issues:
- this will fix the issues #5
- also fixes an error in the lexer where it would return \"string\" instead of string\0
- also fixes errors in g_usable.c that prevented func_usables from workign correctly

The fix for issue #5 will be merge to devel and master asap.
2014-02-21 22:08:00 +01:00
Walter Julius Hennecke
3f6d3fce93 Updates to g_cmds.c 2014-02-21 21:14:37 +01:00
Walter Julius Hennecke
94d303ebf1 Updated version 2014-02-21 19:30:44 +01:00
Walter Julius Hennecke
f2b05eb994 Updates to g_cmds.c 2014-02-21 19:18:43 +01:00
Walter Julius Hennecke
2763fd4b8d Updates to g_cmds.c 2014-02-21 19:17:10 +01:00
Walter Julius Hennecke
e5daed2aea Updated version number 2014-02-20 23:37:11 +01:00
Walter Julius Hennecke
bee7475670 Fixed a loophole in the voting system. 2014-02-20 23:14:00 +01:00
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