EDuke32 Changelog Unofficial archive

Build 2779

22 June 2012 · 3 commits by 1 author · SVN

Builds by month 112 builds

Original log file · 20120622-2779.txt
------------------------------------------------------------------------
r2779 | helixhorned | 2012-06-22 14:40:01 -0700 (Fri, 22 Jun 2012) | 6 lines

Lunatic: various stuff

- hitscan & related types and constants
- profiling with gethitickms
- translator: eval the opening parts of block commands early
- fix getbunch
------------------------------------------------------------------------
r2778 | helixhorned | 2012-06-22 14:39:57 -0700 (Fri, 22 Jun 2012) | 6 lines

SDL layer: tweak high-resolution timers for profiling, add gethitickms().

For SDL 1.2 and when building on linux, the code using
clock_gettime(CLOCK_MONOTINIC, ...) is taken over from SDL HG.
gethitickms() is a convenience function that return milliseconds as
doubles and isn't exposed in any header file, yet.
------------------------------------------------------------------------
r2777 | helixhorned | 2012-06-22 14:39:53 -0700 (Fri, 22 Jun 2012) | 11 lines

Add prototypical SDL 2.X support.

Doesn't work: indexed-color modes, gamma (at least for X11), mouse wheel,
special keys like ENTER or BACKSPACE in the OSD, probably more...

In build/Makefile.shared, we now have logic to autodetect an SDL2 installed
in /usr/local, however OS X and Wii builds follow other Makefile code paths,
it seems.  Note that the matching SDL2_mixer must be used then, too.
In source/jaudiolib/src/driver_sdl.c, change the #includes from <SDL/SDL_xxx.h>
to "SDL_xxx.h".  SDL wiki says this is the most portable way, hopefully this
doesn't break builds for anyone.
------------------------------------------------------------------------
Lunatic Fix

various stuff

Philipp Kutin (Helixhorned) 22 Jun 2012, 14:40 UTC−7 r2779

- hitscan & related types and constants - profiling with gethitickms - translator: eval the opening parts of block commands early - fix getbunch

SDL layer: tweak high-resolution timers for profiling, add gethitickms().

Philipp Kutin (Helixhorned) 22 Jun 2012, 14:39 UTC−7 r2778

For SDL 1.2 and when building on linux, the code using clock_gettime(CLOCK_MONOTINIC, ...) is taken over from SDL HG. gethitickms() is a convenience function that return milliseconds as doubles and isn't exposed in any header file, yet.

Add prototypical SDL 2.X support.

Philipp Kutin (Helixhorned) 22 Jun 2012, 14:39 UTC−7 r2777

Doesn't work: indexed-color modes, gamma (at least for X11), mouse wheel, special keys like ENTER or BACKSPACE in the OSD, probably more... In build/Makefile.shared, we now have logic to autodetect an SDL2 installed in /usr/local, however OS X and Wii builds follow other Makefile code paths, it seems. Note that the matching SDL2_mixer must be used then, too. In source/jaudiolib/src/driver_sdl.c, change the #includes from <SDL/SDL_xxx.h> to "SDL_xxx.h". SDL wiki says this is the most portable way, hopefully this doesn't break builds for anyone.