raze-gles/polymer/eduke32/source
helixhorned 6458c0ba34 a.m32: add state 'for_sprites_near_picnum'.
The state quries the user for four values: ref. picnum, target picnum, max.
ldist and a lotag.  Then, for all sprites i (of ref. picnum), for all sprites j
(of target picnum), if ldist(i,j)<=maxldist, sprite j's lotag is changed to the
provided one.

Also add lunatic/test/maputil.lua, containing a similar function but allowing
to customize the selection predicates of the ref. and target sprites, as well
as the action to carry out.

git-svn-id: https://svn.eduke32.com/eduke32@4414 1a8010ca-5511-0410-912e-c29ae57300e0
2014-04-05 11:28:08 +00:00
..
android Some basic changes for Android support. DONT_BUILD. 2014-03-22 09:25:51 +00:00
enet *nix ENet build fix. DONT_BUILD. 2014-03-22 13:21:03 +00:00
eobj Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir. 2013-03-04 04:14:19 +00:00
eobj_win Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir. 2013-03-04 04:14:19 +00:00
jaudiolib MSVC: Set up support for SDL2. DONT_BUILD. 2014-02-11 07:39:09 +00:00
jmact Some basic changes for Android support. DONT_BUILD. 2014-03-22 09:25:51 +00:00
lunatic a.m32: add state 'for_sprites_near_picnum'. 2014-04-05 11:28:08 +00:00
misc Update the info displayed in the "details" tab of the application properties dialog in Windows--change copyright date to 2013, update Duke Nukem trademark ownership from Apogee Software, Ltd to Gearbox Software, LLC 2013-08-31 04:57:46 +00:00
obj Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir. 2013-03-04 04:14:19 +00:00
obj_win Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir. 2013-03-04 04:14:19 +00:00
util ivfrate: fix one error message, make -h/--help display usage. 2014-01-15 20:29:06 +00:00
GNU.TXT
GameListSource.game.h Clean up some file and directory structure. 2012-12-29 10:54:35 +00:00
GameListSource.game.m Apply patch by forum user "John Jendro" fixing OS X build. 2013-07-13 21:05:06 +00:00
GrpFile.game.h Clean up some file and directory structure. 2012-12-29 10:54:35 +00:00
GrpFile.game.m Clean up some file and directory structure. 2012-12-29 10:54:35 +00:00
_functio.h Lunatic translator: update default defines. 2012-11-25 13:18:41 +00:00
_midi.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
_rts.h Reincarnate RTS sound functionality together with cleaning up related code. 2014-01-30 19:12:08 +00:00
actors.c Factor out approaching val. to target val by half-difference steps into logapproach(). 2014-03-23 14:29:09 +00:00
actors.h Fix the "fix for flying/jumping monsters getting stuck in water". 2014-03-16 14:37:52 +00:00
actors_inline.c Clean up of mostly actors.c, but some other files along the way too. 2013-04-15 10:48:09 +00:00
actors_inline.h For DISABLEINLINING=1, apply __fastcall to make up for the lack of inlining. 2014-01-12 14:04:02 +00:00
android.h Some basic changes for Android support. DONT_BUILD. 2014-03-22 09:25:51 +00:00
anim.c Allow the episode 4 cutscenes to be skipped in their entirety with one keypress, as in the original DOS game, instead of requiring input for each ANM file. 2014-01-12 14:02:30 +00:00
anim.h Allow the episode 4 cutscenes to be skipped in their entirety with one keypress, as in the original DOS game, instead of requiring input for each ANM file. 2014-01-12 14:02:30 +00:00
animvpx.c MSVC: Add support for x64 building and all synthesis libs (libpng/zlib, libvpx, libFLAC). 2014-02-10 10:59:42 +00:00
animvpx.h Make ivfrate build standalone, Makefile tweaks. 2012-11-08 21:54:17 +00:00
astub.c Add xxHash (https://code.google.com/p/xxhash/), a faster alternative to CRC32, and implement it in a few places. This is around 20-30% faster than CRC32 for me (it's also implemented into the "fileinfo" console command, so you can test for yourselves). I didn't have time to gather up all of the files supported by the startup window so this isn't used there yet. Additionally, this is by the same author as the LZ4 compression library we already use. 2014-03-22 09:26:39 +00:00
common.c In COMMON_clearbackground() (for the OSD), disable fog. 2014-03-30 20:35:57 +00:00
common_game.h Allow -g, -x, -h, -j, and for the game, -d, to take their file name after a space. This allows quotes to be used with them properly. 2013-11-03 04:02:23 +00:00
config.c Some basic changes for Android support. DONT_BUILD. 2014-03-22 09:25:51 +00:00
config.h Fix warning from r3128 2012-11-08 22:09:00 +00:00
demo.c Tidy menu code in advance of complete redesign. 2014-03-26 09:14:01 +00:00
demo.h In -d command line arg, allow specifying demo number in addition to file name. 2012-10-01 17:52:40 +00:00
duke3d.h A couple of very minor code beauty tweaks. 2014-02-22 19:38:47 +00:00
function.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
game.c Add a second DNCOORDS/cl_showcoords mode, showing some renderer settings. 2014-03-30 20:36:00 +00:00
game.h Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
game_inline.c Add qstrdim and screentext, powerful new functions for HUD text. 2013-06-01 06:55:00 +00:00
game_inline.h Add qstrdim and screentext, powerful new functions for HUD text. 2013-06-01 06:55:00 +00:00
gamedef.c Fix taking ARRAY_SIZE of PlayerSelfObituaries (not PlayerObituaries!) 2014-03-22 17:02:21 +00:00
gamedef.h Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
gamedefs.h Remove some duplicate or unused control layer defines. 2013-02-25 15:31:22 +00:00
gameexec.c Tidy menu code in advance of complete redesign. 2014-03-26 09:14:01 +00:00
gameexec.h Guard retrieval of player index (.yvel) from APLAYER sprite. 2013-12-28 17:04:27 +00:00
gamestructures.c In the C code, rename sprite[].filler to 'blend'. 2014-02-08 14:37:55 +00:00
gamevars.c Fix warnings when building in C++11 mode, i.e. with CPLUSPLUS=1 CUSTOMOPT="--std=gnu++11". 2014-02-10 11:00:07 +00:00
gamevars.h Lunatic: Fix compilation of C++ build, but not starting up yet. 2014-01-31 21:13:03 +00:00
global.c Add support for shareware 0.99/1.0/1.1, for shits and giggles. 2013-05-23 18:28:04 +00:00
global.h In loadlookups(), look for gap of 4 consecutive unused pals for fog pals. 2014-02-16 19:16:05 +00:00
grpscan.c Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
grpscan.h Apply patch by forum user "John Jendro" fixing OS X build. 2013-07-13 21:05:06 +00:00
input.c Tidy menu code in advance of complete redesign. 2014-03-26 09:14:01 +00:00
input.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
keys.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
m32def.c Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
m32def.h M32script: remove sprite members 'detail' and 'filler', add 'blend', make r/w. 2014-02-08 14:37:56 +00:00
m32exec.c Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
m32structures.c M32script: remove sprite members 'detail' and 'filler', add 'blend', make r/w. 2014-02-08 14:37:56 +00:00
m32vars.c m32script: fix parsing negated labels, getnumber* with neg. 'max'. 2013-12-11 21:23:47 +00:00
macros.h Give sprite cstat bit 2048 (NOSHADE, Mapster32 key [N]) a macro name. 2014-02-22 19:38:51 +00:00
mapster32.h Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
mdump.cpp Superficial text changes: 2012-03-26 05:05:57 +00:00
mdump.h
menus.c Tidy menu code in advance of complete redesign. 2014-03-26 09:14:01 +00:00
menus.h Tidy menu code in advance of complete redesign. 2014-03-26 09:14:01 +00:00
midi.c Split r3159..r3161, part 10: add explicit casts to *alloc return values. 2012-11-15 14:28:29 +00:00
midi.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
mpu401.c Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
mpu401.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
music.c This should fix the "assignment discards 'const' qualifier" warning in music.c. 2012-07-09 19:00:23 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
namesdyn.c Dynamicsoundremap. 2013-06-01 06:55:30 +00:00
namesdyn.h Lunatic translator: dynamic tile remapping. 2013-03-17 18:11:38 +00:00
net.c Networking updates. 2014-02-10 11:00:25 +00:00
net.h Networking updates. 2014-02-10 11:00:25 +00:00
old.diff Tweakery in various places. 2011-03-17 23:37:38 +00:00
osdcmds.c Add a second DNCOORDS/cl_showcoords mode, showing some renderer settings. 2014-03-30 20:36:00 +00:00
osdcmds.h Fix bound keys' commands being truncated in settings.cfg, control* cleanup. 2012-11-18 15:44:18 +00:00
osdfuncs.c OSD: factor out getting sh/pal using format+text buffers into OSD_GetShadePal(). 2013-11-04 22:56:08 +00:00
osdfuncs.h Cleanup of console/on-screen-display (OSD) functionality. 2012-12-25 16:13:50 +00:00
player.c Factor out approaching val. to target val by half-difference steps into logapproach(). 2014-03-23 14:29:09 +00:00
player.h Make a couple of player functions take player indices instead of DukePlayer_t *. 2013-12-28 17:04:31 +00:00
premap.c A few stylistic tweaks, like substituting missed SE_* enum constants. 2014-02-22 19:38:54 +00:00
premap.h In loadlookups(), look for gap of 4 consecutive unused pals for fog pals. 2014-02-16 19:16:05 +00:00
quotes.h Fix up handling of the Duke shareware beta a little bit, and change the dialog that pops up after running the shareware version too many times to take you to Steam instead of GOG (the Steam version is a better deal) 2013-06-13 21:17:03 +00:00
rev.h Fix my mangled rev.h commit from a while back. I guess I forgot to revert it because it didn't break synthesis. :) 2014-04-01 19:43:43 +00:00
rts.c Reincarnate RTS sound functionality together with cleaning up related code. 2014-01-30 19:12:08 +00:00
rts.h Reincarnate RTS sound functionality together with cleaning up related code. 2014-01-30 19:12:08 +00:00
savegame.c Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
savegame.h Lunatic: Fix compilation of C++ build, but not starting up yet. 2014-01-31 21:13:03 +00:00
sdlmusic.c Some basic changes for Android support. DONT_BUILD. 2014-03-22 09:25:51 +00:00
sector.c Add new actor flag and predefined CON label SFLAG_NODAMAGEPUSH. 2014-03-15 14:10:47 +00:00
sector.h Don't consider W_FORCEFIELD+2 (surgery instruments) a forcefield picnum. 2013-12-26 19:45:15 +00:00
sector_inline.c Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
sector_inline.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
soundefs.h update soundefs.h to match the final v1.5 DEFS.CON 2011-08-20 23:27:58 +00:00
sounds.c Widespread use of ARRAY_SIZE macro. 2014-03-22 09:25:15 +00:00
sounds.h Replace literal g_sounds[].m bits with enum constants. DONT_BUILD. 2013-09-08 20:18:56 +00:00
sounds_common.h Replace literal g_sounds[].m bits with enum constants. DONT_BUILD. 2013-09-08 20:18:56 +00:00
sounds_mapster32.c In the C code, rename sprite[].filler to 'blend'. 2014-02-08 14:37:55 +00:00
sounds_mapster32.h Replace literal g_sounds[].m bits with enum constants. DONT_BUILD. 2013-09-08 20:18:56 +00:00
soundsdyn.c Dynamicsoundremap. 2013-06-01 06:55:30 +00:00
soundsdyn.h Dynamicsoundremap. 2013-06-01 06:55:30 +00:00
standard.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
startgtk.game.c Fix a reference to "RDR_POLYMER" that was missed in startgtk 2013-05-25 06:11:38 +00:00
startosx.game.m Clean up some file and directory structure. 2012-12-29 10:54:35 +00:00
startwin.game.c Very minor changes after an investigation into the possibility of Polymost on Wii. 2014-02-10 10:56:14 +00:00
startwin.game.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
valgrind_errors.log Add Makefile.common switch ALLOCACHE_AS_MALLOC, remove DEBUG_WITH_VALGRIND. 2014-02-08 14:37:41 +00:00
winbits.c Windows: Fix potential crash in version checker. 2012-11-29 12:49:41 +00:00