January 2015
-
General
Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.
-
General
Fix a bug where FLAC sound effects would loop when they were not supposed to.
-
Mouse, touch, and pointer controls now take the origin into account.
-
General
Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y.
Show details
This allows for CON screen display code to use menu animations. The following is an example of how to adapt screen features that should animate. before: onevent EVENT_DISPLAYMENUREST ifvare current_menu 0 // main menu { setvar x 1 setvar y 1 rotatesprite x y zoom ang tilenum shade pal orientation 0 0 xdim ydim } endevent after: state DisplayMenuCommon ifvare RETURN 0 // main menu { getuserdef[THISACTOR].m_origin_x x getuserdef[THISACTOR].m_origin_y y addvar x 65536 addvar y 65536 rotatesprite16 x y zoom ang tilenum shade pal orientation 0 0 xdim ydim } ends onevent EVENT_DISPLAYMENUREST state DisplayMenuCommon endevent onevent EVENT_DISPLAYINACTIVEMENUREST state DisplayMenuCommon endevent
-
General
Make my menu animation code a little bit more modular.
-
General
Revise r4707 to fix some remaining issues with next/previous weapon.
-
General
Simplify the macros used for distinguishing between OS X and iOS.
-
General
Fix "rv may be used uninitialized".
-
General
Fix "textsize.x may be used uninitialized".
-
General
compat_tools.c: match definition of 'editstatus'to declarations in other places. DONT_BUILD.
-
General
engine.c: in qsetmodeany(), call initsmost() after setting xdim and ydim.
Show details
This makes sure that the engine arrays have sufficient space allocated for usage in Mapster32's 2D mode, for example from drawmapview().
-
fix build and linking. DONT_BUILD.
Show details
- t{sector,wall}type are simply typedef'd to the non-t versions - make FORCE_INLINE unconditional of DISABLE_INLINING (otherwise there are multiple definitions of these functions) - update lunatic/doc/lpeg-lunatic.patch to apply against the LPeg 0.12 I just downloaded
-
General
osdfuncs.c: get rid of a warning with GCC. DONT_BUILD.
-
fix "windowed" modes (r_size >= 12) by reverting r4920; adapt.
Show details
In setview(), we now assert windowx2 < xdim. The only calling places where its non-violation is non-trivial to ascertain are (1) showview from CON and (2) draw-to-tile for look-sideways in game.c. AFAICS case 1 should be fine. Case 2 is adapted; see comments there.
-
remove unused key* options in mapster32.cfg and corresponding BK_* macros. DONT_BUILD.
-
General
Fix bsearch() call for user G_LoadMapHack(): don't access nonexistent storage. DONT_BUILD.
-
General
polymost.c: fix possible access of wallchanged[-1]. DONT_BUILD.
-
General
engine.c: fix memory leak. DONT_BUILD.
-
General
polymost.c: fix C build. DONT_BUILD.
-
General
Fix warning in previous commit. DONT_BUILD.
-
Add new commands "getmusicposition" and "setmusicposition" that operate on the playback position of the current music track.
Show details
// Example: Switch between tracks like radio stations. getmusicposition temp starttrackvar next_music_track setmusicposition temp Only implemented for Ogg Vorbis, FLAC, and XA. Consult the devs before using these commands.
-
General
Fix a crash exposed by animating the menu back button.
-
General
Clean up duplicate and strangely-formed cases in C_ParseCommand().
-
General
Fix kplib zip support
-
General
MSYS2 build fix. DONT_BUILD.
-
General
Fix savemapstate/loadmapstate (fixes a crash at shutdown, among other things)
-
General
Fix wildmatch(), resolves errors matching things like "*.zip" with "duke3d.hrp.zip" for example.
-
General
MSVC build fix... guess it was upset about the macro expansion
-
General
Fix off-by-one error in setview()
-
General
Implement better fade-out for quotes and for the mouse cursor in the menu.
-
Implement better back button.
-
Make black background boxes translucent again.
-
Add proper edging for the tops and bottoms of scrolling lists.
-
General
Improve weapon switching:
Show details
1. If you switch away from a weapon and switch to a third when the gun is still going down, continue lowering the first weapon instead of immediately raising the third. 2. If you switch away from a weapon and switch back to it before it lowers completely, raise it from its current position instead of going all the way to the bottom.
-
General
Convert some multi-line UI messages to single G_ScreenText calls with line breaks.
-
General
Fix aligned screentext with newlines.
-
General
Forgot this file in r4911
-
General
Fix tdupsprite in m32script.
-
General
Make dist() and ldist() take void pointers so we can compare spritetype with tspritetype without inserting casts everywhere.
-
General
Fix Mapster32 sector copying
-
General
Fix compiler warnings
-
General
Fix undefined behavior in Polymost
-
General
Disable mouse input affecting the menu when the console is down. This code is awful, because I am an awful man.
-
General
Crash fix
-
fix wall and floor sprites clipping into or z-fighting with surfaces (replaces glDepthRange() hacks for sprites), add r_nofog cvar for debugging, reduce the total number of OpenGL calls by only calling glFogi() to set the fog mode when initializing the renderer or changing r_usenewshading.
-
General
Introduce "twalltype" for temporary uses of walltype where using wall_tracker_hook() would be invalid. This is similar to "tspritetype" and fixes a bunch of problems in the editor that cropped up when changing the tracker sanity checks to an assert that only exists in debug builds (branching upon any write to a sprite, sector or wall had an unacceptable impact on performance).
-
General
Questionable CON changes and optimizations. <3
-
General
Fix Mapster32 bug where pressing "O" on a sprite twice would corrupt your map due to unchecked use of hitscan results.
-
General
Place the current loading percentage into RETURN for EVENT_DISPLAYLOADINGSCREEN.
-
General
Fix distrecip calculation