Commit Graph

547 Commits

Author SHA1 Message Date
Chris Forbes
e329c9dc55 fix some whitespace issues in LobbyLogic 2011-08-09 08:51:36 +12:00
Paul Chote
22d3e16225 Installing from CD: Volume names / mount points are unreliable identifiers - check for specific files on the disk instead. 2011-07-25 22:23:19 +12:00
Paul Chote
abf63b3054 Remove GameInitInfoWidget and routing startup via widgets in RA. 2011-07-25 22:23:19 +12:00
Paul Chote
2d269155b1 Reimplement installing from CD in RA. 2011-07-25 22:23:19 +12:00
Paul Chote
bf6be0424f Remove file prompting and drop all the remaining utility communication plumbing. 2011-07-25 22:23:18 +12:00
Paul Chote
f88ea4c25a Add RA settings UI for PixelDouble 2011-07-25 22:23:18 +12:00
Paul Chote
2b3ee9e5bc Replace fullscreen checkbox and misleading width/height fields in RA settings menu with a mode/resolution selector like C&C. Fixes bugs #118, #791. 2011-07-25 22:23:16 +12:00
Chris Forbes
0efe82018a rewrite SliderWidget to be simpler and have much less fail 2011-07-17 17:55:51 +12:00
Chris Forbes
9dd0ad980b remove backwards compatibility crap from RA edgescroll config 2011-07-17 12:43:12 +12:00
Chris Forbes
5c5eb5d5b5 remove config item for match timer in RA 2011-07-17 12:41:21 +12:00
Chris Forbes
2d79c7c424 clean up graphics settings in SettingsMenuLogic.cs 2011-07-17 12:37:54 +12:00
Chris Forbes
10cb967711 tidy SettingsMenuLogic audio settings 2011-07-17 12:33:05 +12:00
Chris Forbes
c05215c477 fix foreach/closure bugs in RA LobbyLogic; factor out name widget setup 2011-07-17 12:10:49 +12:00
Chris Forbes
cfc499e459 tidy usings for MapChooserLogic 2011-07-17 10:52:05 +12:00
Chris Forbes
c401e9c8fb tidy up ra music player 2011-07-17 10:52:05 +12:00
Chris Forbes
0cb1f98e7e fixed #994 - use FormatTimeSeconds in MusicPlayerLogic 2011-07-14 20:29:06 +12:00
Chris Forbes
99b8c765c7 fixed #996 -- Rules.InstalledMusic 2011-07-14 20:29:05 +12:00
Chris Forbes
1a2dc8ec1c fixed #995 - remove duplication in next/prev song in MusicPlayerLogic.cs 2011-07-14 20:29:05 +12:00
Chris Forbes
b71e8bfe85 work on #993 -- removed OnMouseUp from DeveloperModeLogic.cs 2011-07-14 20:29:05 +12:00
Chris Forbes
897f578fc4 work on #993 -- removed OnMouseUp from DiplomacyLogic.cs 2011-07-14 20:29:05 +12:00
Chris Forbes
b9834c5b88 work on #993 -- removed OnMouseUp from MapChooserLogic.cs 2011-07-14 20:29:05 +12:00
Chris Forbes
accf94d664 work on #993 -- removed OnMouseUp from ReplayBrowserLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
3bdea009e3 work on #993 -- removed OnMouseUp from CreateServerMenuLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
c4985a043b work on #993 -- removed OnMouseUp from IngameObserverChromeLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
50303107d8 work on #993 -- removed OnMouseUp from SettingsMenuLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
f666dc08f5 work on #993 -- removed OnMouseUp from LobbyLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
bd018484e1 work on #993 -- removed OnMouseUp from IngameChromeLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
dfd73ce209 work on #993 -- removed OnMouseUp from MainMenuButtonsLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
980dc265ef work on #993 -- removed OnMouseUp from ServerBrowserLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
c32e0186b9 work on #993 -- removed OnMouseUp from ConnectionDialogsLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
8e780759bf work on #993 -- removed OnMouseUp from GameInitLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
14f29eb30e work on #993 -- removed OnMouseUp from MusicPLayerLogic.cs 2011-07-14 20:29:04 +12:00
Chris Forbes
d5ee3655f3 fixed #992: removed spurious double-semicolons 2011-07-14 20:29:03 +12:00
Paul Chote
193999a040 Move OnMouseUp onto ButtonWidget and drop its unnecessary plumbing. 2011-07-14 20:29:02 +12:00
Paul Chote
e58e354c4b Move IsDisabled checking for OnMouseDown into ButtonWidget. Remove unnecessary bool plumbing. 2011-07-14 20:29:02 +12:00
Paul Chote
bbeaf2047b Remove OnMouseDown from Widget. Define it on just the widgets that want it. 2011-07-14 20:29:02 +12:00
Chris Forbes
0080762bbc fixed #359 -- diplomacy panel shows player colors 2011-06-28 23:21:49 +12:00
Paul Chote
dc9b0adba9 Kill unused map installation code. 2011-06-24 17:26:33 +12:00
Paul Chote
4f172d7ed8 Make bots first-class players.
- Bots have their own Clients, with unique ClientIDs
 - Hosts can set bot team/color in the lobby
 - Bots are kicked when switching to a smaller map without enough slots
 - Order validator assumes that only client 0 has permission to issue bot orders
2011-06-20 22:50:29 +12:00
Paul Chote
19d74fef52 Server support for host changing other client's race/color/team/spawn 2011-06-20 22:50:28 +12:00
Paul Chote
d2df5722b5 Fix the lobby slots.
- lobbyInfo.Slots is now a dictionary, keyed by the name of the PlayerReference that the slot is tied to.
 - LockRace/Color/Team is now specified on the slot, avoiding map lookups in the lobby
 - Observers are no longer tied to slots -> players will join as observers instead of crashing the game if there are no available slots
 - Observers are able to change their name and color
2011-06-20 22:50:27 +12:00
Paul Chote
532bd42aed Remove obsolete Player index cruft 2011-06-20 22:50:26 +12:00
Paul Chote
b487476ea9 Remove Game.AfterGameStart 2011-06-01 19:18:21 +12:00
Paul Chote
2ebb2ae921 Remove static handler crap from widget delegates - Register/unregister events manually (ra & cnc). 2011-06-01 19:15:55 +12:00
Paul Chote
ad3f378545 Add a hook for widgets being removed, and ensure widgets are removed consistently. 2011-06-01 18:50:59 +12:00
Paul Chote
bbce4368d9 Remove some crap from ra ServerBrowserLogic 2011-05-31 21:22:29 +12:00
Chris Forbes
ef03d46f13 eradicate 'delegate' misuse 2011-05-22 22:02:09 +12:00