1
0
forked from 0ad/0ad
Commit Graph

8151 Commits

Author SHA1 Message Date
52af5b29a1 Ptolemaic bireme commit.
Fixed error in sparten temple when destroyed found bi Sanderd17

This was SVN commit r14870.
2014-03-26 20:34:54 +00:00
7c0c294814 Move some resources to passable terrain
This was SVN commit r14869.
2014-03-26 18:28:00 +00:00
d5ff29d181 fix a flaw in UnitAI trade management
This was SVN commit r14868.
2014-03-26 09:11:06 +00:00
3dfa858229 remove some leftover warnings in petra
This was SVN commit r14867.
2014-03-25 19:26:45 +00:00
5de3b30742 fix previous tag
This was SVN commit r14866.
2014-03-24 22:51:15 +00:00
97afd25171 commit first version of new ai bot (named Petra)
This was SVN commit r14865.
2014-03-24 22:33:50 +00:00
b03e3644ac add a few usefull functions in ai/common-api
This was SVN commit r14864.
2014-03-24 22:15:40 +00:00
90b9926ca1 Fixes warning showing up with the new SpiderMonkey.
The changed return value isn't related but returning false makes more
sense there IMO.

Refs #2372

This was SVN commit r14863.
2014-03-22 23:31:40 +00:00
5372b27142 Silences some warnings that show up on the gamesetup screen with the new SpiderMonkey without changing any behaviour.
Refs #2372

This was SVN commit r14862.
2014-03-22 13:54:10 +00:00
3fb46640cc Fix civ for Ptol Military Colony.
This was SVN commit r14861.
2014-03-21 22:51:47 +00:00
907ef01322 Added starting units to Deccan Plateau.
Added some detail to Nile River.

Updated Syria a little bit.

Added Pureons new tech portraits to some techs.

Portrait for Ptol champ elephant.

Gave the Military Settlement system to the Ptolemies. We'll use their
merc camp for a developing merc camp system. Ptol heroes can found civic
centers just like the Sele heroes.

This was SVN commit r14860.
2014-03-21 00:47:23 +00:00
2eeb7c2ba1 Workaround to reduce the impact of AI performance problems when planning new bases.
When no free territory was left on the map, the AI tried to place a CC
every 10th AI turn.
That's about all 10 seconds and it freezed the game for about a second.
Now when you played against 4 players it freezed aobut 4 seconds every
10 seconds, which is very bad.
I wanted to solve this properly but realized that I'd have to change a
lot in the terrain analysis code that will probably be replaced anyway
when we have a new pathfinder with a proper interface.
Also removes an unused variable (creating a territory map and not using
it can't be good for performance either).

This was SVN commit r14859.
2014-03-20 14:26:15 +00:00
6eaad6cbb6 new tech portraits
This was SVN commit r14858.
2014-03-20 00:58:54 +00:00
1c81a96a50 fix bug in AI
This was SVN commit r14857.
2014-03-18 21:34:23 +00:00
63248bdc33 Fix issue with GUI reveal map status display.
This was SVN commit r14856.
2014-03-18 01:13:02 +00:00
209799aa4c fix 94c02ec33c for AI
This was SVN commit r14855.
2014-03-17 21:23:40 +00:00
cde72788a2 * Add support for fallback fonts in the font builder.
* Replace DejaVu with Biolinium for the existign sans-styles.
* Add additional sans-styles using Biolinum.
* Update the GUI style definitions to use the sans-styles instead of
serif styles.
(Wait with updating custom defined fonts in strings, as it will cause a
mess with the internationalisation that's about to be included)
* Add fonts from the quite complete FreeFont family as fallback fonts.
* Render all glyphs supported by the different fonts to support as many
scripts as possible.
* Fixes #2457.
(Now hope I included all needed files)

This was SVN commit r14853.
2014-03-17 10:13:49 +00:00
c1b839c21b Military Colony's territory weight reduced.
Updated icon for Syria map. Updated nisian war horses portrait from
Pureon.

Reduced the volume of the attack notification a little.

This was SVN commit r14852.
2014-03-17 00:10:13 +00:00
84ef2c1335 A test for Latin names for animals. Won't complete this until after next alpha.
This was SVN commit r14851.
2014-03-17 00:08:24 +00:00
883f307b40 Implement a basic observer mode. Any player which joins a multiplayer game but is not assigned a player slot automatically becomes an observer. Refs #69
This was SVN commit r14849.
2014-03-16 23:29:27 +00:00
94c02ec33c Revert gather limits to be global instead of per-player. Refs #1387
This was SVN commit r14848.
2014-03-16 20:35:23 +00:00
19724f7f41 "Syria" skirmish map.
This was SVN commit r14846.
2014-03-15 23:10:06 +00:00
caeaf62723 Adjust widths in the lobby to make the map size dropdown fit.
This was SVN commit r14843.
2014-03-15 20:58:59 +00:00
722ad7264d Some updated maps. Acropolis Bay especially.
This was SVN commit r14842.
2014-03-15 19:56:51 +00:00
b18a899287 Added Ptolemaic healer body and head textures. Fixes #2234
This was SVN commit r14839.
2014-03-13 19:46:15 +00:00
e17dd1ac12 Applying the new improvements: Gulf of Bothnia.
This was SVN commit r14837.
2014-03-13 09:45:09 +00:00
a068935789 Ptolemaic dock upgrade. Fixes #2217
This was SVN commit r14834.
2014-03-12 18:38:16 +00:00
180b44e565 let the AI know that a unit has no more orders
This was SVN commit r14832.
2014-03-11 22:42:41 +00:00
6274c7ffe8 Added ptolemaic quinquereme. Fixes #2232
This was SVN commit r14830.
2014-03-10 13:37:18 +00:00
9f1bcc2475 fix AI error
This was SVN commit r14829.
2014-03-09 22:26:41 +00:00
0e0cd65134 Some GUI alignment/sizing improvements.
This was SVN commit r14828.
2014-03-09 19:24:17 +00:00
8959e63a53 Add back unintentionally removed idle workers button tooltip.
This was SVN commit r14826.
2014-03-09 02:42:42 +00:00
e6f7ef78dc Removes legacy "technologies" folder.
This was SVN commit r14824.
2014-03-09 00:10:41 +00:00
7698e75962 Pyrrhus template.
This was SVN commit r14823.
2014-03-09 00:08:25 +00:00
0603392f03 Acropolis Bay.
This was SVN commit r14822.
2014-03-09 00:08:00 +00:00
119849defc Pyrrhus hero.
Some map stuff and actor changes (remove the elephants from Pericles).

This was SVN commit r14821.
2014-03-09 00:07:28 +00:00
d214d8f61c Some map changes.
This was SVN commit r14820.
2014-03-09 00:02:33 +00:00
fb65288463 Fix hover effect not regenerating after mousedown events, minor GUI code cleanup, and fix #2414
This was SVN commit r14819.
2014-03-07 22:43:57 +00:00
a9368a4463 Updated tooltip to reflect the new max gatherer limit
This was SVN commit r14816.
2014-03-07 12:09:39 +00:00
66942c74fa Be more forgiving for training spaces (which cause empty strings on splitting) and avoid using bigger fonts for non-capitalisable signs in headings
This was SVN commit r14815.
2014-03-07 11:11:45 +00:00
32cf46f01c Fix some 'undefined' problems reported by Lion.Kanzen + improve coding style.
This was SVN commit r14814.
2014-03-07 08:27:13 +00:00
29f94a759c Fix an issue with lobby registration and a minor wording tweak.
This was SVN commit r14813.
2014-03-07 01:52:06 +00:00
abbd6efef1 Updates outdated/incorrect hotkeys.
This was SVN commit r14812.
2014-03-06 23:57:02 +00:00
8a98bca9b2 Fixes the last z order (hopefully) and a style inconsistency.
This was SVN commit r14811.
2014-03-06 22:45:13 +00:00
ec26f1de83 Reduces z order to fix ai dialog.
This was SVN commit r14810.
2014-03-06 22:34:15 +00:00
8f30e722ab Some inconsequential style adjustments.
This was SVN commit r14809.
2014-03-06 02:24:06 +00:00
ef76d24e66 Fixes z order and a capitalization error.
This was SVN commit r14808.
2014-03-06 02:00:12 +00:00
5f5cfb10ee Fixes a typo and makes naming of the fading consistent with other sprites.
This was SVN commit r14807.
2014-03-05 21:24:48 +00:00
5582409973 Converts most parts of the game to use Pureon's new UI
This was SVN commit r14804.
2014-03-04 02:23:01 +00:00
1a2f889bb9 7cba43c9db changed the behaviour in case of undefined values which was not intended even if there's a warning now.
This should revert to correct behaviour for undefined values again (even
though this value should never be undefined).

Refs 2372

This was SVN commit r14803.
2014-03-03 23:01:49 +00:00
7cba43c9db Fixes warnings printed by the new SpiderMonkey.
Sets SelectableInGameSetup to true in all civ json files that didn't
have it set.
Having this value set to undefined (not set) was interpreted as true,
which is quite arbitrary.
With the new SpiderMonkey a warning will be printed if the value is
undefined.
This avoids ambiguity but makes the setting mandatory.

Refs #2372

This was SVN commit r14802.
2014-03-03 21:58:15 +00:00
df43e32a59 Second try fixing the eol-styles
This was SVN commit r14801.
2014-03-03 21:36:24 +00:00
234f2003a3 Fix inconsistent line endings and add svn:eol-style property
This was SVN commit r14800.
2014-03-03 21:13:36 +00:00
2d0e996725 Added modified Stanislas69 Pyrrhus helmet with textures.
Added an extra variation for brass and iron textures variations of
ptolemaic_romanized and thracian horned helmets.
Added playercolor to the thracian horned helmet crest.

This was SVN commit r14799.
2014-03-02 10:59:36 +00:00
c2c172271f fix AI error, not reseting all units after a successful attack
This was SVN commit r14796.
2014-03-01 14:36:35 +00:00
05225a66ac Horned helmet to Thracian cavalry.
This was SVN commit r14794.
2014-03-01 10:37:45 +00:00
57e995e618 fix AI error, the freeze of this collection prevented promoted and packed units to be updated during attack
This was SVN commit r14793.
2014-03-01 09:35:30 +00:00
999490bbf5 Added playercolor to ptolemaic romanized crest helmet.
This was SVN commit r14791.
2014-02-28 11:46:23 +00:00
162a4c42f3 Stan's helmets ptolemaic romanized with and without crest, thracian horned cavalry and perseus hero. Heavily modified.
playercolor in crests still pending. Added brass and iron variations,
more subtle variations to come.

This was SVN commit r14790.
2014-02-28 11:32:23 +00:00
3573a6e9a8 Updated some portraits.
Added a Mercenary Thracian Swordsman.

Tweaked some textures.

Added a "gray skin" variation to the Ptolemaic elephant.

Added Saharan Oases skirm map.

This was SVN commit r14787.
2014-02-26 14:29:42 +00:00
6b94ae9f59 Added two ptolemaic howdah variations for the champion elephant.
This was SVN commit r14786.
2014-02-26 13:53:36 +00:00
d8903c0c6f fix AI error
This was SVN commit r14785.
2014-02-25 22:43:03 +00:00
33918a5c41 Fix AI error (with 3eaa9ac4d3) preventing promoted units to stay idle
This was SVN commit r14779.
2014-02-24 14:03:13 +00:00
50d93b4332 Was messed up by b3201acd93
This was SVN commit r14778.
2014-02-24 12:10:38 +00:00
c5f15a13d0 Modified Stanislas69 Seleucid romanized helmet and thracian helmet with several texture variations and organized in actors with variations.
Applied the romanized brass helmet with crest to the Seleucid heavy
swordman infantry.

This was SVN commit r14777.
2014-02-23 16:51:10 +00:00
3eaa9ac4d3 fix AI error
This was SVN commit r14776.
2014-02-23 09:51:07 +00:00
e38fc5f861 Increased Fanatic armor.
This was SVN commit r14774.
2014-02-22 13:10:54 +00:00
554cd510f2 Basic and Advanced Egyptian Pikemen textures.
Spec and norm maps for Mediterranean forest floor terrain.

This was SVN commit r14773.
2014-02-22 12:16:20 +00:00
a3e1c68b9a Fix #2373. Have player resign if not returning to a networked game. Also notify host of networked game that by leaving all other players will be disconnected. Based off patch by boeseRaupe
This was SVN commit r14772.
2014-02-21 20:02:23 +00:00
8c21ec4dfd Quilted helms for Egyptian pikemen, based on work by Enrique.
This was SVN commit r14771.
2014-02-21 14:38:09 +00:00
42d31da1bb ptolemaic quilted helmet commit.
This was SVN commit r14770.
2014-02-21 14:13:46 +00:00
0ea3b7b7dd Adds the moderator prefix to the playerlist in the lobby.
This was SVN commit r14767.
2014-02-20 23:26:36 +00:00
a725266337 Slightly better options menu.
This was SVN commit r14766.
2014-02-20 22:45:43 +00:00
facf119241 Farm fields back to 5 workers.
This was SVN commit r14763.
2014-02-19 17:54:34 +00:00
2429f1e93c Displays ratings on the gamesetup page and formats ratings less than 1000 correctly.
This was SVN commit r14762.
2014-02-19 00:40:35 +00:00
a4ec034bb5 fixes some AI errors
This was SVN commit r14761.
2014-02-18 18:19:33 +00:00
039b06e012 Enable selection of dogs when selecting idle warriors. Patch by tau. Fixes #2436
This was SVN commit r14760.
2014-02-17 21:40:47 +00:00
b5c8faa367 Aura tooltip for Ptolemaic heroes. Auras themselves are not complete.
This was SVN commit r14759.
2014-02-17 15:54:17 +00:00
41534b1eda Arrow shooting buildings only increase arrows when ranged infantry are garrisoned inside.
Removing some unused textures.

This was SVN commit r14758.
2014-02-17 15:11:47 +00:00
c3dd79aa22 Ptolemaic mercenary camp commit.
This was SVN commit r14757.
2014-02-17 13:13:25 +00:00
322d78b9a5 remove debug warning
This was SVN commit r14755.
2014-02-16 15:23:50 +00:00
19965ce37a Fix missing territory decay when moving out of territory without changing the actual territory. Add possibility to check movement over territory boders in the JS simulation part. Based on patch by niektb
This was SVN commit r14754.
2014-02-16 15:22:11 +00:00
f92a46330d Anti-disconnect addition to the gamesetup screen. Also fixes typo in the lobby bot README.
This was SVN commit r14753.
2014-02-16 06:22:16 +00:00
be881dc420 Reformat the database to accept the additional summary counters as well as adding a couple summary counters. Also deletes unnecessary welcome message and deletes whitespace. Refs #686.
This was SVN commit r14752.
2014-02-16 06:06:16 +00:00
ab9a6b6303 Stanislas69' iberian tower modification commit.
This was SVN commit r14751.
2014-02-14 21:46:37 +00:00
05bfe7dca0 Ptolemaic market commit
This was SVN commit r14750.
2014-02-14 17:18:29 +00:00
35f3dd03d9 improve ship behaviour when picking units
This was SVN commit r14749.
2014-02-13 20:21:27 +00:00
a921c5c2fb Portrait for Egyptian Pikeman.
Fixed a thing with the Ptolemies sandbox map.

Tweaked the elite Egyptian pikeman shield.

This was SVN commit r14747.
2014-02-13 15:08:01 +00:00
14a7e60bd5 Elite Egyptian Pikeman.
This was SVN commit r14746.
2014-02-11 17:51:01 +00:00
e49b1e1ceb fix AI error
This was SVN commit r14745.
2014-02-09 19:54:50 +00:00
d8152f1eda exchange if order otherwise we can't make a trade route with a damaged market
This was SVN commit r14744.
2014-02-09 18:42:06 +00:00
44eb336dfe Added 4 stall variations as eyecandy with different cloth textures.
Added material for barley/wheat props.
Modified spec and normal maps of ptolemaic struct (for matching last
edit adding carpets)

This was SVN commit r14743.
2014-02-09 16:51:33 +00:00
9780d7177d Adds some missing vars.
This was SVN commit r14742.
2014-02-09 16:04:30 +00:00
dea18ed318 4-player Greek Acropolis skirmish map
This was SVN commit r14741.
2014-02-09 13:07:33 +00:00
c5beeb7a02 rename Median Oasis maps, fixes #2425
This was SVN commit r14740.
2014-02-09 09:48:14 +00:00
df1221e9f5 Correct inverted sprites on modern tickbox and add a default modern tooltip style.
This was SVN commit r14739.
2014-02-09 05:31:25 +00:00
01611c1675 Fixes AI error when building a new base, and improves the AI's early game and tendency to grab terrain. Fixes incorrect release of some units by the defense manager.
This was SVN commit r14738.
2014-02-07 18:36:37 +00:00
05f13bb1d8 fix ai bug
This was SVN commit r14737.
2014-02-07 18:00:41 +00:00
563768363b clean useless formations
This was SVN commit r14736.
2014-02-07 17:01:01 +00:00
a0b0b6d74e Applying the new improvements: Gear, Guadalquivir River.
This was SVN commit r14735.
2014-02-07 09:23:14 +00:00
7277385891 fix typo
This was SVN commit r14734.
2014-02-07 07:52:10 +00:00
91be7d9bd1 New history blurb for Skiritai by forum contributor Thorfinn.
This was SVN commit r14729.
2014-02-03 16:25:08 +00:00
e408ac46b1 2 player skirmish Median Oasis.
This was SVN commit r14728.
2014-02-03 16:16:31 +00:00
e329a93978 Ghost commit for fields
This was SVN commit r14727.
2014-02-03 05:12:36 +00:00
9971e3cfab Add formation check
This was SVN commit r14726.
2014-02-02 09:15:34 +00:00
c9aeaa1612 Fix a "big typo" in the attack plans, thanks mimo.
This was SVN commit r14723.
2014-02-01 18:34:24 +00:00
ddf9d948cf Fix some more debug in the AI.
This was SVN commit r14722.
2014-02-01 18:05:39 +00:00
5b506ceee3 prevent AI to try to attack its allies, fix #2393
This was SVN commit r14721.
2014-02-01 17:59:29 +00:00
e21f052803 prevent error when an animal changes ownership
This was SVN commit r14720.
2014-02-01 17:55:27 +00:00
94a240737c Added more territory auras.
Fixed the Theatron for Hellenic civs. It now uses the Hellenization
effect correctly!

This was SVN commit r14719.
2014-02-01 12:09:06 +00:00
1f1a2ead44 Adding the missing cheats from [14712]. Refs #2072
This was SVN commit r14718.
2014-02-01 09:11:38 +00:00
e4e32c8cd7 Fixes a typo from 1d3ac14d35.
This was SVN commit r14717.
2014-02-01 03:55:24 +00:00
e6cf2f23c5 Fix AI debug mode.
This was SVN commit r14716.
2014-02-01 03:29:55 +00:00
c3cdf40f33 Somewhat experimental rewrite and simplification of the worker's logic to choose dropsites. Might behave unexpectedly now and then.
Error fixes here and there.

This was SVN commit r14715.
2014-02-01 00:44:12 +00:00
12aa170c58 Trying different territory weights.
This was SVN commit r14713.
2014-01-31 18:47:08 +00:00
60619dbf3f Add technologies cheat. Fixes #2072. Patch by boeseRaupe
This was SVN commit r14712.
2014-01-31 15:30:16 +00:00
1fad924411 Checking if cmpPlayer is valid.
This was SVN commit r14711.
2014-01-31 14:47:23 +00:00
9fe465884d Implements resource trickle. Allows decimal player resources. Fixes #2413.
This was SVN commit r14710.
2014-01-31 12:01:49 +00:00
c3d9769622 Fixed iberian corral cloth ao texture assigned
This was SVN commit r14708.
2014-01-30 19:36:38 +00:00
708f003df3 Applying the new improvements: English Channel, Fortress
More cleanup and tweaks.

This was SVN commit r14707.
2014-01-30 17:09:45 +00:00
ff4ed09b6f Backend for special formatting of moderaters in the lobby userlist.
This was SVN commit r14706.
2014-01-30 15:46:19 +00:00
b9eea330d0 Strip some whitespace and fix a warning in session.js
This was SVN commit r14704.
2014-01-29 19:00:47 +00:00
1d3ac14d35 Better summary screen. Fixes #686. Patch by Bajter and Kabzerek
This was SVN commit r14703.
2014-01-29 18:30:56 +00:00
459f13e72b Clean up the colorfade code. Patch by boeseRaupe, fixes #2395
This was SVN commit r14702.
2014-01-29 14:49:36 +00:00
7395d9c75a Applying the new improvements: Canyon, Continent, Corinthian Isthmus
Some cleanup and small tweaks.

This was SVN commit r14701.
2014-01-29 14:21:48 +00:00
639b583d31 Fix scatter formation
This was SVN commit r14700.
2014-01-29 14:01:21 +00:00
d6f8742f9b Change hawk and boar skeletons so that the root identifiers are unique. Fixes #2332.
Also adjust the DAEs to fit the new identifiers.

This was SVN commit r14699.
2014-01-29 04:14:24 +00:00
f097078d46 Send the move command directly instead of going through the FSM. That way, the failure can be catched earlier on. Should fix #2410
This was SVN commit r14698.
2014-01-28 20:40:38 +00:00
8953179e1a allow the possibility to define route with waypoints when doing trade, fixes #1207, #1821 and #1822
This was SVN commit r14697.
2014-01-28 18:56:39 +00:00
23777ba736 fix cbc1c9f0ab
This was SVN commit r14696.
2014-01-27 19:25:38 +00:00
325f9ca9a9 Sorry Brits. Changed "plough" (British spelling) to "plow" (American/Canadian spelling) after seeing more than one person on Youtube mispronounce the word.
Can only build 1 Juggernaut.

All champion cavalry now cost Food and Metal.

This was SVN commit r14695.
2014-01-27 16:16:32 +00:00
c751500907 Refactor some formation code to let it make use of the prototypes
This was SVN commit r14693.
2014-01-27 12:34:59 +00:00
cbc1c9f0ab fixes remaining town bell defects, closes #2353, patch by Itms
This was SVN commit r14689.
2014-01-26 20:37:39 +00:00
5e70bd3628 Fix and cleanup my recent changes.
This was SVN commit r14686.
2014-01-26 19:01:21 +00:00
cb3a8d868a fix bug when garrisoning under alert and garrisonHolder is full, patch by Itms, see #2353
This was SVN commit r14685.
2014-01-26 18:28:55 +00:00
3e1fc74add improve alert tooltip, see #2353
This was SVN commit r14684.
2014-01-26 18:17:13 +00:00
9ed11bc404 keep work orders when in alert, patch by Itms, addresses #2353
This was SVN commit r14683.
2014-01-26 18:01:29 +00:00
09a2729503 fix a fix
This was SVN commit r14682.
2014-01-26 09:40:54 +00:00
f1ab9b8e57 Check isInWorld before asking position
This was SVN commit r14681.
2014-01-26 09:24:32 +00:00
5ec0dc8ae8 Fix a bug with one of the lobby settings I added to the options window.
This was SVN commit r14680.
2014-01-26 05:51:48 +00:00
39fef5c299 Add the ability to display chat messages when joining the lobby and quickly mostly update the options window to the new UI style.
This was SVN commit r14679.
2014-01-26 05:39:55 +00:00
a8fbe4eedc Centralizes centering rating into one function.
This was SVN commit r14678.
2014-01-26 05:27:00 +00:00
041c6ab1b3 More lobby cleanup.
This was SVN commit r14677.
2014-01-26 04:25:35 +00:00
0db9a18d39 Fix issue where lobby spam was being sent to external clients.
This was SVN commit r14672.
2014-01-25 21:58:22 +00:00
851c05a038 Cleanup and spam blocker redesign in lobby.js.
This was SVN commit r14671.
2014-01-25 20:51:01 +00:00
28a707f98f small cleaning
This was SVN commit r14669.
2014-01-25 19:58:59 +00:00
2b407a03eb Added Stanislas69 iberian corral with several fixes.
Fixed iberian struct normal and specmap.

This was SVN commit r14666.
2014-01-25 16:50:21 +00:00
9eb26c2622 Fix infinite loop when attacking a formation without valid targets
This was SVN commit r14665.
2014-01-25 16:27:55 +00:00
0f5e5fddd6 This was SVN commit r14664. 2014-01-25 14:45:58 +00:00
3f00d0cc9c Fix some broken maps. Delete some others.
This was SVN commit r14660.
2014-01-24 20:23:11 +00:00
ecaded076f Improve the Vector prototype with static functions. Replace the usage of the Math vector functions with functions from the Vector class.
This was SVN commit r14659.
2014-01-24 19:51:00 +00:00
5d4f509810 Update existing minimap idle button, add minimap idle button highlight and disabled, and some style fixes in session.xml. Refs #823 and refs #2357
This was SVN commit r14658.
2014-01-24 18:40:01 +00:00
2f145b1578 Iron Spearheads tech now affects all spear units (not just infantry spearmen).
Javelin Thong tech now affects all javelin units (not just infantry
javelinists).

Some shield tweaking.

Some more portraits.

This was SVN commit r14657.
2014-01-24 18:28:26 +00:00
b46a6de335 Allow using the XMPP room subject to display lobby information to user, make the lobby GUI code more readable, and cleanup the modern styles.
This was SVN commit r14656.
2014-01-24 18:20:15 +00:00
d5609e33a6 Fixed elephant african bush actor and mesh
This was SVN commit r14654.
2014-01-24 15:04:58 +00:00
609e789cea Fixing the bug with the ramp in Cantabrian Highlands.
Applying the new improvements: Archipelago, Atlas Mountains, Cantabrian
Highlands.

This was SVN commit r14653.
2014-01-24 12:28:30 +00:00
f94a1aeac0 Checks for game end after toggling diplomacy. Also adds a comment for clarification to the lobby bot. Refs #2402.
This was SVN commit r14652.
2014-01-24 00:38:08 +00:00
e5e634f768 Displays ratings in the userlist. Fixes #2371.
This was SVN commit r14650.
2014-01-23 23:13:13 +00:00
d82282e358 Added animations for african bush elephant.
This was SVN commit r14649.
2014-01-23 21:41:58 +00:00
cf851a7789 A bunch of naming stuff.
This was SVN commit r14648.
2014-01-23 18:32:21 +00:00
35517f2cd6 commited basic_glow.xml material for self-illumination objects.
This was SVN commit r14647.
2014-01-23 17:50:00 +00:00
fd187f466f Add vector prototype to vector-like return values from C++ to JS. Fixes #2394.
This was SVN commit r14645.
2014-01-23 11:32:08 +00:00
d677033c4c Serialise Cost component since the population bonus is tech-modifiable. Fixes #2399
This was SVN commit r14644.
2014-01-23 08:56:22 +00:00
df0cdf8561 Fix typo in the Lake random map script.
This was SVN commit r14643.
2014-01-23 04:48:52 +00:00
8d5c02091a Added greek, arabic and big tents as eyecandy, they will be used in the ptolemaic mercenary camp.
Added Stanislas69's new gaul farmstead with some fixes. (Thanks
Stanislas69!)
Added carpet texture fragments to the ptolemaic struct texture

This was SVN commit r14642.
2014-01-22 22:59:06 +00:00
ef79e8305b An addition to bd3f5a8085, also refs #1964
This was SVN commit r14641.
2014-01-22 20:56:14 +00:00
bd3f5a8085 Removing the AI check for producing un-allowed units. Should be fixed in the AI side with ad8fa37f17. Refs #1964.
This was SVN commit r14640.
2014-01-22 20:47:51 +00:00
ad8fa37f17 Improve some building placement. May improve dropsite usage slightly.
Should fix #1964

This was SVN commit r14639.
2014-01-22 20:26:45 +00:00
1fedf11e9e Use a filter to pick a new attack target in the same turn, while still avoiding an infinite loop
This was SVN commit r14638.
2014-01-22 18:38:15 +00:00
a58acb28f0 Style improvements (thanks Leper).
Fix AI building its buildings closer together by properly moving failed
foundations out of the world.

This was SVN commit r14637.
2014-01-22 17:54:20 +00:00
546a26467f Cavalry Spearmen for Sparta. Gives them a melee cavalry for proper anti-siege.
This was SVN commit r14636.
2014-01-22 16:34:00 +00:00
01ec56cc0c A bunch of updated portraits. Thinking of going this color-coded route: Blue for citizen-soldiers. Red for champions and heroes. Maybe green for mercenary soldiers.
Tweaked a couple footprints.

This was SVN commit r14635.
2014-01-22 15:42:28 +00:00
32844e9a16 Fix tests + improve behaviour of attacking when not in formation
This was SVN commit r14634.
2014-01-22 15:13:07 +00:00
04aba0e41a Let certain formations stay in formation while attacking
This was SVN commit r14633.
2014-01-22 13:20:55 +00:00
de02ab2e53 Fix various bugs. Try to make the AI build its buildings closer together (WIP, and it's brute-force).
This was SVN commit r14632.
2014-01-22 03:11:19 +00:00
df3bdcf8ca add back some lines removed unintentionally by previous tag
This was SVN commit r14631.
2014-01-21 22:59:21 +00:00
41d3366f6a check version and mods before loading a file, fixes #2361 and #2385.
This was SVN commit r14630.
2014-01-21 22:49:42 +00:00
7d18fecbcd Fix some errors reported by Gildas, Lion_Kanzen and Gameboy. Prepare for formation fighting in the attack plans by having a more generic "army" component.
This was SVN commit r14629.
2014-01-21 20:24:51 +00:00
e466565c35 Let formations attack other formations (still without keeping their formation position though)
This was SVN commit r14628.
2014-01-21 16:50:58 +00:00
2ca25a6d3e differentiate between formations that can attack, and formations that can only move. Use the differentiation in the range calculation.
This was SVN commit r14627.
2014-01-21 09:10:17 +00:00
453bd6c8a0 Fix typo (Cepio -> Caepio), reported by qwertz.
This was SVN commit r14626.
2014-01-21 00:41:17 +00:00
3955447b5b Applying the new improvements: Alpine Lakes, Anatolian Plateau
This was SVN commit r14625.
2014-01-20 15:44:28 +00:00
7763a22c08 revert having giving the attack state to formation controllers as it caused too much trouble
This was SVN commit r14624.
2014-01-19 18:03:43 +00:00
72ad5467e8 Applying the new improvements: Aegean Sea, Lake, Rivers
This was SVN commit r14623.
2014-01-19 15:38:02 +00:00
8b2037e5ee Some naming stuff.
Reduced the size of a spec map.

This was SVN commit r14622.
2014-01-19 12:58:18 +00:00
6036b48c1d WIP: Completing the unified random map syntax.
This was SVN commit r14621.
2014-01-19 11:58:24 +00:00
d06ab6514b WIP: Setting ground for a unified random map syntax. Might break some current random maps.
Faster generation.
Better mountains.
Larger forests.
Should make it easier to design/tweak random maps.

This was SVN commit r14620.
2014-01-19 06:51:41 +00:00
8845910f9c Of course the time I don't test before committing is the time I make a syntax error. I think the RNG hates me.
This was SVN commit r14619.
2014-01-19 02:57:40 +00:00
7a520adbf3 Improve the wording of attack tooltips.
This was SVN commit r14618.
2014-01-19 02:01:21 +00:00
f2f0307a25 fix typo.
This was SVN commit r14616.
2014-01-18 21:05:53 +00:00
c2d43b009c Fix asking for non-existing templates of killed units
This was SVN commit r14614.
2014-01-18 20:56:21 +00:00
3cde5632ff Fix StoneCrossBox sizing.
This was SVN commit r14613.
2014-01-18 20:29:21 +00:00
9330975d54 Fix Athens not researching civ phase. Make the AI adapt automatically to changing the max gatherers on fields.
Fix auto-researched technologies not being properly researched on init.
Fix the tests (amazing!).
GarrisonHolder sends which entities were added or removed (mostly for AI
purposes but could benefit other things).
Streamline AIInterface events.

This was SVN commit r14612.
2014-01-18 20:26:52 +00:00
76451a297e This was SVN commit r14611. 2014-01-18 20:21:06 +00:00
c4643d925d Fix two bugs in attack tooltips. Add an extra Math.round to ensure we don't get huge decimals, and use a building's default arrow count as a minimum in rate calculation.
This was SVN commit r14610.
2014-01-18 19:20:17 +00:00
ea526eedd1 Adjust the attack tooltips. Make the formatting for attack rate more consistent and use meters instead of tiles for range.
This was SVN commit r14609.
2014-01-18 18:59:51 +00:00
046c5ef74c Make chariots faster, and give them a more consistent (and slightly smaller) obstruction radius.
Citizen chariots are now 15.0 speed (1 faster than cavalry), champion
chariots 16.0, and hero chariots 18.0.

This was SVN commit r14608.
2014-01-18 18:08:02 +00:00
ca6301c399 Reduced number of gatherers for farms from 5 to 3 for testing.
This was SVN commit r14607.
2014-01-18 16:47:04 +00:00
c02dafec74 Move simulation Vector math to globalscripts/Math.js. Refs #2032.
This was SVN commit r14606.
2014-01-18 15:27:30 +00:00
ae35ed255f For the Celts, moved Blacksmith to the Village Phase. This isn't much of a bonus yet until we get some unique tech trees for the Blacksmith.
This was SVN commit r14605.
2014-01-18 15:04:20 +00:00