AGI: Convert preagi_winnie macros to inline functions
|Reported by:||SF/agf863||Owned by:||SF/mthreepwood|
preagi_winnie.cpp uses macros to inline two functions, "setTakeDrop()" and "makeSel()". In C++ I believe it's considered proper to do this is with real inline functions. setTakeDrop also seems to use too much code for what it needs to do.
This trivial patch replaces the two #defines with inline functions, and simplifies setTakeDrop. It was tested with MinGW on Windows 7.
Ticket imported from: #3298149. Ticket imported from: patches/1461.