Commit Graph

18117 Commits

Author SHA1 Message Date
elexis 0350bee2e6 Remove workaround from 4055c564e9 / D1184 and display hotkey strings too if the hotkey is unassigned.
Differential Revision: https://code.wildfiregames.com/D1200
Reviewed By: mimo
This was SVN commit r20777.
2018-01-06 16:20:59 +00:00
elexis f352d20e17 Support both DateTime formats of XEP-0082 in the lobby, refs #3156, f2c76cc75d, 6141c5c4fa, f27efac053.
Patch By: Dunedan
Fixes #4920.
Differential Revision: https://code.wildfiregames.com/D1197
This was SVN commit r20776.
2018-01-06 16:09:10 +00:00
elexis 015aa4adee Rename getTIPIADBON (The Intended Point In A Direction Based On Height) from 1fd00b5e3f to findLocationInDirectionBasedOnHeight.
Use vector algebra to simplify it and the according maps, refs #4845.
Remove stepSize parameter as long as the non-interpolated heightmap grid
is tested.

This was SVN commit r20775.
2018-01-06 15:48:38 +00:00
mimo 4925b8d21a fix 4842b2158b
This was SVN commit r20774.
2018-01-05 17:34:21 +00:00
elexis a8e63c72a8 Fix gamesetup when compiled --without-lobby following 61261d14fc / D364.
Differential Revision: https://code.wildfiregames.com/D1196
Patch By: nwtour
This was SVN commit r20773.
2018-01-05 16:47:05 +00:00
Stan 2661020b29 Fix a bug with horses variants found by wowgetoffyourcellphone
Thread:
https://wildfiregames.com/forum/index.php?/topic/23012-committed-horse-animations-actors-update/&page=12
Rotate by 180 degrees every horse that would have otherwise his head
through the roof.

This was SVN commit r20772.
2018-01-05 14:57:24 +00:00
Stan 73b1c96ed1 New officer helmets, update the current ones.
Thread here :
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/
Accepted by Lordgood
Fixes #2288

This was SVN commit r20770.
2018-01-05 04:14:13 +00:00
Stan fef0b8b8c4 New hoplites helmets
Thread here :
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/
Accepted by Lordgood

This was SVN commit r20769.
2018-01-05 04:13:26 +00:00
Stan aabd578a43 New Agema helmet
Thread here :
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/
Accepted by Lordgood, Enrique, Wowgetoffyourcellphone
Fixes #2293

This was SVN commit r20768.
2018-01-05 04:11:42 +00:00
Stan 1a8d8cb84e New Phrygian cap and mask.
Thread here :
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/
Accepted by Lordgood

This was SVN commit r20767.
2018-01-05 04:05:00 +00:00
Stan 0d6afda873 Fix a bug with incorrect geometry.
This was SVN commit r20766.
2018-01-05 03:03:55 +00:00
Stan 91fe20f8ee New highcrest version for chalcidean helmet,
Lower the brow.
Thread
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/&page=4

This was SVN commit r20765.
2018-01-03 16:54:53 +00:00
Stan 815b3766ae New Seleucus Nikator (Victor) helmet
Discussion here :
https://wildfiregames.com/forum/index.php?/topic/23049-help-needed-the-next-big-thing-helmets/&page=4
Accepted by Lordgood

This was SVN commit r20764.
2018-01-03 16:24:30 +00:00
mimo 2dc41277df cleanup 9daa7520ef following bb's comments
This was SVN commit r20763.
2018-01-03 15:27:02 +00:00
Stan 549c0ee1b4 Rename some helmets to better reflect what they are.
Move them  to the new folder.
Update the actors accordingly.

This was SVN commit r20762.
2018-01-03 15:12:23 +00:00
elexis fc733d0b22 Delete createRamp which is the same as createPassage, refs #4805, f3823847b0, 9016b8d866, a796800bb1.
Use vector algebra to compute the ramp position, refs #4845.

This was SVN commit r20761.
2018-01-03 11:46:09 +00:00
mimo 9daa7520ef Allows trigger script with different difficulty levels
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D1189
This was SVN commit r20760.
2018-01-03 11:21:37 +00:00
elexis cdd96d8ae2 Simplify rmgen distanceOfPointFromLine and checkIfIntersect a lot by using vector algebra, refs #4845, #4805, 53074c7715, 70e67af87f, e596ef6011.
First createRamp cleanup, f3823847b0.

This was SVN commit r20758.
2018-01-03 03:27:09 +00:00
Stan 0f2f5aef77 Use variants for boeotian helmets to remove duplication everywhere,
Change the material to use parallax were possible.
Add an empty normal texture 2x2 to allow other helmets to have theirs.
Use fully inheritance, only repeating frequency and names where needed
as they
are also inherited.

This was SVN commit r20757.
2018-01-03 00:04:20 +00:00
elexis bc2c9c1939 JS GUI session cleanup.
Load technologies through the globalscript from D1108 / c90d72deb5
rather than querying the simulation for that.
Same can be done for auras afterwards.

This was SVN commit r20756.
2018-01-02 21:50:41 +00:00
Stan 56f4e13c9d Fix previous commit (Whiteline in XML)
Move headband to the new folder, and fix its position on the head
to better fit new heads.

This was SVN commit r20755.
2018-01-02 18:26:44 +00:00
Stan 4b0ee4dd86 New variant for the kausia cap:
Discussion here :
https://wildfiregames.com/forum/index.php?/topic/21084-committed-kausia-cap/
Discussion about other units that should get it here :
https://wildfiregames.com/forum/index.php?/topic/23634-task-new-persian-equipment/&tab=comments#comment-345401
Remove a cape frome a unit.

This was SVN commit r20754.
2018-01-02 18:16:19 +00:00
elexis c0dd4795ca Fix oversight in 83ee8cd62e / D827.
This was SVN commit r20753.
2018-01-02 17:49:20 +00:00
elexis efabf76364 Small JS GUI settings simplification using 58b2e2baf4 / D1107, refs D1189.
This was SVN commit r20752.
2018-01-02 17:10:04 +00:00
fabio 75eb8a8004 Add 8-bit easteregg music track.
Music by Omri Lahav.

Coded with oggenc -q -2 (32kbps) using aoTuV Beta6.03 from the wav in
[[SVN:19890]].

Fixes: #4677
Differential Revision: https://code.wildfiregames.com/D1097
This was SVN commit r20751.
2018-01-02 15:27:06 +00:00
s0600204 f6b5488a24 Move unravelPhases function from structree to globalscripts for use in AI init.
Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D1183
This was SVN commit r20750.
2018-01-02 06:38:09 +00:00
s0600204 00b05fd9f7 Use phase techs to determine phase order in structure tree.
(Instead of non-phase techs which is what it was using up to now.)


Reviewed/accepted by: mimo
Changes agreed (but not tested/formally proven) by: elexis

Differential Revision: https://code.wildfiregames.com/D1181
This was SVN commit r20749.
2018-01-02 06:23:33 +00:00
s0600204 f4bbf9be5f Fix sound inheritance from template_unit_hero.xml
Patch by: Grugnas
Reviewed by: s0600204
Discussed with: Stan, fatherbushido

Differential Revision: https://code.wildfiregames.com/D747
Refs: #4678

This was SVN commit r20748.
2018-01-02 05:43:46 +00:00
Stan 95e48e64aa New illyrian helmet and textures.
Discussion here:
​​https://wildfiregames.com/forum/index.php?/topic/21546-enhancement-macedonian-helmets/&page=2
Reviewed by LordGood?
Helmet 03/12
Remove now unused meshes as new ones are basically higher resolution
versions.
Update actors accordingly to make use of them.

This was SVN commit r20747.
2018-01-01 18:33:10 +00:00
bb c9295a0f59 Nuke missleading non-existing spearman/sword(s)man classname references.
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D1173
This was SVN commit r20746.
2018-01-01 15:06:52 +00:00
bb 938a95b060 Fix a missed icon move in c67bd74008
Spotted By: Lion Kanzen
Patch By: Nescio
This was SVN commit r20745.
2018-01-01 14:59:55 +00:00
Stan 8866cd3f99 Improved texture for hele archers
Discussion here:
https://wildfiregames.com/forum/index.php?/topic/21546-enhancement-macedonian-helmets/&page=2
Approved by Enrique before he left

This was SVN commit r20744.
2018-01-01 12:11:25 +00:00
Stan 48b574c459 Change frequency of the variant files to allow a more uniform distribution of helmets,
and fix a bug due to inheritance that would make them appear more than
they should
because the frequency tag was not correctly overrode by the files using
them as they
were before and not after the variant file.

Patch by wowgetoffyourcellphone

Discussion here
:https://wildfiregames.com/forum/index.php?/topic/21546-enhancement-macedonian-helmets/&page=3

This was SVN commit r20743.
2018-01-01 11:25:25 +00:00
Gallaecio 4842b2158b [i18n] Normalized female citizen references, updated POT and PO files.
This was SVN commit r20742.
2017-12-31 21:30:27 +00:00
Stan e18ac19e58 New chalcidean helmet and textures.
Discussion here:
​https://wildfiregames.com/forum/index.php?/topic/21546-enhancement-macedonian-helmets/&page=2
Reviewed by LordGood
Helmet 03/12

Remove now unused meshes as new ones are basically higher resolution
versions.
Update actors accordingly to make use of them.

This was SVN commit r20741.
2017-12-31 17:44:37 +00:00
Stan 6f5abb3821 Use Lordgood's texture as a variant for the cataphract's mask.
This was SVN commit r20740.
2017-12-31 17:14:52 +00:00
elexis 15eedd2461 Use a helper variable and fix some whitespace in shaders as recommended by Vladislav in 2c8b78ddaa.
Differential Revision: https://code.wildfiregames.com/D1144
Comments By: wraitii
This was SVN commit r20738.
2017-12-31 01:34:22 +00:00
elexis c90d72deb5 Replace DataTemplateManager simulation component with a globalscript, refs #4868.
Removes the serialization of JSON files, shrinking savegame files and
rejoin states sent across the network, refs #3834, #4239, #3909,
f24523dc8f.
Removes the AI C++ code to read JSON files from e33d4a52e9 since the AI
can now use the globalscript.
Allows the AI to read Aura templates and removal of GUIInterface code to
improve performance.
Serialization of the JSON objects in other simulation components was
removed in 9c0e37f2c0 / D1109, a6f14f5631 / D1130.

Serialization removal planned by sanderd17
AI part proofread by mimo
Simulation part proofread by bb
Discussed with Itms on irc

Differential Revision: https://code.wildfiregames.com/D1108
This was SVN commit r20737.
2017-12-31 01:02:21 +00:00
elexis 1162eefdc2 Non-military unit selection filter.
Differential Revision: https://code.wildfiregames.com/D1056
Patch By: fpre / ffffffff
Reviewed By: temple
This was SVN commit r20736.
2017-12-30 18:20:43 +00:00
elexis d18374bffe Fix ugly font rendering using GL linear interpolation if the UI scale was changed.
Patch By: Dariost
Refs D332

This was SVN commit r20735.
2017-12-30 17:56:07 +00:00
elexis a62690c65a Add cheat code to play arbitrary music playlists, by default the 8-bit retro easteregg track from [[SVN:19890]] (yet to be committed to the public mod).
Fixes #4677.
Differential Revision: https://code.wildfiregames.com/D1097
Patch By: PingvinBetyar
This was SVN commit r20734.
2017-12-30 17:42:43 +00:00
elexis 669db62c5f Allow cheats to pass negative numeric arguments and default parameters for cheat arguments that are strings, refs D1097.
This was SVN commit r20733.
2017-12-30 17:38:01 +00:00
elexis 0c70fb3036 Deobfuscate, deduplicate and fix Corsica vs. Sardinia and Pyrenean Sierra, refs 9016b8d866, a796800bb1.
Use vector algebra instead of adding one equation for each dimension
everywhere, refs #4845.
Add common createPassage terrain helper function to unify
straightPassageMaker and the modified copy PassMaker, refs #4805.

On Corsica vs Sardinia:

Comfort island shaping by
not hardcoding and not hiding magic numbers behind magic equations,
not specifying areas and deriving the radius from the disk area,
but always refer to newly introduced radius globals and compute the area
using diskArea from 1a896f531a.

Don't give some players 10% more map area and place all circular island
parts at the same center location in the map corner.
Don't place trees and mines into passages.
Simplify and order numbers, increase fail fractions from 4 to 10.
Use mapCenter getter from refs #4854.

This was SVN commit r20732.
2017-12-30 16:17:54 +00:00
Stan 279cad48e7 Use helmet prop points for helmets
Use the new head mesh for the new units
Found using : props/units/heads/(?!new/).*" attachpoint="head"

This was SVN commit r20731.
2017-12-30 15:58:53 +00:00
Stan 615403594b Following the inclusion of new horses units now use smaller heads.
Adapt the cataphract helmet to the new heads and move its position to
the helmet prop point
Move it to the new helmet folder

This was SVN commit r20730.
2017-12-30 15:31:55 +00:00
elexis 5500a96751 Delete Savegame format version, refs 7064565ff6.
It is unneeded because we won't add backwards compatibility for previous
formats and
because the engine version check from 94302a4149 is sufficient and more
accurate in testing compatibility of savegames of different releases.
The simpler code allows unifying the savegame version check with the
check used by the replay menu (to be used in multiplayer gamesetups).

Differential Revision: https://code.wildfiregames.com/D1131
Reviewed By: wraitii
Agreed with: Imarok
Discussed with: Philip

This was SVN commit r20729.
2017-12-30 14:54:13 +00:00
Stan 23ece1d627 New pilos helmet and textures.
Discussion here:
https://wildfiregames.com/forum/index.php?/topic/21546-enhancement-macedonian-helmets/&page=2

Move the affected helmets files to the new subdirectory, update all
concerned actors,
Create variant files for the pilos helmet, as a Poc for future commits
and also for the game.
Create a variant folder for the helmets files

This was SVN commit r20728.
2017-12-30 14:24:51 +00:00
Stan 512e8a269c Update the rnc file and compile it with trang to allow variant inheritance. This already worked, without the game even complaining, but the validator.pl would complained (as it should have).
This will be useful to avoid helmet code duplication, see next commit.

This was SVN commit r20727.
2017-12-30 14:21:28 +00:00
elexis b8216a9164 Let Atlas provide a default AI seed.
This addresses the Simulation2 warning about a gamesetup mechanism not
having decided explicitly about the RNG.

Differential Revision: https://code.wildfiregames.com/D1187
Reviewed By: mimo
Refs #4917, 7e05d7edc9 / D1178

This was SVN commit r20726.
2017-12-30 14:02:09 +00:00
mimo 4055c564e9 add a hotkey to toggle tutorial panel + add hotkey parameters to tutorial messages
Discussed with elexis

Differential Revision: https://code.wildfiregames.com/D1184
This was SVN commit r20725.
2017-12-30 13:31:14 +00:00