forked from djyt/cannonball
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
Showing
16 changed files
with
255 additions
and
75 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 |
---|---|---|
|
@@ -262,3 +262,6 @@ pip-log.txt | |
|
||
# Mac crap | ||
.DS_Store | ||
|
||
# Build Dir | ||
build |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Vita CMake Setup. | ||
|
||
include("${VITASDK}/share/vita.cmake" REQUIRED) | ||
|
||
set(TITLEID "CANNONBAL") | ||
|
||
set(lib_base $ENV{VITASDK}/arm-vita-eabi/lib) | ||
set(sdl_root $ENV{VITASDK}/arm-vita-eabi/include/SDL2) | ||
|
||
include_directories( | ||
"${sdl_root}" | ||
) | ||
|
||
link_libraries( | ||
SDL2 | ||
Vita2d | ||
# VitaGL | ||
SceSysmodule_stub | ||
SceDisplay_stub | ||
SceGxm_stub | ||
SceCtrl_stub | ||
ScePgf_stub | ||
ScePower_stub | ||
SceCommonDialog_stub | ||
SceAudio_stub | ||
SceShellSvc_stub | ||
SceHid_stub | ||
SceTouch_stub | ||
png | ||
jpeg | ||
z | ||
m | ||
c | ||
) | ||
|
||
# Linking | ||
link_directories( | ||
"${lib_base}" | ||
) | ||
|
||
add_definitions(-O3 -DSDL2) | ||
|
||
# Location for Cannonball to create save files | ||
# Used to auto-generate setup.hpp with various file paths | ||
set(xml_directory ux0:/data/cannonball/) | ||
#set(sdl_flags "SDL_DOUBLEBUF | SDL_HWSURFACE") | ||
set(sdl_flags "0") | ||
|
||
# Set SDL2 instead of SDL1 | ||
set(SDL2 1) | ||
#set(OPENGL 1) | ||
|
||
set(FLAGS | ||
-marm -mfpu=neon -mcpu=cortex-a9 -march=armv7-a -mfloat-abi=hard -ffast-math | ||
-fno-asynchronous-unwind-tables -funroll-loops | ||
-mword-relocations -fno-unwind-tables -fno-optimize-sibling-calls | ||
-mvectorize-with-neon-quad -funsafe-math-optimizations | ||
-mlittle-endian -munaligned-access | ||
) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<livearea style="a1" format-ver="01.00" content-rev="1"> | ||
<livearea-background> | ||
<image>bg.png</image> | ||
</livearea-background> | ||
|
||
<gate> | ||
<startup-image>startup.png</startup-image> | ||
</gate> | ||
</livearea> |
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
Oops, something went wrong.