First Commit - Revision 1.0A

This commit is contained in:
Sylvain PILLOT 2022-02-28 18:01:25 +01:00
parent 01498a34dc
commit e267c36c11
5 changed files with 48 additions and 0 deletions

48
CMakeLists.txt Normal file
View File

@ -0,0 +1,48 @@
# Configure with [fxsdk build-fx] or [fxsdk build-cg], which provide the
# toolchain file and module path of the fxSDK
cmake_minimum_required(VERSION 3.15)
project(Glacial)
include(GenerateG3A)
include(Fxconv)
find_package(Gint 2.1 REQUIRED)
set(SOURCES
src/primitives.cpp
src/main.cpp
)
set(ASSETS_cg
assets-cg/levelsimple.png
assets-cg/maintitle.png
assets-cg/sprites.png
assets-cg/player.png
assets-cg/light.png
assets-cg/cursor.png
assets-cg/parchemin.png
assets-cg/treasures.png
assets-cg/chests.png
assets-cg/fontFantasy.png
assets-cg/fontTiny.png
assets-cg/monstres.png
assets-cg/hearts.png
assets-cg/sorcerer.png
assets-cg/bigboss.png
assets-cg/bigparchvide.png
assets-cg/bulletsbicolor.png
assets-cg/fragments.png
assets-cg/villagealpha.png
assets-cg/castletitle.png
assets-cg/theend.png
)
fxconv_declare_assets(${ASSETS_cg} WITH_METADATA)
add_executable(myaddin ${SOURCES} ${ASSETS_${FXSDK_PLATFORM}})
target_compile_options(myaddin PRIVATE -fpermissive -Wall -Wextra -O3)
target_link_libraries(myaddin Gint::Gint)
if("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
generate_g3a(TARGET myaddin OUTPUT "MagicLight.g3a" VERSION 01.000.00
NAME "MagicLight" ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)
endif()

BIN
castletitle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
fragments.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
icon-uns.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
maintitle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB