Commit Graph

818 Commits

Author SHA1 Message Date
Paul Chote
916e63710c Fix #892 2011-06-24 17:08:58 +12:00
Paul Chote
2d34169d79 Fix harv/proc/selling interaction. Fix formatting issues in OreRefinery. (Fixes #901, #903) 2011-06-24 00:40:58 +12:00
Paul Chote
ec3d467858 HackyAI supports teams (Fixes #917). 2011-06-23 17:41:38 +12:00
Paul Chote
088573f2b7 Disable controls instead of hiding when ready. Fixes #889 2011-06-20 22:50:32 +12:00
Paul Chote
7838896c81 Display bot spawns to everyone, not just the host. 2011-06-20 22:50:32 +12:00
Paul Chote
49dfbd43b7 Fix #896 2011-06-20 22:50:32 +12:00
Paul Chote
347a80f0a7 Unbitrot GDI01. The broken rules overrides have been left as a testcase for #768 2011-06-20 22:50:32 +12:00
Paul Chote
8875d1adee Skirmish starts with the last used map. 2011-06-20 22:50:31 +12:00
Paul Chote
e00bfd487d Hook up the spawn selector. 2011-06-20 22:50:31 +12:00
Paul Chote
c80fbaacd5 Add a spawnpoint selector for bots (selector logic unimplemented) 2011-06-20 22:50:30 +12:00
Paul Chote
b4ce97691b Use images instead of checkboxes for non-editable status fields and fix player template naming: local/remote -> editable/non-editable. 2011-06-20 22:50:30 +12:00
Paul Chote
ac68f9dab3 Remove Bot: label from bots in the slot dropdown. 2011-06-20 22:50:30 +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
0899916406 Disable diplomacy and cheats for observers 2011-06-20 22:50:26 +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
7095f293ff Fix #865 2011-06-20 14:39:03 +12:00
Paul Chote
2f86208a9a Swap mod and replay buttons 2011-06-20 13:03:23 +12:00
Paul Chote
568814b15a Display cnc mod version in the main menu 2011-06-20 13:03:23 +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
922f4754f9 Drop the ControlGroupModifier setting. Use Cmd on osx for group addition. 2011-05-30 22:15:15 +12:00
Paul Chote
2d43d656c2 Remove bs settings state tracking 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
Paul Chote
a288c5df15 Use static ctors for static setup. 2011-05-30 22:15:14 +12:00
Chris Forbes
09027d4770 fixup in RenderCargo 2011-05-30 20:58:18 +12:00
Chris Forbes
ef03d46f13 eradicate 'delegate' misuse 2011-05-22 22:02:09 +12:00
Chris Forbes
4b12a19af0 remove Renderer.Resolution duplication everywhere -- it's not free. 2011-05-22 21:38:54 +12:00
Chris Forbes
5ad2c43761 remove duplicated crap from CncLoadScreen 2011-05-22 21:34:59 +12:00
Paul Chote
7a2b78b1d8 Fix diplomacy/cheats menu stacking 2011-05-22 19:32:25 +12:00
Chris Forbes
cd756885a6 remove MasterServerQuery in favour of ServerList 2011-05-22 18:41:33 +12:00
Paul Chote
0c9692c0b1 Use new mechanism for mod list 2011-05-22 18:41:32 +12:00
Paul Chote
078972e3be Use new mechanism for ra dropdowns 2011-05-22 18:41:32 +12:00
Paul Chote
ab298e1eae Remove redundancy from dropdown setup 2011-05-22 18:41:32 +12:00
Paul Chote
8eb4e663d2 Fix obsolete Game.Disconnect() 2011-05-22 18:41:31 +12:00
Paul Chote
74d068423b Give a sensible error instead of spawning inaccessible filepickers when Fullscreen. 2011-05-22 18:41:30 +12:00
Paul Chote
cb53bcd17d Loadscreen tweaks 2011-05-22 18:41:30 +12:00
Paul Chote
13ceafb658 Fix music install crash. 2011-05-22 18:41:30 +12:00
Paul Chote
bafd12b88e Loadscreen progress bar 2011-05-22 18:41:30 +12:00
Paul Chote
126e489a10 More fluff 2011-05-22 18:41:30 +12:00
Paul Chote
f2f59e3f93 Eva logo. Disable scanlines 2011-05-22 18:41:30 +12:00
Paul Chote
aef6223c6c Add logos to the loadscreen 2011-05-22 18:41:29 +12:00
Paul Chote
dcaa161bd1 Diplomacy menu 2011-05-22 18:41:28 +12:00
Paul Chote
84a99be18e Split CncIngameMenuLogic into its own file 2011-05-22 18:41:28 +12:00
Paul Chote
aaecd6ce92 "Battle control terminated" 2011-05-22 18:41:28 +12:00
Paul Chote
797a95ad93 Fade in the menu palette effect over a few frames 2011-05-22 18:41:25 +12:00
Paul Chote
9822afcdb8 New loadscreen 2011-05-21 17:26:20 +12:00
Paul Chote
3ea1534082 Show current title and volume slider in music player 2011-05-21 17:26:20 +12:00