diff options
author | Luca Sas <sas.luca.alex@gmail.com> | 2020-10-01 19:20:05 +0100 |
---|---|---|
committer | Luca Sas <sas.luca.alex@gmail.com> | 2020-10-01 19:20:05 +0100 |
commit | 6bcb1207addb4afe041c94e68e23c77175164956 (patch) | |
tree | 5e6d1e11364adb960114bc6c327ad43f78da8d02 | |
parent | 45ee5878397822c41b9109d0e3bc2d635c8c8634 (diff) | |
parent | 2b57b3d884dd42e5faeb8399972ef5e9dc75a840 (diff) | |
download | gamejam-slgj-2024-6bcb1207addb4afe041c94e68e23c77175164956.tar.gz gamejam-slgj-2024-6bcb1207addb4afe041c94e68e23c77175164956.tar.bz2 gamejam-slgj-2024-6bcb1207addb4afe041c94e68e23c77175164956.zip |
Fixed conflicts
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/main.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b226ac6..6504d85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,4 +12,4 @@ add_subdirectory(libs/raylib) add_executable(raylib_template src/main.c) target_link_libraries(raylib_template PRIVATE raylib) target_compile_definitions(raylib_template PUBLIC ASSETS_PATH="${CMAKE_CURRENT_SOURCE_DIR}/assets/") # Set the asset path macro to the absolute path on the dev machine -#target_compile_definitions(raylib_template PUBLIC ASSETS_PATH="relative-path-to-assets-in-the-game-package") # Set the asset path macro in release more
\ No newline at end of file +#target_compile_definitions(raylib_template PUBLIC ASSETS_PATH="relative-path-to-assets-in-the-game-package") # Set the asset path macro in release more @@ -3,11 +3,6 @@ #define SCREEN_WIDTH (800) #define SCREEN_HEIGHT (450) -// This is set in the cmake file by default, if you don't use cmake you can set this macro to the path to your asset folder -#ifndef ASSETS_PATH -#define ASSETS_PATH "assets/" -#endif - int main(void) { InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "Window title"); @@ -35,4 +30,4 @@ int main(void) CloseWindow(); return 0; -}
\ No newline at end of file +} |