steelphase
c0e7718fd5
Remove Unused Settings
...
This removes unused settings related to CrashDialog
2014-10-19 11:18:40 +02:00
steelphase
beef3242b8
Disable internal Error Message
...
Rely on GameMonitor to display error message.
2014-10-19 11:12:58 +02:00
obrakmann
6a24b28f92
Merge pull request #6783 from pchote/consistent-map-uids
...
Update shipped map UIDs
2014-10-19 10:23:23 +02:00
obrakmann
e91e1661d2
Merge pull request #6788 from pchote/fix-rule-validation
...
Fix the handling of maps with invalid rules.
2014-10-19 10:17:27 +02:00
Paul Chote
fa01808962
Save the preview video field when saving a map.
2014-10-19 21:06:28 +13:00
Matthias Mailänder
ae899b603d
Merge pull request #6786 from pchote/retire-code
...
Retire legacy Lua API and IRC code.
2014-10-19 09:13:14 +02:00
Paul Chote
50643b0cfe
Fix the handling of maps with invalid rules. Fixes #6787 .
2014-10-19 15:52:13 +13:00
Paul Chote
0b875e2ca2
Allow custom ScrollPanel button styles.
2014-10-19 15:32:26 +13:00
Paul Chote
d117faa48d
Define BaseLine offset for ButtonWidget.
2014-10-19 15:32:26 +13:00
Paul Chote
10923d6438
Remove old IRC code.
2014-10-19 13:19:09 +13:00
Matthias Mailänder
2e5aab332e
fix Tanya announcing her own death when walking over a mine
2014-10-18 21:09:34 +02:00
Matthias Mailänder
5b06008b53
Merge pull request #6765 from huwpascoe/mcvgroup
...
Fixes #6763
2014-10-18 14:29:47 +02:00
Paul Chote
79492a3240
End the mission when a script error occurs.
2014-10-18 13:32:15 +13:00
Paul Chote
d79ecb432a
Write Lua debug information to lua.log.
2014-10-18 12:59:11 +13:00
Paul Chote
dbd4b0931b
Don’t crash if trigger callbacks throw exceptions.
2014-10-18 12:59:11 +13:00
huwpascoe
15fa152bc3
MCV no longer loses controlgroup when transforming
2014-10-16 01:44:06 +01:00
RoosterDragon
d671e1de01
Create a separate FrameCache for caching sprite frames.
...
We split the caching SpriteLoader into a SpriteCache and FrameCache. SpriteLoader instead becomes a holder for static loading methods.
Only a few classes loaded sprite frames, and they all use it with a transient cache. By moving this method into a new class, we can lose the now redundant frame cache, saving on memory significantly since the frame data array can be reclaimed by the GC. This saves ~58 MiB on frames and ~4 MiB on the caching dictionary in simple tests.
2014-10-14 22:06:11 +01:00
Matthias Mailänder
2a15c44d91
Merge pull request #6736 from pchote/fix-player-binding
...
Don’t regenerate the Lua player bindings each query.
2014-10-12 09:43:42 +02:00
Paul Chote
fad0215842
Merge pull request #6698 from RoosterDragon/memory-savings
...
Small memory savings
2014-10-12 11:43:08 +13:00
Paul Chote
19760b44cc
Don’t regenerate the lua player bindings each query.
2014-10-12 10:43:15 +13:00
Matthias Mailänder
b77bd82561
Merge pull request #6708 from pchote/ts-tileset-converter
...
Import the TS temperate tileset.
2014-10-11 14:12:09 +02:00
Paul Chote
5d32e97ef1
Add support for briefing videos in the mission menu.
2014-10-11 23:05:35 +13:00
Paul Chote
84e71258dc
Prevent mouse events from propagating through a video.
2014-10-11 23:05:35 +13:00
Paul Chote
a60452b30a
Make the video cancel hotkey configurable.
2014-10-11 23:05:34 +13:00
Paul Chote
6b1505b71d
Add an aspect ratio correction flag to VqaPlayerWidget.
2014-10-11 23:05:34 +13:00
Paul Chote
3e42d7b5a0
Cache the support dir path.
2014-10-11 11:04:44 +13:00
Paul Chote
4f44cc1969
Load assets using absolute paths. Fixes #6717 .
2014-10-11 11:02:30 +13:00
Paul Chote
0d0b8c1e22
Remove obsolete PackageContents array from Manifest.
2014-10-10 23:44:37 +13:00
Paul Chote
9f3230a009
Remove static state from ChromeProvider.
2014-10-10 23:44:37 +13:00
RoosterDragon
69125989ab
Changed Vertex constructors to pass more parameters as plain floats.
...
This avoids callers having to construct a float2 struct, only to have the Vertex constructor unwrap it into individual components again.
2014-10-10 09:38:14 +01:00
RoosterDragon
bbb3990a0f
Don't store pre-calculated texture coords in Sprite.
...
By storing only the four corners, we can save the object overhead of an array and 4 float elements per sprite. This results in savings of around 5 MiB to store these coordinates.
2014-10-09 20:03:03 +01:00
RoosterDragon
59b3cd154d
Change indexes into tile arrays to be stored as bytes to save memory.
...
The index value needs only be big enough to handle all defined terrain types. This is a low number so we can save memory by defining it as a byte. This particularly saves memory for the CustomTerrain field in the Map class, which defines a cell layer for the map using tile indexes, so we can reduce the size of that layer 4x as a result.
2014-10-09 20:03:01 +01:00
steelphase
628463f920
remove copy local
...
remove copy local from project references
2014-10-08 02:29:14 -04:00
obrakmann
3c791f0eb9
Merge pull request #6643 from DeadlySurprise/assetBrowser
...
Adds vqa playback to the asset browser
2014-10-07 21:07:08 +02:00
Paul Chote
446d98e625
Support ini files with spaces around the ‘=‘.
2014-10-08 08:06:50 +13:00
obrakmann
220bc2ec08
Merge pull request #6673 from pchote/unhardcode-sprites
...
Move sprite parsers into mod code
2014-10-07 20:45:50 +02:00
DeadlySurprise
e187876bdf
Adds vqa playback to the asset browser
2014-10-07 18:59:02 +02:00
Chris Forbes
edbd65bdf3
filesystem: Fix benign use of loop variable in closure
...
This closure never outlives a single loop iteration.
2014-10-07 18:17:09 +13:00
Paul Chote
41c296e5c2
Fix some bogus cell accesses in Map.
2014-10-07 09:55:50 +13:00
Paul Chote
6a72e87028
Remove the remaining legacy sprite plumbing.
2014-10-07 09:55:50 +13:00
Paul Chote
beb7a394a2
Move ShpD2 sprite loading into Mods.Common.
2014-10-07 09:55:50 +13:00
Paul Chote
533d044755
Move TmpTS sprite loading into Mods.TS.
2014-10-07 09:55:50 +13:00
Paul Chote
37cedd88a2
Move TmpTD sprite loading into Mods.Common.
2014-10-07 09:55:49 +13:00
Paul Chote
997c79130a
Move TmpRA sprite loading into Mods.Common.
2014-10-07 09:55:49 +13:00
Paul Chote
ca38193264
Move R8 sprite loading into Mods.D2k.
2014-10-07 09:55:49 +13:00
Paul Chote
c798b306c4
Move ShpTS sprite loading into Mods.Common.
2014-10-07 09:55:49 +13:00
Paul Chote
d658643b73
Move ShpTD sprite loading into Mods.Common.
2014-10-07 09:55:49 +13:00
Paul Chote
9cf8328979
Add plumbing for mod-defined sprite loaders.
2014-10-07 09:55:49 +13:00
Paul Chote
2b92ce7edd
Use SpriteLoader for frame exporting.
2014-10-07 09:55:49 +13:00
Paul Chote
7207841f8b
Use the existing SpriteLoader cache for tilesets.
2014-10-07 09:55:48 +13:00