Create branch cli

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@255 6bf4c471-38eb-e68a-c41c-03d6165592e0
MS defines some arcane functions like _itoa_s which are not in the standard.
Using the deprecated version itoa is quite equivalent, but even worse for compability.

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@256 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIXME: unused variables

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@257 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIX: use ld for long decimals

might not work on MSVC++

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@258 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIX: correct format string for pointer is %p, they are printed in hex anyway

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@259 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIX: More braces for readability

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@260 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIXME: I am not certain what this code is intended to do, but it reeks of fail.

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@261 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIXME: double include of <windows.h>

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@262 6bf4c471-38eb-e68a-c41c-03d6165592e0
FIX: I suppose process.h is a windows header, thus it should be included with <> instead of ""

Conflicts:

	src/EXE/simulate.h

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@263 6bf4c471-38eb-e68a-c41c-03d6165592e0
warn about charset, fix path names

- on windows the charset windows-1251 is used, however that charset is not recommended anymore. most unix systems assume ascii or utf by default, hence a short notice on top is usefull
- directory seperator is \ on windows, but / on unix

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@264 6bf4c471-38eb-e68a-c41c-03d6165592e0
added newline at end of file

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@265 6bf4c471-38eb-e68a-c41c-03d6165592e0
charset, include for rand

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@266 6bf4c471-38eb-e68a-c41c-03d6165592e0
apparently the windows c++ compiler is way too careless?

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@267 6bf4c471-38eb-e68a-c41c-03d6165592e0
assertion macro for linux

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@268 6bf4c471-38eb-e68a-c41c-03d6165592e0
newline at end of file

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@269 6bf4c471-38eb-e68a-c41c-03d6165592e0
use c++ constructors

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@270 6bf4c471-38eb-e68a-c41c-03d6165592e0
many compatibilty functions between normal c++ and MS c++

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@271 6bf4c471-38eb-e68a-c41c-03d6165592e0
remove references because they just don't work this way

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@272 6bf4c471-38eb-e68a-c41c-03d6165592e0
trying to do threading under posix

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@273 6bf4c471-38eb-e68a-c41c-03d6165592e0
I'm not 100% certain why the previous version was wrong... but well this one seems to be correct.

git-svn-id: https://evaluatedecks.googlecode.com/svn/branches/cli@274 6bf4c471-38eb-e68a-c41c-03d6165592e0