projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030331-1-src
[rocksndiamonds.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 4fd5ead512b0993598752a36ddd987c1c3240deb..bcd5dce7d742449b346de7d08f1e968a5650ae7d 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-17,6
+17,7
@@
#include "init.h"
#include "game.h"
#include "events.h"
#include "init.h"
#include "game.h"
#include "events.h"
+#include "config.h"
#if 0
GC tile_clip_gc;
#if 0
GC tile_clip_gc;
@@
-3035,7
+3036,12
@@
struct FontInfo font_info[NUM_FONTS + 1] =
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
- InitCommandName(argv[0]);
+ InitProgramInfo(argv[0], USERDATA_DIRECTORY,
+ PROGRAM_TITLE_STRING, getWindowTitleString(),
+ ICON_TITLE_STRING, X11_ICON_FILENAME, X11_ICONMASK_FILENAME,
+ MSDOS_POINTER_FILENAME,
+ COOKIE_PREFIX, FILENAME_PREFIX, GAME_VERSION_ACTUAL);
+
InitExitFunction(CloseAllAndExit);
InitPlatformDependantStuff();
InitExitFunction(CloseAllAndExit);
InitPlatformDependantStuff();