Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
4343 2679d 17h hendricks266 /polymer/eduke32/source/astub.c Build system: Detect the SVN revision and generate rev.h directly from the Makefile, if applicable.  
4336 2685d 5h helixhorned /polymer/eduke32/source/astub.c Lunatic: add engine.saveLookupDat() and document, related tweaks.

- Mapster32: before loading LOOKUP.DAT, set palookup[0][239]=239 to
make an identity map of the base shade table's shade 0
- Rewrite color index remapping case of makepalookup() for clarity

4335 2685d 5h helixhorned /polymer/eduke32/source/astub.c In loadlookups(), look for gap of 4 consecutive unused pals for fog pals.

As opposed to the previous way, where the first fog pals was <numlookups>+1,
where <numlookups> is the first byte value of LOOKUP.DAT. This allows to
pack e.g. lookups [1 .. 25] and [30 .. <lastpal>] into LOOKUP.DAT and have fog
pals be generated at pals [26 .. 29] (i.e. the additional lookups don't
shift the fog pals, making user maps depending on these numbers not look as
4334 2685d 5h helixhorned /polymer/eduke32/source/astub.c Factor out common parts of loading LOOKUP.DAT into engine.c:loadlookups().

Also, error if didn't read enough data and account for TITLE and REALMS
swap between basepal number and on-disk order (sigh).
4321 2691d 14h hendricks266 /polymer/eduke32/source/astub.c Fix warnings when building in C++11 mode, i.e. with CPLUSPLUS=1 CUSTOMOPT="--std=gnu++11".  
4316 2691d 14h hendricks266 /polymer/eduke32/source/astub.c Replace QuickLZ with LZ4.  
4305 2693d 10h helixhorned /polymer/eduke32/source/astub.c In the C code, rename sprite[].filler to 'blend'.

Also, fix a missed .filler -> g_ambiencePlaying[] rewrite in the editor.
In C-CON, 'detail' is kept as alias to C-side (former) .filler / now .blend,
but that name is *deprecated*.
4300 2693d 10h helixhorned /polymer/eduke32/source/astub.c astub.c: in M32_MoveFX, use separate bit array to store "sound is playing".

Instead of sprite[].filler.
4274 2705d 14h hendricks266 /polymer/eduke32/source/astub.c Print "32-bit"/"64-bit" along with the version number in the log.  
4265 2708d 3h helixhorned /polymer/eduke32/source/astub.c Mapster32: make wall texture alignment [.]/[,] work with bottom-swapped walls.

In simple cases, it should be added. Combinations of alignment across TROR
boundaries and bottom-swapping will probably not work right.
4244 2720d 11h hendricks266 /polymer/eduke32/source/astub.c Mapster32: Add EVENT_LOADMAP, EVENT_SAVEMAP, EVENT_PRELOADMAP, and EVENT_PRESAVEMAP.

Some are more useful than others.
4238 2731d 1h helixhorned /polymer/eduke32/source/astub.c Lunatic/m32: make Mapster23 actually start stand-alone, oops.  
4237 2732d 13h helixhorned /polymer/eduke32/source/astub.c Lunatic/m32: include the Lua bytecode into the binary, exit if setup failed.  
4200 2743d 17h hendricks266 /polymer/eduke32/source/astub.c Rewrite and unify the handling of the scrollwheel between layers, fixing it in the editor's 2D mode and tile selector under SDL.

The scrollwheel is unique among PC input because it has no innate "hold length". Previously, the layers gave the mousewheel a fake hold length to allow the not-necessarily-synchronous game/editor code to pick up the input before the layers marked it as "no longer pressed". This passed under Windows, but it didn't slide under SDL.

Besides the two problems listed above, it also potentially limited the rate of weapon selection, where scrolling too fast would not register every clicks. [Unrelatedly, this is still the case when you scroll faster than the game's own tickrate, but addressing that would require rewriting input handling to go through a list of "events" for each tic instead of looking at overall pressed/unpressed states.]
4169 2774d 6h helixhorned /polymer/eduke32/source/astub.c a.m32: add [']+[F] menu function setting xvel=1 on all sel. wall/floor sprites.

For sanitizing underwater sections, see r4166.
Also, don't print "Menu function executed successfully" when the function
printed something itself.
4134 2789d 2h helixhorned /polymer/eduke32/source/astub.c Lunatic: add 'lua' OSD command, permitting to execute arbitrary code.

That is, everything that would be possible via scripting.
4128 2790d 21h hendricks266 /polymer/eduke32/source/astub.c 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.
I updated the help windows to prefer these variants because they are superior to the -xSquished versions.
Also, factor out the command-line processing code for the above, plus con/def modules and clipmaps.
4121 2796d 3h helixhorned /polymer/eduke32/source/astub.c Mapster32: take initial map file name from ExtPreInit()->G_CheckCommandLine().

Instead of directly in build.c:app_main(). Previously, it was possible that an
argument to an option, e.g. "WGR2" with "-game_dir WGR2", would get interpreted
as the initial map to load. This in turn would attempt to execute WGR2.cfg as
sequence of OSD commands -- where that file is an EDuke32 config file instead!

Now: maps are passed without any options, e.g. "mapster32 [opts...]".
The map file name is not added to the "additional parameters" for map testing.
4081 2817d 15h hendricks266 /polymer/eduke32/source/astub.c Fix USE_OPENGL=0 build.  
4072 2818d 17h hendricks266 /polymer/eduke32/source/astub.c Fix building of astub.c with MinGW 4.8.

We have to work around namespace pollution in <sys/stat.h>.

Show All