Difference between revisions of "GUI"
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
== Compiling == | == Compiling == | ||
− | Compiling this is a bit harder than normal Odamex, much harder if you're on Windows. First off, you gotta have CMake to build it, because it's what I'm using. Next, in addition to SDL and SDL_Mixer, you also need to have AGAR and Freetype | + | Compiling this is a bit harder than normal Odamex, much harder if you're on Windows. First off, you gotta have CMake to build it, because it's what I'm using. Next, in addition to SDL and SDL_Mixer, you also need to have AGAR and Freetype. |
=== AGAR === | === AGAR === | ||
− | You need SDL | + | You need SDL and Freetype already installed and set up. You want the SVN release of AGAR, 1.4.1 is missing some important functionality that was added in trunk. |
[http://dev.hypertriton.com:8080/agar/trunk/ svn checkout this URL] | [http://dev.hypertriton.com:8080/agar/trunk/ svn checkout this URL] | ||
− | To actually compile | + | To actually compile AGAR, you need to run this command as your configure command: |
<code>./configure --without-jpeg --without-png --without-gl --entable-threads</code> | <code>./configure --without-jpeg --without-png --without-gl --entable-threads</code> | ||
+ | |||
+ | On Windows, you must use MSYS to compile this library. Assuming that you've extracted SDL and Freetype to their own freestanding directory for use when compiling Odamex, this leaves you with either trying to get the configure to find the includes and libs where they sit on your filesystem, or simply recompiling and installing them directly into the MSYS environment so the configure script can find them easily. | ||
+ | |||
+ | Or you could skip all that and [http://dl.dropbox.com/u/1446507/odamex/agar-odamex.zip just download this] instead. Unzip it someplace, set the AGAR_DIR CMake variable to that place and you're good to go. | ||
+ | |||
+ | === Functionality === | ||
+ | Right now it's not really functional. However, if you're nuts enough to have compiled my GUI branch, here are some cvars you might be interested in: | ||
+ | |||
+ | * '''gui_toggle''' Toggles visibility of the GUI on and off (will be gone soon) | ||
+ | * '''gui_doommenus''' If enabled, the classic Doom menus will appear if you press escape, and the GUI will only appear if you select "Options". If disabled, the classic doom menu will not show at all and you will immediately be thrust into the GUI when you press escape. (doesn't actually work yet) |
Latest revision as of 17:55, 2 January 2012
Congratulations, you found my secret page concerning the Odamex GUI that I (AlexMax) is working on.
Want to see the very latest progress? Check out my repository and switch to the odagui-hg branch.
Compiling
Compiling this is a bit harder than normal Odamex, much harder if you're on Windows. First off, you gotta have CMake to build it, because it's what I'm using. Next, in addition to SDL and SDL_Mixer, you also need to have AGAR and Freetype.
AGAR
You need SDL and Freetype already installed and set up. You want the SVN release of AGAR, 1.4.1 is missing some important functionality that was added in trunk.
To actually compile AGAR, you need to run this command as your configure command:
./configure --without-jpeg --without-png --without-gl --entable-threads
On Windows, you must use MSYS to compile this library. Assuming that you've extracted SDL and Freetype to their own freestanding directory for use when compiling Odamex, this leaves you with either trying to get the configure to find the includes and libs where they sit on your filesystem, or simply recompiling and installing them directly into the MSYS environment so the configure script can find them easily.
Or you could skip all that and just download this instead. Unzip it someplace, set the AGAR_DIR CMake variable to that place and you're good to go.
Functionality
Right now it's not really functional. However, if you're nuts enough to have compiled my GUI branch, here are some cvars you might be interested in:
- gui_toggle Toggles visibility of the GUI on and off (will be gone soon)
- gui_doommenus If enabled, the classic Doom menus will appear if you press escape, and the GUI will only appear if you select "Options". If disabled, the classic doom menu will not show at all and you will immediately be thrust into the GUI when you press escape. (doesn't actually work yet)