Commit Graph

3669 Commits

Author SHA1 Message Date
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
Paul Chote
17702dc057 Merge pull request #6334 from Mailaender/parachute-out-of-map
Fixed a crash when parachutes were spawned outside of the map
2014-09-24 22:26:08 +12:00
Jacob Dufault
65763a643f Simplify GetCtor logic 2014-09-22 13:41:07 -04:00
Matthias Mailänder
44d134afe0 don't update the actor map outside the map borders 2014-09-21 10:52:44 +02:00
Matthias Mailänder
f0e6eee7e1 Merge pull request #6526 from MatthijsBenschop/debug-crash-fix
Prevent player name from becoming part of a formatting string.
2014-09-21 10:21:11 +02:00
Matthijs Benschop
534f6c5a33 Prevent player name from becoming part of a formatting string.
fixes #6524
2014-09-21 10:01:40 +02:00
Alexander Fast
08890b0994 Added IUtilityCommand and move default commands into Mods.Common. 2014-09-21 10:15:50 +12:00
Paul Chote
caecf2d82a Move inaccuracy modifier queries outside the projectile ctors. Fixes #6449. 2014-09-20 21:43:00 +12:00
LipkeGu
06f852070c Added return values for "Timeout" and "DNS" Errors
Added Return value for:
- WebExceptionStatus.NameResolutionFailure : "DNS lookup failed"
- case WebExceptionStatus.Timeout: "Connection timeout"
2014-09-18 00:07:11 +02:00
reaperrr
7589e010c3 Back-port some style fixes from ImaAdpcmLoader to AudLoader. 2014-09-14 13:32:37 +02:00
reaperrr
fec5eb178c Rename Adpcm to ImaAdpcm everywhere.
To avoid confusion with Microsoft ADPCM and other ADPCMs.
2014-09-14 13:27:46 +02:00
Matthias Mailänder
53f926b792 Merge pull request #6442 from pchote/no-mission-replays
Closes #6210
2014-09-14 08:54:36 +02:00
Matthias Mailänder
636e1b5102 Merge pull request #6441 from pchote/paste
Support pasting clipboard text into TextFields.
2014-09-13 15:02:15 +02:00
Matthias Mailänder
f4b3a73af6 remove duplicated "Server: ... the server" wording 2014-09-13 11:22:09 +02:00
Paul Chote
b1de14bc70 Disable replay saving for campaign missions. 2014-09-13 18:08:14 +12:00
ImagoTrigger
eb2124bb89 Adds ability to paste text (ctrl/cmd+v) into chat. 2014-09-13 09:41:59 +12:00
Paul Chote
eddcfd7362 Merge pull request #6426 from obrakmann/fix6421
Fix a number or bugs wrt shroud/selection interaction in observer mode
2014-09-13 08:34:22 +12:00
Thijs Waalen
2da4a53155 Replace the empty defaults caused by a null default with nil 2014-09-08 21:59:58 +02:00
Oliver Brakmann
44582ae647 Fix another shroud/selection bug in observer mode
In a player view, enemy units would not be unselected when they entered
the shroud.
2014-09-07 01:10:52 +02:00
Oliver Brakmann
eff54a614b Fix selection glitch in observer mode
Fixes #6421.
2014-09-07 00:52:55 +02:00
reaperrr
5e9b0a964f Adds InaccuracyModifier. 2014-09-04 20:28:34 +02:00
Paul Chote
674998c0ee Merge pull request #6335 from obrakmann/fix6311
Fix end game window conflicting with ingame menu
2014-09-03 18:54:51 +12:00
reaperrr
3725ce4f7b InfDeath -> DeathType renaming. 2014-08-30 18:06:05 +02:00
Matthias Mailänder
c1ca55b303 Merge pull request #6208 from atlimit8/FixUnloadCargo
Fixed UnloadCargo stacking using new subcell API exposure
2014-08-30 14:38:17 +02:00
atlimit8
8ad1140921 Reduce ICrushable trait lookup & drop -SubCell suffix.
Replace `a.HasTrait<ICrushable>()` with a.TraitsImplementing<ICrushable>().Any() or equivalent.
2014-08-30 04:43:57 -05:00
Matthias Mailänder
1ffa88a750 Merge pull request #6162 from UberWaffe/WeaponDiplomacyCheck
Closes #5618
2014-08-30 09:39:05 +02:00
atlimit8
e29b9edfc1 Changes to map.cs, rename IPositionable.IsLeaving{ => Cell}, add IPositionable.GetValidSubCell 2014-08-29 23:30:16 -05:00
atlimit8
63c28ee4d7 Refactored in new enum SubCell 2014-08-29 23:00:53 -05:00
atlimit8
27ad5208fb Fixed Mobile.SetPosition & other FixUnloadCargo touch-ups
Fixed Mobile.SetPosition
Finally removed old SubCell enum
Folded MobileInfo.CanEnterCell overloads into one
Renamed IPositionable.{IsMovingFrom => IsLeaving}
Changed Crate.IsLeaving to use crate lifetime
2014-08-29 23:00:53 -05:00
atlimit8
b2c9064545 Refactored [sub-]cell availability logic in IPositionable & ActorMap
Moved the logic from IPositionable.CanEnterCell & integrated sub-cell selection.
Added IPositionable.IsMovingFrom(CPos location, int subCell = -1) - to detect transient actors
Renamed IPositionable.{GetDesiredSubcell => GetAvailableSubcell} - since it checks for available sub-cells
Reduced IPositionable.CanEnterCell to one method that usually uses IPositionable.GetAvailableSubcell
Added actor checking to ActorMap.{HasFreeSubCell, FreeSubCell, AnyUnitsAt} - used by [sub-]cell availability logic
2014-08-29 23:00:53 -05:00
atlimit8
ff7ad53dee Fixed UnloadCargo stacking using new subcell API exposure 2014-08-29 23:00:53 -05:00
atlimit8
fe57417aa8 Added int subCell = -1 to IMove.MoveIntoWorld & IPositionable.SetPosition(Actor self, CPos cell) 2014-08-29 23:00:53 -05:00
Tiago Sousa
ce68d67f0b Disallow same/similar colors (fixes #2820) 2014-08-30 01:53:38 +01:00
Paul Chote
921d77f825 Merge pull request #6202 from ScottNZ/spyabilities
Add power sabotage ability to spy
2014-08-30 10:26:09 +12:00
ScottNZ
b70395e27c Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts. 2014-08-27 18:45:09 +12:00
Paul Chote
84cb5f14f5 Merge pull request #6318 from Mailaender/log-session-deserialize-exception
Fixed Session.Deserialize exceptions not throwing properly
2014-08-27 18:39:56 +12:00
reaperrr
4fa199fb10 Merge pull request #6320 from Mailaender/smudge-offset
Unhardcoded and self-documented more resource/smudge parameters
2014-08-26 22:25:32 +02:00
UberWaffe
1fbcdfc3c3 AffectsParent defaulted to false. 2014-08-25 20:44:21 +02:00
Oliver Brakmann
2f4c81b7c9 Fix end game window conflicting with ingame menu
Fixes #6311
2014-08-24 17:00:18 +02:00
Matthias Mailänder
5b4f8d1446 unhardcode and self-document more resource/smudge parameters 2014-08-24 08:13:40 +02:00
Paul Chote
944cfd83e2 Merge pull request #6281 from mizipzor/tab-completion
Added tab completion to in-game and lobby chat.
2014-08-24 17:29:38 +12:00
UberWaffe
e3e5e9eb00 Adds Diplomacy keywords for ValidTarget checks.
Changes:

Allows diplomacy stance checks to be done on warheads and weapons, using keywords in ValidTargets and InvalidTargets.
2014-08-24 07:00:21 +02:00
Paul Chote
e4b9872f82 Merge pull request #6291 from UberWaffe/ImpactTarget
Changes Weapon.Impact() to use Target (from WPos).
2014-08-24 09:38:15 +12:00
Curtis Shmyr
345e88d75a Add IRenderInfantrySequenceModifier 2014-08-23 14:42:16 -06:00