Commit graph

67 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
8bce48a798 commit revert changes to q_math 2015-03-21 13:55:36 +01:00
Walter Julius Hennecke
22f826eabd more ui updates 2014-11-09 14:08:34 +01:00
Walter Julius Hennecke
71bdb3d0b8 more ui updates 2014-11-09 13:53:48 +01:00
Walter Julius Hennecke
636d72a1c9 more updates 2014-11-08 11:59:05 +01:00
Walter Julius Hennecke
211d287385 updates to more ui_*.c files 2014-11-08 11:47:20 +01:00
Walter Julius Hennecke
2341196c1b update to various ui_*.c files 2014-11-08 11:37:24 +01:00
Walter Julius Hennecke
c3dd592c86 Updates to various ui_*.c files 2014-11-07 19:54:16 +01:00
Walter Julius Hennecke
a75a108485 Updates tu multiple headers 2014-11-07 19:04:38 +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
a51e6fb305 Fix for issue #2 on experimental branch (splint). 2014-02-15 22:46:31 +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
56f1618266 Added CG_Assert and UI_Assert 2013-12-20 22:06:25 +01:00
Walter Julius Hennecke
c097714e81 More updates 2013-10-13 00:50:21 +02:00
Walter Julius Hennecke
9df137c07c Fixed some errors 2013-10-07 20:53:32 +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
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
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
d8b4ac7c7b Rollback of ui_syscalls.c 2013-08-25 03:01:46 +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
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
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
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
83c3851171 fixed some warnings 2013-06-26 20:41:21 +02:00
Walter Julius Hennecke
6578cfdd51 fixes and annotations 2013-06-11 20:15:50 +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
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
Harry Young
c9a8d31f3d More work on admin UI
I had some issues with the standalone Welcome Page so I modified the Login Page to include this and moved the Admin-Check there as well.
I altered the Defines in ui_admin.c and updated on other positions where required so far (I'll adapt the remainder as time comes)
I enabled subfolders for the Music-UI (I don't see why this is a problem at all)
I the Ingame menu I completely disabled the HC-Butttons.
Added Logout-Ability for userlogion (adapted from adminlogin)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-03-20 11:33:29 +01:00
Harry Young
6694f3845f More work on Admin UI
Finished Login UI
Build Welcome UI
Finished Hook
some cleanup

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-03-19 13:15:19 +01:00
Harry Young
18e3921d4f First series of mods to Admin UI
Implementet the Relaod-Callvote in Ingame
Build a rudimentary Login system

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-03-18 14:36:06 +01:00
StFi
9736433110 Linux Beta 2.3 Fix 2013-03-04 19:52:26 +01:00
Walter Julius Hennecke
fd6e6fca30 Fix for FS#29
Fix for FS#29 - Server Change on ui_transporter seems broken
2013-02-25 12:15:53 +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
Walter Julius Hennecke
62f54b070e Continued work on slq login menu
* note: new graphics not uploaded yet
2012-12-20 22:46:38 +01:00