client: fix win32
parent
a177e4c208
commit
10ead34ff6
|
@ -3,8 +3,8 @@ project(eco2d)
|
|||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
include_directories(eco2d-client code/vendors)
|
||||
include_directories(eco2d-server code/vendors)
|
||||
include_directories(eco2d-client code/vendors code/common)
|
||||
include_directories(eco2d-server code/vendors code/common)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/)
|
||||
|
||||
add_subdirectory(code/apps/client)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "raylib.h"
|
||||
#include "game.h"
|
||||
|
||||
int main(void)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "system.h"
|
||||
#include "renderer.h"
|
||||
#include "raylib.h"
|
||||
#include "zpl.h"
|
||||
|
||||
const zpl_u32 screenWidth = 800;
|
||||
const zpl_u32 screenHeight = 450;
|
||||
const uint16_t screenWidth = 800;
|
||||
const uint16_t screenHeight = 450;
|
||||
|
||||
void gfx_init() {
|
||||
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
|
||||
|
@ -14,7 +14,6 @@ void gfx_shutdown() {
|
|||
CloseWindow();
|
||||
}
|
||||
|
||||
|
||||
void gfx_render() {
|
||||
BeginDrawing();
|
||||
ClearBackground(RAYWHITE);
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include <stdint.h>
|
Loading…
Reference in New Issue