Skip to content

Commit

Permalink
fixnative
Browse files Browse the repository at this point in the history
  • Loading branch information
angeld committed Jan 23, 2019
1 parent 2b2e07f commit 556062f
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 63 deletions.
122 changes: 61 additions & 61 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
project('qwprogs', 'c')

sources = [
"src/bot/ai.c",
"src/bot/ai-misc.c",
"src/bot/fighting.c",
"src/bot/move.c",
"src/bot/qw.c",
"src/bot/ui.c",
"src/bot/waypoint.c",
"src/actions.c",
"src/admin.c",
"src/admin_cmd.c",
"src/arena.c",
"src/buttons.c",
"src/clan.c",
"src/client.c",
"src/combat.c",
"src/coop.c",
"src/crc32.c",
"src/ctf.c",
"src/debug.c",
"src/demoman.c",
"src/doors.c",
"src/engineer.c",
"src/flare.c",
"src/g_cmd.c",
"src/g_main.c",
"src/g_mem.c",
"src/g_mod_command.c",
"src/g_spawn.c",
"src/g_syscalls.c",
"src/g_tf_utils.c",
"src/g_utils.c",
"src/hook.c",
"src/items.c",
"src/mathlib.c",
"src/menu.c",
"src/misc.c",
"src/plats.c",
"src/player.c",
"src/pyro.c",
"src/q_shared.c",
"src/qmd5.c",
"src/scout.c",
"src/sentry.c",
"src/server.c",
"src/sniper.c",
"src/spectate.c",
"src/spy.c",
"src/status.c",
"src/subs.c",
"src/tfort.c",
"src/tforthlp.c",
"src/tfortmap.c",
"src/tforttm.c",
"src/tg.c",
"src/triggers.c",
"src/tsoldier.c",
"src/version.c",
"src/vote.c",
"src/weapons.c",
"src/world.c"
'src/bot/ai.c',
'src/bot/ai-misc.c',
'src/bot/fighting.c',
'src/bot/move.c',
'src/bot/qw.c',
'src/bot/ui.c',
'src/bot/waypoint.c',
'src/actions.c',
'src/admin.c',
'src/admin_cmd.c',
'src/arena.c',
'src/buttons.c',
'src/clan.c',
'src/client.c',
'src/combat.c',
'src/coop.c',
'src/crc32.c',
'src/ctf.c',
'src/debug.c',
'src/demoman.c',
'src/doors.c',
'src/engineer.c',
'src/flare.c',
'src/g_cmd.c',
'src/g_main.c',
'src/g_mem.c',
'src/g_mod_command.c',
'src/g_spawn.c',
'src/g_syscalls.c',
'src/g_tf_utils.c',
'src/g_utils.c',
'src/hook.c',
'src/items.c',
'src/mathlib.c',
'src/menu.c',
'src/misc.c',
'src/plats.c',
'src/player.c',
'src/pyro.c',
'src/q_shared.c',
'src/qmd5.c',
'src/scout.c',
'src/sentry.c',
'src/server.c',
'src/sniper.c',
'src/spectate.c',
'src/spy.c',
'src/status.c',
'src/subs.c',
'src/tfort.c',
'src/tforthlp.c',
'src/tfortmap.c',
'src/tforttm.c',
'src/tg.c',
'src/triggers.c',
'src/tsoldier.c',
'src/version.c',
'src/vote.c',
'src/weapons.c',
'src/world.c'
]

library('qwprogs', sources,
#include_directories : include_directories('include'),
include_directories : include_directories('include'),
c_args : '-DBOT_SUPPORT=1',
dependencies : [
meson.get_compiler('c').find_library('m', required : false)
Expand Down
2 changes: 1 addition & 1 deletion src/g_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void trap_conprint( const char *fmt )
}


void trap_BPrint( int level, const char *fmt )
void trap_BPrint( int level, const char *fmt, int flags )
{
syscall( G_BPRINT, level, (int) fmt );
}
Expand Down
2 changes: 1 addition & 1 deletion src/g_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ void G_bprint( int level, const char *fmt, ... )
_vsnprintf( text, sizeof(text), fmt, argptr );
va_end( argptr );

trap_BPrint( level, text );
trap_BPrint( level, text, 0 );
}

void G_centerprint( gedict_t * ed, const char *fmt, ... )
Expand Down

0 comments on commit 556062f

Please sign in to comment.