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
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
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
Matthias Mailänder
fea59346a5
add a total resource cash counter to the map editor
2015-09-19 18:21:07 +02:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
RoosterDragon
519be4374c
Fixed pooling of layers used for pathfinding.
...
The previous implementation:
- Was failing to dispose of pooled layers.
- Was using a finalizer to allow undisposed layers to be reused.
This means all pooled layers are kept alive indefinitely until the map changes. If the finalizer is slow for any reason then the pathfiinder will allocate new layers when the pool runs out. Since these new layers are eventually stuffed back into the pool when the finalizer does run, this can theoretically leak unbounded memory until the pool goes out of scope. In practice it would leak tens of megabytes.
The new implementation ensures layers are disposed and pooled correctly to allow proper memory reuse. It also introduces some safeguards against memory leaks:
- A cap is set on the number of pooled layers. If more concurrent layers are needed than this, then the excess layers will not be pooled but instead be allowed to be garbage collected.
- No finalizer. An implementation that fails to call dispose simply allows the layer to be garbage collected instead.
2015-09-16 21:25:46 +01:00
TheRaffy
1fc2158f2e
Added a WeatherOverlay
2015-09-06 20:25:29 +02:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
RoosterDragon
77923a27c1
Tweak IPathSearch to avoid exposing the OpenQueue directly.
2015-09-01 17:29:36 +01:00
RoosterDragon
774992c246
Cache only unit paths in the pathfinder.
...
The path caching works on the assumption that the time saved from reusing a cached path outweights the cost of caching it in the first place.
For unit paths, this assumption holds. For path searchs, we spend more time caching them then we save when we get to reuse these cached paths. This is because they are reused less often, and calculating their key is more expensive in comparison.
2015-09-01 17:29:35 +01:00
Pavel Penev
09f67d18bb
Some internal "race" to "faction" renaming
2015-08-22 23:34:36 +03:00
Pavel Penev
1e817fad76
Merge pull request #9089 from Mailaender/editor-coordinate
...
Added a coordinate display to the map editor
2015-08-18 00:12:10 +03:00
Matthias Mailänder
322358ff3d
also check shroud sequences
2015-08-17 21:36:55 +02:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Matthias Mailänder
51fabae106
change editor tooltip to actor: description (type)
2015-08-16 21:58:17 +02:00
Pavel Penev
4d11195989
Rename MPStartUnitsInfo.Races to Factions
...
Also add an upgrade rule.
2015-08-11 04:00:08 +03:00
Paul Chote
155d0cc97d
Reveal the initial resources if shroud is disabled.
...
Fixes #8943 .
2015-08-05 20:27:36 +01:00
Matthias Mailänder
3b47aff61c
correct the namespace according to file location
2015-08-05 15:31:07 +02:00