-
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.
- Loading branch information
0 parents
commit fbf2664
Showing
275 changed files
with
83,427 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# Build folders | ||
build/ | ||
CMakeCache.txt | ||
CMakeFiles/ | ||
CMakeScripts/ | ||
Testing/ | ||
Makefile | ||
cmake_install.cmake | ||
install_manifest.txt | ||
compile_commands.json | ||
CTestTestfile.cmake | ||
.vs/ | ||
.vscode/ipch/ | ||
.vscode/ | ||
# Ignore the failure of getting git to run via vcpkg and cmake on Windows | ||
SDL2/ | ||
|
||
# Don't save EMCC generated files | ||
index.* |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "game.hpp" | ||
|
||
void setup() { | ||
Serial.begin(115200); | ||
Serial.println("setup"); | ||
|
||
gameInit(); | ||
gameSetup(); | ||
} | ||
|
||
void loop() { | ||
gameLoop(); | ||
} |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
cmake_minimum_required(VERSION 3.0.0) | ||
project(BSides2019CPT VERSION 0.1.0) | ||
include_directories( ${MY_SOURCE_DIR} ) | ||
|
||
add_executable(${PROJECT_NAME} | ||
tjpgd.c | ||
TJpg_Decoder.cpp | ||
qrcodegen.cpp | ||
parson.c | ||
game.cpp | ||
myfont.cpp | ||
mypigfont.cpp | ||
myGame.cpp | ||
platform_core.cpp | ||
fire.cpp | ||
voxel.cpp | ||
rotozoomer.cpp | ||
raycaster.cpp | ||
tunnel.cpp | ||
bt.cpp | ||
scroller.cpp | ||
asteroids.cpp | ||
feelings.cpp | ||
name.cpp | ||
cryptoRunner.cpp | ||
bleKeyboard.cpp | ||
wifiScanner.cpp | ||
setupScreen.cpp | ||
matrixscroller.cpp | ||
about.cpp | ||
schedule.cpp | ||
pong.cpp | ||
achievements.cpp | ||
) | ||
|
||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) | ||
|
||
if(DEFINED ENV{VCPKG_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE) | ||
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" | ||
CACHE STRING "") | ||
endif() | ||
|
||
if (WIN32) | ||
find_package(SDL2 CONFIG REQUIRED) | ||
|
||
if (SDL2_FOUND) | ||
find_package(SDL2 CONFIG REQUIRED) | ||
add_definitions(-DSDL2_FOUND) | ||
include_directories(${SDL2_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES} SDL2::SDL2 SDL2::SDL2main) | ||
endif(SDL2_FOUND) | ||
endif (WIN32) | ||
|
||
if (UNIX) | ||
find_package(SDL2 REQUIRED) | ||
if (SDL2_FOUND) | ||
add_definitions(-DSDL2_FOUND) | ||
include_directories(${SDL2_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES}) | ||
endif (SDL2_FOUND) | ||
endif (UNIX) | ||
|
||
include(CPack) |
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# This file will be configured to contain variables for CPack. These variables | ||
# should be set in the CMake list file of the project before CPack module is | ||
# included. The list of available CPACK_xxx variables and their associated | ||
# documentation may be obtained using | ||
# cpack --help-variable-list | ||
# | ||
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) | ||
# and some are specific to a generator | ||
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables | ||
# usually begin with CPACK_<GENNAME>_xxxx. | ||
|
||
|
||
SET(CPACK_BINARY_7Z "") | ||
SET(CPACK_BINARY_BUNDLE "") | ||
SET(CPACK_BINARY_CYGWIN "") | ||
SET(CPACK_BINARY_DEB "OFF") | ||
SET(CPACK_BINARY_DRAGNDROP "") | ||
SET(CPACK_BINARY_IFW "OFF") | ||
SET(CPACK_BINARY_NSIS "OFF") | ||
SET(CPACK_BINARY_OSXX11 "") | ||
SET(CPACK_BINARY_PACKAGEMAKER "") | ||
SET(CPACK_BINARY_RPM "OFF") | ||
SET(CPACK_BINARY_STGZ "ON") | ||
SET(CPACK_BINARY_TBZ2 "OFF") | ||
SET(CPACK_BINARY_TGZ "ON") | ||
SET(CPACK_BINARY_TXZ "OFF") | ||
SET(CPACK_BINARY_TZ "ON") | ||
SET(CPACK_BINARY_WIX "") | ||
SET(CPACK_BINARY_ZIP "") | ||
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles") | ||
SET(CPACK_COMPONENTS_ALL "") | ||
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") | ||
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") | ||
SET(CPACK_GENERATOR "STGZ;TGZ;TZ") | ||
SET(CPACK_INSTALL_CMAKE_PROJECTS "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT;BSides2019CPT;ALL;/") | ||
SET(CPACK_INSTALL_PREFIX "/usr/local") | ||
SET(CPACK_MODULE_PATH "") | ||
SET(CPACK_NSIS_DISPLAY_NAME "BSides2019CPT 0.1.1") | ||
SET(CPACK_NSIS_INSTALLER_ICON_CODE "") | ||
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") | ||
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") | ||
SET(CPACK_NSIS_PACKAGE_NAME "BSides2019CPT 0.1.1") | ||
SET(CPACK_OUTPUT_CONFIG_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackConfig.cmake") | ||
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/") | ||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake-3.5/Templates/CPack.GenericDescription.txt") | ||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "BSides2019CPT built using CMake") | ||
SET(CPACK_PACKAGE_FILE_NAME "BSides2019CPT-0.1.1-Linux") | ||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "BSides2019CPT 0.1.1") | ||
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "BSides2019CPT 0.1.1") | ||
SET(CPACK_PACKAGE_NAME "BSides2019CPT") | ||
SET(CPACK_PACKAGE_RELOCATABLE "true") | ||
SET(CPACK_PACKAGE_VENDOR "Humanity") | ||
SET(CPACK_PACKAGE_VERSION "0.1.1") | ||
SET(CPACK_PACKAGE_VERSION_MAJOR "0") | ||
SET(CPACK_PACKAGE_VERSION_MINOR "1") | ||
SET(CPACK_PACKAGE_VERSION_PATCH "1") | ||
SET(CPACK_PROJECT_NAME "BSides2019CPT") | ||
SET(CPACK_PROJECT_VERSION "0.1.0") | ||
SET(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake-3.5/Templates/CPack.GenericLicense.txt") | ||
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-3.5/Templates/CPack.GenericDescription.txt") | ||
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-3.5/Templates/CPack.GenericWelcome.txt") | ||
SET(CPACK_SET_DESTDIR "OFF") | ||
SET(CPACK_SOURCE_7Z "") | ||
SET(CPACK_SOURCE_CYGWIN "") | ||
SET(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ") | ||
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackSourceConfig.cmake") | ||
SET(CPACK_SOURCE_TBZ2 "ON") | ||
SET(CPACK_SOURCE_TGZ "ON") | ||
SET(CPACK_SOURCE_TXZ "ON") | ||
SET(CPACK_SOURCE_TZ "ON") | ||
SET(CPACK_SOURCE_ZIP "OFF") | ||
SET(CPACK_SYSTEM_NAME "Linux") | ||
SET(CPACK_TOPLEVEL_TAG "Linux") | ||
SET(CPACK_WIX_SIZEOF_VOID_P "8") | ||
|
||
if(NOT CPACK_PROPERTIES_FILE) | ||
set(CPACK_PROPERTIES_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackProperties.cmake") | ||
endif() | ||
|
||
if(EXISTS ${CPACK_PROPERTIES_FILE}) | ||
include(${CPACK_PROPERTIES_FILE}) | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# This file will be configured to contain variables for CPack. These variables | ||
# should be set in the CMake list file of the project before CPack module is | ||
# included. The list of available CPACK_xxx variables and their associated | ||
# documentation may be obtained using | ||
# cpack --help-variable-list | ||
# | ||
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) | ||
# and some are specific to a generator | ||
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables | ||
# usually begin with CPACK_<GENNAME>_xxxx. | ||
|
||
|
||
SET(CPACK_BINARY_7Z "") | ||
SET(CPACK_BINARY_BUNDLE "") | ||
SET(CPACK_BINARY_CYGWIN "") | ||
SET(CPACK_BINARY_DEB "OFF") | ||
SET(CPACK_BINARY_DRAGNDROP "") | ||
SET(CPACK_BINARY_IFW "OFF") | ||
SET(CPACK_BINARY_NSIS "OFF") | ||
SET(CPACK_BINARY_OSXX11 "") | ||
SET(CPACK_BINARY_PACKAGEMAKER "") | ||
SET(CPACK_BINARY_RPM "OFF") | ||
SET(CPACK_BINARY_STGZ "ON") | ||
SET(CPACK_BINARY_TBZ2 "OFF") | ||
SET(CPACK_BINARY_TGZ "ON") | ||
SET(CPACK_BINARY_TXZ "OFF") | ||
SET(CPACK_BINARY_TZ "ON") | ||
SET(CPACK_BINARY_WIX "") | ||
SET(CPACK_BINARY_ZIP "") | ||
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles") | ||
SET(CPACK_COMPONENTS_ALL "") | ||
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") | ||
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") | ||
SET(CPACK_GENERATOR "TBZ2;TGZ;TXZ;TZ") | ||
SET(CPACK_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") | ||
SET(CPACK_INSTALLED_DIRECTORIES "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT;/") | ||
SET(CPACK_INSTALL_CMAKE_PROJECTS "") | ||
SET(CPACK_INSTALL_PREFIX "/usr/local") | ||
SET(CPACK_MODULE_PATH "") | ||
SET(CPACK_NSIS_DISPLAY_NAME "BSides2019CPT 0.1.1") | ||
SET(CPACK_NSIS_INSTALLER_ICON_CODE "") | ||
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") | ||
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") | ||
SET(CPACK_NSIS_PACKAGE_NAME "BSides2019CPT 0.1.1") | ||
SET(CPACK_OUTPUT_CONFIG_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackConfig.cmake") | ||
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/") | ||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake-3.5/Templates/CPack.GenericDescription.txt") | ||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "BSides2019CPT built using CMake") | ||
SET(CPACK_PACKAGE_FILE_NAME "BSides2019CPT-0.1.1-Source") | ||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "BSides2019CPT 0.1.1") | ||
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "BSides2019CPT 0.1.1") | ||
SET(CPACK_PACKAGE_NAME "BSides2019CPT") | ||
SET(CPACK_PACKAGE_RELOCATABLE "true") | ||
SET(CPACK_PACKAGE_VENDOR "Humanity") | ||
SET(CPACK_PACKAGE_VERSION "0.1.1") | ||
SET(CPACK_PACKAGE_VERSION_MAJOR "0") | ||
SET(CPACK_PACKAGE_VERSION_MINOR "1") | ||
SET(CPACK_PACKAGE_VERSION_PATCH "1") | ||
SET(CPACK_PROJECT_NAME "BSides2019CPT") | ||
SET(CPACK_PROJECT_VERSION "0.1.0") | ||
SET(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake-3.5/Templates/CPack.GenericLicense.txt") | ||
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-3.5/Templates/CPack.GenericDescription.txt") | ||
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-3.5/Templates/CPack.GenericWelcome.txt") | ||
SET(CPACK_SET_DESTDIR "OFF") | ||
SET(CPACK_SOURCE_7Z "") | ||
SET(CPACK_SOURCE_CYGWIN "") | ||
SET(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;TXZ;TZ") | ||
SET(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") | ||
SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT;/") | ||
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackSourceConfig.cmake") | ||
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "BSides2019CPT-0.1.1-Source") | ||
SET(CPACK_SOURCE_TBZ2 "ON") | ||
SET(CPACK_SOURCE_TGZ "ON") | ||
SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source") | ||
SET(CPACK_SOURCE_TXZ "ON") | ||
SET(CPACK_SOURCE_TZ "ON") | ||
SET(CPACK_SOURCE_ZIP "OFF") | ||
SET(CPACK_STRIP_FILES "") | ||
SET(CPACK_SYSTEM_NAME "Linux") | ||
SET(CPACK_TOPLEVEL_TAG "Linux-Source") | ||
SET(CPACK_WIX_SIZEOF_VOID_P "8") | ||
|
||
if(NOT CPACK_PROPERTIES_FILE) | ||
set(CPACK_PROPERTIES_FILE "/mnt/c/Users/tmama/projects/BSides2019CPT/BSides2019CPT/CPackProperties.cmake") | ||
endif() | ||
|
||
if(EXISTS ${CPACK_PROPERTIES_FILE}) | ||
include(${CPACK_PROPERTIES_FILE}) | ||
endif() |
Oops, something went wrong.