Merge pull request 'MaJ' (#2) from Slyvtt/Collab_RPG:master into master
Reviewed-on: https://gitea.planet-casio.com/Fcalva/Collab_RPG_Fcalva/pulls/2
|
@ -12,7 +12,7 @@ find_package(Gint 2.9 REQUIRED)
|
|||
find_package(LibProf 2.4 REQUIRED)
|
||||
|
||||
#set the color mode either to 1b or 2b
|
||||
set(COLORMODE_fx 1b)
|
||||
set(COLORMODE_fx 2b)
|
||||
#set the color mode either to 1b, 2b or EGA64
|
||||
set(COLORMODE_cg EGA64)
|
||||
|
||||
|
@ -45,15 +45,15 @@ set(ASSETS_cg
|
|||
)
|
||||
|
||||
set(ASSETS_cg_1b
|
||||
assets-cg/levels/tileset1b_CG.png
|
||||
assets-cg/1b/tileset/tileset1b_CG.png
|
||||
)
|
||||
|
||||
set(ASSETS_cg_2b
|
||||
assets-cg/levels/tileset2b_CG.png
|
||||
assets-cg/2b/tileset/tileset2b_CG.png
|
||||
)
|
||||
|
||||
set(ASSETS_cg_EGA64
|
||||
assets-cg/levels/tilesetEGA64_CG.png
|
||||
assets-cg/ega64/tileset/tilesetEGA64_CG.png
|
||||
)
|
||||
|
||||
set(ASSETS_fx
|
||||
|
@ -69,12 +69,12 @@ set(ASSETS_fx
|
|||
)
|
||||
|
||||
set(ASSETS_fx_1b
|
||||
assets-fx/levels/tileset1b.png
|
||||
assets-fx/1b/tileset/tileset1b.png
|
||||
# ...
|
||||
)
|
||||
|
||||
set(ASSETS_fx_2b
|
||||
assets-fx/levels/tileset2b.png
|
||||
assets-fx/2b/tileset/tileset2b.png
|
||||
# ...
|
||||
)
|
||||
|
||||
|
@ -116,31 +116,31 @@ target_link_libraries(myaddin LibProf::LibProf Gint::Gint)
|
|||
if("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G)
|
||||
|
||||
if("${COLORMODE_fx}" STREQUAL 1b)
|
||||
generate_g1a(TARGET myaddin OUTPUT "PrjPC1b.g1a"
|
||||
NAME "Col RPG NB" ICON assets-fx/icon1.png)
|
||||
generate_g1a(TARGET myaddin OUTPUT "RPG_1b.g1a"
|
||||
NAME "RPG PC 1b" ICON assets-fx/1b/icon1b.png)
|
||||
endif()
|
||||
|
||||
if("${COLORMODE_fx}" STREQUAL 2b)
|
||||
generate_g1a(TARGET myaddin OUTPUT "PrjPC2b.g1a"
|
||||
NAME "Col RPG Grey" ICON assets-fx/icon2.png)
|
||||
generate_g1a(TARGET myaddin OUTPUT "RPG_2b.g1a"
|
||||
NAME "RPG PC 2b" ICON assets-fx/2b/icon2b.png)
|
||||
endif()
|
||||
|
||||
|
||||
elseif("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
|
||||
|
||||
if("${COLORMODE_cg}" STREQUAL 1b)
|
||||
generate_g3a(TARGET myaddin OUTPUT "PrjPC1b.g3a"
|
||||
NAME "Col RPG 1bit" ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)
|
||||
generate_g3a(TARGET myaddin OUTPUT "RPG_1b.g3a"
|
||||
NAME "RPG PC 1b" ICONS assets-cg/1b/icon-uns-1b.png assets-cg/1b/icon-sel-1b.png)
|
||||
endif()
|
||||
|
||||
if("${COLORMODE_cg}" STREQUAL 2b)
|
||||
generate_g3a(TARGET myaddin OUTPUT "PrjPC2b.g3a"
|
||||
NAME "Col RPG Grey" ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)
|
||||
generate_g3a(TARGET myaddin OUTPUT "RPG_2b.g3a"
|
||||
NAME "RPG PC 2b" ICONS assets-cg/2b/icon-uns-2b.png assets-cg/2b/icon-sel-2b.png)
|
||||
endif()
|
||||
|
||||
if("${COLORMODE_cg}" STREQUAL EGA64)
|
||||
generate_g3a(TARGET myaddin OUTPUT "PrjPCega.g3a"
|
||||
NAME "Col RPG EGA" ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)
|
||||
generate_g3a(TARGET myaddin OUTPUT "RPG_ega.g3a"
|
||||
NAME "RPG PC EGA" ICONS assets-cg/ega64/icon-uns-ega64.png assets-cg/ega64/icon-sel-ega64.png)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
|
BIN
assets-cg/1b/icon-sel-1b.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
assets-cg/1b/icon-uns-1b.png
Normal file
After Width: | Height: | Size: 23 KiB |
3
assets-cg/1b/tileset/fxconv-metadata.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
tileset1b_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
BIN
assets-cg/2b/icon-sel-2b.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets-cg/2b/icon-uns-2b.png
Normal file
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
4
assets-cg/2b/tileset/fxconv-metadata.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
tileset2b_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
BIN
assets-cg/ega64/icon-sel-ega64.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
assets-cg/ega64/icon-uns-ega64.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
4
assets-cg/ega64/tileset/fxconv-metadata.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
tilesetEGA64_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
@ -1,12 +0,0 @@
|
|||
tileset1b_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
||||
tileset2b_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
||||
tilesetEGA64_CG.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
BIN
assets-fx/1b/icon1b.png
Normal file
After Width: | Height: | Size: 540 B |
4
assets-fx/1b/tileset/fxconv-metadata.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
tileset1b.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
BIN
assets-fx/2b/icon2b.png
Normal file
After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
3
assets-fx/2b/tileset/fxconv-metadata.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
tileset2b.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB |
|
@ -1,8 +0,0 @@
|
|||
tileset1b.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
||||
|
||||
|
||||
tileset2b.png:
|
||||
type: bopti-image
|
||||
name: img_tilesetnpp
|
Before Width: | Height: | Size: 40 KiB |