mattsc
49e216bba3
AI code: remove old version annotations from TODOs
...
Also use consistent capitalization and add a couple comments referring to existing TODOs.
2018-12-16 16:27:29 -08:00
Martin Hrubý (hrubymar10)
674fda85b7
Migrate links to https if available - Fwd c18537edc0
...
(cherry-picked from commit bc4d22dc72
)
2018-10-07 03:23:36 +00:00
Celtic Minstrel
afc60b9cc6
Rename the unit copy function (and make it non-static)
2018-03-11 01:36:17 -05:00
gfgtdf
a32f6aaf64
make sure units are always stored in unit_ptr step2
...
previously the unit ctor could invoke arbitrary umc lua code, for
example via advance_to -> add_modification ->
resources::lua_kernel->apply_effect and during that call the unit was
not owned by a unit_ptr, so the code could not use unit_ptr objects at
several places because the unit might not be owned by a unit_ptr object.
2018-03-11 01:36:16 -05:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018
2018-01-19 00:02:20 -06:00
Charles Dang
80526e8387
AI/Lua Engine: further cleanup of shared_ptr creation/assignment
2017-10-10 11:50:22 +11:00
Celtic Minstrel
b4dc11ce36
Belated 2017 copyright update
2017-03-19 10:05:38 -04:00
Charles Dang
4d48ed1319
Cleaned up util.hpp includes
2016-12-08 14:21:18 +11:00
Charles Dang
ed15163b95
Convert uses of resources::units to resources::gameboard->units()
...
This mirrors the similar conversion of resources::teams in 6235e18bbd
.
2016-12-02 12:00:08 +11:00
gfgtdf
553ac0fd05
add wml_x/y() getter & setter in map_location
2016-09-16 22:35:41 +02:00
Charles Dang
05092ba2f6
Refactor most boost pointer related stuff to use their stdlib counterparts
...
This constitutes drop-in replacements for:
* boost::shared_ptr
* boost::scoped_ptr
* boost::weak_ptr
* boost::enable_shared_from_this
* boost::static_pointer_cast
* boost::dynamic_pointer_cast
This excludes boost::intrusive_ptr, except for stray includes. Refactoring that is more complicated.
2016-07-25 09:28:42 +11:00
Celtic Minstrel
3ac7f8d970
NULL -> nullptr
...
A few cases of NULL were missed, since changing them led to errors
(Mainly instances where it was passed to a boost::function)
2016-03-31 00:42:38 -04:00
Celtic Minstrel
2e772cd32e
Minor AI include fixups
2016-03-24 00:59:02 -04:00
Charles Dang
6374f57b37
Fixup ai include paths
2016-03-24 15:27:01 +11:00
Celtic Minstrel
17ea7fac6b
Reorganize the AI source files a little
...
This also tries to make them include everything by full paths instead of relative paths.
2016-03-24 00:08:12 -04:00