quakeforge/tools
Bill Currie 9ccfe8aefc [qfcc] Rewrite init_elements
The end goal was to fix erroneous non-constant initializer errors for
the following (ie, nested initializer blocks):

    typedef struct { int x; int y; } Point;
    typedef struct { int width; int height; } Extent;
    typedef struct Rect_s { Point offset; Extent extent; } Rect;
    Rect makeRect (int xpos, int ypos, int xlen, int ylen)
    {
	Rect rect = {{xpos, ypos}, {xlen, ylen}};
	return rect;
    }

However, it turned out that nested initializer blocks for local
variables did not work at all in that the relocations were lost because
fake defs were being created for the generated instructions.

Thus, instead of creating fake defs, simply record the offset relative
to the base def, the type, and the basic type initializer expression,
then generate instructions that all refer to the correct def but with a
relative offset.

Other than using the new element system, static initializers are largely
unaffected.
2020-03-05 11:05:13 +09:00
..
3dfx_stub Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
Forge Handle quest format brushes. 2012-09-12 08:24:17 +09:00
bsp2img Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
build_scripts Strip the executables. 2013-01-23 22:09:54 +09:00
carne Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
cross Add support for 64bit windows via mxe (mingw). 2013-01-22 21:02:50 +09:00
cvs2cl audit the usage of "only" 2010-01-13 06:42:26 +00:00
gas2masm Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gl_stub Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
io_mesh_qfmdl Clean up some export stuff 2019-08-20 16:52:43 +09:00
io_qfmap Fix some blender warnings. 2018-06-08 12:45:57 +09:00
misc Put my blender struts script in a safe place. 2012-02-22 17:47:16 +09:00
pak Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
qfbsp Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
qfcc [qfcc] Rewrite init_elements 2020-03-05 11:05:13 +09:00
qflight Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
qflmp Clean up usage of va_copy. 2016-01-03 21:16:23 +09:00
qfmodelgen Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
qfspritegen Fix an unhealthy pile of gcc 8 warnings. 2018-08-20 00:05:00 +09:00
qfvis Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
quaketoascii Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
texpaint Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
wad Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
wav Fix a pile of automake deprecation warnings. 2013-11-24 13:11:50 +09:00
Makefile.am [qwaq] Move from tools to ruamoko 2020-03-01 00:55:15 +09:00