quakeforge/nq/source
Bill Currie 1a83fe21c1 [util] Add Sys_setjmp and Sys_longjmp
Host_Error and Host_EndGame use setjmp/longjmp to implement an exception
of sorts, but this messes with tracy's state even with cleanup
attributes. However, it turns out that those cleanup attributes are
exactly how gcc implements C++ destructors, and so the standard Unwind
api (part of libgcc) respects them (so long as -fexceptions is enabled
for C). Thus... replace longjmp with an implementation that uses Unwind
to unwind the stack and call the cleanup functions as needed. This is
actually important for more than just tracy as the cleanup attributed
vars can be thread locks.
2023-12-01 12:13:26 +09:00
..
.gdbinit better progs access error checking and cleanups resulting from it. Fixes 2001-03-27 03:57:17 +00:00
.indent.pro sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet. 2001-08-25 02:47:11 +00:00
cl_cmd.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
cl_demo.c [nq,qw] Add a debug_debug cvar 2023-07-28 19:19:13 +09:00
cl_ents.c [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
cl_input.c [client] Get the basic chase camera working 2022-03-01 11:43:23 +09:00
cl_main.c [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
cl_parse.c [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
game.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
host.c [util] Add Sys_setjmp and Sys_longjmp 2023-12-01 12:13:26 +09:00
host_cmd.c [nq] Add more checks for dedicated server in client 2023-11-19 15:03:13 +09:00
Makemodule.am [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
sdl_link.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sv_cl_phys.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_ded.c [client] Merge cl_screen.c 2022-11-02 15:11:09 +09:00
sv_main.c [model] Remove Mod_LeafPVS in favor of mix/set 2023-08-05 11:51:01 +09:00
sv_move.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_phys.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_pr_cmds.c [model] Clean up the model struct a little 2023-09-14 20:35:45 +09:00
sv_progs.c [cvar] Clean up most misinterpreted cvar types 2022-04-24 20:04:06 +09:00
sv_user.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sys_sdl.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sys_unix.c [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
sys_unixd.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sys_win.c [win] Communicate application focus to the client 2023-11-26 13:40:00 +09:00
sys_wind.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
world.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00