Commit Graph

4506 Commits

Author SHA1 Message Date
Matthias Mailänder
5b122eae6c remove unused duplicated code 2015-07-06 10:58:34 +02:00
Matthias Mailänder
d9ac97a967 Merge pull request #8660 from penev92/bleed_fixServer
Fix a bug in Server
2015-07-06 08:53:02 +02:00
penev92
0648b7edaa Fix a bug in Server 2015-07-06 00:59:30 +03:00
Pavel Penev
f221a70e40 Merge pull request #8652 from Mailaender/custom-rule-warning
Added a warning about custom game rules
2015-07-06 00:32:44 +03:00
penev92
1d49c23af0 Rename PlayerReference.Race and LockRace to Faction and LockFaction 2015-07-05 23:08:49 +03:00
Oliver Brakmann
c899606a6f Merge pull request #7872 from Mailaender/storm-effects
Unified FlashPaletteEffect and exposed it to Lua
2015-07-05 21:08:04 +02:00
Matthias Mailänder
5378b6225c unhardcode and increase the exit delay 2015-07-05 20:50:31 +02:00
Matthias Mailänder
b61dcbdf76 Merge pull request #8417 from abcdefg30/newlua_disguise
Added DisguiseAs and DisguiseAsType functions to lua
2015-07-05 20:04:00 +02:00
Paul Chote
19c777a922 Move maximum terrain height definition to mod.yaml. 2015-07-05 17:49:56 +01:00
abcdefg30
6afc6a879e Update the ActorInfo summary 2015-07-05 18:43:10 +02:00
Matthias Mailänder
2768fc88e7 stop all sounds on map change 2015-07-05 18:07:11 +02:00
Oliver Brakmann
54c2db3804 Merge pull request #8629 from penev92/bleed_serverLog
Touch up Server.cs
2015-07-05 17:51:21 +02:00
penev92
907265a64c Random refactoring and beautifying of Server.cs 2015-07-05 18:39:13 +03:00
penev92
502db0b462 Add logging on exception to Server.ValidateClient() 2015-07-05 18:39:10 +03:00
Matthias Mailänder
e86ff94a20 don't display game join notifications during missions 2015-07-05 17:17:14 +02:00
Matthias Mailänder
8c92839e0b warn about custom rules 2015-07-05 17:16:43 +02:00
Pavel Penev
3a3d628947 Merge pull request #8625 from RoosterDragon/type-dict-refactor
Refactor TypeDictionary
2015-07-05 17:56:09 +03:00
Pavel Penev
1ed4d55363 Merge pull request #8624 from RoosterDragon/hotkey-perf
Improve hotkey resolution performance
2015-07-05 17:39:54 +03:00
Oliver Brakmann
a753a114a0 Merge pull request #8645 from Mailaender/fieldloader-nre-coverity
Fixed missing null checks in FieldLoader
2015-07-05 16:25:39 +02:00
Paul Chote
7d62ac2b12 Merge RulesetCache.LoadDefaultRules and LoadMapRules. 2015-07-05 14:58:00 +01:00
Paul Chote
86bf9086d9 Rename WorldRenderer.Position -> ProjectedPosition. 2015-07-05 14:57:59 +01:00
Paul Chote
e10cb5cd9c Fix an incorrect coordinate check. 2015-07-05 14:57:59 +01:00
Paul Chote
b8b27f11af Remove stub map constructor. 2015-07-05 14:57:58 +01:00
Paul Chote
0dbbc00d0a Simplify editor/importer map creation. 2015-07-05 14:57:58 +01:00
Paul Chote
41fa77d12a Fix projected world coordinate calculation for Lua API. 2015-07-05 14:57:58 +01:00
Paul Chote
7a4c461692 Remove unused code from Minimap.cs. 2015-07-05 11:15:14 +01:00
Matthias Mailänder
aab6d6d170 add addititional value null checks 2015-07-05 08:47:05 +02: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
Matthias Mailänder
10d76da61b fix a null reference exception 2015-07-04 09:43:31 +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
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
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
penev92
d2058fbcbc Dispose of the old world before creating a new one 2015-06-30 14:49:47 +03:00
Chris Forbes
76b4d702e3 Remove unused INotify interface
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
2015-06-30 15:11:50 +12:00
Matthias Mailänder
6582a0e096 Merge pull request #8589 from obrakmann/fix8543_range-circles-in-replays
Make range circles visible to observers
2015-06-29 23:10:28 +02:00
Oliver Brakmann
f8eb2fadf7 Merge pull request #8582 from Mailaender/hide-ui-hotkey
Added a hide UI hotkey
2015-06-29 20:16:40 +02:00
Oliver Brakmann
fc8a34a7a2 Match all kinds of spectators in Player::IsAlliedWith() 2015-06-29 18:11:52 +02:00
Pavel Penev
6ed7e46162 Merge pull request #8398 from Mailaender/ping-order-nre
Fixed NREs in LobbyCommands PingFromClient
2015-06-29 01:55:54 +03:00
Pavel Penev
f27d010535 Merge pull request #8554 from Mailaender/package-entry-dispose
Dispose of a MemoryStream in PackageEntry Take 2
2015-06-28 17:55:13 +03:00
Matthias Mailänder
5c0c300c53 add a hotkey to hide the UI widgets 2015-06-28 16:29:25 +02:00
Pavel Penev
8b4d5c7fb2 Merge pull request #7930 from Mailaender/screenshot
Added a hotkey to take screenshots
2015-06-28 15:37:07 +03:00
Matthias Mailänder
87c2e68973 Merge pull request #8321 from penev92/bleed_lintUpgrades
Add a lint check for actor upgrades
2015-06-27 16:41:04 +02:00
Matthias Mailänder
2763e26d23 add a take screenshot hotkey 2015-06-27 16:29:33 +02:00
Matthias Mailänder
e58ce7d59b stop music and video when disposing the world 2015-06-27 11:00:06 +02:00
Pavel Penev
2c8437f80d Merge pull request #8483 from matija-hustic/selectall_fixed
Fixes regression with selection classes
2015-06-25 16:51:13 +03:00
Pavel Penev
f161a620e6 Merge pull request #7851 from Mailaender/dedicated-console-log
Added status messages to console output for dedicated servers
2015-06-25 01:45:49 +03:00
Matthias Mailänder
e93faeaa04 dispose the memory stream and avoid the binary reader 2015-06-24 07:15:59 +02:00