Reduce global variables
FossilOrigin-Name: 02dbc547c1a4a13918d02cb6f5ba92dd653622303979dd09cc5e3d6d0f617203
This commit is contained in:
parent
3a1bbe3110
commit
7ba16ed96a
7 changed files with 154 additions and 124 deletions
|
@ -2,9 +2,17 @@
|
|||
|
||||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
#define gamma gamma__
|
||||
#include <SDL2/SDL.h>
|
||||
#undef gamma
|
||||
|
||||
#include "tools.h"
|
||||
|
||||
@interface Cube : OFObject <OFApplicationDelegate>
|
||||
@property (class, readonly, nonatomic) Cube *sharedInstance;
|
||||
@property (readonly, nonatomic) SDL_Window *window;
|
||||
@property (nonatomic) bool repeatsKeys;
|
||||
@property (nonatomic) int framesInMap;
|
||||
@end
|
||||
|
||||
enum // block types, order matters!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue