gzdoom/wadsrc/static
Christoph Oelckers b3aa7c61a9 - fixed: Class and struct name lookup was not context aware.
If a later module reused an existing name for a different class or struct type, this new name would completely shadow the old one, even in the base files.
Changed it so that each compilation unit (i.e. each ZScript and DECORATE lump) get their own symbol table and can only see the symbol tables that got defined in lower numbered resource files so that later definitions do not pollute the available list of symbols when running the compiler backend and code generator - which happens after everything has been parsed.

Another effect of this is that a mod that reuses the name of an internal global constant will only see its own constant, again reducing the risk of potential errors in case the internal definitions add some new values.

Global constants are still discouraged from being used because what this does not and can not handle is the case that a mod defines a global constant with the same name as a class variable. In such a case the class variable will always take precedence for code inside that class.

Note that the internal struct String had to be renamed for this because the stricter checks did not let the type String pass on the left side of a '.' anymore.

- made PEnum inherit from PInt and not from PNamedType.

The old inheritance broke nearly every check for integer compatibility in the compiler, so this hopefully leads to a working enum implementation.
2017-01-23 19:10:28 +01:00
..
filter Fixed loading of Hexen and Strife 2016-12-08 12:07:12 +02:00
glstuff - cleaned up the clip plane management for portals. 2016-04-27 00:41:00 +02:00
graphics Move extra font characters into filter directories 2016-02-04 13:23:36 -06:00
maparrows Normalize line endings 2016-03-01 09:47:10 -06:00
mapinfo - Added Deejay's par times for Thy Flesh Consumed 2017-01-16 19:17:22 +01:00
sbarinfo Normalize line endings 2016-03-01 09:47:10 -06:00
shaders Merge remote-tracking branch 'gzdoom/master' into ssao 2016-11-27 09:59:57 +01:00
sounds - Reprocess all sounds with flac 1.2.1. 2009-09-15 01:55:36 +00:00
sprites - added pickup sprite for Chex Quest's Mini Zorcher (i.e. pistol replacement.) 2015-04-27 10:24:49 +02:00
textures About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
xlat - added new Stairs_BuildUpDoomCrush special from Eternity and used it to fix the bad implementation to make Doom's turbo stairs crush. This also removes the crushing from Generic_Stairs entirely, just like it was in Boom. 2017-01-08 01:15:45 +01:00
zscript - fixed: Class and struct name lookup was not context aware. 2017-01-23 19:10:28 +01:00
althudcf.txt Normalize line endings 2016-03-01 09:47:10 -06:00
animdefs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
compatibility.txt Merge branch 'master' of https://github.com/rheit/zdoom 2016-12-22 11:29:44 +01:00
confont.lmp Updated console font by GFD. 2016-02-14 09:27:20 +01:00
dbigfont.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
decaldef.txt Normalize line endings 2016-03-01 09:47:10 -06:00
defbinds.txt Externalized default key bindings 2015-04-05 21:40:53 -05:00
dehsupp.txt - moved the 'brainexplode' state to the rocket, which is the actor which actually uses it. 2016-11-14 15:02:44 +01:00
etc.h.txt Normalize line endings 2016-03-01 09:47:10 -06:00
fontdefs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi1.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi2.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_epi3.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc1.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc2.txt Normalize line endings 2016-03-01 09:47:10 -06:00
in_htc3.txt Normalize line endings 2016-03-01 09:47:10 -06:00
indexfont - fixed some incorrect file names in the new WADSRC directory and deleted obsolete makefiles. 2008-07-23 15:32:18 +00:00
iwadinfo.txt - Made WadSmoosh detection a lot stricter. 2017-01-04 20:48:52 +01:00
language.eng Merge branch 'master' of https://github.com/rheit/zdoom 2016-08-21 08:42:06 +02:00
language.enu - removed r_columnmethod 1 because the code was broken and already gone from QZDoom. 2017-01-10 22:28:15 +01:00
language.fr Normalize line endings 2016-03-01 09:47:10 -06:00
language.ita Normalize line endings 2016-03-01 09:47:10 -06:00
language.ptb Normalize line endings 2016-03-01 09:47:10 -06:00
lockdefs.txt Adds //%Title property to all locks to make parsing LOCKDEFS by map editors more feasible. 2016-07-12 23:52:04 +02:00
menudef.txt - removed r_columnmethod 1 because the code was broken and already gone from QZDoom. 2017-01-10 22:28:15 +01:00
menudef.zz Merge branch 'ssao' of https://github.com/dpjudas/dpDoom 2016-12-22 12:40:57 +01:00
netnotch.dat - added Gez's patch to move Hexen's startup notches out of the EXE. 2010-03-27 21:12:08 +00:00
notch.dat - added Gez's patch to move Hexen's startup notches out of the EXE. 2010-03-27 21:12:08 +00:00
reverbs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sbarinfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sbigfont.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
sndinfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
sndseq.txt Normalize line endings 2016-03-01 09:47:10 -06:00
spaldoom.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
spalhtic.lmp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
teaminfo.txt Normalize line endings 2016-03-01 09:47:10 -06:00
terrain.txt Normalize line endings 2016-03-01 09:47:10 -06:00
textcolors.txt Normalize line endings 2016-03-01 09:47:10 -06:00
textures.txt Normalize line endings 2016-03-01 09:47:10 -06:00
things.h.txt Normalize line endings 2016-03-01 09:47:10 -06:00
vga-rom-font.16 About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
x11r6rgb.txt Normalize line endings 2016-03-01 09:47:10 -06:00
xhairs.txt Normalize line endings 2016-03-01 09:47:10 -06:00
zscript.txt - scriptified a few parts of p_pspr.cpp. 2017-01-19 13:26:46 +01:00