Commit Graph

66 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
Stian Grenborgen 3291a5fb23 Handles the cases of forced repair (classic combat model) and volunatary repair (hitpoints model) differently. 2023-01-18 22:24:11 +01:00
Stian Grenborgen e0973fe2c4 Adds a new combat model with hitpoints and a mod for activating it. 2023-01-14 20:02:14 +01:00
Stian Grenborgen 027e240a07 Removing unused imports. 2022-01-08 09:06:18 +01: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 5a43aebb39 Settlement routines now have stream and list forms. 2016-06-19 21:15:38 +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 7c7dd93d15 Many uses of Unit.getClosestSettlement checked the wrong return. 2015-09-26 11:28:36 +09:30
Mike Pope 88a5859db4 Its time to promote Direction out of Map. 2015-04-05 15:30:11 +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
Mike Pope 29734f3ba7 More transport logging improvement. 2014-08-27 14:52:58 +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
Mike Pope 96ca03bb57 Auto-retarget TransportMissions. 2014-08-14 18:43:05 +09:30
Michael Pope e9763a3d0a Transportable becomes TransportableAIObject class. 2014-07-31 18:52:43 +09:30
Mike Pope 0a74be4665 Add and use class-qualified AIUnit.{has,get}Mission(). 2014-07-27 13:35:56 +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 fe378910ed Improve AI handling of cancelled missions. 2014-07-01 21:12:25 +09:30
Michael Pope aeb18cf302 Handle changes to underlying goods inside AIGoods. 2014-04-12 22:07:14 +09:30
Mike Pope 020a7d160c Fix failure to queue goods. 2014-01-02 00:28:36 +10:30
Mike Pope 15ced86441 Find entry point using player knowledge, BR#2622. 2014-01-01 23:44:45 +10:30
Michael Pope 5f03a0e39f Start test ship on water. 2013-07-24 20:36:36 +09:30
Mike Pope 5822f18db5 getAdjacentTile is getNeighbourOrNull. 2013-07-20 14:43:04 +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 2b0293fb83 Tidy serialization #79, Unit. 2013-05-08 07:52:30 +09:30
Mike Pope 9e68ade8d2 Revise TransportMission. 2012-10-09 00:55:31 +00:00
Mike Pope 27b55a1042 Migrate functionality of Mission.isValid() into invalidReason(). 2012-05-23 12:37:11 +00:00
Michael Vehrs ca7ec88f56 Update copyright. 2012-02-09 11:10:29 +00:00
Mike Pope e5bd08a73a Improve logging of AI mission changes. 2012-01-29 10:56:43 +00:00
Mike Pope 81cfe1611d Yet another round with getRepairLocation(). 2012-01-13 05:08:14 +00:00
Mike Pope c9af2c26c2 Cleanups in TransportMission, fixing an exception. 2012-01-11 20:14:33 +00:00
Michael Vehrs 4a68da9c25 Start working on wagon trains. 2011-08-13 13:31:03 +00:00
Mike Pope 522b870a12 Only exclude current colony from repair locations if the colony is about to fall. 2011-08-12 10:13:21 +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
Michael Vehrs f1b285195c Add necessary imports. 2011-06-25 13:00:40 +00:00
Michael Vehrs de3195c5ca Make various ability strings static, now that we don't check at runtime anymore. 2011-06-25 09:32:58 +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