Novembre 2014
-
Generale
Aligned gamevar/gamearray allocation
-
Generale
Fix a couple of clang warnings. DONT_BUILD.
Settembre 2014
-
Generale
astub.c: fix warnings with CPLUSPLUS=1 related to forgotten TrackerCast().
-
Generale
Fix taking over floor pal in the unlikely event that no fog pals are defined.
Mostra dettagli
This DOES NOT fix the more complex issue discussed at the forums.
-
on 'clean' target, unconditionally rm -f game Lunatic objects.
Mostra dettagli
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.
-
Generale
For usermaps, save and restore currently playing music index with savegames.
Mostra dettagli
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.
-
Generale
Get rid of EnvMusicFilename[] and use MapInfo[].musicfn for that.
Mostra dettagli
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).
-
Generale
Allow DEFining music for which there is no CON music; Add 'music' OSD command.
Mostra dettagli
The OSD command is invoked like "music E5L3" (case insensitively).
-
Generale
More music-related cleanup.
-
Generale
Some cleanup around S_PlayMusic() and related functionality.
Agosto 2014
-
Generale
Fix USE_OPENGL=0 build.
-
implement 'qsubstr' command. Add source/lunatic/test/qsubstr.con.
Mostra dettagli
In C-CON's qsubstr, error if <start> is not in [0 .. MAXQUOTELEN-1] or <length> is negative.
-
Generale
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.
Mostra dettagli
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.
-
Generale
Factor out [l]dist() implementations into static inline functions in common.h.
Mostra dettagli
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.
Mostra dettagli
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.
-
Generale
pragmas.h: introduce preprocessor switch USE_ASM_DIVSCALE, for testing only.
-
Generale
engine.c: prevent a 64-bit multiply in dosetaspect(). DONT_BUILD.
-
Generale
Amend r4378 to hopefully make "stuck in water" fix work properly.
Mostra dettagli
NOTE: lizmen may walk on water. I don't yet know why.
-
Generale
Properly consider sprites with a clipshape as bridge (p->spritebridge).
-
fix a crash when m32_settings.cfg contains video setting.
Mostra dettagli
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().
Mostra dettagli
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.
-
Generale
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.
Mostra dettagli
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().
-
Generale
Clean up astub.c:CheckMapCorruption() and some build.c code a little.
Mostra dettagli
There are no intended changes of functionality, it's readability tweaks only.
-
Generale
A couple of Lunatic updates. DONT_BUILD.
Mostra dettagli
- LunaCON: support for setting userdef[].m_volume_number, getting .last_level - bump con_lang.MAXEVENTS - fix compilation of astub.c
-
Generale
Fix MSVC build.
Mostra dettagli
DONT_BUILD.
-
Generale
Nuke rev.h.
Mostra dettagli
Note to MSVC users: You can get the revision number if you run `make rev o=obj` with MinGW before you build. DONT_BUILD.
-
Generale
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.
Mostra dettagli
DONT_BUILD.
-
Generale
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.
Mostra dettagli
DONT_BUILD.
-
Generale
Progress towards KenBuild Editor, part 3.
Mostra dettagli
DONT_BUILD.
-
Generale
Move code non-specific to Duke Nukem 3D from astub.c to a new m32common.c.
Mostra dettagli
DONT_BUILD.
-
Generale
Progress towards KenBuild Editor, part 2.
Mostra dettagli
DONT_BUILD.
-
Generale
Move code non-specific to Duke Nukem 3D from source/common.c to a new build/src/common.c.
Mostra dettagli
DONT_BUILD.
-
Generale
Progress towards KenBuild Editor, part 1.
Mostra dettagli
DONT_BUILD.
-
Generale
Elimininate some codedup between game.c and astub.c.
Mostra dettagli
DONT_BUILD.
-
Generale
Fix C++ -Woverflow warnings in KenBuild.
Mostra dettagli
DONT_BUILD.
-
Generale
KenBuild.
Mostra dettagli
DONT_BUILD.
-
Generale
Delete empty folders and update ignore properties.
Mostra dettagli
DONT_BUILD.
-
Generale
MSVC build system consolidation.
Mostra dettagli
DONT_BUILD.
Luglio 2014
-
Generale
Fix Synthesis (at least partially).
-
Generale
Re-add $(abspath ...) wrapping to libdirs to try and fix Synthesis.
-
Generale
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.
-
Generale
Three Mac patches from rhoenie:
Mostra dettagli
-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.
-
Generale
Deal with a few common themes in downstream patches applied by OpenBSD, FreeBSD, Gentoo Linux, and possibly others.
Mostra dettagli
-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.
-
Generale
Handle a concern kludged by SlackBuilds (used by Slackware Linux and NetBSD) where a warning in texcache.c spams the log.