Paul Chote
250481657e
Upgrade TD rules.
2015-07-04 17:07:07 +01:00
Paul Chote
abdd6ca1d7
Upgrade D2K rules.
2015-07-04 17:07:06 +01:00
Paul Chote
0ac64da55a
Upgrade TS rules.
2015-07-04 17:07:06 +01:00
Paul Chote
0bbfeb5653
Add upgrade rules.
2015-07-04 17:07:06 +01:00
Paul Chote
8206c3c453
Enable VisibilityType for shroud revealing.
...
VisibilityType.Footprint reveals from each footprint cell.
VisibilityType.CenterPosition reveals from the
actor’s CenterPosition only (as the original
games did).
2015-07-04 17:07:05 +01:00
Dmitri Suvorov
6e4ab810d8
Fixed multiple enumeration of IEnumerable
2015-07-04 18:22:28 +03:00
Oliver Brakmann
3b79f7b64b
Fix Lua script crash in Allies01
2015-07-04 17:21:41 +02:00
Dmitri Suvorov
ad97fe850f
Removed redundant using
2015-07-04 18:18:11 +03:00
Dmitri Suvorov
88ffa3836e
Removed unused method GetNamedArg
2015-07-04 18:16:31 +03:00
Paul Chote
7053e59acb
Expose a parameter for reveal behaviour.
...
VisibilityType.CenterPosition reveals the actor
only if its CenterPosition is inside a cell that
is visible.
VisibilityType.Footprint reveals the actor if any
of its footprint cells are visible (this includes
Mobile actors moving between two cells).
2015-07-04 16:14:47 +01:00
Oliver Brakmann
27f492b793
Merge pull request #8631 from Mailaender/parseyesno-nre
...
Fixed a null reference exception in FieldLoader.ParseYesNo
2015-07-04 15:36:47 +02:00
Oliver Brakmann
51f05f2f2e
Fix wrong attack sequence being used for civilian infantry
2015-07-04 15:29:39 +02:00
Matthias Mailänder
10d76da61b
fix a null reference exception
2015-07-04 09:43:31 +02:00
Paul Chote
af6f1ef675
Merge pull request #8628 from GraionDilach/fix-ps1
...
Fix make.ps1.
2015-07-03 23:13:05 +01:00
Zimmermann Gyula
c111836ae3
Fix make.ps1.
2015-07-04 00:09:37 +02:00
RoosterDragon
54e7c0bf44
Refactor TypeDictionary.
...
- When removing entries, ensure the dictionary entry is removed is the list is emptied, to prevent incorrect lookups later.
- Prevent NRE when calling GetOrDefault<T> where T is a value type and the default is returned.
- Use a single dictionary for simplicity and improved lookup performance (since there is only one dictionary to check).
- De-duplicate code in Get and GetOrDefault.
2015-07-03 20:54:34 +01:00
RoosterDragon
3f39744a9a
Create delegates to access hotkeys, to avoid reflection during gameplay.
2015-07-03 20:28:47 +01:00
Paul Chote
5056e7bfc3
Merge pull request #8460 from Mailaender/make-debug
...
Enabled and documented DEBUG option on Unix startup scripts
2015-07-03 19:10:24 +01:00
Pavel Penev
00b2f0a4b5
Merge pull request #8581 from GraionDilach/emp-sparkles
...
Enable the EMP overlay animation in TS.
2015-07-03 20:14:40 +03:00
Paul Chote
d3c193e199
Merge pull request #8610 from Mailaender/hotkey-tryparse-nre
...
Fixed a possible NRE in Hotkey.TryParse
2015-07-03 17:10:55 +01:00
Zimmermann Gyula
4933a88c64
Enable the EMP overlay animation in TS.
2015-07-03 18:05:23 +02:00
Pavel Penev
fc5e5022d5
Merge pull request #8614 from abcdefg30/newlua_capture
...
Added a Capture function to lua
2015-07-03 02:50:15 +03:00
Pavel Penev
52c1d8b242
Merge pull request #8618 from RoosterDragon/color-widget-red-fix
...
Generate the selection bitmap when opening the ColorMixerWidget
2015-07-03 02:44:00 +03:00
Pavel Penev
cf137fafec
Merge pull request #8615 from abcdefg30/soviet05fix
...
Fix a crash in soviet05
2015-07-03 02:07:54 +03:00
Pavel Penev
082b1ab1c9
Merge pull request #8558 from GraionDilach/grantupgrade-warhead-checkvalidity
...
Add target validation to GrantUpgrade warheads.
2015-07-02 23:34:28 +03:00
Matthias Mailänder
a73edfd4a5
Merge pull request #8598 from abcdefg30/minigame
...
Adjust the minigames' lobby settings
2015-07-02 21:58:43 +02:00
abcdefg30
57cea5aba1
Added a Capture function to lua
2015-07-02 21:48:30 +02:00
Pavel Penev
fd5023abe3
Merge pull request #8621 from Mailaender/rm-mobileinfo-lookup
...
Fixed an unneccessary and frequent trait lookup
2015-07-02 22:46:19 +03:00
abcdefg30
5c721d4169
Fix the-hot-box lobby settings
2015-07-02 21:30:09 +02:00
abcdefg30
2cf9db271e
Fix the lobby settings of all ra minigames
2015-07-02 21:30:08 +02:00
abcdefg30
7a6b823233
Fix the lobby settings of the dropzone maps
2015-07-02 21:06:06 +02:00
Matthias Mailänder
e86b8d0dde
avoid an unneccessary and frequent trait lookup
2015-07-02 20:22:36 +02:00
Pavel Penev
13a909eb59
Merge pull request #8616 from Mailaender/counter-intel
...
Added counter intelligence to spies
2015-07-02 21:14:31 +03:00
Pavel Penev
08a890491b
Merge pull request #8609 from Mailaender/bad-lock-2
...
Fixed another bad choice of lock objects in ColorMixerWidget
2015-07-02 21:12:46 +03:00
RoosterDragon
4c2b7469f9
Generate the selection bitmap when opening the ColorMixerWidget.
...
Fixes a bug where opening the widget with a red color (i.e. hue = 0) would not generate this bitmap when opening the widget as that would not cause the selection bitmap to be refreshed.
2015-07-02 17:32:08 +01:00
Matthias Mailänder
499667eab5
remove unnecessary lock object
2015-07-02 06:33:14 +02:00
Matthias Mailänder
c1b7a4d4ae
add counter intelligence to spies
2015-07-01 22:59:57 +02:00
Matthias Mailänder
79d00b2b7c
Merge pull request #8359 from abcdefg30/difficulty
...
Added two new difficulties to allies-05a
2015-07-01 22:03:31 +02:00
abcdefg30
a486ba9371
Fix a crash in soviet05
2015-07-01 19:10:26 +02:00
abcdefg30
ae955a2340
Added two new difficulties to allies-05a
2015-07-01 19:00:45 +02:00
abcdefg30
39a297d575
Add MustBeDestroyed: to FCOM
2015-07-01 18:59:45 +02:00
Matthias Mailänder
44bf3aed2e
Merge pull request #8416 from abcdefg30/newlua_capture_infiltrate
...
Added an Infiltrate function to lua
2015-07-01 18:53:39 +02:00
abcdefg30
6a92212864
Make use of the new Infiltrate function in allies05a
2015-07-01 18:21:01 +02:00
abcdefg30
ea151542de
Added an Infiltrate function to lua
2015-07-01 18:21:01 +02:00
Pavel Penev
faaa484956
Merge pull request #8611 from Mailaender/pngloader-nre-2
...
Fixed another null reference exception in PngLoader
2015-07-01 14:49:06 +03:00
reaperrr
2a998e4414
Merge pull request #8612 from Mailaender/muzzle-nre
...
Fixed possible NREs in WithMuzzleFlash
2015-06-30 23:07:24 +02:00
Matthias Mailänder
f431c14ab7
fix possible NREs
2015-06-30 22:36:52 +02:00
Matthias Mailänder
605f95294c
fix a null reference exception
2015-06-30 22:31:11 +02:00
Matthias Mailänder
d6efab185d
fix a null reference exception
2015-06-30 22:26:53 +02:00
Oliver Brakmann
0492d57439
Merge pull request #8607 from penev92/bleed_disposeWorld
...
Dispose of the old world before creating a new one
2015-06-30 19:25:59 +02:00