Commit graph

81 commits

Author SHA1 Message Date
Walter Julius Hennecke
38c6a7a8c8 moved function declarations of game syscalls to own header 2014-10-09 20:15:26 +02:00
Walter Julius Hennecke
128be4b0b8 Fixed a potential buffer overflow. 2014-03-29 01:21:28 +01: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
c40e76e9b4 - updates to g_combat.c
- moved some functions
- renamed some functions
2014-03-19 00:44:36 +01:00
Walter Julius Hennecke
23e8b41200 Updates to g_cmds.c 2014-03-15 23:14:39 +01:00
Walter Julius Hennecke
ac70e8336f Multiple updates. 2014-03-15 23:05:57 +01:00
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
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
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
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
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
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
9df137c07c Fixed some errors 2013-10-07 20:53:32 +02:00
Walter Julius Hennecke
18118404e2 Started adding new logger 2013-08-25 01:45:11 +02:00
Walter Julius Hennecke
30888964e9 Reduced scope of some variables 2013-08-14 21:39:07 +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
f965ddc28e fixed some memory leaks 2013-08-11 23:07:37 +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
a6c7f7582e Moved some functions from g_local.h into new headers 2013-07-10 22:35:20 +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
c0f3125d38 Hopefully fixes some splint warnings 2013-05-17 19:57:12 +02:00
Walter Julius Hennecke
555cb0d5cf minor fix 2013-05-17 00:42:09 +02:00
Walter Julius Hennecke
e95593b350 ... 2013-05-17 00:29:07 +02:00
Walter Julius Hennecke
4fe74b8fdf fix for SetClass 2013-05-17 00:23:03 +02:00
Walter Julius Hennecke
2a16df527b more fixes 2013-05-16 23:54:40 +02:00
Walter Julius Hennecke
d5691391fb Updated list module 2013-04-14 22:34:29 +02:00
Walter Julius Hennecke
1e8e349d2b Fixes resulting from code analysis 2013-04-13 01:34:37 +02:00
Walter Julius Hennecke
ae24153bb5 Big documentation update 2013-04-12 23:26:59 +02:00
Walter Julius Hennecke
f144ae5f11 Multiple changes
- added additonal documentation
- modified G_GetEntityByTargetname to use list
- modified G_GetEntityByTarget to use list
- modified G_GetEntityByBmodel to use list
2013-04-11 22:10:45 +02:00
Walter Julius Hennecke
4e08198ead See extented description ...
- modified G_RadiusList to use lists
- modified G_GetNearestEnt to use lists
- modified G_GetNearestPlayer to use lists
2013-04-11 21:50:28 +02:00
Walter Julius Hennecke
214cf3fc47 Multiple changes
- updated documentation
- corrected data type for two list_append calls
2013-04-09 22:40:50 +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
Walter Julius Hennecke
f8d1bd2419 Bugfix
Added a missing malloc
2013-04-07 00:06:08 +02:00
Walter Julius Hennecke
b58d94864d Added addtional functions ...
- added list_append
- added list_prepend
2013-04-06 22:42:06 +02:00
Walter Julius Hennecke
afe3614b2a Modified list module and sublicensed it 2013-04-06 22:27:08 +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
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
Harry Young
c2e135da16 Added reloadtorpedos-command and som fixes for weapon-fx
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-01-12 02:33:04 +01:00
Harry Young
f3f7345ccd Minor fixes to selfdestruct + audio for terminal count
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-01-09 19:27:36 +01:00
Harry Young
ec431c010a Finished work on selfdestruct
Countdown Clock is working
Overall script is working again
removed some unused stuff
added a few more failsafes
did some finetuning

sometimes the sounds don't trigger but I don't think that is my fault...

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-01-08 13:54:13 +01:00
Walter Julius Hennecke
b99a372ff1 Removed ...
* g_teamautojoin
* g_teamforcebalance
2012-12-22 19:15:53 +01:00