Commit Graph

1297 Commits

Author SHA1 Message Date
Paul Chote
a4e319b9d2 Define a specific harvest cursor. Use attack for cnc harvest. 2011-06-25 17:40:34 +12:00
Paul Chote
fd2d15c0fe Work around #937. May have negative perf impact. 2011-06-25 16:43:51 +12:00
Paul Chote
fc37733c3c Add a screen-space offset to barrel positions, and fix HTNK firing offsets. Fixes #803, 929. 2011-06-25 15:25:22 +12:00
Paul Chote
81d1444b4a Fix turreted muzzleflashes. 2011-06-25 13:54:30 +12:00
Lawrence Wang
1fa4cf5c0a Bug 856- Removal of extra few lines of code 2011-06-25 11:54:19 +12:00
Lawrence Wang
de5db51f25 Fixed #856 - created trait for ammo reload time, set for some aircraft 2011-06-25 11:54:12 +12:00
Chris Forbes
6be55b61aa fixed #934 -- convert all AttackBase.MuzzleFlash uses to WithMuzzleFlash 2011-06-25 11:51:04 +12:00
Paul Chote
44c86928ec Rework orca weapons and firing offsets. Now fires a volley of 10 rockets, which reload at 2 per 3 seconds. Fixes half of #930. 2011-06-24 23:58:30 +12:00
Paul Chote
dc9b0adba9 Kill unused map installation code. 2011-06-24 17:26:33 +12:00
Paul Chote
35a5fc3356 Work around for #902. 2011-06-24 00:40: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
122c7ec569 Don't show bounty cashticks of $0. 2011-06-24 00:40:58 +12:00
Paul Chote
ef8b6b2e71 Remove FlyOffMap.Interruptable. Fixes #906. 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
65f1427bf2 Fix some other bogus bits in Bridge 2011-06-21 20:35:19 +12:00
Paul Chote
af4093f380 Swap the default value for FlyOffMap.Interruptible. The common case (scripted aircraft) don't want to be interruptible. Fixes badr desync caused by the mono 2.6.7 compiler dropping initializers for bools that default to true. 2011-06-21 14:20:08 +12:00
Paul Chote
6feccab5db Add map-player check to SurrenderOnDisconnect 2011-06-21 03:41:36 +12:00
Paul Chote
1cdfd44d43 Fix #897. 2011-06-21 03:40:39 +12:00
Paul Chote
ce65127e34 Fix observer tooltips (Bug #769) 2011-06-21 02:51:50 +12:00
Paul Chote
e33995d71b Don't display a tooltip for actors without the Tooltip trait 2011-06-21 02:48:52 +12:00
Paul Chote
43aae99dd0 Fix #888 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
bafa411329 Expose LockTeam/LockSpawn to mappers 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
e7543f28df Fix naming of Player.PlayerReference. 2011-06-20 22:50:29 +12:00
Paul Chote
91b31b1981 Rewrite ChooseInitialStance to support bot teams and remove obsolete crap. 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
0c9190a1af Enforce color/race/team locking 2011-06-20 22:50:28 +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
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
fe5ef82cdf Allow bot players to be created via map.yaml 2011-06-20 13:03:23 +12:00
Paul Chote
64497c9b2f Fix exploding walls 2011-06-20 13:03:23 +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
Mike Bundy
fcceac1730 GPS fix 2011-05-31 20:44:01 +12:00
Paul Chote
9b858af2b7 Add muzzleflash to GTWR. WithMuzzleFlash now actually uses the turret position. 2011-05-31 20:44:00 +12:00
Paul Chote
c07abc48b2 Remove some nonfunctional code in BuildPaletteWidget 2011-05-30 22:15:15 +12:00
Chris Forbes
5531715652 fixed 850 -- rallypoint flags staying original owner's color after capture 2011-05-30 21:35:35 +12:00
Chris Forbes
368468e323 format RenderSimple 2011-05-30 21:32:54 +12:00
Chris Forbes
61cde675ea fixed 741 -- use the correct superweapon building when more than one is available and some are disabled 2011-05-30 21:26:05 +12:00
Chris Forbes
7ac57014fb tidy 2011-05-30 21:17:25 +12:00
Chris Forbes
596e64e527 remove ReverseEnterTransport -- 852 2011-05-30 21:15:56 +12:00
Chris Forbes
d54c632812 remove unused LinkProc function 2011-05-30 20:59:11 +12:00
Chris Forbes
05bb335ce2 fix missing center panel part on fancy tooltips 2011-05-30 20:52:16 +12:00
Chris Forbes
0ba41acf4a add muzzle flashes to pbox/hbox 2011-05-30 20:50:45 +12:00
Chris Forbes
e24c8971b6 fixed 796 -- AttackTurreted sets IsAttacking correctly now. 2011-05-30 20:14:43 +12:00