projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7eeb14f
)
Just changed seticon() position to make icons putted right away by the wm (textures...
author
Ricardo Cruz
<rick2@aeiou.pt>
Sun, 14 Mar 2004 02:37:58 +0000
(
02:37
+0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sun, 14 Mar 2004 02:37:58 +0000
(
02:37
+0000)
SVN-Revision: 210
src/setup.c
patch
|
blob
|
history
diff --git
a/src/setup.c
b/src/setup.c
index
336ae92
..
a6f5984
100644
(file)
--- a/
src/setup.c
+++ b/
src/setup.c
@@
-456,6
+456,14
@@
void st_general_setup(void)
srand(SDL_GetTicks());
srand(SDL_GetTicks());
+ /* Set icon image: */
+
+ seticon();
+
+ /* Unicode needed for input handling: */
+
+ SDL_EnableUNICODE(1);
+
/* Load global images: */
text_load(&black_text,DATA_PREFIX "/images/status/letters-black.png", TEXT_TEXT, 16,18);
/* Load global images: */
text_load(&black_text,DATA_PREFIX "/images/status/letters-black.png", TEXT_TEXT, 16,18);
@@
-474,11
+482,6
@@
void st_general_setup(void)
texture_load(&arrow_left, DATA_PREFIX "/images/icons/left.png", USE_ALPHA);
texture_load(&arrow_right, DATA_PREFIX "/images/icons/right.png", USE_ALPHA);
texture_load(&arrow_left, DATA_PREFIX "/images/icons/left.png", USE_ALPHA);
texture_load(&arrow_right, DATA_PREFIX "/images/icons/right.png", USE_ALPHA);
- /* Set icon image: */
-
- seticon();
- SDL_EnableUNICODE(1);
-
}
void st_general_free(void)
}
void st_general_free(void)