Revision r4948
Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.
Browse logs with clarity: filter by type/year, search text, and inspect parsed commit details.
Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.
Fix a bug where FLAC sound effects would loop when they were not supposed to.
Menus: Mouse, touch, and pointer controls now take the origin into account.
Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y.
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
Make my menu animation code a little bit more modular.
Revise r4707 to fix some remaining issues with next/previous weapon.
Simplify the macros used for distinguishing between OS X and iOS.
Fix "rv may be used uninitialized".
Fix "textsize.x may be used uninitialized".
compat_tools.c: match definition of 'editstatus'to declarations in other places. DONT_BUILD.
------------------------------------------------------------------------
r4949 | hendricks266 | 2015-01-25 04:18:11 -0800 (Sun, 25 Jan 2015) | 1 line
Don't allow Ogg Vorbis or FLAC files to be defined from def if the binary was built without the proper libraries.
------------------------------------------------------------------------
r4948 | hendricks266 | 2015-01-25 04:17:59 -0800 (Sun, 25 Jan 2015) | 1 line
Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.
------------------------------------------------------------------------
r4947 | hendricks266 | 2015-01-25 04:17:25 -0800 (Sun, 25 Jan 2015) | 1 line
Fix a bug where FLAC sound effects would loop when they were not supposed to.
------------------------------------------------------------------------
r4946 | hendricks266 | 2015-01-25 04:17:10 -0800 (Sun, 25 Jan 2015) | 1 line
Menus: Mouse, touch, and pointer controls now take the origin into account.
------------------------------------------------------------------------
r4945 | hendricks266 | 2015-01-25 04:16:58 -0800 (Sun, 25 Jan 2015) | 30 lines
Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y.
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
------------------------------------------------------------------------
r4944 | hendricks266 | 2015-01-25 04:16:34 -0800 (Sun, 25 Jan 2015) | 1 line
Make my menu animation code a little bit more modular.
------------------------------------------------------------------------
r4943 | hendricks266 | 2015-01-25 04:16:22 -0800 (Sun, 25 Jan 2015) | 1 line
Revise r4707 to fix some remaining issues with next/previous weapon.
------------------------------------------------------------------------
r4942 | hendricks266 | 2015-01-25 04:16:10 -0800 (Sun, 25 Jan 2015) | 1 line
Simplify the macros used for distinguishing between OS X and iOS.
------------------------------------------------------------------------
r4941 | hendricks266 | 2015-01-25 04:15:50 -0800 (Sun, 25 Jan 2015) | 1 line
Fix "rv may be used uninitialized".
------------------------------------------------------------------------
r4940 | hendricks266 | 2015-01-25 04:15:37 -0800 (Sun, 25 Jan 2015) | 1 line
Fix "textsize.x may be used uninitialized".
------------------------------------------------------------------------
r4939 | helixhorned | 2015-01-24 11:14:39 -0800 (Sat, 24 Jan 2015) | 1 line
compat_tools.c: match definition of 'editstatus'to declarations in other places. DONT_BUILD.
------------------------------------------------------------------------
See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.