Subversion Repositories eduke32


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2543 3373d 12h helixhorned /polymer/ Capitalize numgrpfiles macro to NUMGRPFILES.  
2542 3373d 12h helixhorned /polymer/ Add common.[ch] which should be used for common non-engine types/functions/data.

As inauguration, move G_AddGroup, G_AddPath and struct strllist there.
The header is located in build/include, because in the future, code that resides
closer to (but is not strictly part of) the engine might need to be factored
into here. The source file, however, is in the source/ directory.
2541 3374d 5h hendricks266 /polymer/ more options and designation of presets  
2540 3374d 5h hendricks266 /polymer/ All string literals sent as normal messages to the player in-game written in ALL CAPS have been converted by hand to more proper capitalization. (Critical errors have been left as-is, and the editor did not need changes.)  
2539 3374d 5h hendricks266 /polymer/ Add "specularpower" and "specularfactor" as synonyms of "specpower" and "specfactor" respectively.  
2538 3374d 5h hendricks266 /polymer/ Superficial text changes:
- Help window text cleaned and made more consistent between game and editor
- Added help entry for "-clipmap"
- Log text for using CON, DEF, and RTS files has been made consistent
- All instances of '%s' have been replaced with \"%s\" because ' is a valid filename character. (At least on Windows.)
2537 3374d 5h hendricks266 /polymer/ OS X: Fix more warnings.  
2536 3374d 9h plagman /polymer/ polymer: cull sprite lights after computing sprite geometry

This was broken ever since updatesprite() had been forked off drawsprite() and
would cause static lights to never hit static sprites until one or the other
changed, after which the light would always get culled against outdated sprite
2535 3374d 9h plagman /polymer/ polymer: don't shadow-optimize light culling in cached sprites

Since updatesprite() only happens once for static sprites, avoiding
light culling if we hit it in a shadow pass means that sprite will
never be lit as long as that happens.
2534 3374d 12h helixhorned /polymer/ Lunatic: more complex gamevar-decl code.  
2533 3374d 12h 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 3374d 12h helixhorned /polymer/ Accumulated trivia.

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

2528 3374d 20h helixhorned /polymer/ Fix static-main-arrays debug build, which is without the clipshape feature.  
2527 3374d 20h helixhorned /polymer/ Factor out two practically identical instances of ceiling/floor setup code.  
2526 3374d 20h 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 3375d 18h helixhorned /polymer/ Make "LIBS+= $(L_SSP) -Wl,--enable-auto-import" conditional to Windows.  
2524 3375d 18h 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.

Show All