quakeforge/libs/gamecode
Bill Currie 578314c5a3 [gamecode] Use a buffer for discarded return values
Due to how OP_RETURN works, a destination is required for any function
returning data, but the caller may not have allocated any space for the
value. Thus the VM maintains a buffer into which the data can be put and
ignored. It also makes a good place for return values when the engine
calls Ruamoko code as trusting progs code with return sizes seems like a
recipe for disaster, especially if the return location is on the C
stack.
2022-01-21 10:09:02 +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] Correct call's operator types 2022-01-21 10:07:35 +09:00
pr_builtins.c [gamecode] Remove the wart from def and function names 2021-12-31 15:02:31 +09:00
pr_debug.c [gamecode] Update printed opcode width 2022-01-20 18:37:28 +09:00
pr_edict.c [gamecode] Use unsigned for entity values 2022-01-16 22:15:18 +09:00
pr_exec.c [gamecode] Use a buffer for discarded return values 2022-01-21 10:09:02 +09:00
pr_load.c [gamecode] Remove PR_Opcode_Init 2022-01-07 19:25:34 +09:00
pr_opcode.c [gamecode] Move pr_void_t to pr_comp.h 2022-01-18 22:58:26 +09:00
pr_parse.c [gamecode] Rename ev_quat to ev_quaternion 2022-01-18 17:05:12 +09:00
pr_resolve.c [gamecode] Clean up string_t and pointer_t 2022-01-18 12:11:14 +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] Fix a few missed opcode renames 2022-01-20 13:07:57 +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