Commit graph

18401 commits

Author SHA1 Message Date
temple
37d317e01a Remove the alert status on units
Differential Revision: https://code.wildfiregames.com/D681
Reviewed by: causative
Fixes: #4185, #4656

This was SVN commit r21074.
2018-01-30 01:47:12 +00:00
elexis
b5b384da48 Implement rmgen JS logger that measures the time for each procedure and prints logmessages to stdout, fixes #4950.
Allows to identify performance bottlenecks quickly and provides a better
sense of progress when viewing stdout.

This was SVN commit r21073.
2018-01-30 00:11:11 +00:00
temple
1ba1e86c5e Use a countdown rather than a tooltip for displaying construction progress
Change the time to completion to a countdown and remove the tooltip on
the health bar.
Move the number of builders to the time speed-up tooltip.
Remove the build rate tooltip.

Differential Revision: https://code.wildfiregames.com/D572
Early review by: wraitii
Comments by: bb
This was SVN commit r21072.
2018-01-30 00:02:10 +00:00
bb
7e14a33411 Make the resource/pop tooltips sortable
Patch By: ffffffff
Differential Revision: https://code.wildfiregames.com/D1113
This was SVN commit r21071.
2018-01-29 23:12:12 +00:00
mimo
99dc7c8f1c petra cleanup
This was SVN commit r21070.
2018-01-29 18:36:06 +00:00
elexis
78ce731fc5 rmgen random placement and Entity instantiation refactoring, fixes #4992.
ChainPlacer, ClumpPlacer, SimpleObject receive the vectors that are in
place everywhere already, refs #4845.
Add public setCenterPosition to CenteredPlacer and Group rather than
writing private properties of the prototypes.
ChainPlacer and ClumpPlacer simplifications, deduplication and renames,
refs #4805.

Replace placeObject global with RandomMap placeEntity members, refs
#4804.
Split to placeEntityPassable / placeEntityAnywhere, as well as
validTilePassable / validTileAnywhere to more cleanly distinguish actor
and casual entity placement.
No more does SimpleObject create Entity instances and register entityIDs
if they are never placed.
Removes the map global reference from the Entity constructor, refs
#4964.
By definition of what is passed to the engine, an Entity has an ID and
position, so keep it impossible to create Entities without IDs.

Implement randomPositionOnTile so that there aren't different
implementations thereof, including unintented ones as in
ardennes_forest.js in 2f7610160f.
On Caledonian Meadows, remove unused pathplacing code, to be superseded
by #4368.
On Schwarzwald, delete unused startLocations following b180ad3e5d.
On Latium, replace complicated duplicated hardcoded fish location
computation with a simple HeightConstraint, refs #4960.

This was SVN commit r21069.
2018-01-29 16:20:14 +00:00
Stan
f3d1d3120c Fix sounds path broken in previous commit
This was SVN commit r21068.
2018-01-29 13:23:09 +00:00
Stan
edbaec24a1 Delete camel sound file that is not death and is unused.
Move goat death sounds to the death folder, and use every one of them.

This was SVN commit r21067.
2018-01-29 12:54:55 +00:00
Stan
3da24fbb89 Remove some progress bar duplication
This was SVN commit r21066.
2018-01-29 12:38:49 +00:00
Stan
b55096853e Use the icon for the 300 version of Leonidas.
This was SVN commit r21065.
2018-01-29 12:24:55 +00:00
elexis
e185820e10 Implement TS_ASSERT_NUMBER as a future precaution of the integer epsilon slip in 30fe33bb0b.
Add another vector rotation test.

This was SVN commit r21064.
2018-01-29 11:55:43 +00:00
elexis
65c62c0862 Fix inclusionCount reference in the heightmap library / Wild Lake map following 2ac7d4fd32.
Delete clPath there altogether because it's never written to, nor
terrain textures painted.
Replace other inclusionCount references with common avoidClasses
constraints.
Remove now unneeded undefined checks.
Make nomad units on Wild Lake avoid gaia camps.

This was SVN commit r21063.
2018-01-29 10:47:23 +00:00
elexis
30fe33bb0b Add another Vector2D rotation test (illustrating the most common rmgen rotation transformation).
TS_ASSERT_EQUALS_APPROX must not silently pass if epsilon wasn't given.
Sort Vector2D.rotate summands by component rather than saving one
character.

This was SVN commit r21062.
2018-01-29 09:51:20 +00:00
Stan
2fa34e129d New celt hero icon by wowgetoffyourcellphone
Reviewed by : Stan.

This was SVN commit r21059.
2018-01-29 03:20:50 +00:00
Stan
eb9b7e21e6 Move some unused icons as they are only used in DE, or will be used for part II;
This was SVN commit r21058.
2018-01-29 03:17:13 +00:00
Stan
68e66681be Move an ancient placeholder siege tower to the public old folder.
This was SVN commit r21057.
2018-01-29 02:52:59 +00:00
Stan
05167fc24c Remove placeholder roof.
This was SVN commit r21056.
2018-01-29 02:43:22 +00:00
elexis
e50cd13643 Fix camouflaged paintRiver sign error of doom in e596ef6011 that resulted in rivers always being parallel and Danubius placing "left" patrol trigger points on both riversides.
Add missing map rotation for Danubius shoreline triggerpoints in
3d65bfe555.

This was SVN commit r21055.
2018-01-29 00:58:00 +00:00
Stan
605bdb0480 Move unused buildings referenced by the script checkref.pl to a new folder where all the old stuff will be put.
Delete some of them as they are close copies of the existing ones.
Rename barracks to blacksmith, as it is in fact one.

This was SVN commit r21054.
2018-01-29 00:46:52 +00:00
Stan
767bb873f2 Delete a bunch of cubes that served as a blacksmith placeholder, and are now unused.
This was SVN commit r21053.
2018-01-29 00:26:02 +00:00
Stan
ac6d775536 Move unused buildings referenced by the script checkref.pl to a new folder where all the old stuff will be put.
Those chinese were added at the time were terra magna could have been
part of the mod, I'm keeping a copy but they should probably be deleted.

This was SVN commit r21052.
2018-01-29 00:22:43 +00:00
Stan
1b9e19f12c Move unused buildings referenced by the script checkref.pl to a new folder where all the old stuff will be put.
This was SVN commit r21051.
2018-01-29 00:01:11 +00:00
Stan
3d004a379e Move unused buildings referenced by the script checkref.pl to a new folder where all the old stuff will be put.
This might become a mod and serve as a resource for modders. This will
also allow to reduce the public.zip file.

This was SVN commit r21050.
2018-01-28 23:12:27 +00:00
mimo
f5fe19d2a2 petra: do not try to attack an invulnerable capturable target
This was SVN commit r21049.
2018-01-28 19:56:57 +00:00
mimo
b611a2f4bf Make the ai aware of invulnerable entities
Commented by elexis

Differential Revision: https://code.wildfiregames.com/D1267
This was SVN commit r21048.
2018-01-28 19:53:29 +00:00
elexis
751edb43fc Fix wrong type in 8aaff7fc62 / D1232.
Differential Revision: https://code.wildfiregames.com/D1266
Patch By: Angen
This was SVN commit r21047.
2018-01-28 17:37:55 +00:00
Stan
bd5fa08e73 Fix spear smoothing groups, they are now less shiny as a consequence though.
This was SVN commit r21046.
2018-01-28 13:55:02 +00:00
mimo
2fa7d05dc6 another fix of fe3668aebe
This was SVN commit r21045.
2018-01-28 13:45:17 +00:00
mimo
01587376d4 petra: add missing iterator from fe3668aebe
This was SVN commit r21044.
2018-01-28 09:49:16 +00:00
Gallaecio
17e0ee4a27 Fix bad plural reported by safaalfulaij at Transifex
This was SVN commit r21043.
2018-01-28 05:31:44 +00:00
temple
ac3c02b4d4 Disable attack as formation
Differential Revision: https://code.wildfiregames.com/D1220
Reviewed by: wraitii
Refs: #4951

This was SVN commit r21042.
2018-01-28 01:32:26 +00:00
Stan
effb1363c0 Fix an incorrect animation reference, and add the native keyword, noticed by checkref.pl refs #2524
This was SVN commit r21041.
2018-01-28 01:22:18 +00:00
Stan
0fb42ff234 Fix an incorrect prop reference. Noticed by checkrefs.pl, which should be fixed by the way.
This was SVN commit r21040.
2018-01-28 01:16:25 +00:00
Stan
e413e54910 New completion sounds for archery range by Lion.Kanzen
Reviewed by : Omri, Stan
Thread:
https://wildfiregames.com/forum/index.php?/topic/23726-tasksound-archery-range-provisional-sound/&page=2&tab=comments#comment-347558

This was SVN commit r21039.
2018-01-28 01:15:19 +00:00
Stan
8967b82ca1 New Chamfrons for seleucid elite horses by Alexandermb
Thread :
https://wildfiregames.com/forum/index.php?/topic/21396-task-seleucid-units-textures/&page=4
Reviewed by : Stan
Feedback by : Sundiata

This was SVN commit r21038.
2018-01-28 00:52:09 +00:00
Stan
ca09c07f32 Fix the golden fleece and remove now unused textures.
This was SVN commit r21037.
2018-01-27 23:15:24 +00:00
bb
2d57478781 Create a saveSettingAndWriteToUserConfig() function to absorb some duplication in the gui
Patch By: ffffffff
Comments By: leper, mimo
Differential Revision: https://code.wildfiregames.com/D1211
This was SVN commit r21036.
2018-01-27 20:59:19 +00:00
Stan
cb8a7e48a0 New spears by Alexandermb
Thread:
https://wildfiregames.com/forum/index.php?/topic/23907-task-spears-remesh/
Completeness by : Stan
Review by Stan

This was SVN commit r21035.
2018-01-27 15:47:03 +00:00
Gallaecio
1a1f6ba048 build (human units) → train, build (siege weapons) → construct
This was SVN commit r21034.
2018-01-27 13:54:12 +00:00
Gallaecio
4e42459c79 Rephrase Druids aura description
This was SVN commit r21032.
2018-01-27 12:06:46 +00:00
Itms
b79b783a36 Fix the translation updates by removing a typo in e50beaedc0.
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D1259
This was SVN commit r21031.
2018-01-27 11:52:23 +00:00
mimo
259a4e8e57 fix typo in fe3668aebe
This was SVN commit r21030.
2018-01-27 11:06:18 +00:00
mimo
d9809f464e lock teams in some scenarios which would otherwise be unbalanced, fixes #4817
This was SVN commit r21029.
2018-01-27 10:56:09 +00:00
mimo
1976f367a3 ai: additional cleanup following fe3668aebe
This was SVN commit r21028.
2018-01-27 10:46:03 +00:00
mimo
fe3668aebe petra adaptation to multiple victory conditions, in preparation of D1240
This was SVN commit r21027.
2018-01-27 10:10:55 +00:00
elexis
8585040f27 Cleanup TileClass prototype and use vector arguments for countInRadius, countMembersInRadius, countNonMembersInRadius, refs #4992.
This was SVN commit r21026.
2018-01-27 04:37:00 +00:00
elexis
2ac7d4fd32 Stop identifying TileClasses by a customly defined TileClassID, but just identify the prototype instance directly, refs #4804, 0e0ed94926.
Delete hence unneeded validClass, getTileClass, addToClass and
removeFromClass.

Use vectors for the TileClass add and remove function, refs #4992.
Use createArea call for addCivicCenterAreaToClass.

This was SVN commit r21025.
2018-01-27 04:04:02 +00:00
elexis
de3c50adf0 Floor operation on vectors.
Useful to get the coordinates of a tile of an entity position for
instance.

This was SVN commit r21024.
2018-01-27 01:38:23 +00:00
elexis
95179c5e46 Don't trigger a NetServerTurnManager debug breakpoint if a modified or unmodified client sends a non-sequential turnnumber.
Disconnect that client.

Refs #3643
Differential Revision: https://code.wildfiregames.com/D1256
Reviewed By: echotangoecho
This was SVN commit r21023.
2018-01-26 23:02:13 +00:00
elexis
c53adeaaa6 Unify structree production queue loading duplication.
Differential Revision: https://code.wildfiregames.com/D1192
Reviewed By: s0600204
This was SVN commit r21022.
2018-01-26 22:18:35 +00:00