Commit Graph

20417 Commits

Author SHA1 Message Date
bb f12feba62d Correct military colony footprint/obstruction
Patch By: Nescio
Differential Revision: D2639
This was SVN commit r23504.
2020-02-17 18:00:32 +00:00
Stan 0c7e8e75cb Remove ground texture from brit and cart gate actors as it doesn't fit all the terrains and none of the gates have them.
Patch by: @Nescio
Differential Revision: https://code.wildfiregames.com/D2634
This was SVN commit r23502.
2020-02-15 10:35:05 +00:00
Angen 72beb1326f Fix missing cmpTechnologyManager check in Commands.js
Check for cmpTechnologyManager existence to avoid calling function on
null when upgrading entity requires some technology to be researched.

Differential Revision: https://code.wildfiregames.com/D2632
Fixes: #5668
Patch by: @Ampaex
This was SVN commit r23500.
2020-02-14 08:09:16 +00:00
Stan bfab378b85 Fix missing transparency introduced in f9b0d5e365.
Noticed by: @elexis
This was SVN commit r23498.
2020-02-13 21:15:05 +00:00
Angen 623d4088e8 UnitAI cleanup [GATHER]
delete not needed variable
var -> let
rename nearby variables to reflect what they are referencing

Differential Revision: https://code.wildfiregames.com/D1940
Comments by: Stan, Polakrity
This was SVN commit r23497.
2020-02-13 20:24:51 +00:00
Angen 0535eb9b92 Fix formationmember not leaving walking state if offset cannot be reached
Fail movement for formationmember when cannot find path to destination
and formationcontroller is not moving so formationmember will enter idle
state or follow next command relying on member stopping movement first.

Introduced in a1dc9cadd8.

Differentail Revision: https://code.wildfiregames.com/D2438

This was SVN commit r23496.
2020-02-13 19:44:03 +00:00
Angen a3a5b2fd08 Simplify conditions in SetAnimation
Introduced in d3f57744d9.
There are 2 mane cases when entity cannot play animation.
1st there are not bones
2nd animation is not valid

These conditions are merged into one.

Differential Revision: https://code.wildfiregames.com/D2416
Reviewed by: @Stan
This was SVN commit r23495.
2020-02-13 19:24:08 +00:00
Stan 8707763eb2 Fix placement of the ptolemaic short wall.
Noticed by: @Nescio
Refs: D2502

This was SVN commit r23494.
2020-02-12 22:32:54 +00:00
bb 909dae4ec1 Removing trailing 0's and leading +'s from operators in templates.
Patch By: Nescio
Differential Revision: https://code.wildfiregames.com/D2609
This was SVN commit r23493.
2020-02-11 20:07:18 +00:00
bb 053b3c424a Correct watermarks aspect ratio
Patch By: Nescio
Comments By: Stan
Differential Revision: https://code.wildfiregames.com/D2589
This was SVN commit r23492.
2020-02-11 08:28:01 +00:00
elexis 0dff6940f7 Implement a FixedVector2D::CompareLengthSquared function to provide a more performant alternative to CompareLength.
Avoids computing the square of the compared value every call.

Differential Revision: https://code.wildfiregames.com/D2058
Reviewed By: Vladislav
This was SVN commit r23489.
2020-02-09 21:00:43 +00:00
Alexandermb 49710ee5e8 Replace Wrong visual actor being used in mace_siege_oxybeles_packed.xml
This was SVN commit r23488.
2020-02-09 14:13:37 +00:00
Stan 8dd369ca04 Correct the contents of the kush_hero_harsiotef.xml template, which used to be simply a copy of kush_hero_nastasen.xml
Standardize the Kushite hero specific names, as
Insert Harsiotef in the Kushite sandbox map
Patch by: @Nescio
Discussed with:  @Sundiata
Thread:
https://wildfiregames.com/forum/index.php?/topic/21602-the-kingdom-of-kush-a-proper-introduction-illustrated/page/38/&tab=comments#comment-392146
Differential Revision: https://code.wildfiregames.com/D2624
This was SVN commit r23487.
2020-02-07 21:25:25 +00:00
vladislavbelov 113b1c49b9 Adds anti-aliasing option with FXAA algorithm.
Differential Revision: https://code.wildfiregames.com/D2537
This was SVN commit r23484.
2020-02-05 21:53:10 +00:00
Stan b76fd22c57 New icon for Nastasen.
Art by: @Sundiata
Thread:https://wildfiregames.com/forum/index.php?/topic/21602-the-kingdom-of-kush-a-proper-introduction-illustrated/page/37/&tab=comments#comment-392054

This was SVN commit r23482.
2020-02-05 17:14:21 +00:00
vladislavbelov 00989a6560 Uses fixed-function pipeline functions only in FFP mode.
Differential Revision: https://code.wildfiregames.com/D2619
This was SVN commit r23481.
2020-02-05 14:00:52 +00:00
vladislavbelov 36883f2832 Renames RenderTerrain to RenderTerrainFixed to follow its implementation.
RenderTerrainShader was added in d295dacb9b.

This was SVN commit r23479.
2020-02-04 23:16:30 +00:00
Angen b5e5a8b382 Fix eee to ee in Terms_and_Conditions
Introduced in 209bab0255

Differential Revision: https://code.wildfiregames.com/D2617
Patch by: @Nescio
This was SVN commit r23478.
2020-02-04 20:09:24 +00:00
elexis 912dda50d6 Option to allow having the same entity in multiple control groups.
Differential Revision: https://code.wildfiregames.com/D2176
Patch By: Freagarach
This was SVN commit r23476.
2020-02-02 17:17:16 +00:00
Angen 0f9dd324c2 Fix cape approaching variants related to idle animation and fix incorrect animation names
Introduced in a84a896672

This was SVN commit r23475.
2020-02-01 14:22:52 +00:00
Angen a6159e4ac6 Lower number of setdefaultanimation calls in gathering state
Move call to SetDefaultAnimationVariant to leave function upon leaving
GATHERING state instead for every one substate leave.

Differential Revision: https://code.wildfiregames.com/D2565
This was SVN commit r23474.
2020-02-01 13:46:23 +00:00
elexis 045c3c9d5f Gamesetup setting for map specific team placement, fixes #4110, refs #4838.
Differential Revision: https://code.wildfiregames.com/D2607
This was SVN commit r23473.
2020-01-31 21:25:47 +00:00
elexis c4f6f6cd8d Fix autocomplete of Landscape/Daytime in af15d5972d/D2564 as well.
This was SVN commit r23472.
2020-01-31 21:02:39 +00:00
Angen 39bfd15aca Fix checks for range existence following 6bc99c47e1
Function introduced in 6bc99c47e1, GetRange can return undefined when
required component does not exist. Fixing two oversights, when check is
needed.

Differential Revision: https://code.wildfiregames.com/D2608
Fixes: #5666

This was SVN commit r23471.
2020-01-31 20:00:06 +00:00
elexis 8def60082d Fix missing translate calls and typo in Gamesetup Landscape/Daytime implementation af15d5972d/D2564.
This was SVN commit r23470.
2020-01-31 18:49:00 +00:00
Angen 5d167d4bf9 Use correct player id when querying interfaces in guiinterface
Fix cases when passing gaia player in data parameter will result in
ignoring this passed value noticable mainly when using cheat "controll
all units".

Reported by: gameboy
(https://wildfiregames.com/forum/index.php?/topic/27538-%E3%80%90fixed%E3%80%91upgrade-error%EF%BC%81/)
Differential Revision: https://code.wildfiregames.com/D2606
Comments by: elexis
This was SVN commit r23468.
2020-01-30 21:36:01 +00:00
Angen 083a5947e6 Do not create range query with no enemies
Do not create range query with no enemies as that triggers warning in
range manager.
This situation occurs when player has no enemies so empty list is
returned.

Fixing CCmpRangeManager: No owners in query for entity 0 warning

refs 38b2e37a61

Differential Revision: https://code.wildfiregames.com/D2601
Fixes: #5666
Reviewed by: @Freagarach
This was SVN commit r23467.
2020-01-30 21:13:42 +00:00
Angen 074dff2c91 Rephrase formation disabled tooltip after 9c2e9d7893
I failed to keep tooltip constancy in 9c2e9d7893 done in e381fa393a as I
did not recheck tooltip changes when revisiting D1462 after longer time.

Differential Revision: https://code.wildfiregames.com/D2602
Reviewed by: @Nescio
This was SVN commit r23466.
2020-01-30 21:09:36 +00:00
Angen 6bc99c47e1 Unify GetRange calls in UnitAI.
This patch unifies the different GetRange calls to one function in
UnitAI. Split from D1958 and makes further changes to be done easier at
one place.

Differential Revision: https://code.wildfiregames.com/D2328
Patch by: @Freagarach
This was SVN commit r23465.
2020-01-30 21:05:59 +00:00
vladislavbelov b42ebe99f5 Fixes commented block introduced in ecc7d2913e.
Noticed By: Stan
This was SVN commit r23463.
2020-01-29 23:44:14 +00:00
vladislavbelov ecc7d2913e Moves GL error check after SwapBuffers to decrease a possible synchronization during rendering process.
Comments By: Stan, elexis
Differential Revision: https://code.wildfiregames.com/D2600
This was SVN commit r23462.
2020-01-29 22:03:44 +00:00
elexis 1fdcb80850 Buff loom to double female citizen HP.
Differential Revision: https://code.wildfiregames.com/D2587
Patch By: ValihrAnt
This was SVN commit r23461.
2020-01-29 18:57:30 +00:00
elexis 5fe58d80fd Some more random random map script unit tests and ASSERT functions, refs #4827.
Differential Revision: https://code.wildfiregames.com/D2603
This was SVN commit r23460.
2020-01-29 18:52:48 +00:00
vladislavbelov 8ea416b125 Adds an option to enable/disable building snapping by a hotkey.
Comments By: elexis, bb
Differential Revision: https://code.wildfiregames.com/D2546
This was SVN commit r23459.
2020-01-29 17:41:39 +00:00
vladislavbelov 936cf78ac1 Adds tests for terrain resize, it helps to describe the exact behavior of height preserving.
Reviewed By: Stan
Differential Revision: https://code.wildfiregames.com/D2604
This was SVN commit r23457.
2020-01-29 16:01:25 +00:00
elexis 0a6db43c83 Support random map script tests, fixes #4827.
Differential Revision: https://code.wildfiregames.com/D2085
Comments By: wraitii
This was SVN commit r23455.
2020-01-29 00:30:07 +00:00
Angen 67a4c18c74 Disband formation instead destroying
Fix missed line change in 9c2e9d7893 when rebasing D1462

This was SVN commit r23454.
2020-01-28 19:31:04 +00:00
elexis f98cbb290a Support GUI script includes in included XML files to further decoupling of GUI page contents, refs #5387.
Differential Revision: https://code.wildfiregames.com/D2599
Comment By: Stan, Vladislav
This was SVN commit r23452.
2020-01-28 01:06:34 +00:00
Stan dbdd1dc01b Fix a typo and a duplicated prop noticed by @elexis and checkrefs.pl. Remove a duplicated sail prop.
This was SVN commit r23451.
2020-01-27 22:50:38 +00:00
Angen 9c2e9d7893 Enforce formation required member count
Disband formation with less memebers than required.
Do not allow one member in formation.
Show only formations entities actually are allowed to form. (do not show
wedge for infantry)

Differential Revision: https://code.wildfiregames.com/D1462
Fixes: #5119
Comments by: elexis, bb, temple, Stan, Freagarach
This was SVN commit r23450.
2020-01-27 17:49:06 +00:00
Angen 17c9950cee Fix entities not retaining repair order after target transforms
Update this.repairTarget in UnitAI when target renames.
Transfer builders among renamed entities.

Differential Revision: https://code.wildfiregames.com/D2360
Patch by: @Freagarach
Comments by: Stan, elexis
This was SVN commit r23449.
2020-01-27 17:14:30 +00:00
Angen 82a5ab6d19 Allow status effect to apply modifiers and fix 2333b1814e
Status effect can apply modifier to the entity (armour strength, walking
speed, ...)
This is also hiding status effect icons by default in selection detail.
Fixing smaller related bugs.

Differential Revision: https://code.wildfiregames.com/D2281
Patch by: @Freagarach
Comments by: Stan, wraitii
This was SVN commit r23448.
2020-01-27 16:51:25 +00:00
vladislavbelov 95b13cda13 Adds const to Material and CShaderProgram::Binding methods, removes a redundant variable from ModelRenderer
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D2598
This was SVN commit r23445.
2020-01-26 21:32:12 +00:00
Stan 968a208ac0 Remove transparency from horses bodies.
This was SVN commit r23444.
2020-01-26 17:01:56 +00:00
Stan 8954dbd110 Update the siege engines to not use transparency where not necessary.
This was SVN commit r23443.
2020-01-26 17:00:55 +00:00
Stan 1bcc38242d Update roman civic center to use less transparency.
This was SVN commit r23442.
2020-01-26 16:59:02 +00:00
Stan 9abe10c42a Remove some transparency from helmets.
This was SVN commit r23441.
2020-01-26 16:57:36 +00:00
Stan 993dd3a958 Update persian merchant ship mesh to reduce the amount of transparency.
This was SVN commit r23440.
2020-01-26 16:56:39 +00:00
Stan ba0eef2003 Remove basic_trans from greaves to improve performance.
This was SVN commit r23439.
2020-01-26 16:53:48 +00:00
elexis c3a263f1d7 Fix Danubius triggerscript warnings when playing with DisabledTreasures following 6113edd746, reported by mord and nani.
Differential Revision: https://code.wildfiregames.com/D1690
Reviewed By: bb
This was SVN commit r23438.
2020-01-26 16:29:52 +00:00