Subversion Repositories eduke32

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2534 3503d 15h helixhorned /polymer/ Lunatic: more complex gamevar-decl code.  
2533 3503d 15h helixhorned /polymer/ 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 3503d 15h helixhorned /polymer/ Accumulated trivia.

- engine.c: move some variables into a lower block
- premap.c: clearbufbyte --> Bmemset
 
2531 3503d 15h helixhorned /polymer/ 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 3503d 15h helixhorned /polymer/ 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 3504d 0h helixhorned /polymer/ Fix an assertion failure with dorotatesprite 4-pixels vline drawing.

See http://forums.duke4.net/topic/5362-crash-with-current-svn/
 
2528 3504d 0h helixhorned /polymer/ Fix static-main-arrays debug build, which is without the clipshape feature.  
2527 3504d 0h helixhorned /polymer/ Factor out two practically identical instances of ceiling/floor setup code.  
2526 3504d 0h helixhorned /polymer/ 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 3504d 21h helixhorned /polymer/ Make "LIBS+= $(L_SSP) -Wl,--enable-auto-import" conditional to Windows.  
2524 3504d 21h helixhorned /polymer/ Correct 'nofloorpalrange' range clamping, move one get_hud_pal() farther down.

The nofloorpalrange beginning and end indices are silently clamped to 1 .. 255.
 
2523 3505d 5h hendricks266 /polymer/ - 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 3505d 17h hendricks266 /polymer/ Update credits in menus.c with people from the Credits wiki page. Also, fix the text and order of other entries.  
2521 3505d 17h hendricks266 /polymer/ 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 3505d 17h hendricks266 /polymer/ 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 3506d 15h helixhorned /polymer/ Rather trivial changes in engine.c and crc32.c.  
2518 3506d 15h helixhorned /polymer/ Make 'nofloorpalrange' def token affect HUD weapons.  
2517 3506d 15h helixhorned /polymer/ 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 3506d 15h helixhorned /polymer/ Remove global 'uint8_t *anim_pal' which was only used once as a temporary.  
2515 3506d 15h helixhorned /polymer/ In Mapster32, remove ReadGamePalette() and GAMEpalette[] and use engine's palette[].  

Show All