November 2014
-
General
Aligned gamevar/gamearray allocation
-
General
Fix a couple of clang warnings. DONT_BUILD.
September 2014
-
General
astub.c: fix warnings with CPLUSPLUS=1 related to forgotten TrackerCast().
-
General
Fix taking over floor pal in the unlikely event that no fog pals are defined.
Show details
This DOES NOT fix the more complex issue discussed at the forums.
-
on 'clean' target, unconditionally rm -f game Lunatic objects.
Show details
The 'clean' and 'veryclean' targets are usually run without environment options. It is preferable if they clean out all object files that are possible with any.
-
add actor.move() static function and documentation stub.
-
General
For usermaps, save and restore currently playing music index with savegames.
Show details
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.
-
General
Get rid of EnvMusicFilename[] and use MapInfo[].musicfn for that.
Show details
The additional space was there all the time, so it's not understandable why another array was necessary. CON: for 'music', error if volume number is outside [0 .. MAXVOLUMES+1], and in LunaCON, additionally warn if it's MAXVOLUMES+1 (0 is preferred for that).
-
General
Allow DEFining music for which there is no CON music; Add 'music' OSD command.
Show details
The OSD command is invoked like "music E5L3" (case insensitively).
-
General
More music-related cleanup.
-
General
Some cleanup around S_PlayMusic() and related functionality.
August 2014
-
General
Fix USE_OPENGL=0 build.
-
implement 'qsubstr' command. Add source/lunatic/test/qsubstr.con.
Show details
In C-CON's qsubstr, error if <start> is not in [0 .. MAXQUOTELEN-1] or <length> is negative.
-
General
Fix crash using INTERNAL DEFAULTS after CON error when CON modules were given.
-
ignore internal flag in gamevar redef check; allow "Pals" member.
-
demote wall check "corruptions" introduced in r4569 to level 2.
Show details
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.
-
General
Factor out [l]dist() implementations into static inline functions in common.h.
Show details
And use these in jmact/mathutil.c's FindDistance2D()/FindDistance3D(). The main use is to allow passing dx/dy instead of sprite positions; the code that actually uses this is not committed.
-
introduce two signed integer types, use in engine.c and a-c.c.
Show details
They classify former uses of int64_t into two classes: - coord_t: those that represent coordinates and need 64-bit precision for proper functioning with large values - inthi_t: those that were added for e.g. casts merely to prevent undefined behavior on overflow DONT_BUILD.
-
General
pragmas.h: introduce preprocessor switch USE_ASM_DIVSCALE, for testing only.
-
General
engine.c: prevent a 64-bit multiply in dosetaspect(). DONT_BUILD.
-
General
Amend r4378 to hopefully make "stuck in water" fix work properly.
Show details
NOTE: lizmen may walk on water. I don't yet know why.
-
General
Properly consider sprites with a clipshape as bridge (p->spritebridge).
-
fix a crash when m32_settings.cfg contains video setting.
Show details
Such as "vid_gamma". In that case, setbrightness() would have been called without basepaltableptr having been initialized. The fix is by moving the preparational setbasepaltable() call from ExtPostStartupWindow() to ExtInit(), just before the OSD command dispatching.
-
fix possible integer overflow in loopinside().
Show details
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.
-
General
game.c: fix -game_dir and -j by moving G_ExtInit() after G_CheckCommandLine().
-
properly initialize values of session (NODEFAULT) gamevars.
-
prototypical checker for wall loops, enabled partially.
Show details
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().
-
General
Clean up astub.c:CheckMapCorruption() and some build.c code a little.
Show details
There are no intended changes of functionality, it's readability tweaks only.
-
General
A couple of Lunatic updates. DONT_BUILD.
Show details
- LunaCON: support for setting userdef[].m_volume_number, getting .last_level - bump con_lang.MAXEVENTS - fix compilation of astub.c
-
General
Fix MSVC build.
Show details
DONT_BUILD.
-
General
Nuke rev.h.
Show details
Note to MSVC users: You can get the revision number if you run `make rev o=obj` with MinGW before you build. DONT_BUILD.
-
General
Split parts of loadlookups() into generatefogpals() and fillemptylookups(), and move Duke-specific LOOKUP.DAT behavior to G_LoadLookups() in source/common.c, which contains the call to loadlookups() as factored out from astub.c and game.c.
Show details
DONT_BUILD.
-
General
Move implementation details of Mapster32's sound system from m32exec.c into sounds_mapster32.c, and set up a sound system stub in KenBuild Editor.
Show details
DONT_BUILD.
-
General
Progress towards KenBuild Editor, part 3.
Show details
DONT_BUILD.
-
General
Move code non-specific to Duke Nukem 3D from astub.c to a new m32common.c.
Show details
DONT_BUILD.
-
General
Progress towards KenBuild Editor, part 2.
Show details
DONT_BUILD.
-
General
Move code non-specific to Duke Nukem 3D from source/common.c to a new build/src/common.c.
Show details
DONT_BUILD.
-
General
Progress towards KenBuild Editor, part 1.
Show details
DONT_BUILD.
-
General
Elimininate some codedup between game.c and astub.c.
Show details
DONT_BUILD.
-
General
Fix C++ -Woverflow warnings in KenBuild.
Show details
DONT_BUILD.
-
General
KenBuild.
Show details
DONT_BUILD.
-
General
Delete empty folders and update ignore properties.
Show details
DONT_BUILD.
-
General
MSVC build system consolidation.
Show details
DONT_BUILD.
July 2014
-
General
Fix Synthesis (at least partially).
-
General
Re-add $(abspath ...) wrapping to libdirs to try and fix Synthesis.
-
General
Normalize all rotatesprite calls to fullscreen panels so that they are centered at (160, 100) instead of top-lefted at (0, 0).
-
Rearrange drawing so that MENUBAR (#2457) is always the first thing drawn after a menu's background, and its caption is always drawn last.
-
General
Three Mac patches from rhoenie:
Show details
-sdlayer: Apple and GTK are not mutually exclusive. -Makefile.common: Specify WITHOUT_GTK?=1 by default. -Makefile: Limit linking with the QuickTime framework to OS X 10.6 and below. One fix from me: -osxbuild.sh: Fix building tools.
-
General
Deal with a few common themes in downstream patches applied by OpenBSD, FreeBSD, Gentoo Linux, and possibly others.
Show details
-Respect CC and CXX if already set in the environment. -Respect CFLAGS, CXXFLAGS, and LDFLAGS if set or specified. -Give packagers the setting "PACKAGE_REPOSITORY=1" to prevent us from adding our own optimization parameters.
-
General
Handle a concern kludged by SlackBuilds (used by Slackware Linux and NetBSD) where a warning in texcache.c spams the log.