-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds cSprite, sprite rendering and documents (#193)
* Adds cSprite, sprite rendering and add demo * Update README.md
- Loading branch information
1 parent
f7d95fd
commit 2827a7d
Showing
40 changed files
with
1,179 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
add_subdirectory(perlinWorld) | ||
add_subdirectory(softBodyTetris) | ||
add_subdirectory(softBodyTetris) | ||
add_subdirectory(sprites) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
add_subdirectory(standalone) | ||
set(OUTPUT_NAME PerlinWorld) | ||
|
||
if (WINDOWS) | ||
add_compile_definitions(WINDOWS) | ||
|
||
if (RELEASE) | ||
# launch as windows, not console app - so cmd does not open as well | ||
add_link_options(-mwindows) | ||
endif () | ||
else () | ||
add_link_options(-no-pie) | ||
endif() | ||
|
||
add_executable(${OUTPUT_NAME} "main.cpp") | ||
|
||
target_link_libraries(${OUTPUT_NAME} Hop) | ||
|
||
set_target_properties(${OUTPUT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/") | ||
|
||
file(GLOB LUA "*.lua") | ||
file(GLOB MAP "*.hmap") | ||
|
||
file(COPY ${LUA} DESTINATION "${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/") | ||
file(COPY ${MAP} DESTINATION "${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/") |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.