Backends
From OHRRPGCE-Wiki
(Difference between revisions)
(update music_native2 state. Also, Mike said (years ago) that it supports just music looping sysex's, but looking at the code, it looks like all sysexs are ignored.) |
(ok, the loop points are controller 111, not sysex events) |
||
| Line 29: | Line 29: | ||
|music_allegro ||bgcolor="pink"| obsolete || [[wikipedia:Allegro library|Allegro]] backend. Unmaintained; no longer works or even compiles. Only worked together with gfx_alleg || No | |music_allegro ||bgcolor="pink"| obsolete || [[wikipedia:Allegro library|Allegro]] backend. Unmaintained; no longer works or even compiles. Only worked together with gfx_alleg || No | ||
|- | |- | ||
| - | |music_native2 || experimental, seems to be working || (Windows-only) music_native variant with alternative, "better", MIDI implementation. Identical Audiere sound effects implementation || | + | |music_native2 || experimental, seems to be working || (Windows-only) music_native variant with alternative, "better", MIDI implementation. Identical Audiere sound effects implementation || Controller 111 loop points only |
|- | |- | ||
|music_silence || diagnostic || Does not play any music or sound at all. Useful for checking whether or not a bug is related to music. || No | |music_silence || diagnostic || Does not play any music or sound at all. Useful for checking whether or not a bug is related to music. || No | ||
Revision as of 21:35, 1 November 2009
The OHRRPGCE uses several different backends for graphics and music.
gfx
gfx backends provide the graphics and user-input. The graphics backend is always the first named, for example, ohrrpgce-wip-gfx-music.zip
| name | status | description | fullscreen | smoothing |
|---|---|---|---|---|
| gfx_fb | stable | Freebasic graphics. This backend is stable, and is used as the default | Windows:Yes Linux:Maybe | Optional |
| gfx_sdl | temporarily broken | Simple DirectMedia Layer (SDL) graphics. Not working properly; ungoing fixing | Yes | No |
| gfx_alleg | working, but very little testing | Allegro backend. | Yes | No |
music
music backends provide the music and sound effects. The music backend is always the second named, for example, ohrrpgce-wip-gfx-music.zip
| name | status | description | advanced MIDI looping |
|---|---|---|---|
| music_native | Windows:stable Linux:experimental | Audiere and Native windows midi. On Linux, this backend uses timidity for MIDI | Windows:Yes Linux:No |
| music_sdl | stable | SDL backend. This is the default on both Windows and Linux | No |
| music_allegro | obsolete | Allegro backend. Unmaintained; no longer works or even compiles. Only worked together with gfx_alleg | No |
| music_native2 | experimental, seems to be working | (Windows-only) music_native variant with alternative, "better", MIDI implementation. Identical Audiere sound effects implementation | Controller 111 loop points only |
| music_silence | diagnostic | Does not play any music or sound at all. Useful for checking whether or not a bug is related to music. | No |
other builds
| name | status | description |
|---|---|---|
| -debug | diagnostic | Any nightly build with -debug in the filename has been compiled with -g which adds debugging symbols for use with the GNU Debugger |
| -exx | diagnostic | Any nightly build with -exx in the filename has been compiled with -exx which adds extra error checking for out-of-bounds array access and null pointer dereferencing. These builds are many times slower, something which might be noticable on very old computers. |
| -scriptprofile | diagnostic | Any nightly build with -profile in the filename has been compiled with -d SCRIPTPROFILE to perform script profiling; when you exit a game, Game prints a whole lot of statistics to g_debug.txt about how much time each script took to run. |