"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
AUTHORS: Gyozo Both (gyboth@bygfoot.com),
Arnaud Le Rouzic (arnaudus@bygfoot.com)
http://www.bygfoot.com
AUTHOR: Gyozo Both (gyboth@bygfoot.com)
http://bygfoot.sourceforge.net
Homepage designer:
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:
- England: Tom Chance
- Romania: Cristian Spoiala
- Brazil: Jose Geraldo Gouvea
- Poland: Michal Rudolf
- Mexico: Arturo Mendez
- Italy: Marco Fabbri
See Help -> Contributors.
Translators:
See Help -> Contributors.
Debian maintainer:
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
- updated translations
- added Spanish and Chinese translations
@ -10,7 +10,7 @@
- window geometry can be saved
- boost and style change 'on the fly' during live games
- added season results view (Figures -> Season results)
- added command line options
09/10/2005: v1.9.1
- 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
AUTHORS: Gyozo Both (gyboth@bygfoot.com),
Arnaud Le Rouzic (arnaudus@bygfoot.com)
http://www.bygfoot.com
Bygfoot Football Manager UNKNOWN_VERSION
AUTHOR: Gyozo Both (gyboth@bygfoot.com)
http://bygfoot.sourceforge.net
DESCRIPTION
Bygfoot is a small and simple graphical football (a.k.a. soccer)
manager game featuring many international leagues and cups. You manage
a team from one such league: you form the team, buy and sell players,
get promoted or relegated and of course try to be successful.
Bygfoot is a small and simple graphical football (a.k.a. soccer) manager game
featuring many international leagues and cups. You manage a team from one such
league: you form the team, buy and sell players, get promoted or relegated and
of course try to be successful.
INSTALLATION AND UPDATE
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
UPDATE for instructions on how to keep your Bygfoot version up-to-date
without having to download new packages manually.
Have a look at UPDATE for instructions on how to keep your Bygfoot version
up-to-date easily.
BUG REPORTS AND PRAISE
If you like the game and have suggestions on how to improve it (keep
in mind that the game is kept simple on purpose, so don't suggest
something like 'each player should have separate skill-values for
their right and left foot and you should add the colour of their eye,
too') or find bugs, write me to the above address or submit a report
on the website. You should describe the circumstances of the occurence
of the bug and whether you can reproduce it or not. If there's an
output, attaching it (unless it's a simple, hateful, embarrassing
segfault) might be helpful, too. If it's reproducible, it'd be very
helpful to attach a savegame.
If you like the game and have suggestions on how to improve it (keep in mind
that the game is kept simple on purpose, so don't suggest something like 'each
player should have separate skill-values for their right and left foot and you
should add the colour of their eye, too') or find bugs, write me to the above
address or submit a report on the website. You should describe the
circumstances of the occurence of the bug and whether you can reproduce it or
not. If there's an output, attaching it (unless it's a simple, hateful,
embarrassing segfault) might be helpful, too. If it's reproducible, it'd be
very helpful to attach a savegame.
Another way you can contribute to Bygfoot is to write a country file or edit
a team and send me the result. See the CUSTOMIZATION section in the Bygfoot
'Help' and the documentation at www.bygfoot.com.
Another way you can contribute to Bygfoot is to write a country file and send
me the result. See the forums at http://bygfoot.sourceforge.net/forum on help
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.
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.
See this forum at the homepage:
http://bygfoot.sourceforge.net/phpBB2/viewforum.php?f=3

48
UPDATE
View File

@ -1,41 +1,25 @@
Bygfoot Football Manager
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
'bygfoot-update' for the source package, located in the directory with
the configure script. In theory, users using the source package
shouldn't have to download new versions anymore, they can simply use
the update script to keep their version up-to-date.
The bygfoot-update script is located in the 'b-u' directory of the source
package (1.8 branch) or in the build directory (1.9 branch). After installing
with 'make install' it will also be copied to PREFIX/bin, PREFIX mostly being
/usr/local.
Type bygfoot-update -h (or --help) to see the options the script
accepts.
The RPM package installs the script to /usr/bin.
You need an internet connection and the programs sed, tar, bzip2, wget
and patch to be able to use the script. If you have these, do the
following:
For the binary package, the script is located in the bygfoot-X.Y.Z-binary
directory.
1. Connect to the internet.
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').
Call the script with the '-h' or '--help' switch to see command line options.
Now the script tries to find out your revision number and package type
(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 use the script to
You can also use the script to download (or update) the official team names
and some edited teams (i.e. with real player names) which were removed from
the official packages since 1.7.2 and 1.6.2. To do so, call the script with
'bygfoot-update -c'.
- keep your source package up-to-date using patches
- download new releases
- download official country file names (1.8 branch)
- get a CVS version.
There's a GUI frontend for the script. You can invoke it by calling Bygfoot
with the '-u' option or by clicking on 'File -> Start Bygfoot Online Update'
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.
If you have trouble or questions, email me or post at the forums:
http://bygfoot.sourceforge.net/phpBB2/index.php

View File

@ -10,7 +10,7 @@
# using wget to retrieve patches from the homepage
# version number
version="1.9.1.1"
version="1.9.2"
# the bygfoot release version the script is shipped with
relversion=UNKNOWN_VERSION
# 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"
/** Home dir name */
#define HOMEDIRNAME ".bygfoot-cvs"
#define HOMEDIRNAME ".bygfoot-1.9"
/**
* Convenience macros, used for string sizes (typically buf[SMALL]).

View File

@ -25,15 +25,6 @@ callback_show_next_live_game(void)
{
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++)
usr(i).counters[COUNT_USER_TOOK_TURN] = 0;

View File

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

View File

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

View File

@ -998,11 +998,6 @@ player_update_streak(Player *pl)
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. */
if(pl->streak_count < 0)
{
@ -1054,11 +1049,6 @@ player_update_streak(Player *pl)
{
pl->streak = PLAYER_STREAK_HOT;
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 &&
((pl->streak_prob > 0 &&
@ -1068,11 +1058,6 @@ player_update_streak(Player *pl)
{
pl->streak = PLAYER_STREAK_COLD;
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 = 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. */

View File

@ -49,7 +49,7 @@ xml_loadsave_live_game_start_element (GMarkupParseContext *context,
const gchar **attribute_names,
const gchar **attribute_values,
gpointer user_data,
GError **error)
GError **error)
{
gint i;
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_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
string_treeview_opponent_value_colour_fg darkgreen