Reworked mapc+no SDL+no i18n and neverball/neverputt+SDL+i18n distinction.
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 23 Dec 2007 23:56:08 +0000 (23:56 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 23 Dec 2007 23:56:08 +0000 (23:56 +0000)
commit437d96ba91cd831c91c6635d2a897a41a79ec0a6
treef8a129f0d9f6ec29254f331defc51e1e4086bfaa
parent4d7516c933e1dcdf58ddf0be3e91c6f044c80003
Reworked mapc+no SDL+no i18n and neverball/neverputt+SDL+i18n distinction.

  * Removed unneeded headers from the "core" modules.

  Most importantly, moved lang.h  from base_config.h to config.h. Thus
  the core  modules (shared  across all apps)  and mapc  couldn't care
  less about whether they are built with  ENABLE_NLS set to 1 or 0. No
  hybrid builds should result.

  * Added back 'main' un-definition, this time in the Makefile.

  MinGW's 'sdl-config  --cflags' outputs  -Dmain=SDL_main in  order to
  allow  SDL  do  initialisation  and  other  Windows  magic  for  the
  so-called GUI apps, including  standard output redirection to files.
  We don't want  this for mapc, though. (And it  won't work anyway, if
  we do not link with 'sdl-config --libs'.)

git-svn-id: https://s.snth.net/svn/neverball/trunk@1285 78b8d119-cf0a-0410-b17c-f493084dd1d7
Makefile
share/base_config.c
share/base_config.h
share/base_image.c
share/base_image.h
share/binary.c
share/config.h
share/mapc.c
share/solid.c