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