quakeforge/libs/gamecode
Bill Currie 00b7bced7f [gamecode] Rework PR_RESET_PARAMS to use PR_SetupParams
PR_SetupParams is new and sets up the parameter pointers so older code
that expects only up to 8 parameter will work with both v6p and Ruamoko
progs without having to check what progs are running. PR_SetupParams is
useful even when Ruamoko progs are expected as it reserves the required
space (respecting alignment) on the stack and returns a pointer to the
top (bottom? confusing) of the stack. PR_PushFrame and PR_PopFrame
need to be used around PR_SetupParams, regardless of using temp strings,
to avoid a stack leak (need to do an audit).
2022-01-24 12:50:15 +09:00
..
test [gamecode] Change address mode B to entity.field 2022-01-20 14:55:29 +09:00
convert.py [gamecode] Add a fixme about using gcc's vec convert 2022-01-17 10:32:19 +09:00
hops.py [gamecode] Add tests for the hops instructions 2022-01-16 18:46:29 +09:00
Makemodule.am [gamecode] Implement the HOPS sub-instructions 2022-01-16 16:28:48 +09:00
opcodes.py [gamecode] Add instructions for stack adjust, nop, and ldconst 2022-01-21 20:00:38 +09:00
pr_builtins.c [gamecode] Add a data pointer passed to builtin functions 2022-01-24 00:20:05 +09:00
pr_debug.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_edict.c [gamecode] Use unsigned for entity values 2022-01-16 22:15:18 +09:00
pr_exec.c [gamecode] Rework PR_RESET_PARAMS to use PR_SetupParams 2022-01-24 12:50:15 +09:00
pr_load.c [gamecode] Initialize .stack if it's available 2022-01-21 20:33:15 +09:00
pr_opcode.c [gamecode] Create macros for progs sizeof and alignof 2022-01-23 14:29:33 +09:00
pr_parse.c [gamecode] Rename ev_quat to ev_quaternion 2022-01-18 17:05:12 +09:00
pr_resolve.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_resource.c [util] Make hash-tables semi-thread-safe 2020-03-25 15:43:16 +09:00
pr_strings.c [gamecode] Clean up string_t and pointer_t 2022-01-18 12:11:14 +09:00
pr_v6p_opcode.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [gamecode] Add tests for the swizzle instructions 2022-01-15 22:44:58 +09:00