Commit Graph

578 Commits

Author SHA1 Message Date
Paul Chote
0143e8bfb8 Support rectangular tiles. 2013-12-29 14:16:20 +13:00
Igor Popov
12199da97f re-InitializeLoaders on Dedicated server restart, will fresh list of maps too 2013-12-24 22:23:57 +04:00
Paul Chote
b96c36f38f Fix most of the style violations in Game.cs. 2013-12-18 21:45:04 +13:00
Paul Chote
ff5cbc65c5 Throw a sensible exception when no renderers are available. Fixes #4322. 2013-12-18 21:42:45 +13:00
Matthias Mailänder
173b99c76a don't crash if max framerate is 0
fixes #4221
2013-12-06 14:48:32 +01:00
Paul Chote
6d6d1e230b Remove runtime mod merging. Closes #3421. 2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee Remove some misc redundancies 2013-11-12 19:39:39 +13:00
Matthias Mailänder
bc133d199e StyleCop cleanup 2013-11-10 07:34:52 +01:00
Matthias Mailänder
0f17b03d7e try all available renderers from a prioritized list 2013-11-09 11:06:16 +01:00
Matthias Mailänder
eed38b3da4 fallback to defaults when something goes wrong 2013-11-09 11:06:16 +01:00
Paul Chote
6aee253c94 Fix a NRE in the exception handler. 2013-11-09 15:24:58 +13:00
Matthias Mailänder
f21f314bfe avoid magic number for replay duration calculation 2013-10-16 21:09:45 +02:00
Paul Chote
3ef6a8317a Remove Game.Zoom. 2013-10-16 18:21:46 +13:00
Matthias Mailänder
b618fc7cc2 complete password protected servers
closes #2290
2013-10-07 19:37:12 +02:00
Paul Chote
919181e04d Clean up viewport internals. 2013-10-05 21:01:22 +13:00
Paul Chote
936bf98496 Move Viewport inside WorldRenderer. 2013-10-05 21:01:22 +13:00
Paul Chote
fe8c80aca6 Add Game.Zoom for remaining engine stuff. 2013-10-05 21:01:22 +13:00
Paul Chote
f575c20d38 Route viewport centering via WorldRenderer. 2013-10-05 21:01:21 +13:00
Paul Chote
b7123cda7d Route screen size queries via Game.Renderer. 2013-10-05 21:01:21 +13:00
Paul Chote
3ff71d5982 Fix asset downloader NRE. Fixes #3898. 2013-10-05 13:29:39 +13:00
Paul Chote
90ab2477b4 Convert Sound to world coordinates. 2013-09-27 15:41:33 +12:00
Paul Chote
cad46e43c5 Add WorldRenderer parameter to WorldLoaded. 2013-09-27 15:29:44 +12:00
Matthias Mailänder
a5572b50cf remove workaround for very old Mono bugs 2013-08-25 13:01:14 +02:00
Paul Chote
1040d7f3ef Add no-sync check around TickRender. 2013-08-12 21:35:46 +12:00
Matthias Mailänder
332759a5f5 Put audio related problems into sound.log 2013-07-31 22:16:01 +02:00
Paul Chote
7c91d6976d Split keyboard and mouse focus.
Fixes #3304.
Fixes #2075.
Fixes C&C chat focus bug.
2013-07-27 21:02:52 +12:00
Matthias Mailänder
e9b2bcc579 fix some plenks
no logic changes
2013-06-21 18:05:30 +02:00
Matthias Mailänder
11755798cc Don't reserve airfields/helipads for husks that just fall down
fixes #3376
2013-06-16 12:43:41 +02:00
Paul Chote
659e56f0fa Remove Bitrotted JoinExternalGame. Fixes #3406. Closes #2153. 2013-06-16 04:19:06 +12:00
Paul Chote
0dd8d7f7b6 Distinguish between classic and crc file hashes. Fixes #3306, #3328. 2013-05-24 21:10:41 +12:00
Matthias Mailänder
6a6776754b added .mix file support for game asset browser 2013-05-15 18:13:39 +02:00
Chris Forbes
8750f04f4c avoid spurious re-indexing of maps just prior to shellmap load 2013-04-21 11:38:24 +12:00
Matthias Mailänder
ebe9805e5b separate UPnP from Game/Server into it's own class 2013-04-18 00:04:00 +02:00
Matthias Mailänder
23ca044515 allowUPnP is a bad name for automatic port forwards
also check it by default if all those checks went well
2013-04-10 12:45:16 +02:00
Matthias Mailänder
3abe58c4ae more checks for NRE and setting to disable NAT discovery 2013-04-09 13:03:37 +02:00
Matthias Mailänder
1603485b33 catch everything NatUtility does so it does not crash anymore 2013-04-09 12:36:42 +02:00
Matthias Mailänder
c421399e45 Merge pull request #2991 from pchote/sane-pause-logic
Fix pause logic and C&C cheats menu
2013-04-08 02:35:25 -07:00
Matthias Mailänder
273a9869bf don't crash if the router does not want to talk to us 2013-04-07 17:20:26 +02:00
Paul Chote
096d95f391 Fix bogus pause logic. 2013-04-07 23:38:52 +12:00
Matthias Mailänder
b2d885d268 Merge pull request #2403 from Mailaender/mono-nat
Use Mono.Nat for UPnP port forwarding.
2013-04-06 04:50:22 -07:00
Matthias Mailänder
0488903a15 enhanced UPnP discovery usability
- don't search for NATs forever, 5 seconds seem to be enough
- disable the UPnP checkbox if discovery failed
- no computer industry acronyms in user GUI
- don't remove port-forwarding twice, just once on shutdown
- user-configurable settings for debugging
2013-04-06 13:32:50 +02:00
Matthias Mailänder
aeb784628d Merge pull request #2952 from Mailaender/cursor-palette-refactor
Cursor Palette Refactor
2013-04-06 01:15:32 -07:00
Matthias Mailänder
acc8cd1e5e fixes #2885 forgot to enable the cursor palette before drawing
split HardwarePalette.Update into two functions, closes #2847
2013-04-06 08:44:32 +02:00
Paul Chote
fe091487cc Fix C&C options menu fade effect. 2013-04-06 16:41:13 +13:00
Scott_NZ
083d59613a Better UPNP logging. Also fixes a compile error 2013-04-05 14:18:22 +02:00
Matthias Mailänder
989c23e632 use Mono.Nat for UPnP port forwarding
- might support more devices
- supports internal and external port mapping
- discover the device only once (at startup)
2013-04-05 14:18:15 +02:00
Matthias Mailänder
c68d939e4f Merge pull request #2823 from ihptru/auto-map-dl
Auto map downloading
2013-04-01 09:11:25 -07:00
Sascha Biedermann
1eb7c62c62 closes #2874: improved ingame chat 2013-03-28 18:39:26 +01:00
Matthias Mailänder
5927bce7b5 no country specific game start announcer voice
it will crash for spectators who have none
no mod supports it at the moment anyway
2013-03-27 08:11:12 +01:00
Igor Popov
586723926a auto-map-downloading updated. (sync) 2013-03-23 19:27:53 +04:00