mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-28 22:49:22 +01:00
"Profiling, romanian names."
This commit is contained in:
parent
71f16667b2
commit
a6c9fec8ee
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
AM_CFLAGS = -Wall
|
||||
AM_CFLAGS = -Wall #-fprofile-arcs -ftest-coverage#-pg
|
||||
|
||||
INCLUDES = \
|
||||
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
|
||||
@ -9,34 +9,34 @@ INCLUDES = \
|
||||
bin_PROGRAMS = bygfoot
|
||||
|
||||
bygfoot_SOURCES = \
|
||||
callback_func.c callback_func.h callbacks.h cup.h finance.h fixture.h game_gui.h league.h live_game.h maths.h misc.h option.h player.h start_end.h team.h transfer.h treeview.h user.h window.h \
|
||||
callback_func.c callback_func.h callbacks.h cup.h finance.h fixture.h game_gui.h league.h live_game.h maths.h misc.h option.h player.h start_end.h team.h transfer.h treeview.h treeview_helper.h user.h window.h \
|
||||
callbacks.c callbacks.h callback_func.h debug.h free.h game.h game_gui.h gui.h load_save.h main.h option.h player.h team.h transfer.h treeview.h treeview_helper.h user.h window.h \
|
||||
cup.c cup.h fixture.h free.h league.h main.h maths.h misc.h option.h team.h variables.h xml_league.h \
|
||||
debug.c debug.h game_gui.h option.h user.h variables.h \
|
||||
file.c file.h free.h main.h misc.h option.h support.h variables.h \
|
||||
finance.c callbacks.h finance.h game_gui.h maths.h option.h player.h team.h user.h \
|
||||
fixture.c cup.h fixture.h free.h league.h main.h maths.h misc.h option.h user.h table.h team.h variables.h \
|
||||
free.c free.h user.h variables.h \
|
||||
free.c free.h transfer.h user.h variables.h \
|
||||
game.c cup.h finance.h fixture.h game.h game_gui.h league.h live_game.h maths.h misc.h option.h player.h table.h team.h treeview.h user.h variables.h \
|
||||
game_gui.c file.h callbacks.h file.h game_gui.h gui.h league.h live_game.h maths.h misc.h option.h treeview.h support.h team.h user.h variables.h window.h \
|
||||
game_gui.c callbacks.h file.h game_gui.h gui.h league.h live_game.h maths.h misc.h option.h treeview.h support.h team.h user.h variables.h window.h \
|
||||
gui.c gui.h misc.h support.h variables.h window.h \
|
||||
interface.c callbacks.h interface.h support.h \
|
||||
lg_commentary.c free.h lg_commentary.h live_game.h misc.h option.h player.h variables.h \
|
||||
league.c cup.h league.h maths.h misc.h option.h player.h stat.h table.h team.h user.h variables.h \
|
||||
live_game.c callbacks.h fixture.h free.h game.h game_gui.h lg_commentary.h live_game.h maths.h misc_callback_func.h option.h player.h support.h team.h treeview.h user.h variables.h window.h \
|
||||
live_game.c callbacks.h fixture.h free.h game.h game_gui.h lg_commentary.h live_game.h league.h maths.h misc_callback_func.h option.h player.h support.h team.h treeview.h user.h variables.h window.h \
|
||||
load_save.c callbacks.h file.h game_gui.h gui.h load_save.h option.h support.h user.h variables.h xml_loadsave_misc.h xml_loadsave_cup.h xml_loadsave_league.h xml_loadsave_season_stats.h xml_loadsave_transfers.h xml_loadsave_users.h xml.h \
|
||||
main.c cup_struct.h misc_callbacks.h file.h free.h league_struct.h live_game.h main.h stat_struct.h transfer_struct.h variables.h window.h \
|
||||
maths.c maths.h misc.h \
|
||||
main.c misc_callbacks.h file.h free.h live_game.h main.h name_struct.h stat_struct.h transfer_struct.h variables.h window.h \
|
||||
maths.c maths.h misc.h variables.h \
|
||||
misc.c main.h maths.h misc.h \
|
||||
misc_callbacks.c callbacks.h callback_func.h game.h game_gui.h live_game.h load_save.h main.h misc_callback_func.h misc_callbacks.h option.h user.h variables.h window.h xml_country.h \
|
||||
misc_callback_func.c callbacks.h finance.h game.h game_gui.h gui.h load_save.h maths.h misc_callback_func.h option.h start_end.h support.h treeview.h user.h variables.h window.h xml_country.h xml_name.h \
|
||||
misc_callback_func.c callbacks.h finance.h game.h game_gui.h gui.h load_save.h maths.h misc_callback_func.h option.h start_end.h support.h treeview.h treeview_helper.h user.h variables.h window.h xml_country.h xml_name.h \
|
||||
misc_interface.c misc_interface.h misc_callbacks.h support.h \
|
||||
misc2_callbacks.c callbacks.h callback_func.h debug.h finance.h game_gui.h load_save.h main.h misc2_callbacks.h misc2_callback_func.h misc2_interface.h player.h support.h transfer.h treeview.h user.h window.h \
|
||||
misc2_callback_func.c callbacks.h file.h finance.h game_gui.h maths.h misc2_callback_func.h option.h player.h support.h team.h treeview.h transfer.h user.h window.h \
|
||||
misc2_callbacks.c callbacks.h callback_func.h debug.h finance.h game_gui.h load_save.h main.h misc2_callbacks.h misc2_callback_func.h misc2_interface.h player.h support.h transfer.h treeview.h treeview_helper.h user.h window.h \
|
||||
misc2_callback_func.c callbacks.h file.h finance.h game_gui.h maths.h misc2_callback_func.h option.h player.h support.h team.h treeview.h treeview_helper.h transfer.h user.h window.h \
|
||||
misc2_interface.c misc2_interface.h misc2_callbacks.h support.h \
|
||||
name.c name.h option.h variables.h xml_name.h \
|
||||
option.c option.h variables.h \
|
||||
option_gui.c file.h game_gui.h callbacks.h option_gui.h option.h support.h user.h variables.h \
|
||||
option_gui.c callbacks.h file.h game_gui.h option_gui.h option.h support.h user.h variables.h \
|
||||
options_callbacks.c file.h options_callbacks.h options_interface.h option_gui.h support.h user.h variables.h window.h \
|
||||
options_interface.c options_interface.h options_callbacks.h support.h \
|
||||
player.c cup.h fixture.h free.h game_gui.h league.h maths.h misc.h name.h option.h player.h team.h user.h \
|
||||
@ -49,15 +49,15 @@ bygfoot_SOURCES = \
|
||||
treeview.c cup.h finance.h fixture.h free.h game.h league.h live_game.h maths.h misc.h player.h option.h support.h team.h transfer.h treeview.h treeview_helper.h user.h \
|
||||
treeview_helper.c cup.h file.h fixture.h free.h league.h misc.h option.h player.h support.h team.h transfer.h treeview.h treeview_helper.h user.h variables.h \
|
||||
user.c cup.h fixture.h free.h game_gui.h league.h live_game.h maths.h misc.h option.h player.h team.h transfer.h treeview.h user.h window.h \
|
||||
window.c file.h finance.h free.h game_gui.h gui.h interface.h main.h misc_interface.h misc2_interface.h option.h support.h treeview.h treeview_helper.h user.h window.h \
|
||||
xml.c cup.h file.h free.h gui.h league.h misc.h option.h support.h table.h transfer_struct.h user.h variables.h xml.h xml_loadsave_cup.h xml_loadsave_league.h xml_loadsave_teams.h xml_loadsave_fixtures.h xml_loadsave_table.h xml_loadsave_transfers.h xml_loadsave_users.h \
|
||||
xml_loadsave_misc.c cup.h file.h misc.h variables.h xml.h xml_loadsave_misc.h xml_loadsave_cup.h xml_loadsave_league.h \
|
||||
window.c file.h finance.h free.h game_gui.h gui.h interface.h league.h live_game.h main.h misc_interface.h misc2_interface.h option.h option_gui.h support.h treeview.h treeview_helper.h user.h window.h \
|
||||
xml.c cup.h file.h free.h gui.h league.h misc.h option.h support.h table.h transfer_struct.h user.h variables.h xml.h xml_loadsave_cup.h xml_loadsave_fixtures.h xml_loadsave_league.h xml_loadsave_league_stat.h xml_loadsave_live_game.h xml_loadsave_table.h xml_loadsave_teams.h xml_loadsave_transfers.h xml_loadsave_users.h \
|
||||
xml_loadsave_cup.c cup.h file.h misc.h table.h team.h xml.h xml_loadsave_cup.h xml_loadsave_fixtures.h xml_loadsave_table.h xml_loadsave_teams.h \
|
||||
xml_loadsave_fixtures.c file.h fixture.h misc.h team.h xml.h xml_loadsave_fixtures.h \
|
||||
xml_loadsave_league.c file.h league.h misc.h xml.h xml_loadsave_fixtures.h xml_loadsave_league.h xml_loadsave_table.h xml_loadsave_teams.h \
|
||||
xml_loadsave_league.c file.h league.h misc.h xml.h xml_loadsave_fixtures.h xml_loadsave_league.h xml_loadsave_league_stat.h xml_loadsave_table.h xml_loadsave_teams.h \
|
||||
xml_loadsave_league_stat.c file.h misc.h stat.h team.h xml_loadsave_league_stat.h xml.h \
|
||||
xml_loadsave_live_game.c cup.h file.h fixture.h league.h live_game.h misc.h option.h variables.h xml.h xml_loadsave_live_game.h \
|
||||
xml_loadsave_season_stats.c file.h misc.h stat.h variables.h xml.h xml_loadsave_league_stat.h xml_loadsave_season_stats.h \
|
||||
xml_loadsave_misc.c cup.h file.h misc.h variables.h xml.h xml_loadsave_misc.h xml_loadsave_cup.h xml_loadsave_league.h \
|
||||
xml_loadsave_season_stats.c file.h free.h misc.h stat.h variables.h xml.h xml_loadsave_league_stat.h xml_loadsave_season_stats.h \
|
||||
xml_loadsave_table.c file.h misc.h team.h xml.h xml_loadsave_table.h \
|
||||
xml_loadsave_teams.c file.h misc.h player.h team.h xml.h xml_loadsave_teams.h \
|
||||
xml_loadsave_transfers.c file.h misc.h team.h transfer.h xml.h xml_loadsave_transfers.h \
|
||||
@ -65,7 +65,7 @@ bygfoot_SOURCES = \
|
||||
xml_cup.c cup.h file.h main.h misc.h option.h variables.h xml_cup.h \
|
||||
xml_country.c file.h free.h misc.h variables.h xml_cup.h xml_country.h xml_league.h \
|
||||
xml_league.c cup_struct.h file.h free.h league.h misc.h team.h table.h variables.h xml_league.h xml_cup.h \
|
||||
xml_name.c file.h free.h maths.h misc.h variables.h xml_name.h
|
||||
xml_name.c file.h free.h misc.h name.h variables.h xml_name.h
|
||||
|
||||
bygfoot_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "free.h"
|
||||
#include "transfer_struct.h"
|
||||
#include "transfer.h"
|
||||
#include "user.h"
|
||||
#include "variables.h"
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "callbacks.h"
|
||||
#include "file.h"
|
||||
#include "game_gui.h"
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define LEAGUE_H
|
||||
|
||||
#include "bygfoot.h"
|
||||
#include "cup.h"
|
||||
#include "league_struct.h"
|
||||
#include "fixture_struct.h"
|
||||
|
||||
|
@ -93,6 +93,85 @@ lg_commentary_get_commentaries(gint event_type)
|
||||
default:
|
||||
g_warning("lg_commentary_get_commentaries: unknown event type %d. \n", event_type);
|
||||
break;
|
||||
case LIVE_GAME_EVENT_GENERAL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 feeds the ball through to P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 threads a great ball to P1 ")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Lovely pass from P2 releases P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Long floating pass from P2 finds P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Good passing move across the pitch and down the right")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Quick passing move down the left")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 cross controlled by P1 who slips past his man")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Another decent move down the wing")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 latches onto P2's pass")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 needles ball through players and finds P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 controls it with his chest and passes to P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 heads the ball towards P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 twisting and turning again")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 rips through the midfield")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins past his marker")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_LOST_POSSESSION:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 wins the ball with a perfectly timed challenge")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Bad control by P2 lets P1 steal the ball off him")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 takes the ball away from P2 with a sliding tackle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Loose ball falls to P1")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_FOUL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Oww, nasty tackle on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Surely that's a sending off offence")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 knocks over P1 with a double footed lunge")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Crunching challenge on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 gets his legs taken away from him by P2")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Slicing challenge by P2 on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Vicious tackle from P2 leaves P1 lying on the floor in agony")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Ouch that's got to hurt")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Extremely high boot from P2 sends P1 to the ground")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_SCORING_CHANCE:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 charges towards goal and shoots!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins and shoots")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Long ball from P2 finds P1 at far post")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 can't quite get it under control but his miss kick heads toward goal")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 shoots from 22 yards looks like it's going wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 dribbles into the box, turns inside the defence and fires")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 cuts in from the left flank and shoots")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 tries his luck from 30 yards")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 arrows shot towards top left corner")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 shoots from close range")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Great ball from P2 sends P1 one on one with the goalkeeper")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1's overhead kick heads towards the top right hand corner")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins past two defenders, wrong foots the keeper and back heels the ball towards goal")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 lays the ball off to P1 who sends a rocket of a shot towards goal")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_GOAL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Goal!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the ball is smacked into the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 scores!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the ball flies straight past P2 and into the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("The ball flies past P2 and it's a goal!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 wheels away in celebration after a great goal sent the fans wild")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2's despairing dive can't keep P1's shot out and the ball is in the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("The dance ignites the fans, P1 celebrates in his own special fashion")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_MISSED:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 fired wide!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 should have squared the ball went alone and lashed wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Defender clears")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 curls ball over")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Defender back to block just as it seemed to open up")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 smacks into row Z")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the shot creeps just past the post")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_SAVE:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2's fingertips flicks it wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 forced to tip P1's shot over the crossbar")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Great pace shown by P1 to get to the ball first but P2 produced superb block tackle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Low shot taken well to his left by P2")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 makes a superb reflex save to tip wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 runs at P1 and blocks shot with ankle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Easy save for the goalkeeper")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Caught well by P2")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_START_MATCH:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("It's a crowd of AT here as the whistle blows")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("We're under way")));
|
||||
@ -135,55 +214,6 @@ lg_commentary_get_commentaries(gint event_type)
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Well that's that. It ends RE")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("RE, what an astonishing result for TW")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_GENERAL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 feeds the ball through to P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 threads a great ball to P1 ")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Lovely pass from P2 releases P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Long floating pass from P2 finds P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Good passing move across the pitch and down the right")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Quick passing move down the left")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 cross controlled by P1 who slips past his man")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Another decent move down the wing")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 latches onto P2's pass")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 needles ball through players and finds P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 controls it with his chest and passes to P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 heads the ball towards P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 twisting and turning again")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 rips through the midfield")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins past his marker")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_LOST_POSSESSION:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 wins the ball with a perfectly timed challenge")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Bad control by P2 lets P1 steal the ball off him")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 takes the ball away from P2 with a sliding tackle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Loose ball falls to P1")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_SCORING_CHANCE:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 charges towards goal and shoots!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins and shoots")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Long ball from P2 finds P1 at far post")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 can't quite get it under control but his miss kick heads toward goal")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 shoots from 22 yards looks like it's going wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 dribbles into the box, turns inside the defence and fires")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 cuts in from the left flank and shoots")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 tries his luck from 30 yards")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 arrows shot towards top left corner")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 shoots from close range")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Great ball from P2 sends P1 one on one with the goalkeeper")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1's overhead kick heads towards the top right hand corner")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 spins past two defenders, wrong foots the keeper and back heels the ball towards goal")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 lays the ball off to P1 who sends a rocket of a shot towards goal")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_GOAL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Goal!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the ball is smacked into the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 scores!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the ball flies straight past P2 and into the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("The ball flies past P2 and it's a goal!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 wheels away in celebration after a great goal sent the fans wild")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2's despairing dive can't keep P1's shot out and the ball is in the back of the net!!!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("The dance ignites the fans, P1 celebrates in his own special fashion")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_OWN_GOAL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Ohh no, the ball ricocheted off P1 into the net")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("It's a pinball in the penalty box, finally spinning off P1 across the line")));
|
||||
@ -196,15 +226,6 @@ lg_commentary_get_commentaries(gint event_type)
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Diving header by P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("He just floated in midair for ages then thunder heads it towards home")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_MISSED:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 fired wide!")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 should have squared the ball went alone and lashed wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Defender clears")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 curls ball over")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Defender back to block just as it seemed to open up")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 smacks into row Z")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the shot creeps just past the post")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_POST:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Sweet strike by P1, hits the post")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("And the shot glances wide off the post")));
|
||||
@ -215,16 +236,6 @@ lg_commentary_get_commentaries(gint event_type)
|
||||
g_ptr_array_add(commentaries, g_string_new(_("The ball smacks into the crossbar with P2 stranded")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 seemed to be everywhere at once, finally tipping the ball off the crossbar")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_SAVE:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2's fingertips flicks it wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 forced to tip P1's shot over the crossbar")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Great pace shown by P1 to get to the ball first but P2 produced superb block tackle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Low shot taken well to his left by P2")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 makes a superb reflex save to tip wide")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 runs at P1 and blocks shot with ankle")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Easy save for the goalkeeper")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Caught well by P2")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_PENALTY:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 steps up to take the penalty")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 has a chance to score with a penalty kick")));
|
||||
@ -240,17 +251,6 @@ lg_commentary_get_commentaries(gint event_type)
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Free kick: P1 hits a long ball up the pitch")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Free kick whipped across the face of goal by P1")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_FOUL:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Oww, nasty tackle on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Surely that's a sending off offence")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 knocks over P1 with a double footed lunge")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Crunching challenge on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P1 gets his legs taken away from him by P2")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Slicing challenge by P2 on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Vicious tackle from P2 leaves P1 lying on the floor in agony")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Ouch that's got to hurt")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("Extremely high boot from P2 sends P1 to the ground")));
|
||||
break;
|
||||
case LIVE_GAME_EVENT_FOUL_YELLOW:
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 for dangerous slide tackle on P1")));
|
||||
g_ptr_array_add(commentaries, g_string_new(_("P2 for foul on P1")));
|
||||
|
@ -48,6 +48,8 @@ live_game_calculate_fixture(Fixture *fix)
|
||||
stat2 = fixture_user_team_involved(fix);
|
||||
statp = match;
|
||||
|
||||
live_game_reset(match, fix, TRUE);
|
||||
|
||||
if(show)
|
||||
{
|
||||
cur_user = stat2;
|
||||
@ -59,7 +61,6 @@ live_game_calculate_fixture(Fixture *fix)
|
||||
window_live_set_spinbuttons();
|
||||
}
|
||||
|
||||
live_game_reset(match, fix, TRUE);
|
||||
game_initialize(fix);
|
||||
}
|
||||
else
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "xml_loadsave_cup.h"
|
||||
#include "xml_loadsave_league.h"
|
||||
#include "xml_loadsave_season_stats.h"
|
||||
#include "xml_loadsave_users.h"
|
||||
#include "xml_loadsave_transfers.h"
|
||||
#include "xml_loadsave_users.h"
|
||||
#include "xml.h"
|
||||
|
||||
#define PROGRESS_MAX 8
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "live_game.h"
|
||||
#include "main.h"
|
||||
#include "name_struct.h"
|
||||
#include "transfer_struct.h"
|
||||
#include "stat_struct.h"
|
||||
#include "transfer_struct.h"
|
||||
#include "variables.h"
|
||||
#include "window.h"
|
||||
|
||||
|
@ -1,9 +1,3 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "file.h"
|
||||
#include "options_callbacks.h"
|
||||
#include "options_interface.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "cup.h"
|
||||
#include "league.h"
|
||||
#include "file.h"
|
||||
#include "fixture.h"
|
||||
#include "free.h"
|
||||
#include "league.h"
|
||||
#include "misc.h"
|
||||
#include "option.h"
|
||||
#include "player.h"
|
||||
|
@ -4,6 +4,8 @@
|
||||
#include "game_gui.h"
|
||||
#include "gui.h"
|
||||
#include "interface.h"
|
||||
#include "league.h"
|
||||
#include "live_game.h"
|
||||
#include "main.h"
|
||||
#include "misc_interface.h"
|
||||
#include "misc2_interface.h"
|
||||
@ -314,7 +316,7 @@ window_create(gint window_type)
|
||||
popups_active++;
|
||||
window.live = create_window_live();
|
||||
}
|
||||
strcpy(buf, "Bygfoot Live game");
|
||||
strcpy(buf, league_cup_get_name_string(((LiveGame*)statp)->fix->clid));
|
||||
wind = window.live;
|
||||
window_live_set_spinbuttons();
|
||||
break;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "file.h"
|
||||
#include "stat.h"
|
||||
#include "misc.h"
|
||||
#include "stat.h"
|
||||
#include "team.h"
|
||||
#include "xml.h"
|
||||
#include "xml_loadsave_league_stat.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
<first_week>1</first_week>
|
||||
<week_gap>1</week_gap>
|
||||
<average_skill>6000</average_skill>
|
||||
<names_file>romania</names_file>
|
||||
|
||||
<prom_rel>
|
||||
<prom_rel_element>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<first_week>1</first_week>
|
||||
<week_gap>1</week_gap>
|
||||
<average_skill>5000</average_skill>
|
||||
<names_file>romania</names_file>
|
||||
|
||||
<prom_rel>
|
||||
<prom_rel_element>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<first_week>1</first_week>
|
||||
<week_gap>1</week_gap>
|
||||
<average_skill>4000</average_skill>
|
||||
<names_file>romania</names_file>
|
||||
|
||||
<prom_rel>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user