quakeforge/libs/gamecode
Bill Currie 712d800491 [gamecode] Save return ptr for chained calls
It turns out the return pointer still needs to be saved even when a
builtin sets up a chain call to progs, but rather than the pointer being
simply restored, it needs to be saved in the call stack exactly as if
the function was called directly by progs. This fixes the invalid self
issue quite thoroughly: parameter state seems to be correct across all
calls now.

I should set up an automated test now that I know and understand the
situation.
2022-01-31 23:35:56 +09:00
..
test [gamecode] Redesign jump's B addressing 2022-01-30 22:34:40 +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] Sort out shr's opname for easier searching 2022-01-30 22:37:03 +09:00
pr_builtins.c [gamecode] Rename parm to param 2022-01-27 10:55:06 +09:00
pr_debug.c [gamecode] Use pr_type_names for debug views 2022-01-30 10:49:33 +09:00
pr_edict.c [gamecode] Use unsigned for entity values 2022-01-16 22:15:18 +09:00
pr_exec.c [gamecode] Save return ptr for chained calls 2022-01-31 23:35:56 +09:00
pr_load.c [gamecode] Rename parm to param 2022-01-27 10:55:06 +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] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
pr_resolve.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30: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] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
pr_v6p_opcode.c [qfcc] Change v6p's jumpb opname to jump 2022-01-30 22:39:21 +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