Commit Graph

18625 Commits

Author SHA1 Message Date
mimo fd14419bc0 petra: fix an index access + some cleanup
This was SVN commit r21324.
2018-02-22 18:42:45 +00:00
Stan b38cf55ff5 Cleanup materials, remove comments, and tweak requires.
Reviewed By: Vladislav
Differential Revision: ​https://code.wildfiregames.com/D94
This was SVN commit r21323.
2018-02-22 18:26:04 +00:00
mimo 6111f0b6cd cleanup temple_mars tooltip
This was SVN commit r21322.
2018-02-22 18:19:26 +00:00
mimo 187ad553f2 Increase vision range of fishing boats from 24 to 30
Reviewed By: elexis, Stan
Differential Revision: https://code.wildfiregames.com/D1320
This was SVN commit r21321.
2018-02-22 18:14:12 +00:00
temple 47750d788b Don't use "all" in ranged aura strings
Differential Revision: https://code.wildfiregames.com/D1321
Reviewed by: elexis
This was SVN commit r21320.
2018-02-22 17:57:56 +00:00
temple 3b3d86fe71 Add a diplomacy colors button to the diplomacy window
Differential Revision: https://code.wildfiregames.com/D1318
Reviewed by: elexis
This was SVN commit r21319.
2018-02-22 17:30:46 +00:00
mimo 7d872eaebb petra tweaks for temples
This was SVN commit r21318.
2018-02-22 17:09:48 +00:00
temple de9427a291 Bump year
This was SVN commit r21316.
2018-02-21 23:42:18 +00:00
Stan 8f99a77c77 Tweak Kushites as asked there for AI compatibility c71b521dad
Transform the camps in embassies
Remove special class
Rename the mercs
Remove the more explicit camelry name

This was SVN commit r21315.
2018-02-21 23:36:26 +00:00
Stan b573bbc63c Remove animal props from the camp not to confuse players.
This was SVN commit r21314.
2018-02-21 23:02:07 +00:00
Imarok 02ed411e6f Fix comments and year in d5807cd59f and 01f581e813
Reviewed by: elexis
Differential Revision: https://code.wildfiregames.com/D1314
This was SVN commit r21313.
2018-02-21 22:53:01 +00:00
temple 4fc87ced78 Grid bounds and SinkRate debug version fixes
Differential Revision: https://code.wildfiregames.com/D1209
Patch by: Angen
Reviewed by: wraitii
Comments by: Itms, Stan
This was SVN commit r21312.
2018-02-21 22:30:54 +00:00
vladislavbelov b6b547d5f8 Adds remember password checkbox
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D822
This was SVN commit r21311.
2018-02-21 22:01:03 +00:00
s0600204 c8fda40b02 Implement an in-game Template Details Viewer
Right-click on icons of units, structures, technologies, flora, fauna,
etc. and view additional details.


Reviewed By: elexis
Fixes: #3212
Differential Revision: https://code.wildfiregames.com/D297
This was SVN commit r21310.
2018-02-21 21:39:00 +00:00
s0600204 b94aff0955 Remove a couple of empty/nonsense History strings that have crept in
Refs: D297, #3212, b80a255a0a

This was SVN commit r21309.
2018-02-21 21:26:36 +00:00
temple 18149d9033 Adjust some footprints and obstructions to better handle spawning
Differential Revision: https://code.wildfiregames.com/D1302
Reviewed by: bb
This was SVN commit r21308.
2018-02-21 20:05:41 +00:00
temple 6ea532298e Add a countdown timer to the research progress panel
Suggested by: fpre/ffffffff
Reviewed by: elexis, ffffffff
Comments by: vladislavbelov
This was SVN commit r21307.
2018-02-21 19:56:37 +00:00
temple f397f7236c Remove phalanx formation from templates of units that don't use it
Differential Revision: https://code.wildfiregames.com/D1313
Reviewed by: Stan
This was SVN commit r21306.
2018-02-21 19:40:27 +00:00
elexis e497672a9c Bump copyright header year numbers.
This was SVN commit r21305.
2018-02-21 18:44:52 +00:00
elexis 9691d8da1c Fix missing rmgen-common import in Schwarzwald, fixes #5043.
This was SVN commit r21304.
2018-02-21 18:12:21 +00:00
mimo 1ceb612041 Allows the AI to go backToWork instead of restarting a new trade route each time
Differential Revision: https://code.wildfiregames.com/D1312
This was SVN commit r21303.
2018-02-21 17:37:52 +00:00
mimo 5b55a7d3f1 petra tuning of barter
This was SVN commit r21302.
2018-02-21 17:31:52 +00:00
Imarok eca956a513 Check lobby games for incompatible mods
Reviewed by: elexis
Fixes #3370
Differential Revision: https://code.wildfiregames.com/D931
This was SVN commit r21301.
2018-02-21 17:27:33 +00:00
elexis 774a626bb9 Ambush bluffs rework.
Remove ugly large circle patterns around the playerbase on Ambush, fixes
#4993.
To ensure passability, create ramps from the playerbase to the bluffs.

Change the circular player avoidance to a ChainPlacer generating more
heterogenous pattern.
Use vectors in rmgen2 bluffs creation and simplify equations, refs
#4992.
Don't turn inaccessible bluffs to plateaus but don't place them until it
is certain they are passable.

Increase minimum distance from the playerbase to the mapcenter by
picking different distance values per playerbase pattern in
g_PlayerbaseTypes.
Attempt to improve bluffs performance by avoiding bluffIgnore by 0
instead of bluff by 12, refs #5011.
Implement AdjacentToAreaConstraint and deleteTerrainEntity.
Delete createBoundingBox and use getBoundingBox, refs #4947, #4805.
Delete fadeToGround and nextToFeature and use conventional createArea
calls with the SmoothingPainter of 02fe3ef3e3, refs #5027.
Paint bluff cliffs slightly more accurately using the SlopeConstraint
from 24388f781e, refs #5004.

This was SVN commit r21300.
2018-02-21 16:49:05 +00:00
mimo 5a2b3d3d5d petra: reduce the traffic jams of ships
This was SVN commit r21299.
2018-02-21 15:47:28 +00:00
mimo 995ad12ead petra: add missing protection
This was SVN commit r21298.
2018-02-21 15:39:20 +00:00
elexis 1d99a5e2aa Print number of terrain entities and textures after generating the random map.
Remove two unused variables and simplify SmoothElevationPainter
following previous commit.

This was SVN commit r21297.
2018-02-21 11:10:42 +00:00
elexis 3eac3856c6 Cleanup random map Area prototype following b4503bb61e.
Delete areaID and just identify the Area object by the actual JS object
reference.
Delete all references from Areas in the RandomMap object,
especially the area property of the RandomMap object became invalid
after creating a new area.
This was replaced with a cache in the Area object and a contains
function.
Add getPoints getter, so that the Area property is not accessed
directly.
Deepfreeze points to prevent accidental overwrites.
Implement StayAreasConstraint and extend currently unused
AvoidAreaConstraint to accept multiple areas.

This was SVN commit r21296.
2018-02-21 10:49:35 +00:00
Stan 7adc1afc2f Make Thureophoroi use hoplite animations.
They should be able to use Phalanx as said here
https://trac.wildfiregames.com/wiki/Civ%3A_Ptolemies
https://trac.wildfiregames.com/wiki/Civ%3A_Seleucids

Other are not affected as they are javelinists. This should be
considered when #252
is implemented. Discussed with : Temple

This was SVN commit r21293.
2018-02-20 22:57:00 +00:00
elexis 729f5303f0 Fix options tab button style not update upon attempted save of invalid settings following 9ae7c4d810 / D1175 reported by Vladislav.
This was SVN commit r21292.
2018-02-20 22:47:54 +00:00
vladislavbelov b8c488b63a Added multiples UVs to animated model
Reviewed By: wraitii, Stan
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D448
This was SVN commit r21291.
2018-02-20 21:33:02 +00:00
elexis a92a4f6415 Use CamelCase for random map files containing the prototype of the same name, refs #5042, #4804.
This was SVN commit r21290.
2018-02-20 19:50:04 +00:00
elexis e5349abdcd Separate object-oriented random map generation core library "rmgen" from miscellaneous helper procedures which are moved to a new library "rmgen-common", refs #4804, #5042.
This way mods can use the placement and painting prototypes while
excluding any common 0ad code.

This was SVN commit r21289.
2018-02-20 19:39:04 +00:00
elexis d5b7905c6e Split random map generation Painter prototypes into one file per prototype, refs #5042, #4804.
This was SVN commit r21288.
2018-02-20 18:51:26 +00:00
elexis 8c5b7e6f13 Split the random map generation Placer prototypes into one file per prototype, refs #5042, #4804.
The flags should preserve revision history.

This was SVN commit r21287.
2018-02-20 18:39:26 +00:00
elexis 553069dbb7 Fix missing comma in 833ab874a9 reported by minohaka.
Increase retry counter to account for higher likelihood of failed mines.

This was SVN commit r21286.
2018-02-20 06:12:57 +00:00
temple 5420d34633 Increase cavalry train time and decrease champion train time
Discussed at D1279 with Grugnas, Hannibal_Barca, mimo, elexis.

This was SVN commit r21285.
2018-02-20 03:55:49 +00:00
temple 7e4a018d6b Give spear cavalry an anti-cav bonus
Discussed at D1279 with Grugnas, Hannibal_Barca, mimo, elexis.

This was SVN commit r21284.
2018-02-20 03:52:08 +00:00
elexis 833ab874a9 Let SimpleObject also avoid other SimpleObjects within the same SimpleGroup following 0e0ed94926, refs #6.
Fixes unreachable small stone mines inside large stone mines.
Fixes #4338.

Differential Revision: https://code.wildfiregames.com/D189
Credit rapidelectron for working out the two main issues (refs
63e77de94e) and providing a similar patch.

This was SVN commit r21283.
2018-02-20 03:44:17 +00:00
temple 40b42650c2 Nerf skirmishers
Discussed at D1279 with Grugnas, Hannibal_Barca, mimo, elexis.
Refs: #4941

This was SVN commit r21282.
2018-02-20 03:37:10 +00:00
temple 9396f0d336 Adjust some unit stats
Discussed at D1279 with Grugnas, Hannibal_Barca, mimo, elexis.

This was SVN commit r21281.
2018-02-20 03:22:14 +00:00
temple 5ade932854 Adjust some structure stats
Discussed at D1279 with Grugnas, Hannibal_Barca, mimo, elexis.

This was SVN commit r21280.
2018-02-20 03:14:34 +00:00
elexis 44a10af284 Via Augusta is a new map.
This was SVN commit r21279.
2018-02-20 02:24:04 +00:00
elexis 47be7d4a9d Fix SimpleObject assuming positions on the impassable map border to be passable while the SimpleGroup using that Object rejecting that position following 78ce731fc5.
Fixes #5041 nomad units on the map border not being placed.
Make SimpleObject detect if it's an actor and place accordingly.
Rename maxFailCount to maxRetries, since its function differs
intrinsically from the failFraction of Placers.

This was SVN commit r21278.
2018-02-19 23:59:06 +00:00
elexis eaf46962b4 Fix metal mines and nomad units on Dodecanese, refs D1277.
Improve bridges.

This was SVN commit r21276.
2018-02-19 23:30:30 +00:00
Stan c71b521dad New Blemmye camp for Kushites
Issue: https://github.com/0ADMods/kushites/issues/63

This was SVN commit r21275.
2018-02-19 22:35:18 +00:00
elexis 75c24843b2 Add Nomad checkbox for Atlas, refs #4824, #3591.
Differential Revision: https://code.wildfiregames.com/D1310
This was SVN commit r21274.
2018-02-19 22:30:09 +00:00
elexis d31255d73d Play the new track "The Governor" from 668da1b0d1 as a peacetime track for Romans, as intended by Omri.
This was SVN commit r21273.
2018-02-19 22:09:47 +00:00
temple 6285244c1c Adjust spread multiplier in technologies
Differential Revision: https://code.wildfiregames.com/D834
Comments by: fatherbushido
This was SVN commit r21272.
2018-02-19 21:11:56 +00:00
temple 2634606f3e Increased loot for promoted units
Differential Revision: https://code.wildfiregames.com/D995
Patch by: Grugnas
This was SVN commit r21271.
2018-02-19 20:59:50 +00:00