Commit graph

193 commits

Author SHA1 Message Date
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
039985bd27 Added preaching for shader remaping (needs testing) 2012-12-13 17:40:07 +01:00
Walter Julius Hennecke
80d8eab4c9 Some mods for target_turbolift
- added override key to allow mappers to override "override"
rpg_calcLiftTravelDuration
2012-12-13 16:31:11 +01:00
Walter Julius Hennecke
a57b6979d6 Fix for FS#26 - Turbolift UI not showing
Fix for FS#26 - Turbolift UI not showing
2012-12-12 16:19:02 +01:00
Walter Julius Hennecke
e03714e3a1 Started work on sql login ui ...
... got a bit bored doing it though so there is not much done yet ...
2012-12-10 23:18:30 +01:00
Walter Julius Hennecke
c4f33a82e0 minor fixes 2012-12-10 23:05:57 +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
Walter Julius Hennecke
b0a419857a added possibility to lock fx_torpedo and fx_phaser
FS#15
2012-12-09 01:32:55 +01:00
Walter Julius Hennecke
c581e36163 Backward compability for target_give and older classets 2012-12-09 01:23:19 +01:00
Harry Young
e1ab15c57f Merge branch 'master' of git@github.com:UberGames/rpgxEF.git 2012-12-08 10:54:51 +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
Walter Julius Hennecke
11d133b693 Added licenses for luaDefParser and entityDefParser 2012-12-08 00:48:25 +01:00
Walter Julius Hennecke
1efd4b40fa Moved luaDefParser and entityDefParser to a new location 2012-12-08 00:38:21 +01:00
Harry Young
c09f67dfd6 Forgot to clean up some stuff
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-07 00:15:45 +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
Harry Young
65282c20a2 Merge branch 'master' of git@github.com:UberGames/rpgxEF.git 2012-12-06 15:52:51 +01:00
Harry Young
cc4b48e8fa Started to add HUD-Element for Selfdestruct, however...
there seems to be an issue with the way I selected to transfer the countdown duration to the client (via event)
In server side Execution I run by the g_addevent just fine, however on the client side the event is not called.

there is also a new definition for trigger_airlock.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-06 15:52:34 +01:00
Walter Hennecke
522b00756f export functions for lyx (WIP) 2012-12-06 09:37:27 +01:00
Walter Hennecke
1abb89ff21 Minor changes to the lua function definitions lexer 2012-12-04 15:14:40 +01:00
Harry Young
1953cfaa25 Merge branch 'master' of git@github.com:UberGames/rpgxEF.git 2012-12-04 00:43:07 +01:00
Harry Young
5d2ecf6520 A few fixes for shiphealth stuff
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-12-04 00:43:04 +01:00
Walter Julius Hennecke
3d4ee1c97e Update entityDefParser and added luaDefParser (WIP)
* README of entityDefParser now contains build instructions for linux,
mac, and windows
* added first version of luaDefParser (for now it just lexes the file
and outputs what it found. In future I want it to output a lyx file)
2012-11-30 12:29:10 +01:00
Walter Hennecke
e97c97d5d3 Added tool that reads entity definitons into a file 2012-11-29 10:17:28 +01:00
Harry Young
75ec1fce7b Finished work on entity definitions update!
On the way merged target_postiton with info_notnull
Also added a failsafe to target_selfdestruct so it can only be commandspawned

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 22:57:55 +01:00
Harry Young
fc08de6e3d finished up descriptions in g_misc and g_mover
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 10:37:48 +01:00
Harry Young
8e3023c613 more work on definitions
Added a few comments on the way.
remmoved files for func_forcefiled2 and func_roff_mover as they were absolutely never used and were not included in any makefile.
collapsed some functions that were redundant to each other

did some work on misc_portal_camers/surface (untested)
did some very needed updates to the descriptions
redesigned the spawning and initialising of the surface in that it now has a few more failsafes
Added the ability to pause autocycle

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 03:04:09 +01:00
Walter Julius Hennecke
460b7da012 Update code/game/lua_mover.c
Added an example for a parseable comment describing a Lua function (mover.AsTrain).
Add some point all comments should look like this. I'm writing a program that'll parse them and convert them into latex.
2012-11-26 11:24:22 +01:00
Harry Young
5500407c65 Finished first version of ui_msd
UI displays status of all systems connected to it's parent target-shiphealth
There is also a slide for relative health
It does not auto update.

Up next I'll try the HUD-Element.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-23 22:56:39 +01:00
Harry Young
8e9348d463 forgot to commit there
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-23 00:12:50 +01:00
Harry Young
940469a4ce Work on MSD-UI
*Fixed Communication between server and UI
-Turned out the CG_Argv() and UI_Argv() couldn't handle 9 requests at once, so I defaulted back to direct trapping.
*Fixed bug that was looking for some Vars in the wrong fields.
*Added a few new shaders to get the alert lights to work. stuff for that will be uploaded tomorrow.
*Implemented alert lights on the MSD-UI (works perfectly)

*Added Description of a new feature to target_shiphealth (Custom MSD-Ship Display)
*Added Alexander Richardson as 2D Artist to credits (I will supply his MSD's for the new system)

*Fixed ui_transporter (It accidently got killed)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-23 00:12:20 +01:00
Harry Young
63e3ed0928 Started to work on a full Master Systems Display UI
For Head Start I ripped the Transporter UI and associated entities

I have already started to work on it's first display function, the Alert Condition,
however it seems that I am losing my int's somewhere on the path,
probably on handover between cgame and ui sections (ui_atoms.c)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-20 22:26:46 +01:00
Harry Young
e416f650ea Fix works so I discontinued and removed the borg elevator an the lua debug file
I'm going to make a release of this version for CB now

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-19 19:28:49 +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
Harry Young
94ffb3ea61 torned think on borg_elevator back off so we can do a beta-release with this.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-18 01:27:25 +01:00
Harry Young
9d9fff392b Fixed crash, however the entity behaves weired...
added lua-debug-folder to communicate lua-files for debugging via this repo.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-16 13:54:10 +01:00
Harry Young
f1faa5dfa6 Fixed upper->count and g_CallSpawn
Count-values were 0, 1, 2, 3, 4 but shall be 1, 2, 3, 4, 5

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-16 02:36:59 +01:00
Harry Young
404b94b520 Definitions and borg2-elevator
Updated more definitions
Started to work on an entity that manages the 2-part-elevator
Spawnfunc on that works fine (including failsafes)
but thinkfunc buggs out on me (can't say I'm surprised, first time I'm working on trajectories in this way)
I think the problem lies in transfering the hardcoded vectorized speed to the entity.

spawn-nextthink is set to -1 for now.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-16 02:10:01 +01:00
Harry Young
27ae701260 Merge branch 'master' of git@github.com:UberGames/rpgxEF.git 2012-11-16 01:58:52 +01:00
Harry Young
bb6249f9bd qrandom-fix on my end
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-16 01:56:48 +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
Walter Julius Hennecke
973b0e2211 Removes and fixes
* fixed typo in lua_qmath
* removed target_score
* removed some unused stuff from g_team.c (still lots more to remove)
2012-11-15 22:51:47 +01:00
Harry Young
e561731baa More work on definitions.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-15 06:41:12 +01:00
Harry Young
b18acbbd93 readded crandom
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 10:11:51 +01:00
Harry Young
c69d5f03b6 Forgot this file...
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 10:09:50 +01:00
Harry Young
b9b61d2955 3 new lua-functions and updated definitions.
*entity.FindMMB(vector origin) that will loop trougt all MMB's and return the one that is matching the input with it's s.origin
*qmath.irandom(int i, int j) and qmath.flrandom(float i, float j) that are returning a random number of their type within the intervall specified by i and j
*started redesigning all the definitions. I'll get back to this once I'm back from work in 4 hrs or so.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 10:09:28 +01:00