mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
rename window io
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "../window/audio.h"
|
#include "../io/audio.h"
|
||||||
#include "./tetromino/shapes.h"
|
#include "./tetromino/shapes.h"
|
||||||
#include "gametime.h"
|
#include "gametime.h"
|
||||||
#include "tetromino/placing.h"
|
#include "tetromino/placing.h"
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "../window/audio.h"
|
#include "../io/audio.h"
|
||||||
#include "../window/colour/colour8.h"
|
#include "../io/colour/colour8.h"
|
||||||
#include "./tetromino/shapes.h"
|
#include "./tetromino/shapes.h"
|
||||||
#include "gametime.h"
|
#include "gametime.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "../../window/audio.h"
|
#include "../../io/audio.h"
|
||||||
#include "../../window/colour/colour8.h"
|
#include "../../io/colour/colour8.h"
|
||||||
#include "../game.h"
|
#include "../game.h"
|
||||||
#include "shapes.h"
|
#include "shapes.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "shapes.h"
|
#include "shapes.h"
|
||||||
|
|
||||||
#include "../../window/colour/colour8.h"
|
#include "../../io/colour/colour8.h"
|
||||||
|
|
||||||
/* 0 1 2 3 */
|
/* 0 1 2 3 */
|
||||||
#define SHAPE_O ((shape)0x0660) // 0000 0110 0110 0000 the O tetromino with no rotation
|
#define SHAPE_O ((shape)0x0660) // 0000 0110 0110 0000 the O tetromino with no rotation
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "../../window/colour/colour8.h"
|
#include "../../io/colour/colour8.h"
|
||||||
|
|
||||||
typedef uint16_t shape;
|
typedef uint16_t shape;
|
||||||
typedef uint8_t shape_row;
|
typedef uint8_t shape_row;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "game/game.h"
|
#include "game/game.h"
|
||||||
#include "game/paths.h"
|
#include "game/paths.h"
|
||||||
#include "window/renderer.h"
|
#include "io/renderer.h"
|
||||||
|
|
||||||
// initialized in init(), reading beforehand is undefined behaviour
|
// initialized in init(), reading beforehand is undefined behaviour
|
||||||
static gamedata gdat;
|
static gamedata gdat;
|
||||||
|
|||||||
Reference in New Issue
Block a user