Commit Graph

15122 Commits

Author SHA1 Message Date
6e0e607b20 Temporary fix for #3551 in the interest of having a fair A19. Prohibit deverloper overlay cheats when cheats are disabled. Patch by elexis. Refs #3551
This was SVN commit r17282.
2015-11-19 17:27:27 +00:00
9e35f7d68b The over-rasterization of obstructions introduced in [17161] could in very rare cases lead to an OOS in the passability grid. Fixes #3612.
This was SVN commit r17278.
2015-11-16 22:03:10 +00:00
83191580c0 cleanup of 34fd23e920 to make l.... happy
This was SVN commit r17277.
2015-11-16 18:59:10 +00:00
9819b23529 I should not commit half-finished debug code.
This was SVN commit r17276.
2015-11-16 18:48:05 +00:00
09285ec257 Fixes #3507. Patch by Palaxin.
This was SVN commit r17275.
2015-11-16 18:37:00 +00:00
70164a02c4 Handle double-clicks on list elements better. Patch by elexis.
Fixes #3574

This was SVN commit r17274.
2015-11-16 18:23:21 +00:00
721c731567 Decreases slinger walkspeed so they have a slightly harder time slaughtering skirmishers.
This was SVN commit r17271.
2015-11-15 22:01:11 +00:00
c2f3d61a80 Fix #3613 by adding the visibility component to triggers. Patch by elexis.
This was SVN commit r17270.
2015-11-15 21:23:35 +00:00
2e3b7f5906 Lessens the effect of another very powerful aura.
This was SVN commit r17269.
2015-11-15 20:38:56 +00:00
678cd646bd Lessens the effect of a very powerful aura.
This was SVN commit r17268.
2015-11-15 20:26:37 +00:00
afef406e18 petra: fix cases where the ai would wrongly think a resource is inaccessible (because of missing reset of its internal flags)
This was SVN commit r17267.
2015-11-15 19:35:40 +00:00
025e28be83 fix test broken in 34fd23e920, fix #3614
This was SVN commit r17266.
2015-11-15 17:48:25 +00:00
39f572af88 Stop processing turns after a replay finishes. Patch by elexis. Fixes #3581
The animations continue because we currently have no easy way to stop
interpolating. My suggestion would be to implement a network
synchronised pause and use something like that.

This was SVN commit r17265.
2015-11-15 15:08:46 +00:00
34fd23e920 optimize the finding of new target (no changes on the output) when lots of units involved, fixes #3605
This was SVN commit r17264.
2015-11-15 13:19:21 +00:00
6b8dc7684a Return in case we do not have any available JS timer slots instead of accessing OOB memory.
This was SVN commit r17263.
2015-11-15 01:09:35 +00:00
f1f0fa1f8f Fix a typo. Thanks stan for noticing.
This was SVN commit r17260.
2015-11-14 21:46:05 +00:00
fcb1008fa3 Fix wolfhound actor. Patch by stanislas69. Fixes #3608.
This was SVN commit r17259.
2015-11-14 21:45:27 +00:00
e7040784ff Adds an update trigger or else rating list isn't updated on join.
This was SVN commit r17258.
2015-11-14 20:26:41 +00:00
c93eb938cc New mastiff and wolfhound units with full animations modeled by Micket (Thanks Micket, they're awesome!)
three variations of mastiff texture for its different ranks with
different armor levels.
Wolfhound unit not yet applied to the template, but it has its own
animations
New rhino unit, modeled by Micket too. It has a duplicated template from
the bear as placeholder.

This was SVN commit r17257.
2015-11-14 20:07:21 +00:00
3760891131 Fix the precedent fix. It turns out the code behaves in much weirder ways than I expected.
This was SVN commit r17255.
2015-11-14 19:03:20 +00:00
14f53315d6 Fix previous commit and OOS and rejoin. I need to get my hands on the guy that decided "init" wasn't called on deserialize.
This was SVN commit r17254.
2015-11-14 18:41:52 +00:00
3473828735 Makes some powerful techs harder to obtain or less effective.
This was SVN commit r17253.
2015-11-14 17:29:00 +00:00
ebbabb01f5 Other small JS performance improvement.
This was SVN commit r17252.
2015-11-14 16:07:48 +00:00
4e492ab7fa Optimize PerformGather in ResourceGatherer.js after the Tracelogger revelead it was a performance hotspot. Should be about twice as fast.
Optimizations were: caching gathering rates and removing a useless
message.

This was SVN commit r17251.
2015-11-14 12:26:33 +00:00
092206b12e Finding new targets can be really slow when lot of units are involved. In Combat demo huge for example, it could represent more than 30% of the simulation time. Part of it is because we loop several times on all identity classes of all enemy units, and most of the time for nothing. This patch avoids the useless loops, and adds some cleanup.
In addition, when testing if we can't attack a units, Capture and
Slaughter were used even if not applicable.

This was SVN commit r17250.
2015-11-13 17:47:31 +00:00
e7fb75a680 Initialize new variables correctly.
This was SVN commit r17247.
2015-11-12 23:07:54 +00:00
e9271025dc Forgot to serialize a new unitMotion variable, resulting in OOS on rejoin.
This was SVN commit r17245.
2015-11-12 20:57:50 +00:00
bc0048d592 Update rallypoint coordinates for rallypoints targeting entities ("attack", "repair"...). Fixes #3597
This was SVN commit r17243.
2015-11-12 17:39:46 +00:00
9357cce112 Math is hard
This was SVN commit r17242.
2015-11-12 17:32:33 +00:00
3febc387d5 Styling fixes.
This was SVN commit r17241.
2015-11-12 17:23:50 +00:00
52443dfe80 Fix an erroneous ENSURE in PatchRData and move it where it will be very slightly clearer. Fixes #3598
This was SVN commit r17240.
2015-11-12 17:22:44 +00:00
da7bd0c92c Improved action-capture icon, designed by stan and wraitii.
Fixes #3595.

This was SVN commit r17239.
2015-11-12 09:46:31 +00:00
913545aa41 Mark several CFixedVector2D as const and passed by reference in Geometry and a few other places. Mark some functions (that probably already were) inline.
Also make sure we don't include Geometry.h where it's not necessary.

This was SVN commit r17238.
2015-11-11 20:50:02 +00:00
f3b22e51a3 Optimize Geometry::PointIsInSquare, which is used quite often in performance hotspots.
Original patch by mimo. Refs #3588

This was SVN commit r17236.
2015-11-11 20:02:47 +00:00
c2928c44d4 Make farm props sway in the wind (they sway very lightly).
This was SVN commit r17235.
2015-11-11 19:12:06 +00:00
a138bed96b Fix an issue where units did not notice other moving units with my latest commits.
This was SVN commit r17234.
2015-11-11 19:06:07 +00:00
cc199c4cca Fix a critical typo in the last commit and a debug message left in accidentally. Thanks fabio.
This was SVN commit r17232.
2015-11-11 13:55:36 +00:00
56baae08c3 Fix action-capture icon transparency and optimize with optipng -o 5 and advdef -z -4
Refs: #2823

This was SVN commit r17230.
2015-11-11 13:34:15 +00:00
06cb37ff74 Add PlanNextStep back to the unitMotion, in a completely different version. This basically anticipates where we'll probably move next, and checks if static units might block us. Makes paths look slightly better.
This was SVN commit r17229.
2015-11-11 13:29:06 +00:00
607955489d Check if units are in the world in UnitRenderer::PickAllEntitiesAtPoint. Probably fixes #3587, though I'm not sure as it proved unreproducible.
This was SVN commit r17228.
2015-11-11 13:27:13 +00:00
1b00bfc98d Change the capture icon to something that looks like two flags instead of a weird red blob. Icon by Stan.
This was SVN commit r17227.
2015-11-11 13:24:41 +00:00
3b13fb7608 Improve unitMotion behavior. When a unit's path is obstructed, it will now try shortpathing around an increasingly large search range, to optimize behavior in trivial cases where it just needs to go around a unit.
Also stop trying too hard when we are close to the destination and our
only order is to move there.
This should result in a slight optimization of the behavior, as well as
slightly more sanity overall.

This was SVN commit r17226.
2015-11-11 12:49:24 +00:00
3ddd72c1a4 Fix a rare case where units might get stuck around other idle entities, and clarify a related comment.
Refs #3471

This was SVN commit r17225.
2015-11-11 12:28:38 +00:00
c42160ec10 Fix an issue where units could not go around large obstructions when short-pathing as it ran in the search-space "walls", reported by gamebot. Fixes #3593.
This is also a very slight optimization.

This was SVN commit r17224.
2015-11-11 12:23:11 +00:00
2f6f0bd477 Serialize everything that is needed by UpdateVisibilityData instead of assuming everything as dirty.
Fixes #3271.

This was SVN commit r17223.
2015-11-11 12:15:57 +00:00
8b0bca0556 Fix action-capture icon transparency.
Refs: #2823

This was SVN commit r17222.
2015-11-11 11:45:39 +00:00
9e0ef737b2 Fix Athenian town phase description.
This was SVN commit r17219.
2015-11-11 03:27:38 +00:00
5f7ce1089a Fix translation comments.
This was SVN commit r17218.
2015-11-11 03:27:34 +00:00
32da740f14 Allow kicking/banning players from gamesetup and session. Patch by elexis. Fixes #3241.
This was SVN commit r17217.
2015-11-11 02:05:23 +00:00
d3ff090ce7 Fix an OOS issue where, on ownership change, units affected by speed-modifying technologies did not update their speed.
This was SVN commit r17215.
2015-11-10 23:31:06 +00:00