Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4440 2555d 16h terminx /polymer/eduke32/source/sdlmusic.c Android updates from Emile. DONT_BUILD.  
4386 2580d 1h terminx /polymer/eduke32/source/sdlmusic.c Some basic changes for Android support. DONT_BUILD.  
4385 2580d 1h terminx /polymer/eduke32/source/sdlmusic.c Widespread use of ARRAY_SIZE macro.  
4167 2705d 16h helixhorned /polymer/eduke32/source/sdlmusic.c sdlmusic.c: disable FORK_EXEC_MIDI.

Also, if it were to be reenabled again, use execv() instead of execvp(),
i.e. don't look up $PATH for the executable.
4102 2740d 2h hendricks266 /polymer/eduke32/source/sdlmusic.c Wii: Fix build and add custom headers and libs to SVN. (It's helpful to set up a build system from scratch.)

4074 2747d 3h hendricks266 /polymer/eduke32/source/sdlmusic.c Improve SDL2 support as much as I can, for now. The game compiles, links, and starts, but all three renderers either don't display correctly or crash.

To build with SDL2: make RENDERTYPE=SDL SDL_TARGET=2
4027 2793d 13h terminx /polymer/eduke32/source/sdlmusic.c Rip out all traces of nedmalloc. Sorry, XP users--it's time to upgrade to something newer than an OS from 2001 if this affects you.  
3219 3063d 1h hendricks266 /polymer/eduke32/source/sdlmusic.c For novelty, add support for RENDERTYPE=SDL under Windows.

This needs improvements to bring it up to par with winlayer, but it is functional. In particular, a good amount of code from winlayer could be used for both layers, including the profiling timers, the version printing code, and the hInstance and hModule sharing.

Known problems: the mouse cursor is not trapped, and the game starts before the startup window shows options.
3134 3078d 13h terminx /polymer/eduke32/source/sdlmusic.c Fix C90 compliance warning in sdlmusic  
3116 3082d 8h hendricks266 /polymer/eduke32/source/sdlmusic.c Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.

Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)
2796 3208d 12h helixhorned /polymer/eduke32/source/sdlmusic.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness

-Wwrite-strings is useful to detect code where string literals and e.g. alloc'd
strings are used side-by-side, potentially creating dangerous situations, or to
find uses of old, non-constified APIs. However, enabling it would still flood
the log with too many warnings. Also, GCC wrongly warns for initializations of
char arrays.
2738 3235d 13h terminx /polymer/eduke32/source/sdlmusic.c This probably fixes the music breakage caused by r2727.  
2628 3269d 22h helixhorned /polymer/eduke32/source/sdlmusic.c Patch adding Wii support by tueidj, part 8: system-specific changes

- conditionally compiles out some code intended for the PC platforms
- compat.c: get home directory routine, access() implementation
- game.c: don't use ioctl(), lower cache1d size to 8 MiB, Wii-specific
initialization code and application directory ("apps/eduke32")
2559 3303d 15h helixhorned /polymer/eduke32/source/sdlmusic.c Replace various occurences of "Bstrncpy(buf, src, sz); buf[sz-1]=0;" with Bstrncpyz  
2434 3323d 3h hendricks266 /polymer/eduke32/source/sdlmusic.c OS X: Since the posix_memalign function causes problems when running on 10.5, not just building, I am making this more "risky/daring" change because OS X guarantees 16 byte alignment so it should be safe.  
2432 3323d 3h hendricks266 /polymer/eduke32/source/sdlmusic.c OS X: fix build under Leopard/Xcode 3.1.4  
2079 3466d 16h helixhorned /polymer/eduke32/source/sdlmusic.c Eliminate all 'variable ... set but not used [-Wunused-but-set-variable]'
warnings with GCC 4.6 except one in kplib.c
2025 3498d 18h helixhorned /polymer/eduke32/source/sdlmusic.c - Add new that showcases the functionality and limitations of
the additional rendering pass
- Remove r_preview_mouseaim cvar from the game, since it's only for Mapster
- sdlmusic.c: (Failed) attempt to fix a call of waitpid() with a non-existent
process ID in the external MIDI playing code. I think there's a race there...
1935 3555d 12h helixhorned /polymer/eduke32/source/sdlmusic.c Build fix for OSX/PowerPC  
1799 3704d 12h helixhorned /polymer/eduke32/source/sdlmusic.c Selective auto-correction option for the corruption checker. 'corruptcheck now' will print numbered tags for each warning, which can then be used like this: 'corruptcheck tryfix 20 34-64'. General cleanup; make mapster32 not depend on enet objects.  

Show All