1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-02-11 09:00:36 +01:00

"Release 1.9.2."

This commit is contained in:
gyboth 2005-10-16 09:23:04 +00:00
parent 7f2c108686
commit d4e55dc684
22 changed files with 64 additions and 131 deletions

24
AUTHORS
View File

@ -1,18 +1,24 @@
Bygfoot Football Manager Bygfoot Football Manager
AUTHORS: Gyozo Both (gyboth@bygfoot.com), AUTHOR: Gyozo Both (gyboth@bygfoot.com)
Arnaud Le Rouzic (arnaudus@bygfoot.com) http://bygfoot.sourceforge.net
http://www.bygfoot.com
Homepage designer: Homepage designer:
Jose Geraldo Gouvea (Brazil) Jose Geraldo Gouvea (Brazil)
Icons:
Mark Symonds (Australia)
Windows port:
Simon Binns (Australia)
Patches and ideas:
Mark Calderbank (England), Michal Rudolf (Poland)
Country file contributors: Country file contributors:
- England: Tom Chance See Help -> Contributors.
- Romania: Cristian Spoiala
- Brazil: Jose Geraldo Gouvea Translators:
- Poland: Michal Rudolf See Help -> Contributors.
- Mexico: Arturo Mendez
- Italy: Marco Fabbri
Debian maintainer: Debian maintainer:
Isaac Clerencia (Spain) Isaac Clerencia (Spain)

View File

@ -1,4 +1,4 @@
10/10/2005: v1.9.2 10/16/2005: v1.9.2
- fixed some minor bugs - fixed some minor bugs
- updated translations - updated translations
- added Spanish and Chinese translations - added Spanish and Chinese translations
@ -10,7 +10,7 @@
- window geometry can be saved - window geometry can be saved
- boost and style change 'on the fly' during live games - boost and style change 'on the fly' during live games
- added season results view (Figures -> Season results) - added season results view (Figures -> Season results)
- added command line options
09/10/2005: v1.9.1 09/10/2005: v1.9.1
- updated German and Dutch translations - updated German and Dutch translations

File diff suppressed because one or more lines are too long

45
README
View File

@ -1,39 +1,36 @@
Bygfoot Football Manager VERSION Bygfoot Football Manager UNKNOWN_VERSION
AUTHORS: Gyozo Both (gyboth@bygfoot.com), AUTHOR: Gyozo Both (gyboth@bygfoot.com)
Arnaud Le Rouzic (arnaudus@bygfoot.com) http://bygfoot.sourceforge.net
http://www.bygfoot.com
DESCRIPTION DESCRIPTION
Bygfoot is a small and simple graphical football (a.k.a. soccer) Bygfoot is a small and simple graphical football (a.k.a. soccer) manager game
manager game featuring many international leagues and cups. You manage featuring many international leagues and cups. You manage a team from one such
a team from one such league: you form the team, buy and sell players, league: you form the team, buy and sell players, get promoted or relegated and
get promoted or relegated and of course try to be successful. of course try to be successful.
INSTALLATION AND UPDATE INSTALLATION AND UPDATE
See INSTALL for instructions on how to install Bygfoot. See INSTALL for instructions on how to install Bygfoot.
If you use the source package (bygfoot-X.Y.Z.tar.bz2), have a look at Have a look at UPDATE for instructions on how to keep your Bygfoot version
UPDATE for instructions on how to keep your Bygfoot version up-to-date up-to-date easily.
without having to download new packages manually.
BUG REPORTS AND PRAISE BUG REPORTS AND PRAISE
If you like the game and have suggestions on how to improve it (keep If you like the game and have suggestions on how to improve it (keep in mind
in mind that the game is kept simple on purpose, so don't suggest that the game is kept simple on purpose, so don't suggest something like 'each
something like 'each player should have separate skill-values for player should have separate skill-values for their right and left foot and you
their right and left foot and you should add the colour of their eye, should add the colour of their eye, too') or find bugs, write me to the above
too') or find bugs, write me to the above address or submit a report address or submit a report on the website. You should describe the
on the website. You should describe the circumstances of the occurence circumstances of the occurence of the bug and whether you can reproduce it or
of the bug and whether you can reproduce it or not. If there's an not. If there's an output, attaching it (unless it's a simple, hateful,
output, attaching it (unless it's a simple, hateful, embarrassing embarrassing segfault) might be helpful, too. If it's reproducible, it'd be
segfault) might be helpful, too. If it's reproducible, it'd be very very helpful to attach a savegame.
helpful to attach a savegame.
Another way you can contribute to Bygfoot is to write a country file or edit Another way you can contribute to Bygfoot is to write a country file and send
a team and send me the result. See the CUSTOMIZATION section in the Bygfoot me the result. See the forums at http://bygfoot.sourceforge.net/forum on help
'Help' and the documentation at www.bygfoot.com. and advice.

24
TODO
View File

@ -1,20 +1,6 @@
gyözö Bygfoot Football Manager
AUTHOR: Gyozo Both (gyboth@bygfoot.com)
http://bygfoot.sourceforge.net
working on: generating the fixtures at the beginning of a season. See this forum at the homepage:
http://bygfoot.sourceforge.net/phpBB2/viewforum.php?f=3
current tasks:
implement a function 'file_check_home_dir' in file.c that checks whether
the files and directories that should be in the user's home dir are there;
if not, they get created/copied.
list of dirs:
$HOME/.bygfoot
$HOME/.bygfoot/saves
$HOME/.bygfoot/definitions
$HOME/.bygfoot/names
list of files:
$HOME/.bygfoot/definitions/{any xml files found in the support_files/definitions directory}
$HOME/.bygfoot/names/{any files found in the support_files/names directory}
the function should get called in main_init in main.c.

48
UPDATE
View File

@ -1,41 +1,25 @@
Bygfoot Football Manager Bygfoot Football Manager
AUTHOR: Gyozo Both (gyboth@bygfoot.com) AUTHOR: Gyozo Both (gyboth@bygfoot.com)
http://www.bygfoot.com http://bygfoot.sourceforge.net
As of versions 1.6.1 and 1.7.1 there's an online update script called The bygfoot-update script is located in the 'b-u' directory of the source
'bygfoot-update' for the source package, located in the directory with package (1.8 branch) or in the build directory (1.9 branch). After installing
the configure script. In theory, users using the source package with 'make install' it will also be copied to PREFIX/bin, PREFIX mostly being
shouldn't have to download new versions anymore, they can simply use /usr/local.
the update script to keep their version up-to-date.
Type bygfoot-update -h (or --help) to see the options the script The RPM package installs the script to /usr/bin.
accepts.
You need an internet connection and the programs sed, tar, bzip2, wget For the binary package, the script is located in the bygfoot-X.Y.Z-binary
and patch to be able to use the script. If you have these, do the directory.
following:
1. Connect to the internet. Call the script with the '-h' or '--help' switch to see command line options.
2. Call 'bygfoot-update'.
3. Enter the directory of your source package (default is PWD).
4. Enter a temp directory you have read/write access to (default is
'/tmp').
Now the script tries to find out your revision number and package type You can use the script to
(stable/unstable) from the file 'revision_number' in the package
directory. Then it retrieves a list of available revision patches from
the Bygfoot homepage and asks you whether to apply those which are
new.
You can also use the script to download (or update) the official team names - keep your source package up-to-date using patches
and some edited teams (i.e. with real player names) which were removed from - download new releases
the official packages since 1.7.2 and 1.6.2. To do so, call the script with - download official country file names (1.8 branch)
'bygfoot-update -c'. - get a CVS version.
There's a GUI frontend for the script. You can invoke it by calling Bygfoot If you have trouble or questions, email me or post at the forums:
with the '-u' option or by clicking on 'File -> Start Bygfoot Online Update' http://bygfoot.sourceforge.net/phpBB2/index.php
in the game.
I hope this will work well. The idea is great (isn't it?) but I don't
have a lot of experience with such things. If you find a bug, contact
me.

View File

@ -10,7 +10,7 @@
# using wget to retrieve patches from the homepage # using wget to retrieve patches from the homepage
# version number # version number
version="1.9.1.1" version="1.9.2"
# the bygfoot release version the script is shipped with # the bygfoot release version the script is shipped with
relversion=UNKNOWN_VERSION relversion=UNKNOWN_VERSION
# the current release version on the server # the current release version on the server

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -18,7 +18,7 @@
#define VERS "1.9.2" #define VERS "1.9.2"
/** Home dir name */ /** Home dir name */
#define HOMEDIRNAME ".bygfoot-cvs" #define HOMEDIRNAME ".bygfoot-1.9"
/** /**
* Convenience macros, used for string sizes (typically buf[SMALL]). * Convenience macros, used for string sizes (typically buf[SMALL]).

View File

@ -25,15 +25,6 @@ callback_show_next_live_game(void)
{ {
gint i, j; gint i, j;
/*d*/
/* if(debug > 0) */
/* for(i=0;i<current_user.tm->players->len;i++) */
/* printf("wee %-25s st %d cnt %f pro %.3f\n", */
/* g_array_index(current_user.tm->players, Player, i).name->str, */
/* g_array_index(current_user.tm->players, Player, i).streak, */
/* g_array_index(current_user.tm->players, Player, i).streak_count, */
/* g_array_index(current_user.tm->players, Player, i).streak_prob); */
for(i=0;i<users->len;i++) for(i=0;i<users->len;i++)
usr(i).counters[COUNT_USER_TOOK_TURN] = 0; usr(i).counters[COUNT_USER_TOOK_TURN] = 0;

View File

@ -4,9 +4,6 @@
#include "user.h" #include "user.h"
#include "variables.h" #include "variables.h"
/*d*/
#include "league.h"
/** /**
Free all memory allocated by the program. Free all memory allocated by the program.
This mainly means we have to free a lot of strings This mainly means we have to free a lot of strings

View File

@ -102,7 +102,4 @@ free_names(gboolean reset);
void void
free_mmatches(GArray **mmatches, gboolean reset); free_mmatches(GArray **mmatches, gboolean reset);
void
free_ptr(gpointer *ptr);
#endif #endif

View File

@ -998,11 +998,6 @@ player_update_streak(Player *pl)
const_float("float_player_streak_prob_zero"), const_float("float_player_streak_prob_zero"),
streak_prob_add = const_float("float_player_streak_prob_zero"); streak_prob_add = const_float("float_player_streak_prob_zero");
/*d*/
/* if(debug > 0) */
/* printf("upd %-25s streak %d count %.1f prob %.3f\n", */
/* pl->name->str, pl->streak, pl->streak_count, pl->streak_prob); */
/** Player streak is locked. */ /** Player streak is locked. */
if(pl->streak_count < 0) if(pl->streak_count < 0)
{ {
@ -1054,11 +1049,6 @@ player_update_streak(Player *pl)
{ {
pl->streak = PLAYER_STREAK_HOT; pl->streak = PLAYER_STREAK_HOT;
pl->streak_count = streak_length; pl->streak_count = streak_length;
/*d*/
/* if(debug > 0) */
/* printf("**** %s HOT length %.1f prob %.2f\n", */
/* pl->name->str, pl->streak_count, pl->streak_prob); */
} }
else if(streak_type > pl->streak_prob && else if(streak_type > pl->streak_prob &&
((pl->streak_prob > 0 && ((pl->streak_prob > 0 &&
@ -1068,11 +1058,6 @@ player_update_streak(Player *pl)
{ {
pl->streak = PLAYER_STREAK_COLD; pl->streak = PLAYER_STREAK_COLD;
pl->streak_count = streak_length; pl->streak_count = streak_length;
/*d*/
/* if(debug > 0) */
/* printf("**** %s COLD length %.1f prob %.2f\n", */
/* pl->name->str, pl->streak_count, pl->streak_prob); */
} }
} }
@ -1382,11 +1367,6 @@ player_streak_add_to_prob(Player *pl, gfloat add)
pl->streak_prob += add; pl->streak_prob += add;
pl->streak_prob = CLAMP(pl->streak_prob, -1, 1); pl->streak_prob = CLAMP(pl->streak_prob, -1, 1);
/*d*/
/* if(debug > 0) */
/* printf("addto %-25s st %d cnt %.1f pro %.3f\n", */
/* pl->name->str, pl->streak, pl->streak_count, */
/* pl->streak_prob); */
} }
/** Find out whether a player is in the youth academy. */ /** Find out whether a player is in the youth academy. */

View File

@ -49,7 +49,7 @@ xml_loadsave_live_game_start_element (GMarkupParseContext *context,
const gchar **attribute_names, const gchar **attribute_names,
const gchar **attribute_values, const gchar **attribute_values,
gpointer user_data, gpointer user_data,
GError **error) GError **error)
{ {
gint i; gint i;
gint tag = xml_get_tag_from_name(element_name); gint tag = xml_get_tag_from_name(element_name);

View File

@ -115,11 +115,6 @@ string_treeview_opponent_skill_negative_fg darkgreen
string_treeview_opponent_match_later_bg khaki string_treeview_opponent_match_later_bg khaki
string_treeview_opponent_match_later_fg black string_treeview_opponent_match_later_fg black
#***
# background of the home column in the league results
string_treeview_league_results_away_bg white
string_treeview_league_results_away_fg black
# foreground of own team bar in the opponent preview # foreground of own team bar in the opponent preview
string_treeview_opponent_value_colour_fg darkgreen string_treeview_opponent_value_colour_fg darkgreen