Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4880 2317d 2h helixhorned /polymer/eduke32/build/src/build.c Mapster32: make sprite duplication examples in m32script_ex.map work again.

- Work around a sequencing issue (assignment of searchstat) in
M32_DrawRoomsAndMasks()
- When having sprites highlighted and changing shade, since r1943 change
every highlighted sprite's shade if one of them is aimed at. With this
revision, if SHIFT is pressed while doing that, only change the aimed at
sprite's shade
- a.m32: Use 'break' from a state instead of 'return'. The former may be
"sticky" in a way that is not intended. Needs to be debugged later.
- Update instructions in m32script_ex.map

DONT_BUILD.
 
4766 2358d 18h hendricks266 /polymer/eduke32/build/src/build.c Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4763 2359d 1h hendricks266 /polymer/eduke32/build/src/build.c Eliminate the printf_nowarn stuff that has long since been supplanted by TrackerCast. DONT_BUILD.  
4740 2362d 10h terminx /polymer/eduke32/build/src/build.c Fix Mapster32 fullscreen video modes. DONT_BUILD.  
4697 2386d 5h terminx /polymer/eduke32/build/src/build.c Fix a couple of clang warnings. DONT_BUILD.  
4623 2415d 18h terminx /polymer/eduke32/build/src/build.c More Polymost cleanup, also consolidate tilesizx and tilesizy into a single tilesiz vec2_t to ensure both x and y are always in the same cache line. I may add a new vec2_16t later. Still need to take care of emulating the old flat array for the sake of CON access.  
4606 2415d 18h terminx /polymer/eduke32/build/src/build.c Extra files to support previous commits. Change hashing stuff to intptr_t so it can be used as a dictionary of pointers, change brightness/gamma/contrast to float instead of double, other misc changes. None of these commits build on their own so don't even bother.  
4580 2445d 11h helixhorned /polymer/eduke32/build/src/build.c Mapster32: demote wall check "corruptions" introduced in r4569 to level 2.

The winding of a loop -- with clockdir() -- is determined by examining the
two line segments spanned between the points following a leftmost point of
the loop. If the loop contains a leftmost point that belongs to the "right"
side (as can happen with sliding door constructions), there's a chance that
an outer loop is misclassified.
 
4572 2460d 4h helixhorned /polymer/eduke32/build/src/build.c Mapster32: fix possible integer overflow in loopinside().

This could happen when building outside the "classic" grid limits and would
then lead to e.g. incorrect loop assignment on sector splitting. Bug reported
by MetHy.
 
4569 2468d 2h helixhorned /polymer/eduke32/build/src/build.c Mapster32: prototypical checker for wall loops, enabled partially.

Inspired by
http://forums.duke4.net/topic/7506-tror-question/page__view__findpost__p__199151
the corruption checker now checks for certain conditions of the loops of each
sector. Recall that CW loops are outer and CCW loops are inner.

- If a sector has no or more than one outer loop, count that as corruption
(level 4 and 3, respectively).
- (Disabled) For sectors with exactly one outer loop, check that all inner
ones are inside it. This is currently not compiled due to an asymmetry of
loopinside() for degenerate cases, similar to pre-r3898 inside().
 
4568 2468d 2h helixhorned /polymer/eduke32/build/src/build.c Clean up astub.c:CheckMapCorruption() and some build.c code a little.

There are no intended changes of functionality, it's readability tweaks only.
 
4558 2479d 15h hendricks266 /polymer/eduke32/build/src/build.c Progress towards KenBuild Editor, part 1.

DONT_BUILD.
 
4557 2479d 15h hendricks266 /polymer/eduke32/build/src/build.c Elimininate some codedup between game.c and astub.c.

DONT_BUILD.
 
4555 2483d 8h hendricks266 /polymer/eduke32/build/src/build.c KenBuild.

DONT_BUILD.
 
4531 2501d 22h terminx /polymer/eduke32/build/src/build.c Add support for pressing backspace to go up one dir in the file selector in Mapster32  
4502 2524d 13h hendricks266 /polymer/eduke32/build/src/build.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 2538d 22h helixhorned /polymer/eduke32/build/src/build.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.
 
4464 2562d 0h helixhorned /polymer/eduke32/build/src/build.c Mapster32: in e.g. F5 "next free tag" display, note object w/ greatest tag.  
4450 2578d 23h helixhorned /polymer/eduke32/build/src/build.c In G_SavePlayer(), save timers at beginning and restore when finished.

This makes the game not process as many ticks as have elapsed during the saving
afterwards.
 
4385 2607d 13h terminx /polymer/eduke32/build/src/build.c Widespread use of ARRAY_SIZE macro.  

Show All