projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20061230-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index 0115b5d9fb95f3ca633032656bcb0673138a62f0..f9b8b2570134b840e1cd41f418e5a207c12cedc9 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-2490,7
+2490,7
@@
void LoadArtworkConfig(struct ArtworkListInfo *artwork_info)
char *filename_base = UNDEFINED_FILENAME, *filename_local;
int i, j;
char *filename_base = UNDEFINED_FILENAME, *filename_local;
int i, j;
- DrawInitText("Loading artwork config
:
", 120, FC_GREEN);
+ DrawInitText("Loading artwork config", 120, FC_GREEN);
DrawInitText(ARTWORKINFO_FILENAME(artwork_info->type), 150, FC_YELLOW);
/* always start with reliable default values */
DrawInitText(ARTWORKINFO_FILENAME(artwork_info->type), 150, FC_YELLOW);
/* always start with reliable default values */
@@
-2567,9
+2567,9
@@
static void replaceArtworkListEntry(struct ArtworkListInfo *artwork_info,
{
char *init_text[] =
{
{
char *init_text[] =
{
- "Loading graphics
:
",
- "Loading sounds
:
",
- "Loading music
:
"
+ "Loading graphics",
+ "Loading sounds",
+ "Loading music"
};
ListNode *node;
};
ListNode *node;
@@
-2787,6
+2787,8
@@
void NotifyUserAboutErrorFile()
/* the following is only for debugging purpose and normally not used */
/* ------------------------------------------------------------------------- */
/* the following is only for debugging purpose and normally not used */
/* ------------------------------------------------------------------------- */
+#if DEBUG
+
#define DEBUG_NUM_TIMESTAMPS 3
void debug_print_timestamp(int counter_nr, char *message)
#define DEBUG_NUM_TIMESTAMPS 3
void debug_print_timestamp(int counter_nr, char *message)
@@
-2799,10
+2801,10
@@
void debug_print_timestamp(int counter_nr, char *message)
counter[counter_nr][0] = Counter();
if (message)
counter[counter_nr][0] = Counter();
if (message)
- printf("%s %.
2
f seconds\n", message,
+ printf("%s %.
3
f seconds\n", message,
(float)(counter[counter_nr][0] - counter[counter_nr][1]) / 1000);
(float)(counter[counter_nr][0] - counter[counter_nr][1]) / 1000);
- counter[counter_nr][1] =
Counter()
;
+ counter[counter_nr][1] =
counter[counter_nr][0]
;
}
void debug_print_parent_only(char *format, ...)
}
void debug_print_parent_only(char *format, ...)
@@
-2821,3
+2823,4
@@
void debug_print_parent_only(char *format, ...)
printf("\n");
}
}
printf("\n");
}
}
+#endif