mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 22:15:45 +01:00
code cleanup:
- rename typedefs to a lowercase variant - change variable names to shorter variants
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
typedef unsigned char ErrorCode;
|
||||
typedef unsigned char error_code;
|
||||
enum {
|
||||
ERROR_MISC = -1,
|
||||
|
||||
@@ -26,5 +26,5 @@ enum {
|
||||
};
|
||||
|
||||
// call when a fatal error has occurred, the program will immediately terminate when called
|
||||
void error(ErrorCode error_code, char const* format, ...);
|
||||
void error(error_code error_code, char const* format, ...);
|
||||
void warn(char const* format, ...);
|
||||
|
||||
Reference in New Issue
Block a user