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
ForNeVeR
06671c8aa4
Fix encoding problems with ZipFile.
...
Without setting the DefaultCodePage it may cause problems on systems without 866 code page installed.
2014-05-17 17:11:29 +07: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
Paul Chote
3965535f3f
Remove Windows.Forms dependencies from game and utility. Fixes #4348 .
2014-05-04 09:37:25 +12:00
Paul Chote
6b8bd47143
Add a native crash dialog for OSX.
2014-05-04 09:37:25 +12:00
Paul Chote
fe6831a095
Move winforms crash dialog into an external helper.
2014-05-04 09:37:25 +12:00
matija-hustic
ae149c420e
Bigger spawn points, numbers within.
2014-05-03 19:08:56 +01:00
Matthias Mailänder
8b3f15155e
remappable resource types
2014-05-03 09:02:19 +02:00
Paul Chote
401e7cf1b2
Remove an outdated hack from Renderer.
2014-05-03 11:40:55 +12:00
Matthias Mailänder
26ae11c155
Merge pull request #5235 from pchote/sdl2
...
Remove SDL 1.2 and Cg support
2014-05-02 18:30:44 +02:00
reaperrr
18e37e4216
Drags death sounds out of RenderInfantry into a separate DeathSounds trait.
...
Play death sounds with a new PlayVoiceLocal so they don't use full volume regardless of position relative to camera.
Adds option for alternative burn and zap death sounds.
Renames RenderInfantry's UseInfantryDeath trait to SpawnsCorpse.
Removes hack from ra desert shellmap.
2014-05-02 15:14:29 +02:00
Paul Chote
03c3c3ae9b
Remove legacy renderers.
2014-05-02 23:38:47 +12:00
Matthias Mailänder
1a432e9e9e
Merge pull request #5190 from pchote/new-lua
...
New Lua API.
2014-05-02 13:29:28 +02:00
Paul Chote
aa8695dd24
Merge pull request #5191 from pavlos256/chat-window-improvements
...
Chat window improvements
2014-05-02 22:56:39 +12:00
Paul Chote
d73af0190f
Add a new native-lua implementation.
2014-05-02 22:18:34 +12:00
Paul Chote
fdd4437c52
Re-enable shellmaps.
2014-05-02 22:08:41 +12:00
Paul Chote
097d6ad47c
Merge pull request #5163 from Mailaender/prettify-trait-documentation
...
Beautified the trait documentation
2014-05-02 21:32:24 +12:00
Taryn
e828541dc9
Allow multiple enum values to be parsed from yaml with the same syntax as a string[].
2014-04-30 07:15:09 -05:00
reaperrr
c8815e1413
Un-hardcodes pip/tag/group palettes.
...
-Palette for decorations can now be defined under SelectionDecorations trait.
-Adds pip types Ammo and AmmoEmpty.
-LimitedAmmo PipTypes are now customizable.
-Adds art, sequences and rules entries for TS mod decorations that were missing/using a wrong palette.
-Adds PrimaryBuilding trait to TS weapon factories and helipads.
2014-04-28 20:03:00 +02:00
Matthias Mailänder
abf5c5a0eb
remove brackets from float2.ToString conversion
2014-04-28 09:41:24 +02:00
Matthias Mailänder
7517cbb941
Merge pull request #5197 from pavlos256/minor-cleanup
...
Minor cleanup
2014-04-27 18:33:13 +02:00