Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4841 2298d 23h helixhorned /polymer/eduke32/source/gamedef.c CON: allow passing more than one flag to the 'spriteflags' directive.

These will be bitwise-OR'd.
 
4840 2298d 23h helixhorned /polymer/eduke32/source/gamedef.c gamedef.c: factor out some dup'd code into C_BitOrNextValue(), C_FinishBitOr().  
4680 2361d 13h terminx /polymer/eduke32/source/gamedef.c Another 5000 lines of pain and tears. DONT_BUILD.  
4628 2386d 12h terminx /polymer/eduke32/source/gamedef.c Free h_labels table when done compiling CONs  
4588 2408d 22h helixhorned /polymer/eduke32/source/gamedef.c Get rid of EnvMusicFilename[] and use MapInfo[].musicfn for that.

The additional space was there all the time, so it's not understandable why
another array was necessary.
CON: for 'music', error if volume number is outside [0 .. MAXVOLUMES+1], and
in LunaCON, additionally warn if it's MAXVOLUMES+1 (0 is preferred for that).
 
4586 2408d 22h helixhorned /polymer/eduke32/source/gamedef.c More music-related cleanup.  
4582 2416d 5h helixhorned /polymer/eduke32/source/gamedef.c Fix crash using INTERNAL DEFAULTS after CON error when CON modules were given.  
4541 2458d 7h hendricks266 /polymer/eduke32/source/gamedef.c Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

DONT_BUILD.
 
4537 2471d 18h hendricks266 /polymer/eduke32/source/gamedef.c Miscellaneous get/set(this)projectile cleanup.  
4516 2491d 17h hendricks266 /polymer/eduke32/source/gamedef.c Instead of displaying "Unknown GRP - EDuke32", simply display "EDuke32".

Much classier this way.
 
4515 2491d 17h hendricks266 /polymer/eduke32/source/gamedef.c By request, implement EVENT_ACTIVATECHEAT.  
4502 2495d 7h hendricks266 /polymer/eduke32/source/gamedef.c Wrap most calls to exit() with a macro that will print the exit status, file name, line number, and function name to the log when using a debug build.  
4491 2509d 16h helixhorned /polymer/eduke32/source/gamedef.c Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
and
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

BUILD_LUNATIC.
 
4474 2521d 6h helixhorned /polymer/eduke32/source/gamedef.c C-CON: scan label names according to stricter LunaCON rules instead of char blacklist.

These ones: http://lunatic.eduke32.com/lunacon.html#_ambiguous_lexical_elements
Seriously, defining a token kind by excluding certain characters (instead of
allowing a given set) is really, really broken.
 
4448 2549d 17h helixhorned /polymer/eduke32/source/gamedef.c CON: add getactor[]/sprite[] member 'movflags'.

This is exactly the same as the actor[].movflags member in the Lunatic build:
http://lunatic.eduke32.com/lunatic.html#actor
 
4416 2564d 5h helixhorned /polymer/eduke32/source/gamedef.c Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias.

The overall situation is thus as follows:
- in C and from Lua, that member is called 'fogpal'
- In CON (both C-CON and LunaCON), it's 'fogpal' with 'alignto' being an alias;
'filler' wasn't available before, either.
- In m32script, it's 'fogpal' or 'alignto' ('filler' is not available any more)
 
4391 2577d 23h helixhorned /polymer/eduke32/source/gamedef.c Fix taking ARRAY_SIZE of PlayerSelfObituaries (not PlayerObituaries!)

Also add two static assertions checking that the obituary quotes don't go
out of the MAXQUOTES bound. BUILD_LUNATIC.
 
4385 2578d 7h terminx /polymer/eduke32/source/gamedef.c Widespread use of ARRAY_SIZE macro.  
4373 2585d 2h helixhorned /polymer/eduke32/source/gamedef.c LunaCON: warn if a 'spriteflags' is issued after its actor definition...

... or another 'spriteflags' or 'sprite*' directive.
 
4371 2585d 2h helixhorned /polymer/eduke32/source/gamedef.c Add new actor flag and predefined CON label SFLAG_NODAMAGEPUSH.

This flag is set from C for some enemies that should not be pushed back when
damaged, such as TANK. Both the tile flag and the per-sprite flag are used
(i.e. the ultimate flag value is the XOR of the two).
Add currently non-functional example to test.lua that attempts to set this bit
for NEWBEAST.
 

Show All