Commit Graph

5212 Commits

Author SHA1 Message Date
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
Matthias Mailänder
7101b001b2 Merge pull request #6546 from huwpascoe/freezefix
Closes #4591
2014-10-05 09:33:21 +02:00
Matthias Mailänder
f6f88bddb2 Merge pull request #6644 from pchote/proximity-triggers
Closes #2175
2014-10-05 09:12:00 +02:00
obrakmann
84cec1baba Merge pull request #6650 from pchote/luatable-bridge
Allow Lua bridge to convert between LuaTable and arrays.
2014-10-04 12:36:36 +02:00
obrakmann
a91084c0f8 Merge pull request #6613 from pchote/remove-mp-tooltips
Remove the MP tooltip row from campaign missions.
2014-10-04 12:20:14 +02:00
Paul Chote
85b26d1ff8 Update Lua bindings to use array arguments. 2014-10-04 19:43:27 +13:00
Paul Chote
471dc409b7 Allow Lua bindings to convert to and from arrays. 2014-10-04 19:43:18 +13:00
Paul Chote
0652d338f8 Add proximity trigger plumbing. 2014-10-04 14:01:45 +13:00
huwpascoe
488d2d57e0 Fix map.png lock 2014-10-04 01:18:18 +01:00
Matthias Mailänder
beed736169 Merge pull request #6528 from atlimit8/DragIntoTransports
Modifies IMove & Enter and Fixes #4640 - Units teleport into transports
2014-10-03 15:37:29 +02:00
atlimit8
3f6e1a608a Added IDisableMove 2014-10-03 08:07:05 -05:00
Oliver Brakmann
8f8b0b966f Avoid reading CenterPosition of invalid targets in DamageWarhead
Fixes #6642
2014-10-03 14:24:27 +02:00
Paul Chote
80f42b4921 Add support for generic tooltip names. 2014-10-03 20:25:33 +13:00
atlimit8
83acbe0266 Extended IMove for Enter logic 2014-10-02 20:47:28 -05:00
obrakmann
9de79318e8 Merge pull request #6623 from steelphase-forks/bleed-ScrollPanelSound
Scroll Panel Sound
2014-10-02 20:09:44 +02:00
steelphase
fc44d082dc Scroll Panel Sound
Adds sound to Up, Down, and Thumb Button
2014-10-01 09:53:28 -04:00
Paul Chote
863d75eefe Merge pull request #6621 from steelphase-forks/bleed-soundfix
Sound Fix for DropDownButton Widget
2014-10-01 22:12:55 +13:00
obrakmann
c57407de4a Merge pull request #6626 from steelphase-forks/bleed-modRulesFix
LoadWidget modRules Fix
2014-09-30 22:35:06 +02:00
Matthias Mailänder
a37f89aadf Merge pull request #6574 from pchote/celltrigger
Implement cell triggers.
2014-09-30 20:49:03 +02:00
Paul Chote
a61fdba44d Implement cell triggers. Closes #4400. 2014-09-30 19:25:09 +13:00
steelphase
3a5d04f824 LoadWidget modRules Fix
Fixes #6625
2014-09-29 23:07:48 -04:00
steelphase
65ded0ed90 Sound Fix for DropDownButton Widget 2014-09-29 18:41:40 -04:00
Paul Chote
7bc8c171e8 Minor style fixes. 2014-09-29 21:01:44 +13:00
Paul Chote
f463407d8d Fix a loop closure bug in the weapons code.
Fixes #6597. Fixes #6599.
2014-09-29 20:57:20 +13:00
huwpascoe
d150ea1721 Fix server freeze on client absence. 2014-09-28 16:27:40 +01:00
Paul Chote
04d61f465a Don’t rebuild the actor bindings every query. 2014-09-28 14:46:39 +13:00
Paul Chote
ca6119821f Allow lua API to bind a minimal set of properties to dead actors. 2014-09-28 14:46:37 +13:00
reaperrr
ffeff5c7b6 Merge pull request #6575 from pchote/selfhealing
Add elite self-healing bonus
2014-09-27 13:19:24 +02:00
Paul Chote
56332251f5 Don’t double-remove dead actors from the world. 2014-09-27 22:14:16 +12:00
Jacob Dufault
ad98a831da Remove an unused setting 2014-09-26 17:38:36 -04:00
Oliver Brakmann
36b5097fa0 Cache chat conversations in the lobby and in-game
This preserves the chat content from the lobby and makes it available
in-game, and also makes all chat content available to the end-game
dialog.
2014-09-26 07:18:33 +02:00
Paul Chote
ee77db1831 Add some additional robustness against bogus cell queries in ActorMap. 2014-09-24 22:36:59 +12:00