Paul Chote
e00bfd487d
Hook up the spawn selector.
2011-06-20 22:50:31 +12:00
Paul Chote
e7543f28df
Fix naming of Player.PlayerReference.
2011-06-20 22:50:29 +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
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
e934baa6e9
Better bot spawning code; better random color and proper player names.
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
bcbd18bb52
Skirmish mode starts with a bot selected.
2011-06-20 22:50:22 +12:00
Paul Chote
c6182f6039
Fix player connected chat message
2011-06-20 14:39:03 +12:00
Chris Forbes
3409d8f046
remove type-specific functions for ChromeMetrics.Get; use FieldLoader
2011-06-20 14:39:03 +12:00
Paul Chote
7095f293ff
Fix #865
2011-06-20 14:39:03 +12:00
Paul Chote
63e77755b7
Fix #864 - don't display the depressed state if the checkbox is disabled
2011-06-20 14:38:59 +12:00
Paul Chote
d043f4807f
Make the checkbox depressed state optional, and disabled in ra.
2011-06-20 14:34:29 +12:00
Paul Chote
94bca753d2
Fix #866
2011-06-20 13:03:23 +12:00
Paul Chote
fe5ef82cdf
Allow bot players to be created via map.yaml
2011-06-20 13:03:23 +12:00
Paul Chote
7fb46bb2b6
Work around CreateLocalServer miscompile
2011-06-20 13:03:20 +12:00
Paul Chote
b487476ea9
Remove Game.AfterGameStart
2011-06-01 19:18:21 +12:00
Paul Chote
add29e845e
Fix orphaned DropDown panels (eg when exiting menus using a hotkey)
2011-06-01 18:53:41 +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
41819354ac
Fix selection box dragging behind other ui elements
2011-05-31 20:44:00 +12:00
Paul Chote
6512db14cf
Fix #845 (spawnpoint artwork leaks across mod change)
2011-05-30 22:15:15 +12:00
Paul Chote
b425d770c5
Correct parameter order in IOrderTargeter.CanTargetLocation interface definition
2011-05-30 22:15:15 +12:00
Paul Chote
922f4754f9
Drop the ControlGroupModifier setting. Use Cmd on osx for group addition.
2011-05-30 22:15:15 +12:00
Paul Chote
81515705ec
Add keyboard shortcut support to ButtonWidgets.
...
Hook up 'escape' and 'return' as appropriate for moving through menus.
2011-05-30 22:15:14 +12:00
Paul Chote
124f19f00b
Bind skirmish servers to a random available port
2011-05-30 22:15:14 +12:00
Chris Forbes
368468e323
format RenderSimple
2011-05-30 21:32:54 +12:00
Chris Forbes
aca4d2ebbb
fixed 823 -- mouse interaction with password fields uses the metrics of the mask character, not the actual content
2011-05-23 19:57:40 +12:00
Chris Forbes
0d63e9f999
fix glitchyness on repairing veteran units
2011-05-23 19:48:59 +12:00
Chris Forbes
5ecc1ebefc
split IGraphicsDevice.{Present,PumpInput}
2011-05-22 22:10:48 +12:00
Chris Forbes
77686adc1a
remove batch spam from PerfGraphWidget
2011-05-22 22:05:49 +12:00
Chris Forbes
ef03d46f13
eradicate 'delegate' misuse
2011-05-22 22:02:09 +12:00
Chris Forbes
5ad2c43761
remove duplicated crap from CncLoadScreen
2011-05-22 21:34:59 +12:00
Chris Forbes
41124a12f2
remove bogus empty delegates dir from Game
2011-05-22 21:33:47 +12:00
Chris Forbes
66c72d14d8
split scrollthumb/button in chrome data; fixes screwed up RA scrollthumbs
2011-05-22 21:33:47 +12:00
Chris Forbes
b792d07c8c
start reworking player setup
2011-05-22 21:33:34 +12:00
Chris Forbes
cf5d49a328
fix some subtle crap in map upgrader
2011-05-22 20:41:38 +12:00
Chris Forbes
e839ae33d8
hax
2011-05-22 20:41:34 +12:00
Chris Forbes
90cea9f73d
expose temp VBO tuning parameters in settings
2011-05-22 20:41:31 +12:00
Chris Forbes
cd6f77ca7c
move terrain palette constant lookup outside terrain setup inner loop
2011-05-22 20:39:01 +12:00
Chris Forbes
f406504147
add render_flip to perf history
2011-05-22 20:38:59 +12:00
Chris Forbes
fe392bd42d
add render_widgets to perf history
2011-05-22 20:38:58 +12:00
Chris Forbes
9434dd993a
slight cleanup in Renderer
2011-05-22 20:38:57 +12:00
Chris Forbes
75588b050e
improve error message in CreateDevice
2011-05-22 20:38:56 +12:00
Chris Forbes
9b3e6c5c4a
remove FP sillyness from FindUnits & friends
2011-05-22 20:38:52 +12:00
Chris Forbes
ccc245ded4
reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool)
2011-05-22 20:38:48 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +12:00
Chris Forbes
cd756885a6
remove MasterServerQuery in favour of ServerList
2011-05-22 18:41:33 +12:00
Paul Chote
53426030ee
Fix hover for ra dropdowns (also scrollpanels)
2011-05-22 18:41:33 +12:00
Paul Chote
325fd509b0
Remove obsoleted dropdown & label code
2011-05-22 18:41:33 +12:00
Paul Chote
ab298e1eae
Remove redundancy from dropdown setup
2011-05-22 18:41:32 +12:00
Paul Chote
d7a0445e59
Remove ContainerWidget.Background
2011-05-22 18:41:32 +12:00