Remove duplicate and unused declaration
Replace pointer with const reference
Move macro used by map creator
Replace pointer with const reference
Replace pointer with const reference
Code style
Indentation
Code style
Remove goto
Make some debug code non editor specific
Remove unused declarations
Change type of DRAGGING global to bool
Remove unnecessary conditions
Code style
Change type of COMBINEGOLD global to bool
Remove unused parameter default values
Remove MouseInRect function
Code style
Code style
Move variable to smaller scope