Backends
From OHRRPGCE-Wiki
The OHRRPGCE uses several different backends for graphics and music.
[edit] 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 | ?? | ?? |
[edit] 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 |
[edit] 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. |