Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5069 2314d 13h terminx /polymer/eduke32/source/savegame.h Further gamevar changes/optimizations. This also fixes a bug Fox reported with the "shortcut" access to structure members that's tacked on to GetVar, where if the value of the index you're trying to access happened to equal the ID of the current sprite, it would act as if the variable passed was THISACTOR.  
4990 2355d 9h terminx /polymer/eduke32/source/savegame.h Android savegame hacks. DONT_BUILD.  
4766 2432d 9h hendricks266 /polymer/eduke32/source/savegame.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4747 2436d 1h terminx /polymer/eduke32/source/savegame.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD.  
4712 2456d 20h helixhorned /polymer/eduke32/source/savegame.h menus.c: prevent using a null pointer as arg to "%s" format for sprintf().

4589 2511d 20h helixhorned /polymer/eduke32/source/savegame.h For usermaps, save and restore currently playing music index with savegames.

The volume and level number for the music are stored in the last two bytes
of the board file name array. No version bump is required.
4541 2561d 5h hendricks266 /polymer/eduke32/source/savegame.h Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

4472 2625d 1h hendricks266 /polymer/eduke32/source/savegame.h Replace some constants with preprocessor macros.  
4286 2730d 17h helixhorned /polymer/eduke32/source/savegame.h Lunatic: Fix compilation of C++ build, but not starting up yet.

4119 2826d 17h helixhorned /polymer/eduke32/source/savegame.h LunaCON: very primitive gamevar handling logic for {save,load}mapstate.  
3975 2910d 17h helixhorned /polymer/eduke32/source/savegame.h Clean up parallaxed sky functionality, part 1.

- Consolidate psky* arrays into a "typedef struct psky_t" "g_psky" and
- Factor out getting parallaxed sky properties into getpsky().
- Condense initial multi-psky setup by memcpy'ing from multipsky[].
- New function: MultiPsky_TileToIdx().
- Add new define PSKYOFF_MAX and related consistency-checking assertions.
- Lower MAXPSKYTILES to 8 to reflect current usage (was 256).
- Game: make multi-pskies consider dynamically-remapped MOONSKY1, BIGORBIT1
and LA. (Not very useful as the editor will still only act for the static
values -- 80, 84 and 89, respectively.)

An attempt has been made to preserve behavior even in strange cases, so this
commit is unlikely to introduce regressions. Because of point 6, BYTEVERSION
had to be bumped.
3789 2987d 19h helixhorned /polymer/eduke32/source/savegame.h Lunatic: conditionally compile out more code in savegame/gamevars.[ch].

Also, make the savegame major version 2 in the Lunatic build.
3156 3175d 3h helixhorned /polymer/eduke32/source/savegame.h Rewrite old-version-savegame signaling in a cleaner fashion.  
3150 3176d 20h helixhorned /polymer/eduke32/source/savegame.h Trivial G_Util_PtrToIdx*() tweaks.  
3102 3188d 22h terminx /polymer/eduke32/source/savegame.h Retire the actorscrptr[], actorLoadEventScrptr[], SpriteFlags[], ActorType[], SpriteCacheList[], ProjectileData[] and DefaultProjectile[] arrays in favor of a tile_t structure exposed as g_tile[]. This consolidates most of the MAXTILES sized arrays on the game side into one place.  
2999 3243d 21h helixhorned /polymer/eduke32/source/savegame.h Factor out some repeated code into G_{Load,Save}PlayerMaybeMulti.

This currently says that MP saving/loading isn't supported, but doesn't
really work correctly. Also, properly bound-check the immediate argument
to CON's 'save' command and one more ... -> G_HandleAsync().
2483 3418d 15h helixhorned /polymer/eduke32/source/savegame.h Save 'Numsprites' into savegames and mapstates. Bump savegame minor version.  
2471 3419d 18h helixhorned /polymer/eduke32/source/savegame.h Trivial stuff that got accumulated and not committed.  
2470 3419d 18h helixhorned /polymer/eduke32/source/savegame.h When deleting sprites, insert them at the tail (instead of head) of the freelist.

The major outside-visible change is that this fixes the sound cutoff bugs that
happened because newly-spawned sprites took the place of those whose sounds
had not yet finished playing.

Besides, there are these changes:
- remove deletesprite{sect,stat}
- we have a new engine variable 'tailspritefree' that keeps track of the
sprite freelist tail
- we need to store it in savegames and mapstates, so bump the savegame
minor version
2449 3421d 20h helixhorned /polymer/eduke32/source/savegame.h Save TROR-related information into map states and bump BYTEVERSION.  

Show All