Commit graph

525 commits

Author SHA1 Message Date
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
Walter Julius Hennecke
fb75b5eda6 Added additional temporal debug message. 2013-10-09 22:03:13 +02:00
Walter Julius Hennecke
2f1846c658 Added new logger to function G_LoadLocationsFile ...
... to find out where it is crashing on linux.
2013-10-09 21:59:25 +02:00
Walter Julius Hennecke
3377aeca31 Removed bg_lex.yy.c and modified Makefile
- removed bg_lex.yy.c
- modified Makefile to genereate bg_lex.yy.c with flex (which will
hopefully fix linux server crashes <- has to be tested)
2013-10-08 23:51:42 +02:00
Walter Julius Hennecke
51acc2f6fd Removed old unused file 2013-10-07 20:56:17 +02:00
Walter Julius Hennecke
9df137c07c Fixed some errors 2013-10-07 20:53:32 +02:00
Harry Young
9c17af0bcd Fixed a bug that made non-admins unable to see scanables upon using the tricorder
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-09-22 11:21:13 +02:00
Harry Young
42e56f91e1 minor hickup in ui_admin.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-09-05 19:21:21 +02:00
Harry Young
c48f5ce237 Replaced all Com_printf's in UI with Logger's
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-09-05 19:18:14 +02:00
Harry Young
65f2b94ca2 A Lot of work on UI module
Outfitted almost every function with begin and end-loggers
Removed some UI's and functions that were not in use
Fixed an issue with UI_MSD not precaching

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-09-04 17:58:49 +02:00
Walter Julius Hennecke
b9a73ecdad Work on logging.
- added additional logger macros
- made cg_main.c traceable
2013-09-03 23:33:51 +02:00
Walter Julius Hennecke
1494913f18 Added include guards to all game and ui headers. 2013-09-03 23:01:15 +02:00
Walter Julius Hennecke
ea956a8d21 Added include guards to all cgame headers ...
where they were missing.
2013-09-03 22:42:30 +02:00
Walter Julius Hennecke
d2b765a9e3 Started replacing CG_Printf's by the new logger ...
- added multiple include guards to headers to fix compiling
2013-09-03 22:37:10 +02:00
Walter Julius Hennecke
8b397da7df Added logging to fx_torpedo on game side and possible fix for the entity. 2013-08-28 23:56:21 +02:00
Harry Young
e1c3c18e15 Merge branch 'splint' of git@github.com:UberGames/rpgxEF.git into splint 2013-08-28 23:48:31 +02:00
Harry Young
96dc0769e5 Decoys and target_sequence
fixed bug, where decoys would crash a client who has the radar HUD-Element (tricorder or Phaser Rifle) open
many fixes and improvements to target_sequence (need to counter test some of these)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-28 23:46:14 +02:00
Walter Julius Hennecke
f2ea43430c Fixed a bug where fx_phaser would not work anymore. 2013-08-28 23:40:01 +02:00
Walter Julius Hennecke
2efe66b968 Logger messages for fx_phaser and marked possible error location+ 2013-08-28 21:25:38 +02:00
Harry Young
985caaf175 Minor typo in ui_logger.h
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-27 17:25:24 +02:00
Harry Young
860fd15830 Forgot to update this
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-27 17:22:56 +02:00
Harry Young
5740527fcd Implemented logger on cgame an UI module
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-27 17:19:29 +02:00
Harry Young
249f240b85 Readded a line that was unintwentionally deleted
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-25 23:24:25 +02:00
Harry Young
f7a3599938 Fixed a bug that reliably caused the server to crash on client disconnects
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-25 23:19:30 +02:00
Harry Young
71d85b5caf Minor fix to logger
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-25 20:21:16 +02:00
Walter Julius Hennecke
633d9e653c Fixes and updates to the new logger 2013-08-25 03:18:03 +02:00
Walter Julius Hennecke
296f3d106a Rollback of cg_syscalls.c 2013-08-25 03:05:10 +02:00
Walter Julius Hennecke
d8b4ac7c7b Rollback of ui_syscalls.c 2013-08-25 03:01:46 +02:00
Walter Julius Hennecke
ac31908cfc missing changes 2013-08-25 01:47:31 +02:00
Walter Julius Hennecke
18118404e2 Started adding new logger 2013-08-25 01:45:11 +02:00
Walter Julius Hennecke
f65df05320 Modified Init functions to print RPG-X version information 2013-08-24 17:47:17 +02:00
Walter Julius Hennecke
049c0399b9 changed RPGX_COMPILEDATE to automatically be set by compiler 2013-08-24 17:37:16 +02:00
Harry Young
d94547307c First version of target_sequence
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-19 17:01:18 +02:00
Harry Young
2e27219e28 Cleaned up last and Replaced all ints in cgame by int32_t
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-16 15:43:41 +02:00
Harry Young
e9c546ffc3 Pust just to have Jenkins handle it
I replacing all floats with double via slughammer-methode was overkill, however using Jenkins I can easier find where it makes sense
this will be roled back with the next commit

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-16 15:09:09 +02:00
Harry Young
b7806d4bf4 Replaced all int's in the UI module by int32_t's
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-16 14:58:47 +02:00
Harry Young
b29135d602 Merge branch 'splint' of git@github.com:UberGames/rpgxEF.git into splint 2013-08-15 21:15:36 +02:00
Harry Young
8c0e4ab542 Minor fix
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-15 21:15:28 +02:00
Walter Julius Hennecke
30888964e9 Reduced scope of some variables 2013-08-14 21:39:07 +02:00
Harry Young
23cdb7229a minor typo in fx_phaser.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-14 00:11:31 +02:00
Harry Young
e196e5b30e still fixing cg_view.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-14 00:09:33 +02:00
Harry Young
3c05e86b9c Merge branch 'splint' of git@github.com:UberGames/rpgxEF.git into splint 2013-08-14 00:08:57 +02:00
Harry Young
86fda85067 minor fix in cg_view.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-14 00:08:14 +02:00
Harry Young
c72cf80ac4 minor fix in cg_view.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-14 00:06:12 +02:00
Harry Young
387b55198c Some fixes and Tweaks
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-14 00:02:45 +02:00
Harry Young
fc2706750b Tons of variable scopes eliminated and some other stuff
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 23:55:00 +02:00
Harry Young
e1198d3079 Merge branch 'splint' of git@github.com:UberGames/rpgxEF.git into splint 2013-08-13 22:50:00 +02:00
Harry Young
6915192f33 Reduced scope in cg_consolecmds.c and cg_draw.c
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 22:49:01 +02:00
Walter Julius Hennecke
222f0d77a9 more bugs ... umm fixes I mean 2013-08-13 21:56:47 +02:00
Walter Julius Hennecke
b979af4c67 lol even more mistakes ... today is not my day 2013-08-13 21:52:42 +02:00
Walter Julius Hennecke
42c2f9216b missed another one 2013-08-13 21:50:19 +02:00
Walter Julius Hennecke
79596ab7e5 fixed g_client.c 2013-08-13 21:48:06 +02:00
Walter Julius Hennecke
5a78efe9cf Reduced scope of more variables 2013-08-13 21:45:20 +02:00
Harry Young
1059d56e85 More stuff tuned
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 01:07:02 +02:00
Harry Young
1918e8d9fc fix in qmenu
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 00:58:00 +02:00
Harry Young
f4389a246d - fixed atoms again (hopefully)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 00:54:12 +02:00
Harry Young
ebaa118d4f - worked off remaining variableScope and unusedVariable in UI (unless I popped new ones up)
- fixed an issue with atoms

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 00:49:39 +02:00
Harry Young
020b75608b - same as last on library.c
- minor fix in atoms.c

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-13 00:09:02 +02:00
Harry Young
390e597c43 - Fixed variableScope and unreadVariable style warnings in UI module
- also removed my test file

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-12 23:53:39 +02:00
Walter Julius Hennecke
534ecfbdff added null ptr checkes 2013-08-12 23:03:01 +02:00
Walter Julius Hennecke
810bf1b644 some fixes
- reduced scope of some variables
- added null pointer check
2013-08-12 22:44:39 +02:00
Walter Julius Hennecke
f8d9dec3b9 fixed cppcheck-inline supressions 2013-08-12 22:12:32 +02:00
Walter Julius Hennecke
1c737274c2 Fixed warnings 2013-08-12 20:26:28 +02:00
Walter Julius Hennecke
872ac60650 Reduced scope of some variables 2013-08-12 20:02:35 +02:00
Walter Julius Hennecke
1a4235bf02 Reduced scope of varoius variables in ai_cmd.c 2013-08-12 19:37:26 +02:00
Walter Julius Hennecke
74f6adbfbb Added a missing /* 2013-08-12 19:30:20 +02:00
Walter Julius Hennecke
f965ddc28e fixed some memory leaks 2013-08-11 23:07:37 +02:00
Walter Julius Hennecke
ff04d11055 repeplaced some ints by int32_t 2013-08-11 02:04:14 +02:00
Walter Julius Hennecke
8358e12dee Modified various indentations 2013-08-11 01:58:53 +02:00
Walter Julius Hennecke
2fd155b9fd Deleted comment 2013-08-11 01:32:43 +02:00
Walter Julius Hennecke
2c7b5766c7 fixed entityDefParser 2013-08-02 23:34:54 +02:00
Walter Julius Hennecke
9a69a10d68 Fixed a bug
Fixed a bug where use of /drop while beeing dead resultet in a crash.
2013-08-01 20:43:39 +02:00
Walter Julius Hennecke
c5a3beb3a8 Some urgent bug fixes 2013-07-22 23:56:44 +02:00
Walter Julius Hennecke
97f3cb7eba More updates and work on sound zones for global sounds ...
... not what I want it to be but I need a break.
2013-07-21 15:24:57 +02:00
Walter Julius Hennecke
dfd8dea02e Added multiple things ... 2013-07-21 01:34:09 +02:00
Walter Julius Hennecke
0080fe29f9 Added global loop sounds ... 2013-07-20 23:10:39 +02:00
Walter Julius Hennecke
21602f912e Revert "This is somewhat of an experiment in which I try to add global looping sounds ..."
This reverts commit 1fdd793215.
2013-07-18 23:14:41 +02:00
Walter Julius Hennecke
1fdd793215 This is somewhat of an experiment in which I try to add global looping sounds ...
... this possible solution has not been tested yet.
2013-07-18 00:24:44 +02:00
Walter Julius Hennecke
5742263b89 fogot to commit updated project file 2013-07-12 19:01:55 +02:00
Walter Julius Hennecke
e7b61245d6 Added one function to g_items.h and removed external declarations for it 2013-07-12 18:57:49 +02:00
Walter Julius Hennecke
61ee99a379 Some more changes 2013-07-12 18:52:19 +02:00
Walter Julius Hennecke
e41e1d1cbf Did some work on g_items.c 2013-07-12 00:10:06 +02:00
Walter Julius Hennecke
a6c7f7582e Moved some functions from g_local.h into new headers 2013-07-10 22:35:20 +02:00
Walter Julius Hennecke
14f7daa522 added missing include in g_cinematic.h ...
wow that must have been missing for ages
2013-07-08 21:08:45 +02:00
Walter Julius Hennecke
0c658b2813 added missing includes 2013-07-08 21:06:42 +02:00
Walter Julius Hennecke
e6e86bea0f added missing include to g_misc.c 2013-07-08 21:02:50 +02:00
Walter Julius Hennecke
99380336af added missing include to g_items.c 2013-07-08 21:01:52 +02:00
Walter Julius Hennecke
2685ce85ee added missing header to g_client.c 2013-07-08 21:00:23 +02:00
Walter Julius Hennecke
89ca5122d2 moved function delarations that belong to g_spawn to g_spawn.h 2013-07-08 20:59:00 +02:00
Walter Julius Hennecke
b31ec10d1f moved several G_Client function to g_client.c from other files 2013-07-08 20:53:00 +02:00
Walter Julius Hennecke
fab24283e0 should have seen that 2013-07-08 20:47:39 +02:00
Walter Julius Hennecke
ee3fe53577 oops ... now that shopuld do the trick 2013-07-08 20:45:55 +02:00
Walter Julius Hennecke
1ff44ff920 forgot to remove something 2013-07-08 20:44:19 +02:00
Walter Julius Hennecke
03aecfe908 Some more work on g_client.c 2013-07-08 20:42:21 +02:00
Walter Julius Hennecke
9cd5880931 Moved declaration of IsAdmin from g_local.h to g_client.h 2013-07-08 20:27:33 +02:00