Maggio 2015
-
Remove references to files removed from our MACT.
-
Nuke mytypes.h. Mostly.
-
Generale
Add SW to our build system and make relevant changes to avoid fatal build errors.
-
Generale
Add the Shadow Warrior source to our tree after astyling, uncrustifying, and renaming one file.
-
Set up and enable building with USE_OPENGL. DONT_BUILD.
-
implement NODEFAULT per-actor gamevars in the C-CON fashion.
Mostra dettagli
For glocal gamevars, the LunaCON semantics (session gamevar) are kept. For per-actor ones, this now prevents resetting a gamevar's value to default on spawn or loadactor. BUILD_LUNATIC.
-
Generale
config.c: fix an overlapping strcpy() in CONFIG_SetMapBestTime().
-
allow writing -1 to player[].newowner.
Mostra dettagli
For the other player members, where formerly negative values were allowed to be written, only -1 is now.
-
fix g_tile[].proj memory leaks, halve number of projectile_t allocations.
-
Generale
When checking for SE7 water teleportation, regard sign of z velocity.
Mostra dettagli
This fixes RPGs fired upwards at a steep angle teleporting immediately to underwater when wading in water (reported via PM by Turok 64 Jr).
-
Generale
Merge glbuild_android into glbuild. DONT_BUILD.
-
account for the projectile changes in r5080. BUILD_LUNATIC.
Mostra dettagli
The (undocumented) Lua-side API stays almost the same.
-
allow ':' immediately after 'case' (legacy; warns), writing to ud.god.
Mostra dettagli
Also, on one "gamevar `xxx' is not per-*" diagnostic, print the location of the gamevar definition.
-
fix build and user_defs definition mismatch.
Mostra dettagli
Left: projectile changes.
-
Generale
Add more expansion GRPs to the detection list.
-
Generale
Add autodetection support for Duke 3D as part of the Steam release of the 3D Realms Anthology.
-
Generale
OS X: Fix startup window banner. DONT_BUILD.
-
honor r_usenewaspect, especially it being off.
Mostra dettagli
For this, add a setaspect_new() setup/restore pair in M32_DrawRoomsAndMasks() like for G_DrawRooms(). With this, changing viewingrange/aspect via m32script (in a.m32: [7] -- [9] on the upper row) can only be done in r_usenewaspect 0, though.
-
Generale
Fix a typo in r5179.
-
Add "artfile" token, which loads an ART file. You can use the "tile" sub-token to overwrite the starting tilenum of the file from def.
Mostra dettagli
artfile { file "whatever.art" } // loads whatever.art just as if it had been named TILES020.ART artfile { file "whatever.art" tile 2000 } // loads whatever.art starting at index 2000 instead of the tilestart value contained within it This is useful because ART files will load faster than images loaded through tilefromtexture (which must undergo a color matching process), and because tiles making use of palette indices which have duplicate colors in the stock Duke 3D palette but not in other palettes (such as the 3D Realms screen) are negatively affected by the aforementioned process.
-
Generale
Add support for ART files containing exactly one tile as an input format for hightile textures and model skins. They are rendered in the global game palette and function as conventional hightile.
-
Allow loading ART files as input to tilefromtexture. Note that they must contain exactly one tile; any more and the entire ART file will be rejected.
-
Generale
Restructure and expand some ART loading functionality in the engine.
-
Factor out dummytile creation code into E_CreateDummyTile and account for the case when a dummytile may be overwriting a faketile from tilefromtexture.
-
Generale
Separate kpzload into two separate functions, kpzbufload (which now lives in cache1d, regardless of WITHKPLIB) and kpzdecode.
-
Generale
Replace most instances of casting byte arrays to wider integral types with the B_(UN)BUF functions in compat.h that were previously used only in the netcode.
Mostra dettagli
I have commented out the versions of these functions that perform bitmasks and shifts and replaced them with versions that cast to and from integral types, pending performance and compatibility research across platforms.
-
Generale
Replace the bswap function used in kplib with B_SWAP32, and merge the 32-bit MSVC and GCC assembly into compat.h.
Mostra dettagli
TODO: Review the value of the continued use of special cases of these swap functions, including the OS-based variants for BSD and OS X, and this assembly.
-
Replace [LS]SWAPI[BL] macros with the B_(BIG|LITTLE)(16|32) ones defined in compat.h and used everywhere else.
-
Generale
Fix typo "maxtileallocsiz" --> "maxtiltallocsiz" for MAXYDIM < 640.
-
Call SDL_Start/StopTextInput() at the appropriate times so that touch devices display the on-screen keyboard when the user is prompted for text input.
-
Generale
Set up input so that the menus are navigable under iOS. This also enables the SELECTDIR back button unconditionally instead of restricting it to non-touch devices. DONT_BUILD.
-
Generale
Ensure that Objective-C compiler invocations include the C-only options that we specify, especially -std=gnu99. DONT_BUILD.
-
Generale
Don't use #pragma push_macro in buildtypes.h, for compatibility with GCC 4.2. DONT_BUILD.
-
Expose all structs to inline access. Tiledata and paldata are still to-do.
Mostra dettagli
DONT_BUILD.
-
Add player[].index, which returns the player ID that you put in. Mostly useful to get the magic value of THISACTOR when applied to the player struct.
Mostra dettagli
DONT_BUILD.
-
When toggling Music in the Sound menu, respect the LOGO_PLAYMUSIC flag in LOGO_FLAGS for the main menu.
Mostra dettagli
DONT_BUILD.
-
When handling a LOOP_END tag in FLAC or Ogg, truncate any blocks that read past it so that the specified value is respected precisely, instead of rounding up to the nearest block size.
Mostra dettagli
DONT_BUILD.
-
malloc + memset to zero --> calloc
Mostra dettagli
DONT_BUILD.
-
Generale
Add game-side def "globalgameflags" that takes a single value. Flag 1 disables hardcoded pinning of HUD weapons to the side of the screen in widescreen.
Mostra dettagli
DONT_BUILD.
Aprile 2015
-
for non-user level, don't write garbage into h.boardfn, allow per-map ART.
-
Generale
Do "typedef projectile_t defaultprojectile_t;" instead of having an indetical-member type.
Mostra dettagli
Move projectile_t to player.h.
-
Generale
polymost.c: fix display of floor-aligned sprites ornameted to the ceiling.
-
Generale
polymost.c: split three overlong lines into three each.
Mostra dettagli
This was formerly "fix multi-tile ceiling skies.", but TX beat me to it and Git automatically figured out how to merge while keeping a linear history. (Our fixes were identical.) Nice!
-
Generale
Double the size of clouds[] (holding sectors with CLOUDYSKIES ceilings).
Mostra dettagli
Also, make cloudx[] and cloudy[] scalars, as the per-sector values were always identical. In prelevel(), warn if some CLOUDYSKIES-ceiling sectors could not be set up due to reaching the new 256 sector limit.
-
Generale
actors.c: fix 3 incorrect '/' -> tabledivide32_noinline rewrites in r4658.
Mostra dettagli
Division has higher precedence than bitwise-OR. The cases concerned SE3, SE4 and NEON* sprites. Incidental info: the blinking of NEON* sprites can be controlled via their lotag, similarly to how you how you give a "random flash number" as SE4 hitag.
-
Generale
Revert "vec2_t rotatepoint()."
Mostra dettagli
- Annulla
- b0eeef3
-
Generale
Fix the sounds at the end of the episode 3 cutscene.
-
Generale
Polymost parallax sky fix.
-
Generale
Further constification. DONT_BUILD.
-
Generale
vec2_t rotatepoint().