Mantis - tweak
Viewing Issue Advanced Details
1528 Any minor always 07-23-05 00:00 07-23-05 00:00
elenzil  
 
normal  
new  
open  
none    
none  
0001528: inconvenient choice of member variables in CPlayer
CPlayer contains many member variables which have names that are extremely commonly used in general programming.

For example: geometry, x, y, position, width, etc.

These common names easily collide with temporary (or class) variables in subclasses, and often cause confusion, in my experience.

Perhaps the CPlayer member variables could all be preceded with cp ?
eg cpX cpY etc.



There are no notes attached to this issue.