Subversion Repositories eduke32


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2534 3494d 1h helixhorned /polymer/eduke32/ Lunatic: more complex gamevar-decl code.  
2533 3494d 1h helixhorned /polymer/eduke32/ Bound-check the 'picnum' argument to rotatesprite; tweak CON digitalnumber check.

There are instances where oob picnums may propagate to that function, so
protect it. The digitanumber[z] bound check is actually made more permissive,
but could also just as well be removed now.
2532 3494d 1h helixhorned /polymer/eduke32/ Accumulated trivia.

- engine.c: move some variables into a lower block
- premap.c: clearbufbyte --> Bmemset
2531 3494d 1h helixhorned /polymer/eduke32/ Take over more correct G_AddGroup from game.c to astub.c.

The code in the editor was potentially doing a strcat on a strdup'd string.
Also, rename AddGamePath to G_AddPath in astub.c and add CODEDUP markers
because shared stuff like this ought to be factored out into a separate
source file some time.
2530 3494d 1h helixhorned /polymer/eduke32/ Allow up to 7 skills, coded by M210 and taken over with modifications.

Skill names are defined via 'defineskillname' as before, but the index
of the last non-empty skill name (plus one) is taken as the skill count.
So, if you only define the 6th, there will be no effect.
Note that currently, there is no way to specify less than four skills
because the CON parser doesn't allow the empty string for the name (it'll
go beyond the line) and because the default skill names are initialized in
EDuke32 too, in addition to the CONs.
2529 3494d 9h helixhorned /polymer/eduke32/ Fix an assertion failure with dorotatesprite 4-pixels vline drawing.

2528 3494d 9h helixhorned /polymer/eduke32/ Fix static-main-arrays debug build, which is without the clipshape feature.  
2527 3494d 9h helixhorned /polymer/eduke32/ Factor out two practically identical instances of ceiling/floor setup code.  
2526 3494d 9h helixhorned /polymer/eduke32/ Factor out assignment of various globals in 4 instances of wall drawing code.

This makes the differences in these codes stand out much more clearly.
2525 3495d 7h helixhorned /polymer/eduke32/ Make "LIBS+= $(L_SSP) -Wl,--enable-auto-import" conditional to Windows.  
2524 3495d 7h helixhorned /polymer/eduke32/ Correct 'nofloorpalrange' range clamping, move one get_hud_pal() farther down.

The nofloorpalrange beginning and end indices are silently clamped to 1 .. 255.
2523 3495d 15h hendricks266 /polymer/eduke32/ - Makefiles:
- Fix typo, correctly adding SDL libs to the tools on OS X so that makesdlkeytrans builds.
- Move all mention of $(LIBS) out of build/Makefile into build/Makefile.shared because no linking takes place in the engine itself so LIBS additions were lost. This should fix USE_LIBPNG=1 on Windows at least.
- Other assorted cleanup.
2522 3496d 3h hendricks266 /polymer/eduke32/ Update credits in menus.c with people from the Credits wiki page. Also, fix the text and order of other entries.  
2521 3496d 3h hendricks266 /polymer/eduke32/ Build tools:
- Fix up and add building instructions for kmd2tool, getdxdidf, and makesdlkeytrans.
- Add kmd2tool to "utils" build job.
- Fix warning in and cross-platform building of generateicon.
- Source and text cleanup!
2520 3496d 3h hendricks266 /polymer/eduke32/ Makefiles:
- Properly handle the architecture definition when BUILD32_ON_64=1
- Add proper $(*LDFLAGS) to which LTO and ARCH are correctly passed.
- Cleanup of compiler flag variables.

This should fix to some degree building of the Build tools on OS X, and it may possibly fix the crashing of the OS X x86 32-bit build.
2519 3497d 0h helixhorned /polymer/eduke32/ Rather trivial changes in engine.c and crc32.c.  
2518 3497d 0h helixhorned /polymer/eduke32/ Make 'nofloorpalrange' def token affect HUD weapons.  
2517 3497d 0h helixhorned /polymer/eduke32/ New game def token "nofloorpal <pbeg> <pend>", disabling sprites taking on floor pals.

It has always annoyed me how floors with "shirt-color" type palookups like 21
affected the color of its containing sprites and HUD-drawn stuff. This commit
allows one to specify an inclusive range of pals for which this should be
disabled for sprites (but not for HUD stuff, yet).
2516 3497d 0h helixhorned /polymer/eduke32/ Remove global 'uint8_t *anim_pal' which was only used once as a temporary.  
2515 3497d 0h helixhorned /polymer/eduke32/ In Mapster32, remove ReadGamePalette() and GAMEpalette[] and use engine's palette[].  

Show All