Commit graph

66 commits

Author SHA1 Message Date
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
Harry Young
fe6a0f4b7c Removed some unneeded stuff from selfdestruct
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-21 11:16:30 +01:00
Walter Julius Hennecke
8f345fbfde Udate to precache files
* updated precache file format
* prevention of duplicate shaders in file generated with the
genPrecacheFile command
2012-12-18 19:02:33 +01:00
Walter Julius Hennecke
a1d826d8fe Some additions
* Fixed precaching on client side
* added generatePrecacheFile command on server side that will generate a
new precache file (not quite done yet but it'll work for now)
* removed some debuging outputs from G_LoadTimedMessages
* fixed check for '}' beeing on the worng place in G_LoadTimedMessages
2012-12-17 19:13:46 +01:00
Walter Julius Hennecke
f776fdf3e3 Added command that generates a .precache file for a map 2012-12-14 20:47:08 +01:00
Walter Julius Hennecke
7bd0864a2d Implemented FS#24 2012-12-09 01:52:36 +01:00
Walter Julius Hennecke
a013c95957 Task FS#4 and Fix
- Implemented Task FS#4
- added a missing } in g_cmds.c
2012-12-09 01:40:02 +01:00
Harry Young
76f66aa58a removed some stuff from g_cmd (selfdestruct)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-08 10:54:36 +01:00
Harry Young
29d9180afa Removed stuff from selfdestruct that is no longer required.
did a few other tests and it really only is the communication between server and client.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-07 00:10:15 +01:00
Walter Julius Hennecke
75f20c6eef Multiple fixes
* made sure Lua GarbageCollector gets rid of finished lua threads (or at
least I hope so)
* changed timed message to be stored in a struct as the list isn't safe
to use with char*
* changed parser and format for timedmessages.cfg
2012-11-19 18:13:03 +01:00
Walter Julius Hennecke
4c1a8d0910 Renamed and moved some functions 2012-11-16 00:58:56 +01:00
Walter Julius Hennecke
b6feda9b2b Renamed and moved RPG-X related g_team.c functions to g_client.c 2012-11-16 00:02:59 +01:00
Walter Julius Hennecke
35303ecc8c Removed the rest of unused team stuff 2012-11-15 23:49:35 +01:00
Walter Julius Hennecke
db0df99793 Removed lots of things
Removed all unused things from g_team.c and related things
2012-11-15 23:43:56 +01:00
Harry Young
be557e0052 Bugfix for ui_transporter-stuff
Im my desire to make sure every command was adminprotected I killed the commands communicating with the trigger...
I reverted that and added SQLF_BEAM as a check for restricted destination clearance

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 02:45:46 +01:00
Walter Julius Hennecke
f4e8476e8f modified getOrigin command for better output 2012-11-13 14:35:09 +01:00