Paul Chote
e6d1f30cf0
Use an IReadOnlyDictionary for package definitions.
2014-05-18 17:29:42 +12:00
Pavlos Touboulidis
f651cb3677
Final style & rebase fixes
2014-05-17 14:34:52 +03:00
Pavlos Touboulidis
df6159f12b
Do not use the map's rules when rendering the minimap in the map chooser
...
Using the mod's rules is *a lot* faster because we don't have to load
each map's rules.
2014-05-17 14:33:17 +03:00
Pavlos Touboulidis
ca44be7b2e
Only update the loading screen from the main thread
...
Fixes the crash experienced by pchote. It's a hack but it's easy
to get rid of and it will have to do for now, until the messy
LoadScreen gets fixed.
2014-05-17 14:33:17 +03:00
Pavlos Touboulidis
a845947e0f
Minor style & nit fixes
2014-05-17 14:33:17 +03:00
Pavlos Touboulidis
6f3d9e9c97
Remove unused "Manifest" argument from World constructor
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
49ec533481
Better distinction between Widgets using the mod's DefaultRules or the map's Rules
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
10b8093d5a
Rename ModInformation to ModMetadata
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
0e15ce1b88
Replace catch(KeyNotFoundException) with TryGetValue()
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
5bbf442cd0
Remove reference to Game.modData
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
cb30553000
Remove stray newlines
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
894db95d58
Move Ruleset.cs from Map/ to GameRules/
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
44c01bbaa2
Remove TileSetData and separate TileSet from Sequences
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
750fc4e02c
Merge ModRuleset and MapRuleset into Ruleset
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
48d1dde8a7
Change comment about delayed actions
2014-05-17 14:32:03 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Pavlos Touboulidis
c68427eaa6
Less aggressive rules caching
...
ActorInfo instances depend on the whole set of ActorInfos
2014-05-17 14:26:54 +03:00
Pavlos Touboulidis
693186e1eb
Fix caching by making the tileset part of the key
2014-05-17 14:26:54 +03:00
Pavlos Touboulidis
2b3d5f1544
Better caching for Rules and Sequences
...
Refactored the Rules and SequenceProvider classes to be parts of ModData and
maintain a cache of the instances used in the mod.
The caching reduced the load times a lot, especially after the first load.
Some lazy loading in sequences also helped lower the startup time..
Note: The static classes were left behind to redirect the existing code's
calls.
2014-05-17 14:26:53 +03:00
Pavlos Touboulidis
77d0199384
Convert ActorReference field to Lazy
...
Makes LoadMaps 40% faster
2014-05-17 14:26:53 +03:00
Paul Chote
2acba2ce47
Merge pull request #5242 from reaperrr/deathsounds-followup
...
Made DeathSounds and their InfDeath relation fully customizable
2014-05-17 23:24:44 +12:00
Paul Chote
1619df77a8
Merge pull request #5252 from Mailaender/zenity
...
Added native Gtk+ crash dialogs on Linux
2014-05-17 22:45:05 +12:00
Matthias Mailänder
a9664691e6
always spawn the native error dialog
2014-05-17 12:13:58 +02:00
Matthias Mailänder
bae47ff3c9
use native Gtk2 crash dialogs on Linux
...
closes #3872
closes #3849
2014-05-17 12:13:50 +02:00
Paul Chote
0458b932a0
Merge pull request #5115 from Mailaender/split-lobby-sync
...
Splitted LobbyInfo updates into smaller chunks
2014-05-17 18:37:36 +12:00
Matthias Mailänder
7b90d321a7
don't show order lines when selecting idle (attackmoving) actors
...
closes #5039
2014-05-17 08:03:48 +02:00
Paul Chote
28c0310357
Merge pull request #5192 from matija-hustic/spawnchoice
...
Spawnchoice
2014-05-17 17:53:00 +12:00
Saticmotion
1bf3f3e03e
The engine now uses the SDL2.0 scroll events properly.
...
Scroll speed is now a user preference.
2014-05-16 13:56:22 +02:00
matija-hustic
6eac7a3e05
Smaller spawns+letters. Map dialog width. Unavailable spawns disabled.
2014-05-16 11:23:23 +01:00
Matthias Mailänder
86271c3dd1
use List<MiniYamlNode> instead of System.Text.StringBuilder
...
add Deserialize methods for everything in Network.Session
2014-05-15 11:36:24 +02:00
Matthias Mailänder
c7fad3a693
StyleCop and TODO
2014-05-15 10:04:21 +02:00
Matthias Mailänder
f68a6bbd76
split latency from Client into ClientPing
...
closes #4282
2014-05-15 10:04:21 +02:00
Matthias Mailänder
f365f9da2b
split lobby SyncInfo order into smaller chunks
...
closes #4594
2014-05-15 10:04:03 +02:00
reaperrr
98e48ae991
Converts InfDeath from integer to string.
...
Wire up updated DeathSounds for all mods.
2014-05-14 15:24:06 +02:00
reaperrr
12b3bc37f3
Fixes PlayVoiceLocal so it actually works as intended, bring DeathSounds in line with suggestions.
2014-05-14 15:24:05 +02:00
Paul Chote
14df5a3bc3
Merge pull request #5279 from ScottNZ/news
...
Add news
2014-05-15 00:20:35 +12:00
ScottNZ
c7d8024522
Add a news panel to each mod
2014-05-14 23:51:41 +12:00
Matthias Mailänder
ba309a3367
add spice refinery smoke overlay when harvester docked
2014-05-14 09:39:45 +02:00
Paul Chote
b4298982a0
Merge pull request #5262 from Mailaender/parse-invariant-culture
...
Added checks for NumberFormatInfo.InvariantInfo everywhere
2014-05-14 00:20:35 +12:00
Matthias Mailänder
59ace5d01b
new shorthand Exts.(Try)ParseIntegerInvariant
2014-05-13 14:16:41 +02:00
Chicken man
fa4b157b42
Added ConsoleCommand, and an example to go with it
2014-05-12 16:30:53 -04:00
Pavlos Touboulidis
2ec6df9680
Fix strange d2k loading slowness
...
There is a strange issue that appears* when Theater calls
ISpriteFrame.Frames on the R8Reader. The R8Reader uses
IEnumerable.Cast<> which behaves slower and slower, which
makes map loading become 10+ times slower.
The changes here simply avoid the casting.
[*] This happens at least on Linux x86_64 with Mono 3.2.8.
See https://bugzilla.xamarin.com/show_bug.cgi?id=19668
2014-05-11 06:38:19 +03:00
Paul Chote
ac99afaaec
Merge pull request #5248 from Mailaender/sdl2-opentk
...
Ported Tao.OpenAL/OpenGL to SDL2/OpenTK
2014-05-09 20:24:40 +12:00
Matthias Mailänder
bd55ffc10d
StyleCop
2014-05-09 08:44:50 +02:00
Matthias Mailänder
aace818f43
remove unused OpenRA.Server extensions
2014-05-09 08:44:37 +02:00
Paul Chote
a6e79bb732
Merge pull request #5155 from Mailaender/ts-tiberium
...
Added Tiberium crystals and refinery to Tiberian Sun
2014-05-07 18:30:27 +12:00
Matthias Mailänder
b19d286f56
parse with NumberFormatInfo.InvariantInfo everywhere
...
closes #5240
2014-05-06 18:31:48 +02:00
Matthias Mailänder
4c8ce8afc0
StyleCop
2014-05-06 07:13:43 +02:00
Matthias Mailänder
fdf108a879
port Tao.OpenAl to OpenTK.Audio.OpenAL
2014-05-06 07:13:43 +02:00