Merge data/ into resources/
This commit is contained in:
parent
3e3ee8a722
commit
d3ab2e231e
@ -1 +0,0 @@
|
|||||||
data_files += to_array.process('font.bz2', extra_args: 'compressed_font_data')
|
|
@ -6,7 +6,7 @@ import re
|
|||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
CP_MAX = 0x10FFFF
|
CP_MAX = 0x10FFFF
|
||||||
FONT_CPP = "data/font.bz2"
|
FONT_CPP = "resources/font.bz2"
|
||||||
FONT_HEIGHT = 12
|
FONT_HEIGHT = 12
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ if get_option('prepare')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
to_array = generator(
|
to_array = generator(
|
||||||
executable('toarray', sources: 'data/ToArray.cpp', native: true),
|
executable('toarray', sources: 'resources/ToArray.cpp', native: true),
|
||||||
output: [ '@PLAINNAME@.cpp', '@PLAINNAME@.h' ],
|
output: [ '@PLAINNAME@.cpp', '@PLAINNAME@.h' ],
|
||||||
arguments: [ '@OUTPUT0@', '@OUTPUT1@', '@INPUT@', '@EXTRA_ARGS@' ]
|
arguments: [ '@OUTPUT0@', '@OUTPUT1@', '@INPUT@', '@EXTRA_ARGS@' ]
|
||||||
)
|
)
|
||||||
@ -304,7 +304,7 @@ if host_platform == 'windows'
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
project_inc = include_directories([ 'src', 'data', 'resources' ])
|
project_inc = include_directories([ 'src', 'resources' ])
|
||||||
|
|
||||||
if host_platform == 'windows'
|
if host_platform == 'windows'
|
||||||
ident_platform = is_64bit ? 'WIN64' : 'WIN32'
|
ident_platform = is_64bit ? 'WIN64' : 'WIN32'
|
||||||
@ -356,7 +356,6 @@ endif
|
|||||||
data_files = []
|
data_files = []
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('data')
|
|
||||||
subdir('resources')
|
subdir('resources')
|
||||||
|
|
||||||
powder_files += data_files
|
powder_files += data_files
|
||||||
|
@ -87,3 +87,4 @@ endif
|
|||||||
|
|
||||||
data_files += to_array.process('save_local.png', extra_args: 'save_local_png')
|
data_files += to_array.process('save_local.png', extra_args: 'save_local_png')
|
||||||
data_files += to_array.process('save_online.png', extra_args: 'save_online_png')
|
data_files += to_array.process('save_online.png', extra_args: 'save_online_png')
|
||||||
|
data_files += to_array.process('font.bz2', extra_args: 'compressed_font_data')
|
||||||
|
Loading…
Reference in New Issue
Block a user