projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990315-1-src
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index a625102cc706ac76f1b88198b4b14af8dd878bba..fad880a44de800221ef9bad3ca01a5ac155dd551 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-201,7
+201,7
@@
typedef unsigned char byte;
#define NUM_PIXMAPS 10
/* boundaries of arrays etc. */
#define NUM_PIXMAPS 10
/* boundaries of arrays etc. */
-#define MAX_
NAMELEN (10+1)
+#define MAX_
PLAYER_NAME_LEN 10
#define MAX_LEVEL_NAME_LEN 32
#define MAX_LEVEL_AUTHOR_LEN 32
#define MAX_TAPELEN (1000 * 50) /* max. time * framerate */
#define MAX_LEVEL_NAME_LEN 32
#define MAX_LEVEL_AUTHOR_LEN 32
#define MAX_TAPELEN (1000 * 50) /* max. time * framerate */
@@
-227,7
+227,7
@@
typedef unsigned char byte;
struct HiScore
{
struct HiScore
{
- char Name[MAX_
NAMELEN
];
+ char Name[MAX_
PLAYER_NAME_LEN + 1
];
int Score;
};
int Score;
};