Commit Graph

186 Commits

Author SHA1 Message Date
Paul Chote
0d07fe4b78 Merge pull request #10066 from Mailaender/last-resource-sprite-frame
Fixed highest density sprite frame never being rendered
2015-12-28 19:32:34 +00:00
Paul Chote
12df496f5b Merge pull request #10015 from atlimit8/MapEditorTooltips
Add map editor only tooltips
2015-12-28 18:46:07 +00:00
Matthias Mailänder
4f080a996e also render highest density sprite frame 2015-12-25 19:37:55 +01:00
Paul Chote
8fc323602c Use RgbaColorRenderer in WeatherOverlay. 2015-12-19 12:28:56 +00:00
Paul Chote
b35762f537 Use RgbaColorRenderer in TerrainGeometryOverlay. 2015-12-19 12:28:09 +00:00
Oliver Brakmann
02fa63c1b4 Merge pull request #9853 from penev92/unglobalFileSystem
Unglobal file system
2015-12-14 20:52:30 +01:00
atlimit8
bee590a057 Merge pull request #10208 from RoosterDragon/perf-comments
Added some performance comments
2015-12-13 20:46:07 -06:00
Pavel Penev
1b88d24cfa Unstatic GlobalFileSystem and rename it to FileSystem
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
RoosterDragon
b0619a3e25 Added comments in performance sensitive code. 2015-12-13 16:24:54 +00:00
Paul Chote
78556ec60c Remove obsolete WorldRenderer.DrawRangeCircle. 2015-12-10 23:25:58 +00:00
Paul Chote
68302c9617 Use RgbaColorRenderer for pathfinder debug rendering. 2015-12-10 23:22:47 +00:00
Paul Chote
8158d25ee6 Use RgbaColorRenderer for weather rendering. 2015-12-10 23:22:46 +00:00
Paul Chote
2d89f15374 Use RgbaColorRenderer for warhead debug rendering. 2015-12-10 23:22:45 +00:00
Taryn Hill
9b9d3c8af5 Add DebugOverlayColor to Warhead
This allows us to render WarheadDebugOverlay circles in a
color-per-warhead fashion.
2015-12-09 20:48:10 -06:00
abcdefg30
22aa548d1b Merge pull request #10126 from RoosterDragon/fuf-perf
Speed up FrozenUnderFog.Tick
2015-12-07 15:03:59 +01:00
Oliver Brakmann
e53a167046 Set enemies of 'Creeps' player when adding a new player in the editor 2015-11-29 15:21:20 +01:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
RoosterDragon
23a38a08f7 Refactor player setup.
Tweak how players in a world are created. Change the collection to be an array to more strongly imply it will not change during a game.
2015-11-27 15:15:43 +00:00
atlimit8
e417ecb93f Add map editor only tooltips 2015-11-25 17:28:29 -06:00
Paul Chote
a081321790 Add copy/paste to the map editor. 2015-11-10 22:18:18 +00:00
Oliver Brakmann
4bbf6ea0c7 Merge pull request #9925 from atlimit8/MultiLineMapEditorTooltips
Multi-line map editor tooltips
2015-11-10 21:06:57 +01:00
atlimit8
4c2488f9b1 Made editor actor preview tooltip easier to read 2015-11-07 16:10:13 -06:00
Oliver Brakmann
27d915046c Fix typo in WeatherOverlayInfo 2015-11-07 19:23:22 +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
atlimit8
dac15edce5 Load rgb[a] hex colors from MiniYaml (+ Lua) 2015-10-27 16:09:48 -05:00
RoosterDragon
30aee56d78 Improve some actor queries.
Use ActorsWithTrait if possible to avoid querying all actors in the world.
2015-10-25 01:19:29 +01:00
Paul Chote
e0177d7798 Merge pull request #9494 from abcdefg30/luabackground
Add lua support for playing background music
2015-10-24 22:25:35 +01:00
atlimit8
173f85319a Merge pull request #9715 from teees/mouseovereditor
Show owner and faction of units in map editor tooltips
2015-10-22 20:10:33 -05:00
teees
f9c3446849 Added owner name and faction to map editor tooltips 2015-10-22 09:43:06 +02:00
Pavel Penev
f7a63ab2f8 Fix D2kEditorResourceLayer starting NetWorth 2015-10-22 01:10:16 +03: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
Oliver Brakmann
72a0f7e69c Merge pull request #9633 from Mailaender/movement-class-logs
Added the movement classes of the domain index to the debug logs
2015-10-20 20:01:10 +02:00
abcdefg30
4afef8868e Add lua support for playing background music 2015-10-18 20:43:45 +02:00
Paul Chote
fb631367ea Fix map StartingMusic overriding BackgroundMusic. 2015-10-18 09:56:12 +01:00
abcdefg30
7624256001 Set InitialSpawnDelay to 0
and set the value to 1500 in the default mods.
2015-10-16 14:42:11 +02:00
reaperrr
2f69711341 Rename ActorMap *UnitsAt* occurences to *ActorsAt*
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
Matthias Mailänder
e0fa63ae19 also mention the movement class of the domain index in logs 2015-10-14 20:34:20 +02:00
abcdefg30
e291606dad Fix a possible crash in ResourceLayer 2015-10-04 00:18:38 +02:00
reaperrr
2ae0694385 Merge pull request #9054 from penev92/bleed_aircraft
Merge Plane and Helicopter traits
2015-10-03 01:52:30 +02:00
Huw Pascoe
cfd179b0c6 Added warhead visualization to combat debug overlay. 2015-10-02 02:48:21 +01:00
Pavel Penev
8a44366667 Merge Plane and Helicopter into Aircraft 2015-10-01 20:15:41 +03:00
Pavel Penev
7fa7ebe657 Merge pull request #9384 from Mailaender/lint-player-palettes
Added a lint check for player palette references.
2015-09-27 18:44:55 +03:00
Matthias Mailänder
defba7aece lint check player palette reference
and tell which actor is affected when a problem is found
2015-09-27 14:57:58 +02:00
Pavel Penev
642468ce0c Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
abcdefg30
589e673aa9 Replace the float WaterChance by an integer percentage 2015-09-25 17:00:06 +02:00
abcdefg30
277f9acb89 Replace seconds by ticks 2015-09-25 16:53:45 +02:00
abcdefg30
10c2a897f4 Small code cleanup 2015-09-25 16:53:44 +02:00
abcdefg30
a2af88da21 Add a InitialSpawnDelay to CrateSpawner 2015-09-25 16:53:43 +02:00
Pavel Penev
c41446e022 Merge pull request #9139 from Mailaender/editor-cash-counter
Added a total resource cash counter to the map editor
2015-09-24 15:07:15 +03:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00