Code formatting
This commit is contained in:
@@ -176,4 +176,4 @@ void GameEnts_Init() {
|
||||
ent_Block->height = 64;
|
||||
ent_Block->fric_static = 0.0f;
|
||||
ent_Block->fric_dynamic = 0.2f;
|
||||
}
|
||||
}
|
||||
@@ -75,7 +75,7 @@ int GameMap_LoadLevel(char *filename, int res) {
|
||||
// Build the map
|
||||
map = malloc(sizeof(char) * width * height);
|
||||
memset(map, 0, width * height);
|
||||
#define MAP(x, y) map[(x) + ((y)*width)]
|
||||
#define MAP(x, y) map[(x) + ((y) * width)]
|
||||
j = 0;
|
||||
do {
|
||||
len = ReadLine(file, line, MaxLineLen);
|
||||
|
||||
Reference in New Issue
Block a user