Commit Graph

48 Commits

Author SHA1 Message Date
Stian Grenborgen 18ec0e754a Uses changeMission instead of setMission since the former handles dispose and setting transportation priority. 2023-05-02 21:21:05 +02:00
calebrw ded8170abc Update Copyright Year to 2021. 2021-01-24 21:41:02 -06:00
Mike Pope a9d26cdc31 Update copyright year. 2020-07-13 17:13:35 +09:30
Mike Pope 118eefe605 Clean up static overloads (findbugs). 2019-03-26 20:49:01 +10:30
Mike Pope 9a1977eba5 Add and use FreeColTestCase.getServerPlayer. 2019-03-18 10:44:40 +10:30
Mike Pope f7a76b015c Bump copyright year. 2019-01-07 19:59:49 +10:30
calebrw 5b6b8996e8 Update all applicable Copyright tags to 2018 2018-05-06 21:47:39 -05:00
calebrw 45f652fdb3 Bump year to 2017 2017-01-01 20:55:05 -06:00
Michael Pope dd62c0c098 More routines split into list and stream version. 2016-06-30 19:05:18 +09:30
Mike Pope 6c8a1d7e2e Update copyright year. 2016-01-04 19:37:25 +10:30
Michael Pope 6477d11771 Game.getPlayer -> getPlayerByNation{,Id}. 2015-09-29 17:53:09 +09:30
Mike Pope 279e81e3be Update copyright year to 2015. 2015-01-04 11:54:55 +10:30
Sebastian Zhorel ee21ff0cac Clean up all unused imports 2014-12-08 21:42:42 +10:30
Mike Pope 2c16d5f0cd Bump copyright year. 2014-08-28 17:36:45 +09:30
Michael Pope 314347ca25 Logging in mission constructors was too messy. 2014-08-19 15:04:33 +09:30
Mike Pope 39f1fcc8a2 Integrate mission creation logging. 2014-08-16 13:39:06 +09:30
Michael Pope c716bd1657 Add and use LogBuilder. 2014-07-18 18:41:21 +09:30
Mike Pope 56f81d4b3c Improve mission logging. 2014-07-16 17:46:15 +09:30
Mike Pope 8f04488dab Stop using abortMission. 2014-07-14 19:57:08 +09:30
Mike Pope 2a9a424354 AIPlayer logging improvements. 2014-07-11 20:50:45 +09:30
Mike Pope fe378910ed Improve AI handling of cancelled missions. 2014-07-01 21:12:25 +09:30
Michael Pope f0f3c255a7 Drop canBuildEquipment. 2014-06-24 20:59:55 +09:30
Michael Pope 3003157896 Remove some redundant or simple uses of equipment in tests. 2014-06-18 18:54:29 +09:30
Mike Pope c8b61369ff Drop obsolete Ability.{MISSIONARY,SCOUT_INDIAN_SETTLEMENT}. 2014-06-13 22:14:28 +09:30
Michael Vehrs 73b13ce436 Change the argument of canProvideEquipment(). 2013-10-24 07:02:04 +02:00
Michael Vehrs c7a01577a5 Remove static roles from test. Two tests still fail. 2013-08-17 11:07:39 +02:00
Michael Vehrs 173b96192f Fix static Role fields. 2013-08-11 09:48:56 +02:00
Michael Vehrs fa8665a7ed Replace EquipmentType with Role. Step #1: make it compile. 2013-08-03 11:58:35 +02:00
Mike Pope 01e9a2607f Expand and clarify unit equipment handling. 2013-08-01 20:32:21 +09:30
Mike Pope 12002a00c4 Test map handling fixes. 2013-07-05 21:41:10 +09:30
Michael Pope 51070875df Update the copyright message. 2013-06-11 18:29:16 +09:30
Mike Pope bd1429af42 Ensure directional tile improvements are correctly connected. 2013-01-30 19:15:09 +10:30
Mike Pope 5abbb1a9ad Heaps of mission fixes and clean up. 2012-10-22 08:49:28 +00:00
Mike Pope 52ae793bdf Revise PioneeringMission. 2012-08-16 13:00:29 +00:00
Mike Pope 2377bf15ec More EuropeanAIPlayer refinements. 2012-05-26 23:46:56 +00:00
Mike Pope 27b55a1042 Migrate functionality of Mission.isValid() into invalidReason(). 2012-05-23 12:37:11 +00:00
Mike Pope 542c4b374e Rework PioneeringMission. 2012-04-13 23:51:52 +00:00
Paolo Bizzarri abe28334e4 Removed the unused imports. 2012-02-11 15:00:30 +00:00
Michael Vehrs ca7ec88f56 Update copyright. 2012-02-09 11:10:29 +00:00
Mike Pope 2f663e78ea Fixes for PioneeringMission.
- Added Settlement.canProvideEquipment(List<Equipment>)
  to mesh with Role.getRoleEquipment().
- Added Mission.getPathStartTile to aid destination selection.
- Moved getPlayerPioneers to EuropeanAIPlayer where it is needed.
- Fixed getTransportDestination so transport missions will work.
- Cleaned out unnecessary mode variables.
2012-01-31 22:55:53 +00:00
Mike Pope bb7a49110d Remove the state argument from the ServerUnit constructor. The defaults based
on the location work almost all the time.
2011-08-10 09:39:06 +00:00
Mike Pope 8a67d62df4 Get the REF working again. Lots of consequent AI cleanup. 2011-05-18 11:54:53 +00:00
Paolo Bizzarri c7207bc89d Removing unused imports. 2011-03-03 15:47:10 +00:00
Michael Vehrs 600f90f1dc Update copyright headers. 2011-01-01 11:31:57 +00:00
Mike Pope e81641c23a newTurn moves to the server. 2010-10-17 08:35:43 +00:00
Mike Pope 42a2fe53a5 Client-server encapsulation of "equipUnit", plus a bunch of interlinked removal of old client code. 2010-09-10 11:50:29 +00:00
Michael Vehrs e0c563fa90 Change names of FreeColGameObjects (3/3). 2010-03-20 10:24:09 +00:00
Darklord e2f776d435 Fixes bug where a pioneer would try to make an already existing improvement on a tile, resulting in an exception 2008-12-28 00:12:32 +00:00