Commit Graph

94 Commits

Author SHA1 Message Date
Tom Stellard a31ea36c08 Cache some commonly used constants
All constants were stored in a g_datalist structure, which has very slow
lookups.  This was not ideally for constansts used during game play
which are accessed thousands of times.  Caching these values makes the
game simulations about 2 times faster.
2020-12-24 10:43:39 -08:00
gunnar_g ca195b5e51 Updated the default team implementation 2009-09-15 12:02:44 +00:00
gyboth 078b70a1ea Added debug logging. 2009-04-29 17:18:54 +00:00
gyboth 78fc4a8af7 Live game foul probabilities reworked. 2009-03-08 11:34:30 +00:00
gyboth dd7c288da9 Added won/lost/drawn display in match preview. 2009-02-21 16:43:53 +00:00
gyboth 526ce56d5d Newspaper progressing. 2008-12-01 20:39:16 +00:00
gyboth 669aca19fa Newspaper progressing. 2008-11-28 18:10:01 +00:00
gyboth 23cfbb3f0c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
gyboth 945c4d1093 Added league properties and changed league active status to property. 2008-11-24 11:16:36 +00:00
gyboth 63b1c060b3 Next opponent goalie values bug. 2008-11-06 10:13:36 +00:00
gyboth 102a92ffd1 Next opponent goalie values bug. 2008-11-06 10:06:58 +00:00
gyboth d987c18601 Next opponent goalie values bug. 2008-11-06 10:01:28 +00:00
gyboth 136b7a45c9 Next opponent goalie values bug. 2008-11-06 09:46:53 +00:00
gyboth 7b670240ab Transfers, star player balking. Ticket price constant adjusted. 2008-11-01 11:21:28 +00:00
gunnar_g 37a12baf55 The implmentation was flawed. Moved the code further down to the correct place and tweaked the formula 2008-10-31 14:00:48 +00:00
gunnar_g b2220b2c7e Ticket prices as set in the stadium screen are now used in the calculation of the income. When switching teams the ticket price is reset. 2008-10-30 22:05:20 +00:00
gunnar_g 98a6c44bb2 Changed the calculation for attendance based on the ticket_price the user selected 2008-10-29 17:27:16 +00:00
gyboth 7c4b3227fb Ticket income bug. 2008-05-04 15:36:30 +00:00
mrsmola f1775f7c5d changed the ticket income of cup matches without a second leg 2007-03-03 22:39:41 +00:00
gyboth 86aaeb8f99 "Cup round delay added." 2006-06-29 16:06:52 +00:00
gyboth 9cabaa9eb3 "Release 1.9.3" 2005-12-14 14:05:59 +00:00
gyboth d0c65d0bb3 Greece added, Brazil changed. 2005-12-04 16:41:25 +00:00
gyboth 15ad0cbb01 "Job exchange, first buggy draft with lots of debugging output." 2005-12-01 11:50:54 +00:00
gyboth 6f61b20f96 "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
gyboth 2e9476b04c "Minor changes." 2005-11-01 21:20:24 +00:00
gyboth b1c539abe0 "Betting improvements, opponent display in live game." 2005-10-28 09:11:33 +00:00
gyboth 79f1fea94e "Betting, first draft." 2005-10-27 21:10:15 +00:00
gyboth 3b23bb353f "CPU strategies, first draft." 2005-10-24 20:50:48 +00:00
gyboth 54ac5de383 Loadsave system slightly changed. 2005-10-21 13:45:58 +00:00
gyboth fa0b06f39d "Randomise teams option added." 2005-10-20 15:45:00 +00:00
gyboth 7f2c108686 "Bugfixes." 2005-10-15 16:49:04 +00:00
gyboth 6b176972bb "Cup talent diff bug fixed." 2005-10-13 08:52:33 +00:00
gyboth 53131dd2e9 "Switched most GStrings to gchar." 2005-10-09 09:35:44 +00:00
gyboth 3da4968337 Strength bar fixed. 2005-09-21 08:50:47 +00:00
gyboth 00ba7127c9 "Supernational league changes" 2005-09-19 21:13:36 +00:00
gyboth 6b4a11c8f1 "Player streaks first draft implemented." 2005-09-18 10:02:10 +00:00
gyboth bbf5ecec70 "Minor lg bugs." 2005-07-18 19:53:40 +00:00
gyboth 1292db317c "YA first draft." 2005-07-08 09:26:00 +00:00
gyboth 0942bc8965 "More goals by forwards." 2005-07-02 11:06:43 +00:00
gyboth 9e55218a2a "Live game commentary in xml files." 2005-06-26 11:42:01 +00:00
gyboth 24679ad5f2 "Bugfixes, add_week, supernational." 2005-06-23 21:53:57 +00:00
gyboth a0074cc159 "Supernational countries." 2005-06-22 17:44:33 +00:00
gyboth 1fe28d24ee "Attendance bug." 2005-06-20 14:24:54 +00:00
gyboth e777937956 "Sponsorship money." 2005-06-20 12:46:57 +00:00
gyboth 3650122f67 "Gettext stuff." 2005-06-18 14:45:29 +00:00
gyboth 64c34275b8 "Segfixes." 2005-06-17 12:57:05 +00:00
gyboth b9452bd02b "Segfixes." 2005-06-16 06:56:12 +00:00
gyboth 71f16667b2 "Profiling." 2005-06-04 20:22:22 +00:00
gyboth 26c15bb566 "Minor fixes." 2005-06-04 10:28:49 +00:00
gyboth c8642bc8b3 "Minor bug fixed." 2005-05-28 10:41:53 +00:00