Commit graph

86 commits

Author SHA1 Message Date
Walter Julius Hennecke
a87cc1e591 added nlohmann json library as submodule 2018-06-30 16:01:55 +02:00
Walter Julius Hennecke
79dff5963f added /MP switch for ui, game, and cgame 2017-09-30 23:51:04 +02:00
Walter Julius Hennecke
9cac290629 Make all game code projects compile as cpp code
- Fixed all errors that occured due to using c++ compiler
- changed c++ standart to c++17
- removed lua, added library instead
- made all bg_* and q_* file into a shared item project
2017-09-30 21:49:31 +02:00
Walter Julius Hennecke
6ef92d2d05 Made game compile as C++ and fixed all warnings 2017-04-06 21:57:31 +02:00
Walter Julius Hennecke
e745657bdb added various checks concerning opening files 2015-03-22 12:00:14 +01:00
Walter Julius Hennecke
15c3ae39ae Updates to varous cg_ and bg_ files 2014-11-09 14:31:26 +01:00
Walter Julius Hennecke
60a8acbe05 Conflict resolving 2014-11-07 19:12:02 +01:00
Walter Julius Hennecke
a75a108485 Updates tu multiple headers 2014-11-07 19:04:38 +01:00
Walter Julius Hennecke
ce76bfa8d4 Updates to cg_local.h 2014-10-27 22:39:54 +01:00
Walter Julius Hennecke
3ae1fe4614 Updates to multiple header files 2014-10-25 01:00:31 +02:00
Walter Julius Hennecke
b766076ed6 Updates to q_math 2014-08-13 23:29:27 +02:00
Walter Julius Hennecke
04efa48a18 Added a new event that hopefully ensures stopmusic command works as it should. 2014-03-21 22:06:45 +01:00
Walter Julius Hennecke
56f1618266 Added CG_Assert and UI_Assert 2013-12-20 22:06:25 +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
c097714e81 More updates 2013-10-13 00:50:21 +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
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
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
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
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
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
Walter Julius Hennecke
296f3d106a Rollback of cg_syscalls.c 2013-08-25 03:05:10 +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
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
8c0e4ab542 Minor fix
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-15 21:15:28 +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
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
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
e849b1c516 Have gone through a few files change a thing or two. 2013-07-06 18:19:28 +02:00
Walter Julius Hennecke
31ab7dfcd2 replaced some ints by int32_t 2013-06-26 21:30:06 +02:00
Walter Julius Hennecke
c660ee1a0f Fix and removel of deprecated files
- fixed bg_lex so the lexer compile on mingw
- removed old Makefile of RPG-X as they are deprecated, use "make
BUILD_SERVER=0 BUILD_CLIENT=0" in the repositories main path instead to
build shared libraries only
2013-04-27 19:08:54 +02:00
Walter Julius Hennecke
a6725bea60 Updated VC project files 2013-04-22 21:05:01 +02:00
Walter Julius Hennecke
cf09000956 Copied list module to cgame for future use 2013-04-20 23:29:40 +02:00
Walter Julius Hennecke
7b0d0ec650 Update Lua 5.2 -> Lua 5.2.2 2013-04-13 23:24:24 +02:00
Walter Julius Hennecke
f35bd7ec1d Modified some code due to use of container ...
The list now can store C types and and strings directly (without the
need of them to be in a struct).
2013-04-09 22:09:29 +02:00
StFi
9736433110 Linux Beta 2.3 Fix 2013-03-04 19:52:26 +01:00
Harry Young
3164fdfa33 A lot of stuff!
-replaced target_safezone with target_sone (backwardscompability is in place)
--It now servers for more purposes than just escapepods. Also included in the MSD-System

-Removed list-iteration for safezones.
--They gave me such a hard time and put unneeded limits in place (like one time shots)
--now we loop trough all entities instead and find those with the right criteria and go from there

-For safezones clients are now tagged in the backend (new gclients_t-field)
--only those that aren't taggesd this way will be killed
--Closed FS#30

-First version of shiphealth HUD (FS#8, needs testing)
--There were som modifications made to the full UI as well

-Both Selfdestruct and Shiphealth communication to the client go via command now, the events got removed
-new Version Notation: RPG-X V 2.3 CB 4

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-02-10 00:31:04 +01:00
Harry Young
76c0d8fea6 More work on torpedo relaod command
should be finished now

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-01-12 17:20:27 +01:00