Fix windows paths.
Windows portable icon by forum member Duda.
Portable header & welcome images from forum member Aubergine.
Image fixes supplied by Berg.
Note: In configure stage (Windows only!), you can specify --enable-portable [default no] to
create a portable installer. (That is, everything is self-contained in the directory
you install Warzone 2100 to. It will *not* use any other directory on the system.)
If you pass --with-videos [default no], then it will add the videos with the portable
installer and looks for the video file in \opt\sequences.wz
FIXME: Need: RUSSIAN, GERMAN, DUTCH, tranlations fixes for the warzone2100.nsi file.
Fixes both MSVC and autotools (automake 1.12+).
Revert "Abort autogen.sh when automake 1.12+ is found."
This reverts commit 978ed8f1f9.
Should now work with automake 1.11+
fixes ticket:3887
fixes ticket:3538
closes ticket:3950
Note:
Highly recommend to use STLport, (www.stlport.org). MS's version is too slow.
Qt finally released libs for 2010, but I have no idea if they compile with openSSL support,
which is REQUIRED at the time I write this, so you need to build Qt with SSL support yourself
if the pre-built don't support it.
Don't forget to setup the environment variable QTDIR correctly when using Qt builds!
Hack note: configuration type of 'utility' was needed to pick which lib to link to--yes, that is lame,
but I see no other fix for now.
Default builds are set for SDL.
VS2k5 (no longer supported with platform SDK)& VS2k8 are NOT supported anymore.
Redo other aspects as well in preparation of moving libs out of the main codebase.
NOTE: You *must* have msysgit installed, and it should be in your system path,
or you can modify the local property sheet to point to it.
This is needed to generate the autorevision.h file, (that fix is next)
Use VS2k5 project files to convert to VS2k8 or VS2k10.
NOTE: If you are using VS2K10, you *MUST* recompile all libs in the devpackage, or it will not work.
At this time, I am currently keeping VS2k5 files up-to-date.
Fixes ticket:2448. Fixes ticket:2451. Fixes ticket:2452.
Broken compiler i586-mingw32msvc-g++ version 4.4.2 and version 4.4.4.
With -O0 -fstack-protector and i586-mingw32msvc-g++ version 4.4.4, theCompilerWorks() returns false.
struct TheCompilerWorks
{
TheCompilerWorks() {} // Does absolutely nothing.
~TheCompilerWorks() {} // Does absolutely nothing.
char unusedArray[340]; // Unused.
};
bool theCompilerWorks() // This function unconditionally returns true, since there's nothing else it could possibly do... Unless cross-compiling with -O0 -fstack-protector, of course.
{
TheCompilerWorks harmlessObject; // Unused variable, and no side effects whatsoever.
printf("%s", ""); // Do nothing.
return true; // Return true.
}
Fixed gameTime → realTime in lib/framework/wzapp.cpp, since the menus were messed up due to interpreting everything as a double-click.
Conflicts:
lib/framework/debug.c
lib/framework/input.c (became wzapp.cpp)
lib/ivis_opengl/screen.c
lib/ivis_opengl/screen.h
lib/ivis_opengl/textdraw.c
macosx/Warzone.xcodeproj/project.pbxproj (used qt version)
src/display.c
src/main.cpp
src/terrain.c