mimo
0b86bbd424
another bunch of cleanup (mainly missing semicolon) signaled by jshint
...
This was SVN commit r17045.
2015-09-19 12:50:48 +00:00
mimo
e42e02d4fe
bunch of cleanup (mainly missing semicolon) signaled by jshint
...
This was SVN commit r17044.
2015-09-19 12:41:21 +00:00
mimo
e2bfba740b
sanitize matchsettings, patch by elexis, fixes #3431
...
This was SVN commit r17043.
2015-09-19 12:35:10 +00:00
Itms
fb6b86f928
Use the good material for the destroyed roman camp actor. Patch by stanislas69, fixes #3218 .
...
This was SVN commit r17042.
2015-09-19 12:18:27 +00:00
Itms
881f80a26a
Highlight all player names in the lobby chat. Patch by stanislas69, fixes #3281 .
...
This was SVN commit r17041.
2015-09-19 12:15:06 +00:00
mimo
4996d28110
change player color in gamesetup in random and skirmish maps, patch by elexis and stanislas69, fixes #1580
...
This was SVN commit r17040.
2015-09-18 21:54:43 +00:00
Itms
c24f2b1414
Revert a wrongly committed WIP change.
...
This was SVN commit r17038.
2015-09-18 19:54:19 +00:00
Itms
7b84c26a44
Fix some issues reported on Transifex.
...
This was SVN commit r17037.
2015-09-18 19:51:56 +00:00
Itms
0c043b5bdb
Fix edge case in the UnitAI state machine. Fixes #3429 .
...
This was SVN commit r17036.
2015-09-18 17:07:32 +00:00
Itms
4da5d571fc
Move the AI data to the new simulation settings system. Patch by elexis. Refs #3355 .
...
This was SVN commit r17034.
2015-09-18 16:36:52 +00:00
mimo
4655196d6f
petra: exit immediately when no entities, fix #3110
...
This was SVN commit r17033.
2015-09-17 18:19:06 +00:00
mimo
57a094268c
petra: some tweaks and cleanings
...
This was SVN commit r17032.
2015-09-17 17:58:34 +00:00
mimo
749637dc84
Move the map types to the new simulation settings system. Patch by elexis. Refs #3355 .
...
This was SVN commit r17031.
2015-09-17 17:55:27 +00:00
Itms
b478b9742a
Workaround for a specific case of #3410 , where units could stand on a committed foundation. Just check for units and order them to leave during all the building.
...
Refs #3410 .
This was SVN commit r17029.
2015-09-17 16:34:30 +00:00
Itms
b77ad821c2
Reenable formations and fix/improve the communication between UnitAI and UnitMotion. With the new pathfinder some path requests can be completed instantaneously, so UnitAI has to handle MoveStarted messages even in the IDLE state.
...
Please note that this commit makes #3410 really visible. Formation
members might pass through buildings.
Refs #3410 , #3337 .
This was SVN commit r17028.
2015-09-17 16:31:23 +00:00
mimo
fc45777793
delay the ownerShip only after the entity is spawned, fix #3422
...
This was SVN commit r17027.
2015-09-16 09:33:38 +00:00
mimo
21619a4705
Move the victory conditions to the new simulation settings system. Patch by elexis. Refs #3355,#3001
...
This was SVN commit r17026.
2015-09-16 09:22:36 +00:00
mimo
4e716699d7
cleanup of EntityState caching
...
This was SVN commit r17025.
2015-09-15 21:34:31 +00:00
mimo
7e18c0fd9e
determineAction only when needed
...
This was SVN commit r17024.
2015-09-15 18:39:03 +00:00
mimo
012bf32673
petra: improve detection of threatening enemy units, complete and fix 7ac0a4a3db, fixes #3418
...
This was SVN commit r17023.
2015-09-15 18:29:57 +00:00
leper
7eefcbe8c5
Do not use non-static data member initializer.
...
GCC 4.6 does not support those and initializing it in the ctor is a lot
clearer in this case.
This was SVN commit r17022.
2015-09-15 00:55:03 +00:00
leper
a65a8472f9
Mark some const functions as such.
...
This was SVN commit r17021.
2015-09-13 20:59:10 +00:00
mimo
e7f736fd0f
Move the game speeds to the new simulation settings system. Patch by elexis. Refs #3355
...
This was SVN commit r17019.
2015-09-13 19:15:07 +00:00
mimo
ae3aad704d
fix previous commit
...
This was SVN commit r17018.
2015-09-13 19:06:14 +00:00
mimo
9816e7c92d
Rename some variables to point out that they are only used in visual replay. Add script function IsVisualReplay. Refs #9 #3355 , patch by elexis
...
This was SVN commit r17017.
2015-09-13 19:03:33 +00:00
mimo
7ac0a4a3db
petra: improve detection of threatening enemy units
...
This was SVN commit r17016.
2015-09-13 17:25:18 +00:00
mimo
4964303f54
petra: be more restrictive to attack a field, refs #3406
...
This was SVN commit r17015.
2015-09-13 17:21:48 +00:00
Itms
ae6475fcc0
Fix a typo, patch by godlikeldh.
...
This typo didn't have any influence since dirty unit shapes are usually
discarded during the rasterization (they don't block long-range
pathfinding). Switching the order of a check in RasterizeHelper prevents
performance problems to a really small extent.
This was SVN commit r17014.
2015-09-13 10:18:37 +00:00
Itms
03d2c5e40b
Support inverted goals with the long-range pathfinder. This allows units to flee and should fix problems with ranged units too close to their targets. Fixes #3405 , refs #3372 .
...
Now that units flee it's necessary to fix the unit chasing: this commit
reintroduces some code from 298115f4c5 that disappeared with the
committing of the new pathfinder. Refs #1537 .
Also includes some style improvements to the UnitMotion code.
This was SVN commit r17013.
2015-09-13 09:33:09 +00:00
leper
bbcf996531
Move the population cap to the new simulation settings system. Patch by elexis. Refs #3355 .
...
This was SVN commit r17012.
2015-09-13 00:32:34 +00:00
leper
8bb21e251a
Make Tuscan Acropolis skirmish map playable. Changes by stanislas69. Fixes #2970 .
...
This was SVN commit r17011.
2015-09-12 20:59:19 +00:00
leper
73c210f6fb
Clean up line endings.
...
This was SVN commit r17010.
2015-09-12 20:58:59 +00:00
leper
bdd6dd0f2f
JS component cleanup.
...
This was SVN commit r17009.
2015-09-12 20:58:57 +00:00
mimo
f271dd2bc1
fix display in structure tree of techs researchable only at a later phase than their availability, #fix #3411 , patch by S0600204
...
This was SVN commit r17008.
2015-09-12 20:02:14 +00:00
mimo
29f7f56f60
Add the starting resources to the new simulation settings system, refs #3355 , patch by elexis
...
This was SVN commit r17007.
2015-09-12 19:29:42 +00:00
Itms
a3767c3236
Add the ceasefire settings to the new simulation settings system.
...
Patch by elexis, refs #3355 .
This was SVN commit r17006.
2015-09-12 09:48:35 +00:00
mimo
979ea476b7
petra: do no make a trade route between too nearby markets
...
This was SVN commit r17005.
2015-09-11 18:06:26 +00:00
leper
8507a7bc27
Create commands.txt only when actually starting the game. Patch by elexis. Fixes #3408 .
...
This was SVN commit r17004.
2015-09-11 17:44:50 +00:00
leper
558695365d
Add some documentation about system components. Fixes #3315 .
...
This was SVN commit r17003.
2015-09-11 04:10:26 +00:00
leper
fc051d94cc
Add check for non-passable (likely water-only) maps to territory percentage calculation.
...
Patch by s0600204. Fixes #3407 .
This was SVN commit r17002.
2015-09-11 02:16:21 +00:00
mimo
7842aa0468
petra: do not loose time attacking useless structures
...
This was SVN commit r17001.
2015-09-10 19:27:18 +00:00
mimo
dff16f664e
make fences not capturable (as walls and palisades)
...
This was SVN commit r17000.
2015-09-10 19:26:06 +00:00
Itms
9da482ead4
Based on previous experimental changes, major update to the unit motion.
...
With this change, units will not check their movement against all
obstructions when moving: terrain and static obstructions are assumed to
be handled by the long-range pathfinder.
However, when static obstructions are changed, the paths have to be
invalidated. In order to minimize the performance impact, units will
check for obstructions when they move after a passability change. If
they collide with something, they will recompute a path that will take
into account the new passability map.
Also includes some code cleanup. This patch should not change
performance a lot: the lower number of checks should give a small
performance improvement while using the message broadcasting system
should hurt it a bit.
Fixes #3376 , #3337 , #1914 .
This was SVN commit r16998.
2015-09-10 18:12:13 +00:00
JoshuaJB
8b437a0b1c
Fix #3386 , patch by elexis.
...
This was SVN commit r16997.
2015-09-10 05:30:18 +00:00
mimo
00a51404c9
cleanup of some for ... in loops on arrays (replaced by for ... of)
...
This was SVN commit r16996.
2015-09-09 18:21:17 +00:00
mimo
6213db17dd
petra: some tweaks in trade techs
...
This was SVN commit r16995.
2015-09-09 18:00:53 +00:00
mimo
ec6ae9d601
avoid that ships block allied docks, fix #3402
...
This was SVN commit r16994.
2015-09-09 17:37:44 +00:00
Itms
3f37ac44d6
Correctly fix the splashscreen typo.
...
This was SVN commit r16993.
2015-09-08 19:23:47 +00:00
mimo
bd355c531a
petra: fix and complete c1efebab15
...
This was SVN commit r16992.
2015-09-07 18:14:50 +00:00
mimo
a40fdd52d9
fix typo in 19d8c631be
...
This was SVN commit r16991.
2015-09-07 18:00:59 +00:00