1
0
forked from 0ad/0ad
Commit Graph

414 Commits

Author SHA1 Message Date
e6ebfa2ab9 Fix tests
This was SVN commit r9016.
2011-03-04 23:22:09 +00:00
09cbe4f341 Disable debug messages when instantiating AIs
This was SVN commit r9014.
2011-03-04 21:50:30 +00:00
3e7731e8ca Stop units wasting their lives chasing animals they'll never be able to catch.
Let AI players collect treasures.

This was SVN commit r9012.
2011-03-04 21:42:39 +00:00
bec4c6437b Make non-combat units flee when under melee attack, and not attack enemies automatically.
Fixes #703.

This was SVN commit r9010.
2011-03-04 14:36:41 +00:00
16a4eb36dd Various minor optimisations.
Enable SpiderMonkey method JIT in Release mode.
Add Engine.ProfileStart/Engine.ProfileStop functions for scripts.
Fix AI to clone initial entity data and shared metadata.

This was SVN commit r9003.
2011-03-03 00:16:14 +00:00
cb0e322a61 # Minor AI fixes.
Avoid script errors on Miletus.
Use pre-existing female citizens as workers.
Fix autostart.

This was SVN commit r8999.
2011-02-27 19:20:36 +00:00
b15ea0691f Attempt to improve AI selection in the game setup screen.
This was SVN commit r8998.
2011-02-27 17:58:41 +00:00
18b317bc19 # Improve animal AI, based on patch from Badmadblacksad.
Fixes #563.

This was SVN commit r8995.
2011-02-27 13:34:22 +00:00
4f8dc9c777 Fix script error message when starting Atlas
This was SVN commit r8989.
2011-02-26 00:19:02 +00:00
f4f36af852 Block new buildings being placed on top of existing not-yet-started foundations. Fixes #740.
This was SVN commit r8980.
2011-02-24 21:49:24 +00:00
798278a6c1 Fix template validation error
This was SVN commit r8979.
2011-02-24 21:45:25 +00:00
0be515280b Memoize some common entity lists in AI scripts.
This was SVN commit r8963.
2011-02-21 02:14:45 +00:00
28354159db Added eyecandy bridge edges.
This was SVN commit r8954.
2011-02-20 12:27:12 +00:00
7476bad7e2 New siege ram sounds added. Celt siege ram files.
This was SVN commit r8912.
2011-02-12 00:01:21 +00:00
6cd212a68d Female acknowledgement sound placeholder
This was SVN commit r8908.
2011-02-11 00:40:25 +00:00
ec97d271d6 Added bark sounds to celt war dog
This was SVN commit r8905.
2011-02-10 23:24:10 +00:00
a1ef809904 Fix error when returning resources before having ever collected any
This was SVN commit r8904.
2011-02-10 23:09:28 +00:00
72f1e46b97 Gathering sounds for Celt and Hele infantry units
This was SVN commit r8902.
2011-02-10 20:52:29 +00:00
78e174af7d Fix auto-gathering after constructing fields.
Fix building on top of animal corpses.
Fix builders getting in the way of their own building.

This was SVN commit r8900.
2011-02-10 19:50:08 +00:00
b8925fbbc9 # Support AI construction of buildings.
Pass terrain passability data to AI scripts.
Expand pathfinder passability data to 16 bits per tile, to allow more
classes.
Support 16-bit ints in serializer.
Partially support JS typed arrays.
Allow foundations to be placed on top of units (fixes #499).
Stop farms and fishes blocking movement (fixes #534).
Add obstruction flags to allow finer control over what they block.
Associate entity IDs with obstruction shapes, to allow finding colliding
entities.
Support moving to the edge of a target entity with inactive obstruction.
Support foundation entities in AI.
Support playing as non-hele civs.

This was SVN commit r8899.
2011-02-10 16:06:28 +00:00
c63fb49154 Added resource gathering sounds to celt and hellene females
This was SVN commit r8896.
2011-02-09 20:55:35 +00:00
7a38272e55 This was SVN commit r8894. 2011-02-08 21:51:51 +00:00
57e5bb878a Initial terrible AI player scripts.
This was SVN commit r8891.
2011-02-05 20:35:34 +00:00
0e0f16dedb Template for super cav swordsmen.
This was SVN commit r8879.
2011-01-31 05:08:11 +00:00
f39f279132 Add AI script code to provide a cleaner API around the engine interface.
Handle AIProxy entirely through scripts.
Support structured clones of script values.
Improve performance.
Support multiple script contexts sharing a runtime.
Use a separate context per AI player.

This was SVN commit r8866.
2011-01-15 23:35:20 +00:00
dd501b2a5a # Add initial basic player AI framework.
Support direct access to serializer streams, so serializers can be
nested.
Make component script "this.template" read-only.
Stop globally-subscribed component scripts receiving messages posted to
local components, to reduce out-of-sync risks.
Move pathfinder data out of entity template directory.
Fix GuiInterface deserialization.

This was SVN commit r8865.
2011-01-12 12:29:00 +00:00
1051d10f54 Add "chat" command.
Simplify deletion of multiple entities.
Simplify some setTimeouts.

This was SVN commit r8864.
2011-01-12 12:21:41 +00:00
aaef1b0d74 Add script for generating mostly-useless component interaction graphs.
Fix some components to use more standard syntax.

This was SVN commit r8857.
2011-01-07 20:31:48 +00:00
a0d2d89863 Fixed Cost element in template_unit_mechanical_siege_ballista template
This was SVN commit r8855.
2011-01-03 13:42:57 +00:00
9af7747d76 Adding necessary BuildRestrictions/Category element to some templates
This was SVN commit r8854.
2011-01-03 13:36:40 +00:00
5e3049f6b2 BuildLimits. Needs some configuration changes to work
This was SVN commit r8836.
2010-12-11 23:19:17 +00:00
0b511e33a7 This was SVN commit r8823. 2010-12-08 21:26:50 +00:00
be4b262919 Removed the dudes from the top of the wall gate. Made a bolt projectile for the Oxybeles.
This was SVN commit r8822.
2010-12-08 21:26:08 +00:00
549a4fc51a Garrisoning bug fixes
This was SVN commit r8821.
2010-12-08 20:12:24 +00:00
e486e6fefb Adjusted health/train time of the Corrals.
This was SVN commit r8820.
2010-12-08 19:41:12 +00:00
a80b139a28 Building tooltip tweaks for Alpha III release. These tooltips will be updated as we add more relevant features.
This was SVN commit r8819.
2010-12-08 19:29:48 +00:00
e853dd1079 Display "garrisoned" prop on buildings containing units
This was SVN commit r8817.
2010-12-08 19:03:57 +00:00
f04c2561b7 Various resource shuttling improvements. Fixes #672.
This was SVN commit r8811.
2010-12-08 16:12:04 +00:00
b7240dc3fe This was SVN commit r8806. 2010-12-06 22:50:08 +00:00
01f699b62d Too much stuff to itemize. I'm lazy.
This was SVN commit r8799.
2010-12-06 02:20:57 +00:00
238925f927 Minor garrisoning related tweaks
This was SVN commit r8778.
2010-12-03 20:25:21 +00:00
cf2638da09 This was SVN commit r8776. 2010-12-03 14:42:19 +00:00
c09d6dcb83 Added garrison & repair button on the unit's command panel
This was SVN commit r8756.
2010-12-01 03:01:17 +00:00
a58e7cfb4c Fix call to renamed function
This was SVN commit r8754.
2010-11-30 15:39:48 +00:00
ab186c2b16 Update UnitMotion logic, to partially simplify it.
Do all pathfinding asynchronously.
Recalculate paths when the target has moved.
Fix vertex pathfinder start point heuristic, to avoid finding
zero-length paths.
When units fail to reach a resource to gather, look for another resource
of the same type.

This was SVN commit r8751.
2010-11-30 12:31:54 +00:00
e509887341 Complain better about invalid player IDs.
This was SVN commit r8749.
2010-11-30 12:27:38 +00:00
693425c716 New Greek corral by Amish.
This was SVN commit r8741.
2010-11-29 14:21:19 +00:00
75d6eec95d This was SVN commit r8738. 2010-11-29 08:36:35 +00:00
8019ee8b5f This was SVN commit r8733. 2010-11-28 16:08:58 +00:00
f06eba3da5 yet another awesome tip. :)
This was SVN commit r8732.
2010-11-28 14:35:48 +00:00