Commit Graph

4596 Commits

Author SHA1 Message Date
Curtis Shmyr
f0e9b85ccc I before E except after C 2015-11-14 22:32:37 -07:00
Pavel Penev
4c7e6db4da Merge pull request #9599 from ChaoticMind/lua_debug
Add a Lua wrapper to display debug messages (shows if setting enabled)
2015-11-14 20:00:38 +02:00
Oliver Brakmann
f2bad4331d Skip mod directories without a mod manifest file 2015-11-12 22:13:38 +01:00
Oliver Brakmann
e05098400a Merge pull request #9968 from Phrohdoh/miniyaml-cleanups
MiniYaml.cs cleanups
2015-11-11 22:19:37 +01:00
Pavel Penev
a4b54aacbb Merge pull request #9933 from pchote/shroud-cursor-bug
Prevent frozen actors leaking through shroud.
2015-11-11 22:28:12 +02:00
Taryn Hill
a8600ffbe7 Replace instance of 4 spaces with a single tab in MiniYaml.cs 2015-11-11 13:03:22 -06:00
Taryn Hill
44e03c094b Add newlines in MiniYaml.cs for readability 2015-11-11 12:47:30 -06:00
Taryn Hill
9b568f53a1 Rename some variables in MiniYaml.cs for readability 2015-11-11 12:44:04 -06:00
Paul Chote
9ae811e0c0 Prevent frozen actors leaking through shroud. 2015-11-08 20:53:47 +00:00
Paul Chote
6673c882ee Add helpers for truncating long labels. 2015-11-08 14:59:53 +00:00
Pavel Penev
5df01b2137 Merge pull request #9916 from pchote/news-from-the-future
Fetch battlefield news once per game launch.
2015-11-07 14:12:03 +02:00
Paul Chote
b235e244a4 Fetch battlefield news once per game launch. 2015-11-07 11:29:34 +00:00
Paul Chote
d49e2cc84b Add Tick method to ChromeLogic. 2015-11-07 10:52:30 +00:00
Oliver Brakmann
e609abf445 Merge pull request #9852 from RoosterDragon/event-handler-removals
Detach some event handlers
2015-11-05 22:46:42 +01:00
Oliver Brakmann
3c09ec3de7 Merge pull request #9855 from RoosterDragon/irc-disconnect-hack
Work around a hang on shutdown caused by IRC
2015-11-05 20:39:20 +01:00
RoosterDragon
9f728b287b Remove event handlers to CellEntryChanged when done.
Several classes would attach event handlers to the Map which would live longer then they did. Detaching them when no longer needed allows the GC to reclaim them.
2015-11-04 23:09:32 +00:00
RoosterDragon
c562b8c51e Detach event handlers on dispose in TerrainSpriteLayer.
The WorldRenderer outlives the TerrainSpriteLayer and thus keeps it alive longer than expected via the event handler. We detach it to allow the GC to reclaim it.
2015-11-04 23:09:30 +00:00
Oliver Brakmann
177d983728 Merge pull request #9759 from atlimit8/ActorsHavingTrait
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
Oliver Brakmann
214945a61f Merge pull request #9324 from atlimit8/ColorSpacePrefixes
Hex Color Parsing
2015-11-02 20:28:04 +01:00
RoosterDragon
8106ecbf4e Work around a hang on shutdown caused by IRC.
Our IRC client doesn't shut down properly - but we only need to shut it down when we're about to close the game anyway, so we just don't bother since it won't hurt anybody.
2015-11-01 22:31:46 +00:00
Taryn Hill
aa594c8532 Merge pull request #9463 from penev92/modDependencies
Add support for inter-mod dependencies
2015-11-01 15:08:43 -06:00
Pavel Penev
9748b556dc Add RequiresMods tag to the mod Manifest
List required mods and their versions to enable mod dependencies on another mods.
Also used for identifying the engine version by `modchooser`'s version.
2015-11-01 22:22:03 +02:00
Oliver Brakmann
88c20a6654 Merge pull request #9414 from atlimit8/TurretFacingsInit
Support loading multiple turret facings
2015-11-01 13:18:17 +01:00
Matthias Mailänder
281cd95be4 Merge pull request #9627 from RoosterDragon/mix-on-filesystem
Avoid redundant copies of mix files in memory
2015-11-01 08:54:24 +01:00
Paul Chote
64498b1ea7 Fix singleplayer game latency. 2015-10-31 11:36:32 +00:00
atlimit8
b6f17df260 Add ActorsHavingTrait<TTrait>([Func<TTrait, bool]) 2015-10-28 16:36:45 -05:00
atlimit8
dac15edce5 Load rgb[a] hex colors from MiniYaml (+ Lua) 2015-10-27 16:09:48 -05:00
reaperrr
f166fd9525 Merge pull request #9526 from penev92/tileShapes
Rename TileShape to fit its role better
2015-10-26 15:41:09 +01:00
abcdefg30
91fda29f84 Merge pull request #9769 from RoosterDragon/fix-replay-2-the-fixining
Fix replay freeze 2
2015-10-26 12:19:38 +01:00
abcdefg30
86df9f66e8 Merge pull request #9718 from penev92/hvaException
Check HVA files validity at load time
2015-10-26 12:14:28 +01:00
Pavel Penev
905d46bd99 Merge pull request #9723 from evgeniysergeev/fix_sprite
flip or mirror sprites with negative width and height
2015-10-26 01:31:15 +02:00
Pavel Penev
b16ebd480b Rename MapGridType.Diamond to MapGridType.RectangularIsometric 2015-10-26 00:42:30 +02:00
Pavel Penev
0e417a3cf3 Rename MapGridType.Rectangle to MapGridType.Rectangular 2015-10-26 00:41:26 +02:00
Pavel Penev
bb3aea338a Rename enum TileShape to MapGridType 2015-10-26 00:41:21 +02:00
Pavel Penev
84db36d3e8 Check HVA files validity at load time 2015-10-26 00:25:28 +02:00
RoosterDragon
36a1715e5c Ensure replays end when the recorder disconnects.
When ReplayConnection fixes up disconnection packets, this allows the game to continue past the point of a player disconnecting. Unfortunately this also applies to the player who actually disconnected which means the replay continues in an invalid manner. To fix this - we now explicitly don't replace their packet in order to ensure such replays end at the correct time.
2015-10-25 21:22:44 +00:00
RoosterDragon
0ca1805ea7 Merge pull request #9389 from Herve-M/fix-replay
Fix replay freeze
2015-10-25 21:20:11 +00:00
RoosterDragon
7c889c5ef0 Fix TOCTOU issues when calling Game.RunAfterDelay.
Since the action runs after a delay, the state of the game may no longer be the same and it may no longer be valid to run the action. Anything that references the world now calls IsCurrentWorld to ensure the world hasn't changed or been disposed.
2015-10-25 19:44:21 +00:00
Paul Chote
be37717e6d Account for cross-mod tile shapes in map previews. 2015-10-24 22:02:46 +01:00
Oliver Brakmann
c62d1a395b Merge pull request #9748 from pchote/map-metadata-lint
Add a lint pass for map format/author/title.
2015-10-24 22:13:49 +02:00
Paul Chote
347eb6410c Add a lint pass for map metadata. 2015-10-24 20:36:38 +01:00
Oliver Brakmann
206f644949 Merge pull request #9672 from penev92/fixAutoTarget
Fix a series of visibility/targeting bugs
2015-10-23 20:53:03 +02:00
atlimit8
7de98ad6d8 Merge pull request #9635 from RoosterDragon/occupy-space-perf
Speed up checks for IOccupySpace trait
2015-10-22 18:28:57 -05:00
Pavel Penev
a69f26b705 Fix players being able to manually attack invisible structures 2015-10-23 00:27:46 +03:00
evgeniysergeev
907df4800a flip or/and mirror sprites with negative width and heigth 2015-10-22 20:53:15 +03:00
Paul Chote
b6f463729b Add a ChromeLogic base class for chrome logic. 2015-10-21 19:35:35 +01:00
atlimit8
1e890a921f Merge pull request #9709 from reaperrr/unitsat-actorsat
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
2015-10-21 09:56:41 -05:00
Pavel Penev
8c32f7ff9f Merge pull request #9697 from RoosterDragon/irc-no-force-copy
Don't force SmarIrc4net to be copied to output
2015-10-21 07:58:57 +03:00
RoosterDragon
983032205f Merge pull request #9593 from huwpascoe/HealthTrait
Moved Health to OpenRA.Mods.Common
2015-10-20 20:59:04 +01:00
RoosterDragon
557731bc6b Don't force SmarIrc4net to be copied to output.
Instead, it will be implicitly included since it is a reference. This avoids pulling in the documentary .xml file.
2015-10-20 20:06:44 +01:00