#1932: WIP Patch: Trunk structure connector changes
------------------------------+---------------------------------------------
 Reporter:  Safety0ff         |              Owner:                  
     Type:  patch             |             Status:  new             
 Priority:  minor             |          Milestone:  3.0             
Component:  Engine: Graphics  |            Version:  svn/trunk       
 Keywords:                    |   Operating_system:  All/Non-Specific
Blockedby:                    |           Blocking:                  
------------------------------+---------------------------------------------
 Currently in trunk, when you have more than one connector and no weapons
 on a structure, a ugly 2D flashing "light" will be rendered on all
 connectors.

 Rather than fix this unused feature, I've made it so that:
  * power generators have their tesla puff animation as connector 1
  * power generators have their plasma rings as connectors 2+
  * factories have smoke puffs on all connectors ( instead of just one)

 I left the default positions in as defaults when there aren't any
 connectors.

 Also, it looked like the tesla puff was only supposed to be active when
 the power generator is "connected" so I added in the conditional.

 I still have to remove the magic numbers that make the power rings start
 at connector 2 before this patch is considered close to complete.
 [[BR]]I'm not sure where is the best place for "#define
 POWER_GEN_RING_CONECTOR_OFFSET 1". ;)

 Misc. note: With the patch the position of the rings can be changed, but
 their size is still a hard-coded function.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/1932>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to