- Added svn:eol-style=native property (follow up to r16213).

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16214 54d463be-8e91-2dee-dedb-b68131a5f0ec
feature merge bs-coreoptimize->trunk: added some compiler abstractions
 - forceinline  -> will force the compiler to always inline the given method
 - ra_algin(n)  -> align to (n) .. (see: http://msdn.microsoft.com/en-us/library/83ythb65(v=vs.80).aspx for more informations).



git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16215 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Platinum Skills NPC now works for all Upper types (bugreport:5903) (custom\platinum_skills.txt)
* Revamped the official clothes dyer (merchants\clothes_dyer.txt)
* Optimized custom Berzebub Card quest (custom\quests\berzebub.txt)
* Warper bug on ma_fild02 fixed (bugreport:5908) (custom\warper.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16216 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:5911 Reflect Damage should now cancel when shield/guard is unequipped.
Fixed bugreport:4828 LG_PINPOINTATTACK should now only work with spears.
Fixed bugreport:5905 All heal support skill now can't work with Mado Gear.
Fixed other non Mado related skill that it should not work when Mado is equipped.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16217 54d463be-8e91-2dee-dedb-b68131a5f0ec
fixed portability issue. (As long as we support other compilers than MSC/ICC we have to check explicitly for compiler and not only on Platform ... )


git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16218 54d463be-8e91-2dee-dedb-b68131a5f0ec
cleaned up windows header usage (added one central file to use windows / winapi specific stuff, to be able to set the appropriate flags before including it correctly)

Note: this may screw up mingw or cygwin building,  ill fix it later... 



git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16219 54d463be-8e91-2dee-dedb-b68131a5f0ec
vc9/vc10: added reference to winapi.h in projects.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16220 54d463be-8e91-2dee-dedb-b68131a5f0ec
feature merge bs-coreoptimize->trunk: Atomic Operations, Threading, Spinlock  implemnetation. [commit 1/2, windows will followup]

- Added Abstractions for Atomic Operations (lock instructions.. windows guy's may now this as Interlocked* stuff ..)
- Added Threading api abstraction for Pthread based OS's and Windows
- Added Spinlock Implementation (uses CAS / if you need more informations - just read the source - its simple.)

- Due to Interlocked(Compare)Exchange64 .. we now require at least i686 (Pentium Pro) for 32Bit Builds :)
	youll also may feel some performance improvements when using 32bit builsd due to "newer" minimal arch
	the compiler is now able to use CMOV's ....


================================================================
= Important Warning: 
================================================================
Dont use threading at the moment athena is not threadsafe!
you'll mess up everthing when accessing data from other threads .., no synchronization is provided.

A way to process tasks asynchronously will come up after / with the new socket system.




git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16221 54d463be-8e91-2dee-dedb-b68131a5f0ec
VC9/VC10: followup for commit r16221 (threading / spinlock / atomic operations ..) 

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16222 54d463be-8e91-2dee-dedb-b68131a5f0ec
CMake: Add threads library.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16223 54d463be-8e91-2dee-dedb-b68131a5f0ec
cmake: followup for commit r16221 (fixed cmake build / added missing files)


git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16224 54d463be-8e91-2dee-dedb-b68131a5f0ec
thread api: added support for platforms without TLS (Thread Local Storage) support (usually older OSX llvm versions ..)


git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16226 54d463be-8e91-2dee-dedb-b68131a5f0ec
Adding new config min_npc_vending_distance which simulates the official 'no vending near npcs' feature. super mega credits to masao

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec
Modification de battle/player.conf