You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(15) |
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(3) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: Stefan F. <ste...@we...> - 2012-09-17 18:17:37
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.9/ Contributors: Stefan Frey Bugs reported by Arne Österlund Lists of bugs fixed: - List of recent files does not work with few entries - 1830 Coalfields (and others with obsolete trains): Obsolete Trains in Pool should rust (previously they stayed forever) |
From: Stefan F. <ste...@we...> - 2012-07-23 15:11:20
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.8/ Contributors: Erik Vos, Stefan Frey Bugs reported by Martin Brumm, John David Galt Lists of bugs fixed: - All Games: Update "PD" label in GameStatus lower player names panel - 1835 (and others with NoMapMode): Cannot save game file with ClosePrivate action |
From: Stefan F. <ste...@we...> - 2012-06-15 15:52:35
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.7/ Contributors: Erik Vos, Stefan Frey Bug reported by Are-Harald Brenne, John David Galt New: - Added little fun variant 18Lummer Lists of bugs fixed: - Errors in UI after adding a comment at game start - Fixed failure on reloading a just started game - 1835: Manual close of Pfalzbahn is possible (to enable closing after token lay only) - 1835 (and others): Fixed UI issues with token relays on OO-tiles |
From: Stefan F. <ste...@we...> - 2012-06-04 17:03:32
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.6/ Contributors: Erik Vos Bug reported by Antonio Baracca 1856: Allowing selling a share just bought by the president. (According to Steve Thomas rule clarification). |
From: Stefan F. <ste...@we...> - 2012-05-30 11:21:49
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.5/ Contributors: Erik Vos, Stefan Frey Bugs reported by John David Galt, Mike Bourke, Phil Davies New: 1856: Alternate Trains variant added 1856: Alternate Destinations variant added (not fully implemented yet) List of bugs fixed: Phase extra info is reported in report window (e.g. Civil War in 18TN) Tokens on map are updated after undo/redo Fixed non-modal dialog bug during loading game 1835: preventing selling double non-president shares in parts. 1835: fixed 1835 hex distance calculation bug |
From: Stefan F. <ste...@we...> - 2012-05-08 17:30:29
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.4/ This release fixes several recent bugs. Contributors: Erik Vos, Stefan Frey Bugs reported by James Romano, Mike Bourke, Volker Schnell List of bugs fixed: - 18EU Hamburg red-to-red bonus calculation incorrect - Fixed exception in Map panel scrolling - In 1835 Companies with a fixed start price postpone laying the current price token until floating time. |
From: Stefan B. <bl...@gm...> - 2012-04-12 12:20:09
|
thanks for the great work. It is getting to a point where it's really usable over the net soon! A repeatable error: 1835 first building round: Bayern puts a tile on it's own station field, then forgets to click 'lay tile', then puts a little curve to the field on the left. When now trying to lay it's home tile second, the program crashes completely, and can't even be saved any more. cheers! Stefan On Thu, Apr 12, 2012 at 12:51, Stefan Frey <ste...@we...> wrote: > A new maintenance release for Rails 1.x series > > Downloads are available at http://rails.sourceforge.net/ or by the > direct link http://sourceforge.net/projects/rails/files/Rails/1.7.3/ > > This release fixes several recent bugs. > > Contributors: Erik Vos, Martin Brumm, Stefan Frey > > Bugs reported by Arne Osterlund, John David Galt, Volker Schnell > > List of bugs fixed: > - Fixed UI bug in 18EU: Missing text on DeclineToBid button > - Fixed bug with picture id (which prevented displaying Goderich -939 tile) > - Fixed wrong behavior of train obsoleting in 1830 Variants (Coalfield > and Reading) > - Added text in report window about train rusting and obsoleting > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Rails-announce mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-announce -- Dr. Stefan Bleeck Institute of Sound and Vibration Research Faculty of Engineering & the Environment University of Southampton, SO17 1BJ, UK Room 4093, Tizard building (13) bl...@gm... Tel.: 02380 596682 |
From: Stefan F. <ste...@we...> - 2012-04-12 11:51:26
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.3/ This release fixes several recent bugs. Contributors: Erik Vos, Martin Brumm, Stefan Frey Bugs reported by Arne Osterlund, John David Galt, Volker Schnell List of bugs fixed: - Fixed UI bug in 18EU: Missing text on DeclineToBid button - Fixed bug with picture id (which prevented displaying Goderich -939 tile) - Fixed wrong behavior of train obsoleting in 1830 Variants (Coalfield and Reading) - Added text in report window about train rusting and obsoleting |
From: Stefan F. <ste...@we...> - 2012-04-04 17:01:27
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.2/ Remark: Unfortunately sourceforge is slow today, so please be patient until the new release is available. This (quick) release fixes a critical error that could prevent Rails to start after changing the configuration settings on Windows systems. Contributors: Erik Vos, Stefan Frey Bugs reported by John David Galt, Phil Davies Bugs fixed: - Fixed error in creation of new profiles on Windows OS systems - Made configuration system more robust against corrupted/misconfigured profiles - Fixed missing options after "Destinations reached" dialogue without any selection |
From: Stefan F. <ste...@we...> - 2012-04-03 10:26:11
|
A new maintenance release for Rails 1.x series Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.1/ This release fixes several recent bugs. Contributors: Erik Vos, Martin Brumm, Stefan Frey Bugs reported by John David Galt, Volker Schnell, Mike Bourke, Arne Östlund, Jerry Anderson (I hope I forgot to list no one). A few minor improvements to the rails setup: - An (initial) configuration profile for face-to-face/hotseat play is added ("hotseat"): Activates autosave and changes filename pattern suggested for save. - Windows settings (including docking settings if activated) and autosave backup are stored in the centralized rails configuraton folder. Thus from this release on those settings should survive upgrades to new releases. List of bugs fixed: - Typo in manifest that caused image errors in some background maps - 18EU: Not possible to lay home token for companies started outside of current network. - 1856, 18EU, 1830 Coalfield and others: Fixed wrong calculation for routes for Goderich tile, red off-board run-through (-939) - 18Kaas: Enables unlimited D-trains option - 1835: Fixed wrong total player worth calculation - 1835: Fixed wrong revenue calculation with respect to Elsas/Alsace outside of green phase |
From: Stefan F. <ste...@we...> - 2012-03-06 14:56:23
|
A new release for the Rails 1.x branch. Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.7.0/ This release celebrates many improvements to the UI due to the work of Frederick Weld. Contributors: Erik Vos, Frederick Weld, Martin Brumm, Stefan Frey Includes all previously reported bug fixes of the 1.6.x branch. Please be aware that this release contains many changes, so bugs are more likely. Any feedback is welcome. Many of the included changes are NOT activated by default: Either switch them off using the configuration dialog or use one of the new predefined profiles: prettyUI --> all UI changes except docking activated ORdocking --> only activates the docking framework (currently only available for the OR window) Note: To show a background map, the option has to be switched on in Configuration => Map/Report => Display background map. Background maps are only available for 1856, 1889, 18EU, 18GA (incl. Cotton Port) and 18AL so far. The following are the major changes by topic: General UI improvements: * Interactive highlighting of hexes * Enhanced highlighting of active table cells during Operating Round * Adaptive rendering of token labels * Lay Tile: Invalid tile lays are displayed (incl. the reason for not being valid) * Support for icons * Splash screen with improvement startup behavior Added UI options: * Map / Zoom Fit Option: Fit-to-window and more * Map / Display Routes of Active Company * Map / Highlight company locations * Appearance / Display borders in grid layout * Windows / Flexible panels for operating round: Applies a docking framework to Operating Round Window Added Music/Sound Effects options (mp3 only): * Music: Background music can be specified per round-type and phase * Sound Effects: Sound effects can be associated to more than 20 game events * Includes support of "intelligent" effects (eg., revenue sound as in RailroadTycoon1) * No music/sound files are provided by Rails Rails configuration: * Added support for OS dependent centralized rails file storage (UNIX: ~/rails, Windows: %APPDIR, MacOS: ~/Library/Preferences/net.sourceforge.rails) * New configuration profile system based on profile hierachy * Several predefined profiles can be distributed Further changes: * Added StatusWindow File menu action to dump the (transposed) contents into a csv file * Several changes to use non-modal dialogs * Several updates to 1880 development * Added user-friendly network info including keyboard shortcut * Added highlighting of private companies' hexes triggered by mouse-over * Added invalid tile lays to upgrade panel (grayed out & reason) * Added option to play 1856 as a 2-player game. Further bug fixes: * Fix for 1835 bug: BY presidency not transferred during start round. * Always address the company president when a home token must be relaid. * Fixed 'Load Recent' by running it in a separate thread. * Fixed the glitch of initially displaying map images in the wrong scale * Fixed 1856 background map's mini-map (Windsor area) * Added precise sizing and positioning of token labels |
From: Stefan F. <ste...@we...> - 2012-02-07 11:48:41
|
A bug release for the 1.6.x branch. Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.6.3/ This release fixes one sole bug: 1856: Errors with late-game dit upgrade/downgrade - ID: 3485172 The bug effects all versions since (at least) Rails 1.5.1. Thanks to Bill Rosgen for fixing the bug and Aliza Panitz for reporting. |
From: Stefan F. <ste...@we...> - 2012-02-01 12:38:12
|
A bug release for the 1.6.x branch. Downloads are available at http://rails.sourceforge.net/ or by the direct link http://sourceforge.net/projects/rails/files/Rails/1.6.2/ This release fixes one sole bug: It was not possible to sell a single President share. Ongoing and new games should update. The bug effects all versions since Rails 1.5.2. Thanks to Erik Vos for fixing the bug and Bill Probst for reporting. |
From: Stefan F. <ste...@we...> - 2012-01-30 12:59:40
|
A maintenance release for the 1.6.x branch. An update is strongly recommended especially for new games, as otherwise the game options can be wrong (see below). Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.6.1/ Thanks to all contributors: Frederick Weld, Erik Vos and to those who reported Bugs: Bill Probst. List of bugs fixed and further changes: - Enforced that the DynamicReportWindow stays on top during time warp - Added background map for 1889 (courtesy of Frederick Weld) - Fixed autosave functionality (handling of 18xx_autosave.xxx files) - Fixed retrieval of default game options (if options pane was not opened) - Fixed 1856 background map's mini-map (Windsor area) - Enforce selling over-limit shares first - Fixed wrong price of 6 train (630 => 600) in 18TN Note: To show a background map, the option has to be switched on in Configuration => Map/Report => Display background map. Background maps are only available for 1856, 1889, 18EU, 18GA (incl. Cotton Port) and 18AL so far. |
From: Stefan F. <ste...@we...> - 2011-12-23 10:57:16
|
This release celebrates that 1835 is declared fully playable. Warning this release might not work with existing save files (see below). Contributors: Martin Brumm, Stefan Frey, Erik Vos, Frederick Weld List of bugs fixed and further changes: - 18EU: Fixed that share price could raise at the end of the merger round - 1825: Update to Minors - Background map: Fixed glitches at 18GA display - All games: Fixes to make entering special tile lays more efficient WARNING: The last fix might make existing save files unloadable. Note: To show a background map, the option has to be switched on in Configuration => Map/Report => Display background map. Background maps are only available for 1856, 18EU, 18GA (incl. Cotton Port) and 18AL so far. |
From: Stefan F. <ste...@we...> - 2011-11-30 22:33:49
|
A new bug-fix release 1.5.4 for Rails is available. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5.4/ Thanks to all contributors (Erik Vos, Stefan Frey) and those who reported bugs (Thomas Wall Hannaford, Hildebrand Tigelaar, John David Galt). List of bugs fixed: - 18AL, 18Kaas, (1870): Green tile #25 was not upgradeable to #45 and #46 - 18AL (and others?): The registration of buying one train to prevent any further buys was not undoable. - 18AL: Background map for 18AL included (thanks to John David Galt for his permission) - 1835: allow dumped president's share to be exchanged against a 20% share. - 1835: BA home token is now laid in its first OR. - 1835: Fixed PR train discarding bugs. - 18EU, 18GA: Background map could not be displayed in previous released versions, this is fixed. - All games (required for 1835): Added tooltips to Game Status share fields to display portfolio composition. - All games: Fixed offering special token lays where that is not actually allowed. WARNING: The last fix might make existing save files unloadable. Note: To show a background map, the option has to be switched on in Configuration => Map/Report => Display background map. Background maps are only available for 18EU, 18GA and 18AL so far. |
From: Stefan F. <ste...@we...> - 2011-11-11 17:43:25
|
A new bug-fix release 1.5.3 for Rails is available. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5.3/ Thanks to all contributors: Bill Rosgen, Peter Mumford and Erik Vos. Stefan Frey List of Changes: - Critical bug fixed: Game stops in auction phase after a player can only pass (18EU and other games) - Fixed zooming bug allows usage of background maps (18EU and 18GA only) - Added background map for 18GA supplied by Peter Mumford (thanks!) Note: To show a background map, the option has to be switched on in Configuration => Map/Report => Display background map. Background maps are only available for 18EU and 18GA so far. |
From: Stefan F. <ste...@we...> - 2011-11-04 13:50:46
|
A new bug-fix release 1.5.2 for Rails is available. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5.2/ It should fix all known bugs for 1830 Coalfields, 1835, 18EU, 18GA and 18TN. Stefan Detailed list of fixes: - Fixed wrong revenue value (20) of NW city on tile -803 (1835 Hamburg) - Fixed 1835 bug: Hangs in first OR if Start Packet not sold. - Fixed 1835 bug: Crash in final PR formation round. - Removed pop-ups for forced passes during start-round. - Fixed 18GA stock market value of square M3 from 100 to 190 - Fixed 18GA: missing cost of hex J10 - Fixed 18TN grey tile being not available due to error in phase definition - Fix: Buying Coalfields right is now refused if the company does not have enough cash. - 18EU: fixed wrong train limit step from phase 5. - Trainlist field now auto-wraps - Fixed display of operating companies in networkinfo menu |
From: Stefan F. <ste...@we...> - 2011-10-10 09:39:52
|
A new bug-fix release 1.5.1 for Rails is available. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5.1/ It contains: - Fix to allow laying THB home token if track exists (1856). - Fix bug that disallows selling a share after buying one in some cases. - Fixed positioning bug of base tokens on corner-facing cities. - Fix of revenue calculation: Changed Montgomery and Tallahassee to major scoring locations (18GA). Stefan |
From: Stefan F. <ste...@we...> - 2011-09-24 15:38:27
|
--- Corrected files are uploaded to sourceforge --- I'm pleased to announce the general availability of the latest version of Rails, version 1.5. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5/ Some release highlights: * 18GA fully supported * 18TN fully supported * Full support for 1830 Coalfield rights and revenue calculation * Fixed all known bugs in 1830 variants A full list of changes on the wiki: https://sourceforge.net/apps/mediawiki/rails/index.php?title=Change_Log#Version_1.5 Stefan |
From: Stefan F. <ste...@we...> - 2011-09-23 11:42:17
|
Unfortunately I have deleted a required lib from the release to reduce the total file size to cut down the upload time. The old files have been withdrawn, new files will be available only tomorrow, as I am currently away from home. Sorry for another delay... Stefan |
From: Stefan F. <ste...@we...> - 2011-09-23 08:59:10
|
I'm pleased to announce the general availability of the latest version of Rails, version 1.5. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.5/ Some release highlights: * 18GA fully supported * 18TN fully supported * Full support for 1830 Coalfield rights and revenue calculation * Fixed all known bugs in 1830 variants A full list of changes on the wiki: https://sourceforge.net/apps/mediawiki/rails/index.php?title=Change_Log#Version_1.5 Stefan |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:46
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The annotated tag, v1.4.2 has been created at 5885881b2a7b95c63f56783ba1569ff0b4542ed2 (tag) tagging ad56b86c08cc0255b85d6db67fb47e8656364f48 (commit) tagged by Brett Lentz on Sun Jul 17 12:25:17 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.4.2 Brett Lentz (267): initial checkin This commit was generated by cvs2svn to compensate for changes in r6, which Removing files that were accidentally uploaded. Convert arrays to ArrayLists Adding Erik Vos' changes Adding framework for test cases Test structure for stock market UI Object Model from Stewart Thain Updated obect model from Stewart Thain Test class for swing-based stock chart UI Added test for displaying test stockchart swing class Merging Erik Vos' updates Adding Iain Adams' DOM libraries Minor tweaks More testing out Swing Rudimentary chit definitions Merging Erik Vos' updates Added explicit licensing information New UI Tests Merging update from Erik Vos Merged updates Fixed formatting Merging updates from Erik Vos Merging Iain Adams' changes. Merging Iain Adams' Changes Merging Iain Adams' changes Updated StockChart to use data from game/StockChart Merging updates Merging Iain Adams' files. Stockmarket now does color! StockChart does colors! Fixed Stock Chart to display correct values Bug Fixes. Market should display 100% correctly now. Changed color from int to String Merging Erik's updates Merging Erik's updates. Merging Erik's updates Merging Erik's updates from 3/20. Merging Erik's changes of 3/20. Removing files that are outside the scope of this project Added StockChit code; Removed usage of interfaces as objects; fixed a few bugs. Reverting to previous copy Initial working stockchit code. Tokens now drawn using both colors Clean up the token displaying. Renamed StockChit to StockToken; Added CompanyStatus Added Listeners to start supporting basic token movement (not finished yet); Fully Working Stock Token Movement Initial code for displaying Player Status Bug fix in Stock Token display Initial support for new game options Minor bugfix. Added test class for initializing the game. UI Tweaks; Improved GameInit Screen Renamed GameInit to Options; Fixed Player name display support. Minor Token Placement Fix Major performance bug fixed; other minor tweaks here and there; *** empty log message *** Lots of UI updates Added UI to create companies Company Purchasing UI updates Game and Bank are now static; GameLoder renamed to GameUILoader Added PlayerManager, fixed a bug in Portfolio, added buying and selling stock to Player Changed Stock to Certificate in StockMarket.java Beginnings of CertificateStatus seperated game status info into its own window. Initial UI code for buying any stock Improved StatusWindow display; Added GetNextAvailableCertificate method to Portfolio Improved UI behavior; Fixed many calculation bugs. Added ability to sell shares. Fixed "StartCompany transfers too much money" bug Initial Hex draing files taken from colossus.sf.net Added stock pools to CompanyStatus; Added Token movement for stock sale. Hex files from Colossus Initial HexMap main() for testing Initial Auction Window. minor tweaks to get StartRoundWindow to display correctly Cleaned out colossus-specific code. Remove debugging console output. Add missing pieces to Hex test display More HexTest Code Hex display fixes. *** empty log message *** Initial stab at Map.XML Added Tile Colors for towns. Added </Map> Tag. Create initial stab at NS and EW oriented hexes. Tweaks to the hex layout Minor tweaks to hex layout E-W hexes now displaying correctly. Reorganizing code from Oriented-HexMap into HexMap class Fixed repaint bug First stab at Tileset definitions. Adding Batik libraries *** empty log message *** Added some basic math reminders. initial tile image support Tile images kinda sorta work. Almost. Commented out work-in-progress code. Minor UI adjustments mostly working map tiles map tile images added transparency Transparent GIFs work better than PNGs GIF works better than PNG Tweaks to tile loading First stab at clickable map. adding loading orientation from xml Interactivity broken, orientation fixed. Interactivity fixed, rotation bugs exist. setClip() to fix bounds box issues. Adding Scale class from Colossus source tree. NS Tile images working. Other minor cleanups as well. Tile Display Updates New tiles for 18AL and 1856 Added Mnemonics to all buttons. Added basic menu to Map. small UI updates. small UI updates. Resized the options window. Removed old code from start round window UI Cleanups. Moved drop-down menu to StatusWindow. Added selectors to draw specific windows. No longer drawing all windows. Scrolling MapWindow Fully working scrollbars on the map. small UI updates. Twiddling the menu checkboxes for consistency using drawOverlay() works. rotation and repainting is broken. Fixed rotation. Still a ton of repaint bugs. Fix problem with Scale by explicitly setting Scale in MapWindow A bunch of cleanups. Lots of comments added to help track down repaint bugs. Minor code cleanups. Added more mnemonics. Added lots of JavaDoc comments Added more JavaDoc comments Minor UI behavior updates. Adding more debugging code and comments for the paint bugs. Fixed repaint issues by using ScrollPane instead of JScrollPane adjusted repainting behavior of mouseClicked Defaulting useOverlay and useAntialias to true. Modifications to UpgradesPanel and classes touched by the UP. Disabled overlays due to clipping issues. UpgradesPanel mostly works. Fixed repaint and scrolling bugs. FINALLY. UpgradesPanel populates correctly now. Display Tile graphic in upgrades panel. basic functionality for laying tiles works. Adding upgrade cost and company home designations to the map. Add Company Destination to tooltips Fixed StatusWindow checkbox bug Tile laying only allowed during Operating Round Adding initial TokenHolder code. Added More Token Laying Code. Properly decrement numCityTokens after laying a token Move home token laying to a more sane location First stab at token laying More token laying code Adjusting the visibility of some methods Removing some unnecessary comments. Bugfixing token placement. Added station size checking before token laying Adding tokens to the hex AND company token lists. Token Laying bug fix. Other minor cleanups as well. Updated tile images. Some orientations rotated. More token drawing positions Bug fixes. Slightly improved token adjustments. Fixed moving tokens when tiles are upgraded. One-liner moveToken fix. Added size checking for addToken Adding size checking for token laying Updated highlighting clicked hexes logic. initial UI for prompting user about token placement added a toString method Added checking for existing company token. Displaying blocked hexes on the map. Fix station selection bug. Improve drawing location of tokens. Merging ORWindow and MapWindow. Map Window Display Update ORWindow display bugfix String cleanups. Window display bug fixed. Fixed move tokens bug. Preparing for end game. Changed addCash to return a boolean. Removing ORWindow dependancies. Finished removing ORWindow dependancies Fix invalid cast and reworking StockChart Code clean ups. Restore some update methods String abstraction and Bug fixing in ORWindow and ORPanel Fixed transition to SR from OR. Fixed ORPanel repainting. Fixed hex selection bug. Added AUTHORS SVG Tiles Fixing the SVG images and changing loader from gif to svg Fixing the SVG images and changing loader from gif to svg Added fallback to GIF. SVG tiles for 18KAAS Gif tiles for 18KAAS Added ScrollPane to UpgradesPanel Fix UpgradesPanel button inconsistency. Fixed ArrayOutOfBoundsException being thrown. Improved localization support. Moved a large number of strings to LocalisedText.properties Improved localization support. Moved a large number of strings to LocalisedText.properties Disabled load/save UI buttons to reduce confusion. Added Tiles for 1835 Changed variant popup into checkboxes in options UI. Reverting previous changes Move creation of ImageLoader to GameUILoader, improved image caching Clean up Imageloader Commenting out the servlet classes so that they no longer show compiler errors. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Adjusted image scaling to improve quality of displayed tiles. Allow game to operate even if we can't find my.properties or LocalisedText Fixing GIF tile sizing Centralised the jar filename to a single location. Fixed setMnemonic typo. Improved mnemonics. Moving log4j into it's own subdirectory. Update log4j to use a relative path set DefaultCloseOperation to DISPOSE_ON_CLOSE Exiting after "Unable to load game" error. Migration to use ResourceLoader Removed 1830test Migration to use ResourceLoader Finishing migration to ResourceLoader New tiles for 18AL and 1851 Remove Windows-specific reference Remove old commented-out code Renamed Options to GameSetupWindow Merged FinishSetup() into StartNewGame() Add dynamic resizing to player name text boxes. Fixed window sizing issues across all window components. Fixed missing null checking on game start Added game notes button. First, incomplete map for 18EU Improving the text on the Game Options button. Stockmarket and Tileset XML files for 18EU Adding 18EU Tile images. Added SerialNumbers Version string bump. Applied patch from Micha? Ba?y?ski Bump version string. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 bump version numbers to 1.2.2 Bump version strings to 1.3 Remove CVSROOT directory. Apply 1825 patch from Phil Davies <de...@gm...> Bump version numbers to 1.4.1 Add in batik-1.7, update classpath. remove batik 1.6 Add the rest of Batik 1.7. Woops. Update build.xml references to batik. Fix classpath in build.xml Erik Vos (1074): Certificates added Updated Added New classes/interfaces Was hard to get in... Moved here from game.test Adapted to changed Game initiation New method that returns integer attribute value Added a few dropped I's (interface) to names *** empty log message *** Updates to configure Bank amount. This required some rearrangements. Added Bank Added Certificates and Bank Implemented initial player cash Added Player (initial cash, cert.limit) Added use of Color objects All colours now as hex values Changes to get Hex colour values Now gets Color objects from Company Removed (?) Fixed colour->Colour (again?) Mostly Javadoc Removed some outcommented code Javadoc .start replaced by .setParPrice (duplicate methods) Adapted to new Player without the player list :-( To make it work with Java 1.4 PublicCompany now has shareUnit, and Certificates has shares. New share values Added ".getContentPane()" to make it Java 1.4-compatible. No differences Initial versions of Round and StockRound, and related changes StockRound finalised (more or less) Changes caused by implementation of OperatingRound StockRound interface now uses Strings for names rather than objects Added GameManager (initial version), Bank.format() etc. Renamed Certificate(I) to PublicCertificate(I) Renamed from Certificate(I) Added StartRound_1830. Lots of changes to other classes. Fixes and minor additions Fixes, and implemented SVRR price reduction if unsold CompositeOrNumber now returned as String (was double) Float percentage added Added getGames() method Block cash used in bidding. Minor cleanup Mainly Javadoc Use Game.getGames() Added pool share limit Minor changes, fix for share selling bug *** empty log message *** StockRound extended: presidency changes, partial handling of double shares. Privates can now be closed in an Operating Round Added 1835 (3 variants). Implemented auction in StartRound1830 StartRound cleanups & fixes New UI, with functionality as in TestGameServlet - UI cleanup Basic maps for 1830 and 1856 The Tile Dictionary converted to Tiles.xml Fixes Tiles set for 1830 Added Tiles.xml for 1856. Small comment update Added 1870 map & tiles. Added Trains Removed old code *** empty log message *** Added orientation to 1830 map *** empty log message *** Added orientation code 1870 map corrected Added orientations *** empty log message *** 18AL map fixes *** empty log message *** Failed attempts to enable tooltips on the map Rotations now properly derived from PI Frist Diesel exchange implemented Outcommented setPreferredSize() Neighbour setting in MapHex Basic implementation of phases, including train limits. Removed unused imports. Hexmap code cleanup. Bugfix Added private closing on first train buy Added comment on orientation numbers. IMplemented impassable hexsides Added preprinted track impassable hex side detection. Added map tooltips per hex/tile. Panel for upgrade tiles in MapWindow Removed redundant method getMapHexModel() *** empty log message *** *** empty log message *** Fix map size and positioning *** empty log message *** *** empty log message *** *** empty log message *** *** empty log message *** Cleanup and improvements, phase 1 Cleanup and improve, phase 2 Only valid tile orientations now allowed. Fixed rotation: no more adjustments. Cleanups phase 3. Fixed tooltip Minor improvements Tile laying integration phase 1 Tile laying integration phase 2. Basic Help system added Help window using JEditorPane Private special properties phase 1 Special properties phase 2 Special tile lays for 1830 completed OR updates Granular Model/View phase 1 Granular model/view,phase 2 *** empty log message *** Token laying step - phase 1 Base token laying phase 2 base token laying phase 3 & other small improvements Fixes and small improvements. Added city positions to Tiles.xml. Minor changes Tile quantity observed. Corrected 1830 tile orientations Preserve track (except OO). NoTile/Token texts in upgrade panel Correct number of ORs per SR Number of ORs per SR Close privates at first 5-train. Fixed special tile laying. Fixed special tile laying bug. Added token cost info to other games than 1830. Added static getLastORNUmber() Always show price & loacation on stock chart Reorder companies in a 2nd and 3rd OR Fixed bug in assignment number of ORs per SR Buy at par price from IPO (was: all at current price) Fixed off-by-one error in getTrainLimit Fixed checking buying shares that have been sold in the same round. M&H-NYC swap New message panel in ORWindow, with localised messages. *** empty log message *** Game end (maybe not yet complete) *** empty log message *** Fix Lots of minor fixes, mostly to get OR display correct again. Updated stock chart so that only changed squares are updated Granular Model/View for LastRevenue Fixes to D train exchange and 4-train rusting. Enabled reading files from the jar ORPanel/OperatingRound cooperation for train buying changed to move the game decisions to the Model. buyTrain: lookup train for selected prompt rather than parse it. Added coordinates Added president help in buying trains, including selling shares in an ShareSellingRound. Implemented TradeableCertificates for buying. Make GameStatus aware of sellable certificates. Game end implementation. Add "Close all windows" button after game end. Several fixes Implemented 18Kaas *** empty log message *** Fixed share trading bugs. Mark President in Game Status window. Fixed available tile counting Fixed bug with tile laying at cost with no money (bug 1517705) Fixed tile- and tokenlaying related bugs (wrong repainting of UpgradesPanel) Train buying fixes Train buying improvements Added localisation strings with parameters using MessageFormat Remove "Buy Private" button if nothing to buy First basic Action/Undo classes Added basic Undo for stock trading. Not all side effects covered yet! Extended Undo to cover all Stock Round actions, except turn change. Improved log messages Added Redo Upgraded StartRound View/Model interface to work similar to stock rounds. Fixed capitalisation. Added exchange shares Remove default certs if company-specific certs are defined 1835 map Changed home base token management such that one tile can contain multiple home bases in multiple stations (cities). Fixed token laying. 1835 majors can now lay 2 yellow tiles in the yellow phase. Off-board revenue values in tooltips. Added private special properties (tile and token lays). Added red message about active special properties to the Map Window. Renamed game.action package to game.move, and Action to MoveSet. Implemented "PossibleAction" for private buying. Fixed special tile lays in 1830. Fixed extra tile laying message in 1830. Some cleanups. Added XML option to make owning a train optional (for minors as in 1835) *** empty log message *** Token laying now uses LayToken allowance objects. Special properties for condition "ifOwnedByPlayer" (as in 1835) now work. Cleanup in localised text. Localised tooltips More localisation cleanups Implemented Undo/Redo for tile lays. Added tokens display to GameStatus and ORPanel. Implemented undo/redo for token lays. Added check that a company cannot lay tokens twice on one hex. Implemented Undo/Redo for the OR revenue entry and payout steps. Imports cleaned up All user messages in OperatingRound are now localised. 1870 fixes Detect absence of stations while laying tokens Some tile-laying related fixes. Added log4j logging and applied to ImageLoader only. System.out.print replaced by log4j logging. Simplified my.properties. Some StartRound fixes, more localisations, and cosmetic changes Added some config items to my,properties. Moved version-string from LocalText to Game. Package names changed (rails prepended) Remove corrupt jars Improved Undo/Redo, mainly in the OR. MoveSet.add() calls moved down into Move subclasses Minor changes Start Round processing updated: Applied parametrized collections to resolve most Java 1.5 warnings. More generics and for/in loops More generics and for/in loops Restructured StockRound View/Model interface to use new PossibleAction subclass objects. Bug fixes and minor improvements to the StockRound overhaul. Fixed bug (ClassCastException when clicking Map checkbox) Cleanup Fix: put only slash after tileRootDir if it has a value OR using PossibleAction object for execution. Removed redundant classes. Removed redundant classes. Undo/Redo completed. Cleanup Save/Load. Fixed bug: laid tiles not shown after Load. Fixed bug: No payout options shown after Set Revenue Fixed more bugs Bugs fixed. new SerialVersionUID because of changes Added playability comments to game list in Options. Added Game Options, allowing conditional attributes (see example in 1830/Game.xml). Also used to replace Variant choices. Integrated game option setting into the Options window. Preparations for adding Bonus Tokens, as in 18AL, 1856 etc. Streamlined Game startup interface. Cleaned up old code & added $Header where missing Used new Tag class everywhere. XmlUtils removed. Added description for 1830 Fix: "revenue" changed to "value" All 'name' atributes of tiles>0 are now numeric All tiles with id > 0 now have a numeric name 18EU tiles added Added (includes 18EU) Updated including all tiles now. Added Updated for implementation of Lumber Terminal Updated mainly for 18AL special properties. Lumber Terminal now works. Some fixes too. Added 18EU Added Updated Fixes Allowed default colour per company type (used for minor) Improved Colours Name correction Implemented 18AL bonus token. Bonus Token Removal (18AL) Implemented 18AL Named Trains. Require new tiles to be connected (except home bases and special lays). Fix: tile lay check only applies to yellow tiles Added 18AL train naming by using NDY private. Implemented 18AL destination bonus Updated game 1830 and 18AL descriptions Connection check bug fixed Fixed bug in handling par price setting for President's shares coming with a private. 1851 - partial implementation Fixed special green upgrade in Montgomery. Improved tile rotation validity checking: preserve old tracks (except OO cities). Minor changes & cleanups 1851 almost completed 1851 completed. Added bidding parameters Fixed 18EU description Removed redundant base prices Minor changes, related to the 18EU start round implementation. BuyOrBidStartItem renamed tp StartItemAction and subclassed with separate BuyStartItem and BidStartItem classes. resetOption() added Added boolean allowNegative Minor changes caused by 18EU start round implementation Added Minor changes (if any at all) Changes to accomodate the 18EU start round New entries for 18EU start round Added setBit and bitSet Fixed Berlin/Vienna yellow tile Completed -10 to 201,202 upgrade locations Fixed Budapest (was plain) Added initial 2-trains Added <StockRound> Formatting and minor changes More 18EU aspects Added moveObjects() to move the contents of a list without incurring ConcurrentModificationExceptions Added More 18EU aspects Fixes Reorganised to get all tile-laying related items under <LayTiles> Fixed bug: trains could not be traded Fixed tile -939 to become an Off-Map city tile. The "internal" (XML) representation now differs from the "external" (visible) version. Removed getBaseTokenLayCostBySequence. The functionality has been moved to PublicCompanyI. Removed getBaseTokenLayCostBySequence(). The functionality has been moved to PublicCompany. TokenLay cost now obtained from PublicCompany (previously from CompanyManager) Added "whenStarted" as an option to lay home base token. Fix: set the minors to "started"when bought Use larger font if the name is shorter than 4 characters Hide spinner when revenue is set. Fixed bug that prevented tiles to be laid where internal and external IDs were different. Added new inner class HexImage for that purpose. Fixes and additions Using Util.moveObjects() Added getCompanyByName() Added getCurrentTrainLimit() Added getCurrentTrainLimit() Added stubs: setGameSpecificActions() and processGameSpecificActions() New Added U (unfloated) indicator Added setGameSpecificActions() and processGameSpecificActions() Changes for 18EU Added handling for MergeCompanies Added lines for 18EU Formatting only Upgraded 18EU to "partly playable" Fixed Undo problem in 18EU Implemented 18EU Pullmann train buying and discarding Corrected city locations Added split revenue option Corrected city numbers Added some for 18EU Changed "corner" location codes on behalf of correct token position calculation. New code for token position calculation Improved rotation checking for city tiles. Formatting only Stations -> Cities Phase 5 company start (unfinished) Changes for 18EU, incl. better token positioning on tile upgrades Added city names for use in tooltips and home base selection (18EU) City names Nothing material 1835 tile laying fixes Completed 18EU Fixed some 1835 tiles Remove duplicate tokens when cities merge Small rearrangement Move cash and certificate transfers on floating from PublicCompany to Round Few new entries Added comment for 18EU Added generic facility to allow multiple upgrade costs. Commented multiple upgrade cost values Fixed format errors Also display upgrade cost on laid tiles Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. Fix stall after repaying loans in 1856 Changed previous fix, to reinstate the need to press Done after repaying loans 1835 Prussian formation & some consequential changes Fix 1856 share price adjustment if multiple 5% shares are sold in one round. Prussian formation Fixes to get excess train discard before prussion formation on buying the first 4-train in 1835. Fixed big in Clemens variant: first player was wrongly assigned. 1835 Nationalisation Added JGraph libs Removed erroneous annotation Moved hardcoded company IDs to GameManager_1835 No token lay on L6 before BA has laid home token 1835: higher certificate limit if 80% owned. Added OperatingRound methods isBlockedForTileLays() and isBlockedForTokenLays(). Fixed reserved token spot detection Removed a redundant (because duplicate) method Added missing hex G1 'relatedStation' converted into a State object Reinstated the brown-OO-upgrade-correctness check, which had disappeared in version 1.0.5 for unclear reasons. Chech Prussian presidency after each formation round Fixed bad player assignment in 1830 style auctions (bug 2989440) Fixed 1856 W&SR closure Fixed crash when last 8-train bought Added unlimited last (8-)train option Restructured float detection such that an 1835 bug is fixed (BY must not float if one of its privates is unsold) and that game specific aspects can more easily be implemented in Round subclasses. Fixed station numbering effect on token laying in multi-city tiles Removed 'None' option on the "which train to exchange" question. Removed use of redundant 'forcedExchange' TrainBuy attribute Replaced XML of Goderich/Hamburg red tile #-939 by handmade XML including a City (not OffBoardCity). Fixed tile -803 (Hamburg 1835: one city had 20 revenue) Fix tile 209 (1835 green Berlin) laying ptoblem (no valid orientation). Fixed Javadoc Removed unused attribute Bugs fixed when M1 or M2 buy 1st 4-train in 1835. 1835: Implemented denial of dividend for PR shares received in exchange for precursors that have operated before in the same OR. Moved "Variant" game option name to GameOption In the Clemens variant, minors will not run if BY has not floated Added new 1835 options: Honoured option: Minors don't run if BY has not floated 1835 marked "Almost playable". Description updated. Fixed message (parameter missing) Fixed typo that prevented 1856 companies to close on stock space B11 Fixed double withholding of CGR in 1856 Fixed holes that allowed not specifying the exchanged train in a train exchange action. Rewritten code to assign next operating company to avoid the OperatingCompanyIndex state object. This was continually causing problems. Fixed 1835 bug at buying the first 5-train. Enable custom route colours Fixed parseColour() to catch empty or missing values Prevented concurrent modification when closing privates Fixed some bugs with recent rewrite of resetOperatingCompanies(). 18EU bankruptcy rules 18EU bankruptcy rules (Phase 2) 18EU bankruptcy rules (Phase 3) 18EU bankruptcy rules (Phase 3a) 18EU bankruptcy rules (Phase 4) - making a restarted company actually operate (!) Fixed a message Added player names Added '+' to game version Fixed potential nullpointer bug 1835: fixed train discarding by PR at end of any PR formation round. Fixed previous fix Cancel button made optional (it's probably never used anyway) Fixed 1835 certificate ordering in IPO after Undo Added missing PR home hex Fixed 1889 tile 439 (value 60) Removed redundant copy Removed redundant file Replaced # by () to indicate number of available tiles in the upgrades panel Fixed: for the cert limit check, a bought 20% cert was counted as 2 (shares) in stead of 1 (certificate) Fixed bug in buying multiple "brown" shares Initial import. Empty and redundant 'Rails' obsctructs checlout of 'rails' Fixed price token order changes at end of SR Fixed import expansion All addObject() and related methods now take a position argument. ObjectMove has an additional fromPosition attribute. Also toPosition, but that isn't used yet. This all is used to ensure that Undo always restores the original List order for moves executed via ObjectMove. Simplified addXxxx methods by using the new Util.addToList. Allow the old object positions in more than one list to be saved in ObjectMove. This should restore ALL lists affected by ObjectMove into original order after an Undo. Suspended logger initialization until after the system property log4j.configuration is set; otherwise teh latter is just ignored. Changed BuyCertificate to pass on share size per certificate rather that the certificate ID. Fixed config error that prevented PR to buy the extra train Fixed bug that prevented some cash transfers after the bank has broken. Executed actions are no longer saved as a List<PossibleAction> but as a containerless sequence of PossibleAction objects. New option to enable selling stock of one company in one turn in separate actions at decreasing prices. Implemented option to sell shares in same turn at decreasong prices for all games except 1835. Removed 1870 from the list of companies where the "second sale at lower price in same turn" option would apply (per JDG). 1835 to use "proper" (JDG) company names Fixed bug that allowed 1835 share selling of unfloated companies. Reclassified 1825 Fixed: Config.label.or.number_format=OR number format Fixed: if company sells a train, a lone remaining Pullmann muet be discarded. Fix: if merging minor and major both bave a Pullmann, discard one. Fixed two message text internationalisations Fixed: 18EU FMER did not start correctly if 5-train buyer went bankrupt as prersident of last OR company Reset 'operated' flag when making a bankrupted 18EU major restartable. Minor comment fix Fix: closing company (1856) to transfer trains and cash Removed redundant actions (such as presidency swapping) when a company price token reaches a "close" area. Some share selling code reorganisation to allow (later) centralizing of follow-up actions. Further refactoring of (very old) share selling code to simplify structure and unravel cash and certificate movements. Extra 'Q' row cannot be upgraded. 1825: Replaced extra Q row by white tiles. 1825U1: added tile -10000 at the left edge where extension kits exist Added GameStatus row to display the increase of player worth in th elast complete OR Log player net worth gain/loss per OR in the Report window. Bugfix: company closure after withholding crashed the game. Allow hex sides to be "open", i.e. track can be laid against such sides, even if at a board edge. This is required for 1825. Removed tile -10000 Added parametrized options. Added 1825 special tiles. Fixed map. Manchester fixed (rotation) Display "No train" in stead of "Withhold" if company has had no revenue because of no trains. Added unstriped versions of the 1825 'striped' tiles 119, 166 and 200. Bug fix Skip creating train actions if no cash and at least 1 train. Fix: always display Buy Train button in train buying step. Fix treasury share selling tooltip Should not be in repository Added move() to support OR company reordering Check company order after each turn. If changed, recreate ORPanel. At each OR turn end, check if the company order has changed (if dynamic; this does not apply to 1825) Added <OperatingOrder dynamic="no"/> At each OR turn end, check if the company order has changed (if dynamic; this does not apply to 1825) Fix Phil1825.patch commit b5199cd62a8c8160c4b0e0e7297e735b061e1a82 1. Added reserved hexes facility, and applied to 18EU and 1825 maps. 1. Reset Autopass if the player gets over a share/certificate limit during a Stock Round. Fixed tile #14/15 upgrade rules: also the double villages can become #63. Partial fix of the map display problem when a game is started via RunGame with a saved file parameter. Final fix of the map display problem when a game is started via RunGame with a saved file parameter. Replace bank cash display by "BROKEN" once that is the case. Fix UI bug when only one start price is possible because of ... [truncated message content] |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:39
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The annotated tag, v1.4.1 has been created at 7f21ca427fffb3005965a1a74b3a5a9835114dff (tag) tagging e7dae1a444f59983fe66897109bd0daee53bfdd3 (commit) tagged by Brett Lentz on Sun Jul 17 12:26:24 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.4.1 Brett Lentz (265): initial checkin initial checkin initial checkin This commit was generated by cvs2svn to compensate for changes in r6, which Removing files that were accidentally uploaded. Convert arrays to ArrayLists Adding Erik Vos' changes Adding framework for test cases Test structure for stock market UI Object Model from Stewart Thain Updated obect model from Stewart Thain Test class for swing-based stock chart UI Added test for displaying test stockchart swing class Merging Erik Vos' updates Adding Iain Adams' DOM libraries Minor tweaks More testing out Swing Rudimentary chit definitions Merging Erik Vos' updates Added explicit licensing information New UI Tests Merging update from Erik Vos Merged updates Fixed formatting Merging updates from Erik Vos Merging Iain Adams' changes. Merging Iain Adams' Changes Merging Iain Adams' changes Updated StockChart to use data from game/StockChart Merging updates Merging Iain Adams' files. Stockmarket now does color! StockChart does colors! Fixed Stock Chart to display correct values Bug Fixes. Market should display 100% correctly now. Changed color from int to String Merging Erik's updates Merging Erik's updates. Merging Erik's updates Merging Erik's updates from 3/20. Merging Erik's changes of 3/20. Removing files that are outside the scope of this project Added StockChit code; Removed usage of interfaces as objects; fixed a few bugs. Reverting to previous copy Initial working stockchit code. Tokens now drawn using both colors Clean up the token displaying. Renamed StockChit to StockToken; Added CompanyStatus Added Listeners to start supporting basic token movement (not finished yet); Fully Working Stock Token Movement Initial code for displaying Player Status Bug fix in Stock Token display Initial support for new game options Minor bugfix. Added test class for initializing the game. UI Tweaks; Improved GameInit Screen Renamed GameInit to Options; Fixed Player name display support. Minor Token Placement Fix Major performance bug fixed; other minor tweaks here and there; *** empty log message *** Lots of UI updates Added UI to create companies Company Purchasing UI updates Game and Bank are now static; GameLoder renamed to GameUILoader Added PlayerManager, fixed a bug in Portfolio, added buying and selling stock to Player Changed Stock to Certificate in StockMarket.java Beginnings of CertificateStatus seperated game status info into its own window. Initial UI code for buying any stock Improved StatusWindow display; Added GetNextAvailableCertificate method to Portfolio Improved UI behavior; Fixed many calculation bugs. Added ability to sell shares. Fixed "StartCompany transfers too much money" bug Initial Hex draing files taken from colossus.sf.net Added stock pools to CompanyStatus; Added Token movement for stock sale. Hex files from Colossus Initial HexMap main() for testing Initial Auction Window. minor tweaks to get StartRoundWindow to display correctly Cleaned out colossus-specific code. Remove debugging console output. Add missing pieces to Hex test display More HexTest Code Hex display fixes. *** empty log message *** Initial stab at Map.XML Added Tile Colors for towns. Added </Map> Tag. Create initial stab at NS and EW oriented hexes. Tweaks to the hex layout Minor tweaks to hex layout E-W hexes now displaying correctly. Reorganizing code from Oriented-HexMap into HexMap class Fixed repaint bug First stab at Tileset definitions. Adding Batik libraries *** empty log message *** Added some basic math reminders. initial tile image support Tile images kinda sorta work. Almost. Commented out work-in-progress code. Minor UI adjustments mostly working map tiles map tile images added transparency Transparent GIFs work better than PNGs GIF works better than PNG Tweaks to tile loading First stab at clickable map. adding loading orientation from xml Interactivity broken, orientation fixed. Interactivity fixed, rotation bugs exist. setClip() to fix bounds box issues. Adding Scale class from Colossus source tree. NS Tile images working. Other minor cleanups as well. Tile Display Updates New tiles for 18AL and 1856 Added Mnemonics to all buttons. Added basic menu to Map. small UI updates. small UI updates. Resized the options window. Removed old code from start round window UI Cleanups. Moved drop-down menu to StatusWindow. Added selectors to draw specific windows. No longer drawing all windows. Scrolling MapWindow Fully working scrollbars on the map. small UI updates. Twiddling the menu checkboxes for consistency using drawOverlay() works. rotation and repainting is broken. Fixed rotation. Still a ton of repaint bugs. Fix problem with Scale by explicitly setting Scale in MapWindow A bunch of cleanups. Lots of comments added to help track down repaint bugs. Minor code cleanups. Added more mnemonics. Added lots of JavaDoc comments Added more JavaDoc comments Minor UI behavior updates. Adding more debugging code and comments for the paint bugs. Fixed repaint issues by using ScrollPane instead of JScrollPane adjusted repainting behavior of mouseClicked Defaulting useOverlay and useAntialias to true. Modifications to UpgradesPanel and classes touched by the UP. Disabled overlays due to clipping issues. UpgradesPanel mostly works. Fixed repaint and scrolling bugs. FINALLY. UpgradesPanel populates correctly now. Display Tile graphic in upgrades panel. basic functionality for laying tiles works. Adding upgrade cost and company home designations to the map. Add Company Destination to tooltips Fixed StatusWindow checkbox bug Tile laying only allowed during Operating Round Adding initial TokenHolder code. Added More Token Laying Code. Properly decrement numCityTokens after laying a token Move home token laying to a more sane location First stab at token laying More token laying code Adjusting the visibility of some methods Removing some unnecessary comments. Bugfixing token placement. Added station size checking before token laying Adding tokens to the hex AND company token lists. Token Laying bug fix. Other minor cleanups as well. Updated tile images. Some orientations rotated. More token drawing positions Bug fixes. Slightly improved token adjustments. Fixed moving tokens when tiles are upgraded. One-liner moveToken fix. Added size checking for addToken Adding size checking for token laying Updated highlighting clicked hexes logic. initial UI for prompting user about token placement added a toString method Added checking for existing company token. Displaying blocked hexes on the map. Fix station selection bug. Improve drawing location of tokens. Merging ORWindow and MapWindow. Map Window Display Update ORWindow display bugfix String cleanups. Window display bug fixed. Fixed move tokens bug. Preparing for end game. Changed addCash to return a boolean. Removing ORWindow dependancies. Finished removing ORWindow dependancies Fix invalid cast and reworking StockChart Code clean ups. Restore some update methods String abstraction and Bug fixing in ORWindow and ORPanel Fixed transition to SR from OR. Fixed ORPanel repainting. Fixed hex selection bug. Added AUTHORS SVG Tiles Fixing the SVG images and changing loader from gif to svg Fixing the SVG images and changing loader from gif to svg Added fallback to GIF. SVG tiles for 18KAAS Gif tiles for 18KAAS Added ScrollPane to UpgradesPanel Fix UpgradesPanel button inconsistency. Fixed ArrayOutOfBoundsException being thrown. Improved localization support. Moved a large number of strings to LocalisedText.properties Improved localization support. Moved a large number of strings to LocalisedText.properties Disabled load/save UI buttons to reduce confusion. Added Tiles for 1835 Changed variant popup into checkboxes in options UI. Reverting previous changes Move creation of ImageLoader to GameUILoader, improved image caching Clean up Imageloader Commenting out the servlet classes so that they no longer show compiler errors. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Adjusted image scaling to improve quality of displayed tiles. Allow game to operate even if we can't find my.properties or LocalisedText Fixing GIF tile sizing Centralised the jar filename to a single location. Fixed setMnemonic typo. Improved mnemonics. Moving log4j into it's own subdirectory. Update log4j to use a relative path set DefaultCloseOperation to DISPOSE_ON_CLOSE Exiting after "Unable to load game" error. Migration to use ResourceLoader Removed 1830test Migration to use ResourceLoader Finishing migration to ResourceLoader New tiles for 18AL and 1851 Remove Windows-specific reference Remove old commented-out code Renamed Options to GameSetupWindow Merged FinishSetup() into StartNewGame() Add dynamic resizing to player name text boxes. Fixed window sizing issues across all window components. Fixed missing null checking on game start Added game notes button. First, incomplete map for 18EU Improving the text on the Game Options button. Stockmarket and Tileset XML files for 18EU Adding 18EU Tile images. Added SerialNumbers Version string bump. Applied patch from Micha? Ba?y?ski Bump version string. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 bump version numbers to 1.2.2 Bump version strings to 1.3 Remove CVSROOT directory. Apply 1825 patch from Phil Davies <de...@gm...> Tag v1.4.1 Erik Vos (994): Standard project directories initialized by cvs2svn. Certificates added Updated Added New classes/interfaces Was hard to get in... Moved here from game.test Adapted to changed Game initiation New method that returns integer attribute value Added a few dropped I's (interface) to names *** empty log message *** Updates to configure Bank amount. This required some rearrangements. Added Bank Added Certificates and Bank Implemented initial player cash Added Player (initial cash, cert.limit) Added use of Color objects All colours now as hex values Changes to get Hex colour values Now gets Color objects from Company Removed (?) Fixed colour->Colour (again?) Mostly Javadoc Removed some outcommented code Javadoc .start replaced by .setParPrice (duplicate methods) Adapted to new Player without the player list :-( To make it work with Java 1.4 PublicCompany now has shareUnit, and Certificates has shares. New share values Added ".getContentPane()" to make it Java 1.4-compatible. No differences Initial versions of Round and StockRound, and related changes StockRound finalised (more or less) Changes caused by implementation of OperatingRound StockRound interface now uses Strings for names rather than objects Added GameManager (initial version), Bank.format() etc. Renamed Certificate(I) to PublicCertificate(I) Renamed from Certificate(I) Added StartRound_1830. Lots of changes to other classes. Fixes and minor additions Fixes, and implemented SVRR price reduction if unsold CompositeOrNumber now returned as String (was double) Float percentage added Added getGames() method Block cash used in bidding. Minor cleanup Mainly Javadoc Use Game.getGames() Added pool share limit Minor changes, fix for share selling bug *** empty log message *** StockRound extended: presidency changes, partial handling of double shares. Privates can now be closed in an Operating Round Added 1835 (3 variants). Implemented auction in StartRound1830 StartRound cleanups & fixes New UI, with functionality as in TestGameServlet - UI cleanup Basic maps for 1830 and 1856 The Tile Dictionary converted to Tiles.xml Fixes Tiles set for 1830 Added Tiles.xml for 1856. Small comment update Added 1870 map & tiles. Added Trains Removed old code *** empty log message *** Added orientation to 1830 map *** empty log message *** Added orientation code 1870 map corrected Added orientations *** empty log message *** 18AL map fixes *** empty log message *** Failed attempts to enable tooltips on the map Rotations now properly derived from PI Frist Diesel exchange implemented Outcommented setPreferredSize() Neighbour setting in MapHex Basic implementation of phases, including train limits. Removed unused imports. Hexmap code cleanup. Bugfix Added private closing on first train buy Added comment on orientation numbers. IMplemented impassable hexsides Added preprinted track impassable hex side detection. Added map tooltips per hex/tile. Panel for upgrade tiles in MapWindow Removed redundant method getMapHexModel() *** empty log message *** *** empty log message *** Fix map size and positioning *** empty log message *** *** empty log message *** *** empty log message *** *** empty log message *** Cleanup and improvements, phase 1 Cleanup and improve, phase 2 Only valid tile orientations now allowed. Fixed rotation: no more adjustments. Cleanups phase 3. Fixed tooltip Minor improvements Tile laying integration phase 1 Tile laying integration phase 2. Basic Help system added Help window using JEditorPane Private special properties phase 1 Special properties phase 2 Special tile lays for 1830 completed OR updates Granular Model/View phase 1 Granular model/view,phase 2 *** empty log message *** Token laying step - phase 1 Base token laying phase 2 base token laying phase 3 & other small improvements Fixes and small improvements. Added city positions to Tiles.xml. Minor changes Tile quantity observed. Corrected 1830 tile orientations Preserve track (except OO). NoTile/Token texts in upgrade panel Correct number of ORs per SR Number of ORs per SR Close privates at first 5-train. Fixed special tile laying. Fixed special tile laying bug. Added token cost info to other games than 1830. Added static getLastORNUmber() Always show price & loacation on stock chart Reorder companies in a 2nd and 3rd OR Fixed bug in assignment number of ORs per SR Buy at par price from IPO (was: all at current price) Fixed off-by-one error in getTrainLimit Fixed checking buying shares that have been sold in the same round. M&H-NYC swap New message panel in ORWindow, with localised messages. *** empty log message *** Game end (maybe not yet complete) *** empty log message *** Fix Lots of minor fixes, mostly to get OR display correct again. Updated stock chart so that only changed squares are updated Granular Model/View for LastRevenue Fixes to D train exchange and 4-train rusting. Enabled reading files from the jar ORPanel/OperatingRound cooperation for train buying changed to move the game decisions to the Model. buyTrain: lookup train for selected prompt rather than parse it. Added coordinates Added president help in buying trains, including selling shares in an ShareSellingRound. Implemented TradeableCertificates for buying. Make GameStatus aware of sellable certificates. Game end implementation. Add "Close all windows" button after game end. Several fixes Implemented 18Kaas *** empty log message *** Fixed share trading bugs. Mark President in Game Status window. Fixed available tile counting Fixed bug with tile laying at cost with no money (bug 1517705) Fixed tile- and tokenlaying related bugs (wrong repainting of UpgradesPanel) Train buying fixes Train buying improvements Added localisation strings with parameters using MessageFormat Remove "Buy Private" button if nothing to buy First basic Action/Undo classes Added basic Undo for stock trading. Not all side effects covered yet! Extended Undo to cover all Stock Round actions, except turn change. Improved log messages Added Redo Upgraded StartRound View/Model interface to work similar to stock rounds. Fixed capitalisation. Added exchange shares Remove default certs if company-specific certs are defined 1835 map Changed home base token management such that one tile can contain multiple home bases in multiple stations (cities). Fixed token laying. 1835 majors can now lay 2 yellow tiles in the yellow phase. Off-board revenue values in tooltips. Added private special properties (tile and token lays). Added red message about active special properties to the Map Window. Renamed game.action package to game.move, and Action to MoveSet. Implemented "PossibleAction" for private buying. Fixed special tile lays in 1830. Fixed extra tile laying message in 1830. Some cleanups. Added XML option to make owning a train optional (for minors as in 1835) *** empty log message *** Token laying now uses LayToken allowance objects. Special properties for condition "ifOwnedByPlayer" (as in 1835) now work. Cleanup in localised text. Localised tooltips More localisation cleanups Implemented Undo/Redo for tile lays. Added tokens display to GameStatus and ORPanel. Implemented undo/redo for token lays. Added check that a company cannot lay tokens twice on one hex. Implemented Undo/Redo for the OR revenue entry and payout steps. Imports cleaned up All user messages in OperatingRound are now localised. 1870 fixes Detect absence of stations while laying tokens Some tile-laying related fixes. Added log4j logging and applied to ImageLoader only. System.out.print replaced by log4j logging. Simplified my.properties. Some StartRound fixes, more localisations, and cosmetic changes Added some config items to my,properties. Moved version-string from LocalText to Game. Package names changed (rails prepended) Remove corrupt jars Improved Undo/Redo, mainly in the OR. MoveSet.add() calls moved down into Move subclasses Minor changes Start Round processing updated: Applied parametrized collections to resolve most Java 1.5 warnings. More generics and for/in loops More generics and for/in loops Restructured StockRound View/Model interface to use new PossibleAction subclass objects. Bug fixes and minor improvements to the StockRound overhaul. Fixed bug (ClassCastException when clicking Map checkbox) Cleanup Fix: put only slash after tileRootDir if it has a value OR using PossibleAction object for execution. Removed redundant classes. Removed redundant classes. Undo/Redo completed. Cleanup Save/Load. Fixed bug: laid tiles not shown after Load. Fixed bug: No payout options shown after Set Revenue Fixed more bugs Bugs fixed. new SerialVersionUID because of changes Added playability comments to game list in Options. Added Game Options, allowing conditional attributes (see example in 1830/Game.xml). Also used to replace Variant choices. Integrated game option setting into the Options window. Preparations for adding Bonus Tokens, as in 18AL, 1856 etc. Streamlined Game startup interface. Cleaned up old code & added $Header where missing Used new Tag class everywhere. XmlUtils removed. Added description for 1830 Fix: "revenue" changed to "value" All 'name' atributes of tiles>0 are now numeric All tiles with id > 0 now have a numeric name 18EU tiles added Added (includes 18EU) Updated including all tiles now. Added Updated for implementation of Lumber Terminal Updated mainly for 18AL special properties. Lumber Terminal now works. Some fixes too. Added 18EU Added Updated Fixes Allowed default colour per company type (used for minor) Improved Colours Name correction Implemented 18AL bonus token. Bonus Token Removal (18AL) Implemented 18AL Named Trains. Require new tiles to be connected (except home bases and special lays). Fix: tile lay check only applies to yellow tiles Added 18AL train naming by using NDY private. Implemented 18AL destination bonus Updated game 1830 and 18AL descriptions Connection check bug fixed Fixed bug in handling par price setting for President's shares coming with a private. 1851 - partial implementation Fixed special green upgrade in Montgomery. Improved tile rotation validity checking: preserve old tracks (except OO cities). Minor changes & cleanups 1851 almost completed 1851 completed. Added bidding parameters Fixed 18EU description Removed redundant base prices Minor changes, related to the 18EU start round implementation. BuyOrBidStartItem renamed tp StartItemAction and subclassed with separate BuyStartItem and BidStartItem classes. resetOption() added Added boolean allowNegative Minor changes caused by 18EU start round implementation Added Minor changes (if any at all) Changes to accomodate the 18EU start round New entries for 18EU start round Added setBit and bitSet Fixed Berlin/Vienna yellow tile Completed -10 to 201,202 upgrade locations Fixed Budapest (was plain) Added initial 2-trains Added <StockRound> Formatting and minor changes More 18EU aspects Added moveObjects() to move the contents of a list without incurring ConcurrentModificationExceptions Added More 18EU aspects Fixes Reorganised to get all tile-laying related items under <LayTiles> Fixed bug: trains could not be traded Fixed tile -939 to become an Off-Map city tile. The "internal" (XML) representation now differs from the "external" (visible) version. Removed getBaseTokenLayCostBySequence. The functionality has been moved to PublicCompanyI. Removed getBaseTokenLayCostBySequence(). The functionality has been moved to PublicCompany. TokenLay cost now obtained from PublicCompany (previously from CompanyManager) Added "whenStarted" as an option to lay home base token. Fix: set the minors to "started"when bought Use larger font if the name is shorter than 4 characters Hide spinner when revenue is set. Fixed bug that prevented tiles to be laid where internal and external IDs were different. Added new inner class HexImage for that purpose. Fixes and additions Using Util.moveObjects() Added getCompanyByName() Added getCurrentTrainLimit() Added getCurrentTrainLimit() Added stubs: setGameSpecificActions() and processGameSpecificActions() New Added U (unfloated) indicator Added setGameSpecificActions() and processGameSpecificActions() Changes for 18EU Added handling for MergeCompanies Added lines for 18EU Formatting only Upgraded 18EU to "partly playable" Fixed Undo problem in 18EU Implemented 18EU Pullmann train buying and discarding Corrected city locations Added split revenue option Corrected city numbers Added some for 18EU Changed "corner" location codes on behalf of correct token position calculation. New code for token position calculation Improved rotation checking for city tiles. Formatting only Stations -> Cities Phase 5 company start (unfinished) Changes for 18EU, incl. better token positioning on tile upgrades Added city names for use in tooltips and home base selection (18EU) City names Nothing material 1835 tile laying fixes Completed 18EU Fixed some 1835 tiles Remove duplicate tokens when cities merge Small rearrangement Move cash and certificate transfers on floating from PublicCompany to Round Few new entries Added comment for 18EU Added generic facility to allow multiple upgrade costs. Commented multiple upgrade cost values Fixed format errors Also display upgrade cost on laid tiles Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. Fix stall after repaying loans in 1856 Changed previous fix, to reinstate the need to press Done after repaying loans 1835 Prussian formation & some consequential changes Fix 1856 share price adjustment if multiple 5% shares are sold in one round. Prussian formation Fixes to get excess train discard before prussion formation on buying the first 4-train in 1835. Fixed big in Clemens variant: first player was wrongly assigned. 1835 Nationalisation Added JGraph libs Removed erroneous annotation Moved hardcoded company IDs to GameManager_1835 No token lay on L6 before BA has laid home token 1835: higher certificate limit if 80% owned. Added OperatingRound methods isBlockedForTileLays() and isBlockedForTokenLays(). Fixed reserved token spot detection Removed a redundant (because duplicate) method Added missing hex G1 'relatedStation' converted into a State object Reinstated the brown-OO-upgrade-correctness check, which had disappeared in version 1.0.5 for unclear reasons. Chech Prussian presidency after each formation round Fixed bad player assignment in 1830 style auctions (bug 2989440) Fixed 1856 W&SR closure Fixed crash when last 8-train bought Added unlimited last (8-)train option Restructured float detection such that an 1835 bug is fixed (BY must not float if one of its privates is unsold) and that game specific aspects can more easily be implemented in Round subclasses. Fixed station numbering effect on token laying in multi-city tiles Removed 'None' option on the "which train to exchange" question. Removed use of redundant 'forcedExchange' TrainBuy attribute Replaced XML of Goderich/Hamburg red tile #-939 by handmade XML including a City (not OffBoardCity). Fixed tile -803 (Hamburg 1835: one city had 20 revenue) Fix tile 209 (1835 green Berlin) laying ptoblem (no valid orientation). Fixed Javadoc Removed unused attribute Bugs fixed when M1 or M2 buy 1st 4-train in 1835. 1835: Implemented denial of dividend for PR shares received in exchange for precursors that have operated before in the same OR. Moved "Variant" game option name to GameOption In the Clemens variant, minors will not run if BY has not floated Added new 1835 options: Honoured option: Minors don't run if BY has not floated 1835 marked "Almost playable". Description updated. Fixed message (parameter missing) Fixed typo that prevented 1856 companies to close on stock space B11 Fixed double withholding of CGR in 1856 Fixed holes that allowed not specifying the exchanged train in a train exchange action. Rewritten code to assign next operating company to avoid the OperatingCompanyIndex state object. This was continually causing problems. Fixed 1835 bug at buying the first 5-train. Enable custom route colours Fixed parseColour() to catch empty or missing values Prevented concurrent modification when closing privates Fixed some bugs with recent rewrite of resetOperatingCompanies(). 18EU bankruptcy rules 18EU bankruptcy rules (Phase 2) 18EU bankruptcy rules (Phase 3) 18EU bankruptcy rules (Phase 3a) 18EU bankruptcy rules (Phase 4) - making a restarted company actually operate (!) Fixed a message Added player names Added '+' to game version Fixed potential nullpointer bug 1835: fixed train discarding by PR at end of any PR formation round. Fixed previous fix Cancel button made optional (it's probably never used anyway) Fixed 1835 certificate ordering in IPO after Undo Added missing PR home hex Fixed 1889 tile 439 (value 60) Removed redundant copy Removed redundant file Replaced # by () to indicate number of available tiles in the upgrades panel Fixed: for the cert limit check, a bought 20% cert was counted as 2 (shares) in stead of 1 (certificate) Fixed bug in buying multiple "brown" shares Initial import. Empty and redundant 'Rails' obsctructs checlout of 'rails' Fixed price token order changes at end of SR Fixed import expansion All addObject() and related methods now take a position argument. ObjectMove has an additional fromPosition attribute. Also toPosition, but that isn't used yet. This all is used to ensure that Undo always restores the original List order for moves executed via ObjectMove. Simplified addXxxx methods by using the new Util.addToList. Allow the old object positions in more than one list to be saved in ObjectMove. This should restore ALL lists affected by ObjectMove into original order after an Undo. Suspended logger initialization until after the system property log4j.configuration is set; otherwise teh latter is just ignored. Changed BuyCertificate to pass on share size per certificate rather that the certificate ID. Fixed config error that prevented PR to buy the extra train Fixed bug that prevented some cash transfers after the bank has broken. Executed actions are no longer saved as a List<PossibleAction> but as a containerless sequence of PossibleAction objects. New option to enable selling stock of one company in one turn in separate actions at decreasing prices. Implemented option to sell shares in same turn at decreasong prices for all games except 1835. Removed 1870 from the list of companies where the "second sale at lower price in same turn" option would apply (per JDG). 1835 to use "proper" (JDG) company names Fixed bug that allowed 1835 share selling of unfloated companies. Reclassified 1825 Fixed: Config.label.or.number_format=OR number format Fixed: if company sells a train, a lone remaining Pullmann muet be discarded. Fix: if merging minor and major both bave a Pullmann, discard one. Fixed two message text internationalisations Fixed: 18EU FMER did not start correctly if 5-train buyer went bankrupt as prersident of last OR company Reset 'operated' flag when making a bankrupted 18EU major restartable. Minor comment fix Fix: closing company (1856) to transfer trains and cash Removed redundant actions (such as presidency swapping) when a company price token reaches a "close" area. Some share selling code reorganisation to allow (later) centralizing of follow-up actions. Further refactoring of (very old) share selling code to simplify structure and unravel cash and certificate movements. Extra 'Q' row cannot be upgraded. 1825: Replaced extra Q row by white tiles. 1825U1: added tile -10000 at the left edge where extension kits exist Added GameStatus row to display the increase of player worth in th elast complete OR Log player net worth gain/loss per OR in the Report window. Bugfix: company closure after withholding crashed the game. Allow hex sides to be "open", i.e. track can be laid against such sides, even if at a board edge. This is required for 1825. Removed tile -10000 Added parametrized options. Added 1825 special tiles. Fixed map. Manchester fixed (rotation) Display "No train" in stead of "Withhold" if company has had no revenue because of no trains. Added unstriped versions of the 1825 'striped' tiles 119, 166 and 200. Bug fix Skip creating train actions if no cash and at least 1 train. Fix: always display Buy Train button in train buying step. Fix treasury share selling tooltip Should not be in repository Added move() to support OR company reordering Check company order after each turn. If changed, recreate ORPanel. At each OR turn end, check if the company order has changed (if dynamic; this does not apply to 1825) Added <OperatingOrder dynamic="no"/> At each OR turn end, check if the company order has changed (if dynamic; this does not apply to 1825) Fix Phil1825.patch commit f35eb487f3f22f9a906fc82cf9bfa7b67a3acb1b 1. Added reserved hexes facility, and applied to 18EU and 1825 maps. 1. Reset Autopass if the player gets over a share/certificate limit during a Stock Round. Fixed tile #14/15 upgrade rules: also the double villages can become #63. Partial fix of the map display problem when a game is started via RunGame with a saved file parameter. Final fix of the map display problem when a game is started via RunGame with a saved file parameter. Replace bank cash display by "BROKEN" once that is the case. Fix UI bug when only one start price is possible because of lack of cash 1889 fixes: Outcommented some d... [truncated message content] |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The annotated tag, v1.4.0 has been created at ba99bd9117e868408692bf3e1292f73482dba514 (tag) tagging eb9f97d6b6732cf8dd6aeceb1dd60511b4eba45b (commit) tagged by Brett Lentz on Sun Jul 17 12:27:29 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.4.0 Brett Lentz (260): initial checkin This commit was generated by cvs2svn to compensate for changes in r6, which Removing files that were accidentally uploaded. Convert arrays to ArrayLists Adding Erik Vos' changes Adding framework for test cases Test structure for stock market UI Object Model from Stewart Thain Updated obect model from Stewart Thain Test class for swing-based stock chart UI Added test for displaying test stockchart swing class Merging Erik Vos' updates Adding Iain Adams' DOM libraries Minor tweaks More testing out Swing Rudimentary chit definitions Merging Erik Vos' updates Added explicit licensing information New UI Tests Merging update from Erik Vos Merged updates Fixed formatting Merging updates from Erik Vos Merging Iain Adams' changes. Merging Iain Adams' Changes Merging Iain Adams' changes Updated StockChart to use data from game/StockChart Merging updates Merging Iain Adams' files. Stockmarket now does color! StockChart does colors! Fixed Stock Chart to display correct values Bug Fixes. Market should display 100% correctly now. Changed color from int to String Merging Erik's updates Merging Erik's updates. Merging Erik's updates Merging Erik's updates from 3/20. Merging Erik's changes of 3/20. Removing files that are outside the scope of this project Added StockChit code; Removed usage of interfaces as objects; fixed a few bugs. Reverting to previous copy Initial working stockchit code. Tokens now drawn using both colors Clean up the token displaying. Renamed StockChit to StockToken; Added CompanyStatus Added Listeners to start supporting basic token movement (not finished yet); Fully Working Stock Token Movement Initial code for displaying Player Status Bug fix in Stock Token display Initial support for new game options Minor bugfix. Added test class for initializing the game. UI Tweaks; Improved GameInit Screen Renamed GameInit to Options; Fixed Player name display support. Minor Token Placement Fix Major performance bug fixed; other minor tweaks here and there; *** empty log message *** Lots of UI updates Added UI to create companies Company Purchasing UI updates Game and Bank are now static; GameLoder renamed to GameUILoader Added PlayerManager, fixed a bug in Portfolio, added buying and selling stock to Player Changed Stock to Certificate in StockMarket.java Beginnings of CertificateStatus seperated game status info into its own window. Initial UI code for buying any stock Improved StatusWindow display; Added GetNextAvailableCertificate method to Portfolio Improved UI behavior; Fixed many calculation bugs. Added ability to sell shares. Fixed "StartCompany transfers too much money" bug Initial Hex draing files taken from colossus.sf.net Added stock pools to CompanyStatus; Added Token movement for stock sale. Hex files from Colossus Initial HexMap main() for testing Initial Auction Window. minor tweaks to get StartRoundWindow to display correctly Cleaned out colossus-specific code. Remove debugging console output. Add missing pieces to Hex test display More HexTest Code Hex display fixes. *** empty log message *** Initial stab at Map.XML Added Tile Colors for towns. Added </Map> Tag. Create initial stab at NS and EW oriented hexes. Tweaks to the hex layout Minor tweaks to hex layout E-W hexes now displaying correctly. Reorganizing code from Oriented-HexMap into HexMap class Fixed repaint bug First stab at Tileset definitions. Adding Batik libraries *** empty log message *** Added some basic math reminders. initial tile image support Tile images kinda sorta work. Almost. Commented out work-in-progress code. Minor UI adjustments mostly working map tiles map tile images added transparency Transparent GIFs work better than PNGs GIF works better than PNG Tweaks to tile loading First stab at clickable map. adding loading orientation from xml Interactivity broken, orientation fixed. Interactivity fixed, rotation bugs exist. setClip() to fix bounds box issues. Adding Scale class from Colossus source tree. NS Tile images working. Other minor cleanups as well. Tile Display Updates New tiles for 18AL and 1856 Added Mnemonics to all buttons. Added basic menu to Map. small UI updates. small UI updates. Resized the options window. Removed old code from start round window UI Cleanups. Moved drop-down menu to StatusWindow. Added selectors to draw specific windows. No longer drawing all windows. Scrolling MapWindow Fully working scrollbars on the map. small UI updates. Twiddling the menu checkboxes for consistency using drawOverlay() works. rotation and repainting is broken. Fixed rotation. Still a ton of repaint bugs. Fix problem with Scale by explicitly setting Scale in MapWindow A bunch of cleanups. Lots of comments added to help track down repaint bugs. Minor code cleanups. Added more mnemonics. Added lots of JavaDoc comments Added more JavaDoc comments Minor UI behavior updates. Adding more debugging code and comments for the paint bugs. Fixed repaint issues by using ScrollPane instead of JScrollPane adjusted repainting behavior of mouseClicked Defaulting useOverlay and useAntialias to true. Modifications to UpgradesPanel and classes touched by the UP. Disabled overlays due to clipping issues. UpgradesPanel mostly works. Fixed repaint and scrolling bugs. FINALLY. UpgradesPanel populates correctly now. Display Tile graphic in upgrades panel. basic functionality for laying tiles works. Adding upgrade cost and company home designations to the map. Add Company Destination to tooltips Fixed StatusWindow checkbox bug Tile laying only allowed during Operating Round Adding initial TokenHolder code. Added More Token Laying Code. Properly decrement numCityTokens after laying a token Move home token laying to a more sane location First stab at token laying More token laying code Adjusting the visibility of some methods Removing some unnecessary comments. Bugfixing token placement. Added station size checking before token laying Adding tokens to the hex AND company token lists. Token Laying bug fix. Other minor cleanups as well. Updated tile images. Some orientations rotated. More token drawing positions Bug fixes. Slightly improved token adjustments. Fixed moving tokens when tiles are upgraded. One-liner moveToken fix. Added size checking for addToken Adding size checking for token laying Updated highlighting clicked hexes logic. initial UI for prompting user about token placement added a toString method Added checking for existing company token. Displaying blocked hexes on the map. Fix station selection bug. Improve drawing location of tokens. Merging ORWindow and MapWindow. Map Window Display Update ORWindow display bugfix String cleanups. Window display bug fixed. Fixed move tokens bug. Preparing for end game. Changed addCash to return a boolean. Removing ORWindow dependancies. Finished removing ORWindow dependancies Fix invalid cast and reworking StockChart Code clean ups. Restore some update methods String abstraction and Bug fixing in ORWindow and ORPanel Fixed transition to SR from OR. Fixed ORPanel repainting. Fixed hex selection bug. Added AUTHORS SVG Tiles Fixing the SVG images and changing loader from gif to svg Fixing the SVG images and changing loader from gif to svg Added fallback to GIF. SVG tiles for 18KAAS Gif tiles for 18KAAS Added ScrollPane to UpgradesPanel Fix UpgradesPanel button inconsistency. Fixed ArrayOutOfBoundsException being thrown. Improved localization support. Moved a large number of strings to LocalisedText.properties Improved localization support. Moved a large number of strings to LocalisedText.properties Disabled load/save UI buttons to reduce confusion. Added Tiles for 1835 Changed variant popup into checkboxes in options UI. Reverting previous changes Move creation of ImageLoader to GameUILoader, improved image caching Clean up Imageloader Commenting out the servlet classes so that they no longer show compiler errors. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Adjusted image scaling to improve quality of displayed tiles. Allow game to operate even if we can't find my.properties or LocalisedText Fixing GIF tile sizing Centralised the jar filename to a single location. Fixed setMnemonic typo. Improved mnemonics. Moving log4j into it's own subdirectory. Update log4j to use a relative path set DefaultCloseOperation to DISPOSE_ON_CLOSE Exiting after "Unable to load game" error. Migration to use ResourceLoader Removed 1830test Migration to use ResourceLoader Finishing migration to ResourceLoader New tiles for 18AL and 1851 Remove Windows-specific reference Remove old commented-out code Renamed Options to GameSetupWindow Merged FinishSetup() into StartNewGame() Add dynamic resizing to player name text boxes. Fixed window sizing issues across all window components. Fixed missing null checking on game start Added game notes button. First, incomplete map for 18EU Improving the text on the Game Options button. Stockmarket and Tileset XML files for 18EU Adding 18EU Tile images. Added SerialNumbers Version string bump. Applied patch from Micha? Ba?y?ski Bump version string. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 bump version numbers to 1.2.2 Bump version strings to 1.3 commit 363f0dc1d3818607fa2036ef9910f158f3526169 Erik Vos (939): Certificates added Updated Added New classes/interfaces Was hard to get in... Moved here from game.test Adapted to changed Game initiation New method that returns integer attribute value Added a few dropped I's (interface) to names *** empty log message *** Updates to configure Bank amount. This required some rearrangements. Added Bank Added Certificates and Bank Implemented initial player cash Added Player (initial cash, cert.limit) Added use of Color objects All colours now as hex values Changes to get Hex colour values Now gets Color objects from Company Removed (?) Fixed colour->Colour (again?) Mostly Javadoc Removed some outcommented code Javadoc .start replaced by .setParPrice (duplicate methods) Adapted to new Player without the player list :-( To make it work with Java 1.4 PublicCompany now has shareUnit, and Certificates has shares. New share values Added ".getContentPane()" to make it Java 1.4-compatible. No differences Initial versions of Round and StockRound, and related changes StockRound finalised (more or less) Changes caused by implementation of OperatingRound StockRound interface now uses Strings for names rather than objects Added GameManager (initial version), Bank.format() etc. Renamed Certificate(I) to PublicCertificate(I) Renamed from Certificate(I) Added StartRound_1830. Lots of changes to other classes. Fixes and minor additions Fixes, and implemented SVRR price reduction if unsold CompositeOrNumber now returned as String (was double) Float percentage added Added getGames() method Block cash used in bidding. Minor cleanup Mainly Javadoc Use Game.getGames() Added pool share limit Minor changes, fix for share selling bug *** empty log message *** StockRound extended: presidency changes, partial handling of double shares. Privates can now be closed in an Operating Round Added 1835 (3 variants). Implemented auction in StartRound1830 StartRound cleanups & fixes New UI, with functionality as in TestGameServlet - UI cleanup Basic maps for 1830 and 1856 The Tile Dictionary converted to Tiles.xml Fixes Tiles set for 1830 Added Tiles.xml for 1856. Small comment update Added 1870 map & tiles. Added Trains Removed old code *** empty log message *** Added orientation to 1830 map *** empty log message *** Added orientation code 1870 map corrected Added orientations *** empty log message *** 18AL map fixes *** empty log message *** Failed attempts to enable tooltips on the map Rotations now properly derived from PI Frist Diesel exchange implemented Outcommented setPreferredSize() Neighbour setting in MapHex Basic implementation of phases, including train limits. Removed unused imports. Hexmap code cleanup. Bugfix Added private closing on first train buy Added comment on orientation numbers. IMplemented impassable hexsides Added preprinted track impassable hex side detection. Added map tooltips per hex/tile. Panel for upgrade tiles in MapWindow Removed redundant method getMapHexModel() *** empty log message *** *** empty log message *** Fix map size and positioning *** empty log message *** *** empty log message *** *** empty log message *** *** empty log message *** Cleanup and improvements, phase 1 Cleanup and improve, phase 2 Only valid tile orientations now allowed. Fixed rotation: no more adjustments. Cleanups phase 3. Fixed tooltip Minor improvements Tile laying integration phase 1 Tile laying integration phase 2. Basic Help system added Help window using JEditorPane Private special properties phase 1 Special properties phase 2 Special tile lays for 1830 completed OR updates Granular Model/View phase 1 Granular model/view,phase 2 *** empty log message *** Token laying step - phase 1 Base token laying phase 2 base token laying phase 3 & other small improvements Fixes and small improvements. Added city positions to Tiles.xml. Minor changes Tile quantity observed. Corrected 1830 tile orientations Preserve track (except OO). NoTile/Token texts in upgrade panel Correct number of ORs per SR Number of ORs per SR Close privates at first 5-train. Fixed special tile laying. Fixed special tile laying bug. Added token cost info to other games than 1830. Added static getLastORNUmber() Always show price & loacation on stock chart Reorder companies in a 2nd and 3rd OR Fixed bug in assignment number of ORs per SR Buy at par price from IPO (was: all at current price) Fixed off-by-one error in getTrainLimit Fixed checking buying shares that have been sold in the same round. M&H-NYC swap New message panel in ORWindow, with localised messages. *** empty log message *** Game end (maybe not yet complete) *** empty log message *** Fix Lots of minor fixes, mostly to get OR display correct again. Updated stock chart so that only changed squares are updated Granular Model/View for LastRevenue Fixes to D train exchange and 4-train rusting. Enabled reading files from the jar ORPanel/OperatingRound cooperation for train buying changed to move the game decisions to the Model. buyTrain: lookup train for selected prompt rather than parse it. Added coordinates Added president help in buying trains, including selling shares in an ShareSellingRound. Implemented TradeableCertificates for buying. Make GameStatus aware of sellable certificates. Game end implementation. Add "Close all windows" button after game end. Several fixes Implemented 18Kaas *** empty log message *** Fixed share trading bugs. Mark President in Game Status window. Fixed available tile counting Fixed bug with tile laying at cost with no money (bug 1517705) Fixed tile- and tokenlaying related bugs (wrong repainting of UpgradesPanel) Train buying fixes Train buying improvements Added localisation strings with parameters using MessageFormat Remove "Buy Private" button if nothing to buy First basic Action/Undo classes Added basic Undo for stock trading. Not all side effects covered yet! Extended Undo to cover all Stock Round actions, except turn change. Improved log messages Added Redo Upgraded StartRound View/Model interface to work similar to stock rounds. Fixed capitalisation. Added exchange shares Remove default certs if company-specific certs are defined 1835 map Changed home base token management such that one tile can contain multiple home bases in multiple stations (cities). Fixed token laying. 1835 majors can now lay 2 yellow tiles in the yellow phase. Off-board revenue values in tooltips. Added private special properties (tile and token lays). Added red message about active special properties to the Map Window. Renamed game.action package to game.move, and Action to MoveSet. Implemented "PossibleAction" for private buying. Fixed special tile lays in 1830. Fixed extra tile laying message in 1830. Some cleanups. Added XML option to make owning a train optional (for minors as in 1835) *** empty log message *** Token laying now uses LayToken allowance objects. Special properties for condition "ifOwnedByPlayer" (as in 1835) now work. Cleanup in localised text. Localised tooltips More localisation cleanups Implemented Undo/Redo for tile lays. Added tokens display to GameStatus and ORPanel. Implemented undo/redo for token lays. Added check that a company cannot lay tokens twice on one hex. Implemented Undo/Redo for the OR revenue entry and payout steps. Imports cleaned up All user messages in OperatingRound are now localised. 1870 fixes Detect absence of stations while laying tokens Some tile-laying related fixes. Added log4j logging and applied to ImageLoader only. System.out.print replaced by log4j logging. Simplified my.properties. Some StartRound fixes, more localisations, and cosmetic changes Added some config items to my,properties. Moved version-string from LocalText to Game. Package names changed (rails prepended) Remove corrupt jars Improved Undo/Redo, mainly in the OR. MoveSet.add() calls moved down into Move subclasses Minor changes Start Round processing updated: Applied parametrized collections to resolve most Java 1.5 warnings. More generics and for/in loops More generics and for/in loops Restructured StockRound View/Model interface to use new PossibleAction subclass objects. Bug fixes and minor improvements to the StockRound overhaul. Fixed bug (ClassCastException when clicking Map checkbox) Cleanup Fix: put only slash after tileRootDir if it has a value OR using PossibleAction object for execution. Removed redundant classes. Removed redundant classes. Undo/Redo completed. Cleanup Save/Load. Fixed bug: laid tiles not shown after Load. Fixed bug: No payout options shown after Set Revenue Fixed more bugs Bugs fixed. new SerialVersionUID because of changes Added playability comments to game list in Options. Added Game Options, allowing conditional attributes (see example in 1830/Game.xml). Also used to replace Variant choices. Integrated game option setting into the Options window. Preparations for adding Bonus Tokens, as in 18AL, 1856 etc. Streamlined Game startup interface. Cleaned up old code & added $Header where missing Used new Tag class everywhere. XmlUtils removed. Added description for 1830 Fix: "revenue" changed to "value" All 'name' atributes of tiles>0 are now numeric All tiles with id > 0 now have a numeric name 18EU tiles added Added (includes 18EU) Updated including all tiles now. Added Updated for implementation of Lumber Terminal Updated mainly for 18AL special properties. Lumber Terminal now works. Some fixes too. Added 18EU Added Updated Fixes Allowed default colour per company type (used for minor) Improved Colours Name correction Implemented 18AL bonus token. Bonus Token Removal (18AL) Implemented 18AL Named Trains. Require new tiles to be connected (except home bases and special lays). Fix: tile lay check only applies to yellow tiles Added 18AL train naming by using NDY private. Implemented 18AL destination bonus Updated game 1830 and 18AL descriptions Connection check bug fixed Fixed bug in handling par price setting for President's shares coming with a private. 1851 - partial implementation Fixed special green upgrade in Montgomery. Improved tile rotation validity checking: preserve old tracks (except OO cities). Minor changes & cleanups 1851 almost completed 1851 completed. Added bidding parameters Fixed 18EU description Removed redundant base prices Minor changes, related to the 18EU start round implementation. BuyOrBidStartItem renamed tp StartItemAction and subclassed with separate BuyStartItem and BidStartItem classes. resetOption() added Added boolean allowNegative Minor changes caused by 18EU start round implementation Added Minor changes (if any at all) Changes to accomodate the 18EU start round New entries for 18EU start round Added setBit and bitSet Fixed Berlin/Vienna yellow tile Completed -10 to 201,202 upgrade locations Fixed Budapest (was plain) Added initial 2-trains Added <StockRound> Formatting and minor changes More 18EU aspects Added moveObjects() to move the contents of a list without incurring ConcurrentModificationExceptions Added More 18EU aspects Fixes Reorganised to get all tile-laying related items under <LayTiles> Fixed bug: trains could not be traded Fixed tile -939 to become an Off-Map city tile. The "internal" (XML) representation now differs from the "external" (visible) version. Removed getBaseTokenLayCostBySequence. The functionality has been moved to PublicCompanyI. Removed getBaseTokenLayCostBySequence(). The functionality has been moved to PublicCompany. TokenLay cost now obtained from PublicCompany (previously from CompanyManager) Added "whenStarted" as an option to lay home base token. Fix: set the minors to "started"when bought Use larger font if the name is shorter than 4 characters Hide spinner when revenue is set. Fixed bug that prevented tiles to be laid where internal and external IDs were different. Added new inner class HexImage for that purpose. Fixes and additions Using Util.moveObjects() Added getCompanyByName() Added getCurrentTrainLimit() Added getCurrentTrainLimit() Added stubs: setGameSpecificActions() and processGameSpecificActions() New Added U (unfloated) indicator Added setGameSpecificActions() and processGameSpecificActions() Changes for 18EU Added handling for MergeCompanies Added lines for 18EU Formatting only Upgraded 18EU to "partly playable" Fixed Undo problem in 18EU Implemented 18EU Pullmann train buying and discarding Corrected city locations Added split revenue option Corrected city numbers Added some for 18EU Changed "corner" location codes on behalf of correct token position calculation. New code for token position calculation Improved rotation checking for city tiles. Formatting only Stations -> Cities Phase 5 company start (unfinished) Changes for 18EU, incl. better token positioning on tile upgrades Added city names for use in tooltips and home base selection (18EU) City names Nothing material 1835 tile laying fixes Completed 18EU Fixed some 1835 tiles Remove duplicate tokens when cities merge Small rearrangement Move cash and certificate transfers on floating from PublicCompany to Round Few new entries Added comment for 18EU Added generic facility to allow multiple upgrade costs. Commented multiple upgrade cost values Fixed format errors Also display upgrade cost on laid tiles Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. Fix stall after repaying loans in 1856 Changed previous fix, to reinstate the need to press Done after repaying loans 1835 Prussian formation & some consequential changes Fix 1856 share price adjustment if multiple 5% shares are sold in one round. Prussian formation Fixes to get excess train discard before prussion formation on buying the first 4-train in 1835. Fixed big in Clemens variant: first player was wrongly assigned. 1835 Nationalisation Added JGraph libs Removed erroneous annotation Moved hardcoded company IDs to GameManager_1835 No token lay on L6 before BA has laid home token 1835: higher certificate limit if 80% owned. Added OperatingRound methods isBlockedForTileLays() and isBlockedForTokenLays(). Fixed reserved token spot detection Removed a redundant (because duplicate) method Added missing hex G1 'relatedStation' converted into a State object Reinstated the brown-OO-upgrade-correctness check, which had disappeared in version 1.0.5 for unclear reasons. Chech Prussian presidency after each formation round Fixed bad player assignment in 1830 style auctions (bug 2989440) Fixed 1856 W&SR closure Fixed crash when last 8-train bought Added unlimited last (8-)train option Restructured float detection such that an 1835 bug is fixed (BY must not float if one of its privates is unsold) and that game specific aspects can more easily be implemented in Round subclasses. Fixed station numbering effect on token laying in multi-city tiles Removed 'None' option on the "which train to exchange" question. Removed use of redundant 'forcedExchange' TrainBuy attribute Replaced XML of Goderich/Hamburg red tile #-939 by handmade XML including a City (not OffBoardCity). Fixed tile -803 (Hamburg 1835: one city had 20 revenue) Fix tile 209 (1835 green Berlin) laying ptoblem (no valid orientation). Fixed Javadoc Removed unused attribute Bugs fixed when M1 or M2 buy 1st 4-train in 1835. 1835: Implemented denial of dividend for PR shares received in exchange for precursors that have operated before in the same OR. Moved "Variant" game option name to GameOption In the Clemens variant, minors will not run if BY has not floated Added new 1835 options: Honoured option: Minors don't run if BY has not floated 1835 marked "Almost playable". Description updated. Fixed message (parameter missing) Fixed typo that prevented 1856 companies to close on stock space B11 Fixed double withholding of CGR in 1856 Fixed holes that allowed not specifying the exchanged train in a train exchange action. Rewritten code to assign next operating company to avoid the OperatingCompanyIndex state object. This was continually causing problems. Fixed 1835 bug at buying the first 5-train. Enable custom route colours Fixed parseColour() to catch empty or missing values Prevented concurrent modification when closing privates Fixed some bugs with recent rewrite of resetOperatingCompanies(). 18EU bankruptcy rules 18EU bankruptcy rules (Phase 2) 18EU bankruptcy rules (Phase 3) 18EU bankruptcy rules (Phase 3a) 18EU bankruptcy rules (Phase 4) - making a restarted company actually operate (!) Fixed a message Added player names Added '+' to game version Fixed potential nullpointer bug 1835: fixed train discarding by PR at end of any PR formation round. Fixed previous fix Cancel button made optional (it's probably never used anyway) Fixed 1835 certificate ordering in IPO after Undo Added missing PR home hex Fixed 1889 tile 439 (value 60) Removed redundant copy Removed redundant file Replaced # by () to indicate number of available tiles in the upgrades panel Fixed: for the cert limit check, a bought 20% cert was counted as 2 (shares) in stead of 1 (certificate) Fixed bug in buying multiple "brown" shares Initial import. Empty and redundant 'Rails' obsctructs checlout of 'rails' Fixed price token order changes at end of SR Fixed import expansion All addObject() and related methods now take a position argument. ObjectMove has an additional fromPosition attribute. Also toPosition, but that isn't used yet. This all is used to ensure that Undo always restores the original List order for moves executed via ObjectMove. Simplified addXxxx methods by using the new Util.addToList. Allow the old object positions in more than one list to be saved in ObjectMove. This should restore ALL lists affected by ObjectMove into original order after an Undo. Suspended logger initialization until after the system property log4j.configuration is set; otherwise teh latter is just ignored. Changed BuyCertificate to pass on share size per certificate rather that the certificate ID. Fixed config error that prevented PR to buy the extra train Fixed bug that prevented some cash transfers after the bank has broken. Executed actions are no longer saved as a List<PossibleAction> but as a containerless sequence of PossibleAction objects. New option to enable selling stock of one company in one turn in separate actions at decreasing prices. Implemented option to sell shares in same turn at decreasong prices for all games except 1835. Removed 1870 from the list of companies where the "second sale at lower price in same turn" option would apply (per JDG). 1835 to use "proper" (JDG) company names Fixed bug that allowed 1835 share selling of unfloated companies. Reclassified 1825 Fixed: Config.label.or.number_format=OR number format Fixed: if company sells a train, a lone remaining Pullmann muet be discarded. Fix: if merging minor and major both bave a Pullmann, discard one. Fixed two message text internationalisations Fixed: 18EU FMER did not start correctly if 5-train buyer went bankrupt as prersident of last OR company Reset 'operated' flag when making a bankrupted 18EU major restartable. Minor comment fix Freek Dijkstra (7): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Add jgraph and junit libraries to class path Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. Stefan Frey (166): 1889 stockround sequence corrected (SellBuyOrBuySell) Check for null in preventClosingConditions (just in case) Updated 1889 description Added NoMapMode as GameOption. Added shell script to create pdf of all tiles defined in Rails Add button to GameSetupWindow that allows randomizing the player order at startup. Fixed bug in randomize if player prefill is used. NoMapMode: Does not display the map (set to invisible). NoMapMode default "no" for 1889 Added noMap support for 1856 Minor fixes and improvements to NoMap OperatingCosts Added better support for B and C privates Activated third OffBoardRevenueStep Fixed stock round undo bug (ID: 2954657) Changed base class of ClosePrivate and OperatingCost actions to... [truncated message content] |