Backends
From OHRRPGCE-Wiki
(Difference between revisions)
(ok, the loop points are controller 111, not sysex events) |
(update some backend details) |
||
| Line 9: | Line 9: | ||
! name || status || description || fullscreen || smoothing | ! name || status || description || fullscreen || smoothing | ||
|- | |- | ||
| - | |gfx_fb ||bgcolor="lightgreen"| stable || Freebasic graphics. This backend is | + | |gfx_fb ||bgcolor="lightgreen"| stable || Freebasic graphics. This backend is well-tested, and is used as the default || Windows:Yes<br>Linux:Maybe || Optional |
|- | |- | ||
| - | |gfx_sdl || | + | |gfx_sdl ||bgcolor="lightgreen"| working || [[wikipedia:Simple DirectMedia Layer|Simple DirectMedia Layer (SDL)]] graphics. Working well, only a few issues || Yes || No |
|- | |- | ||
|gfx_alleg ||bgcolor="lightgreen"| working, but very little testing || [[wikipedia:Allegro library|Allegro]] backend. || Yes || No | |gfx_alleg ||bgcolor="lightgreen"| working, but very little testing || [[wikipedia:Allegro library|Allegro]] backend. || Yes || No | ||
| + | |- | ||
| + | |gfx_directx (name?) ||experimental || Windows-only Directx background. Not presently in subversion || ?? || ?? | ||
|} | |} | ||
| Line 23: | Line 25: | ||
! name || status || description || [[Music Code|advanced MIDI looping]] | ! name || status || description || [[Music Code|advanced MIDI looping]] | ||
|- | |- | ||
| - | |music_native ||bgcolor="lightgreen"| Windows:stable<br>Linux:experimental || [[wikipedia:Audiere|Audiere]] and Native windows midi. On Linux, this backend uses timidity for MIDI || Windows:Yes<br>Linux:No | + | |music_native ||bgcolor="lightgreen"| Windows:stable<br>Linux:experimental || [[wikipedia:Audiere|Audiere]] and Native windows midi. On Linux, this backend uses timidity for MIDI. || Windows:Yes<br>Linux:No |
|- | |- | ||
| - | |music_sdl ||bgcolor="lightgreen"| stable || [[wikipedia:Simple Directmedia Layer|SDL]] backend. This is the default on both Windows and Linux || No | + | |music_sdl ||bgcolor="lightgreen"| stable || [[wikipedia:Simple Directmedia Layer|SDL]] backend. This is the default on both Windows and Linux (May have problems on Windows Vista. More testing desired) || 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_allegro ||bgcolor="pink"| obsolete || [[wikipedia:Allegro library|Allegro]] backend. Unmaintained; no longer works or even compiles. Only worked together with gfx_alleg || No | ||
| Line 41: | Line 43: | ||
| -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]] | | -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 | + | | -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 noticeable 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. | | -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. | ||
Revision as of 16:56, 19 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 well-tested, and is used as the default | Windows:Yes Linux:Maybe | Optional |
| gfx_sdl | working | Simple DirectMedia Layer (SDL) graphics. Working well, only a few issues | Yes | No |
| gfx_alleg | working, but very little testing | Allegro backend. | Yes | No |
| gfx_directx (name?) | experimental | Windows-only Directx background. Not presently in subversion | ?? | ?? |
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 (May have problems on Windows Vista. More testing desired) | 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 noticeable 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. |