PDA

View Full Version : Are there any workarounds for adding variables to playerState_s (of q_shared.h)?


Scarlett
03-28-2003, 04:52 PM
Since we don't have the engine source, we can't edit anything in q_shared.h it seems... so then what does one do? Are there any known workarounds for that?

I need to make a couple debounce timers for use in bg_pmove.c...

razorace
03-28-2003, 11:48 PM
Good question. I'm pretty sure there's a workaround but I can't think of one other than seperating the task into server/client components and inserting the code into both. What's the end goal?

Azymn
03-29-2003, 04:31 PM
You could just use the extra slots available in stats[], or the holocron[] if you won't be needin the timers for the holocron gametype.