Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
milgra committed Sep 13, 2022
1 parent 2ee7f44 commit 2c98b03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'cortex',
'c',
version: '0.8',
license: 'MIT',
license: 'GPL',
default_options: ['c_std=gnu99']
)

Expand All @@ -19,7 +19,7 @@ pthread = cc.find_library('pthread',static:false)
cortex_dependencies = [math,gl,glew,sdl,sdlmixer,pthread]

cortex_version = '"@0@"'.format(meson.project_version())
pkg_datadir = join_paths(get_option('prefix'), get_option('datadir')) / 'sov'
pkg_datadir = join_paths(get_option('prefix'), get_option('datadir')) / 'cortex'
add_project_arguments('-DPKG_DATADIR="' + pkg_datadir + '"',
'-DCORTEX_VERSION=@0@'.format(cortex_version),
language: 'c')
Expand Down Expand Up @@ -78,7 +78,6 @@ com_sources = ['src/cortex/buffers.c',

'src/modules/utils/str_util.c']

pkg_datadir = join_paths(get_option('prefix'), get_option('datadir')) / 'sov'
install_data('res/break.wav', install_dir : pkg_datadir )
install_data('res/game.wav', install_dir : pkg_datadir )
install_data('res/outro.wav', install_dir : pkg_datadir )
Expand Down
2 changes: 1 addition & 1 deletion src/cortex/scene.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef struct _scene_loadmsg_t scene_loadmsg_t;
struct _scene_loadmsg_t
{
float speed;
char stage;
int stage;
};

typedef struct _scene_t scene_t;
Expand Down

0 comments on commit 2c98b03

Please sign in to comment.