Commit Graph

49 Commits (016f626cbe5e10e0291f28d6b16b4057ba6c9975)

Author SHA1 Message Date
Günther Brammer 9a7fe0d8dc autotools: Remove broken fmod support
You can still use CMake for that. Or switch to SDL_mixer or OpenAL.
2012-11-18 21:15:19 +01:00
Günther Brammer 4dffefe8c9 X11: Remove support for the xf86vidmode extension
In practice, only the xrandr code path received any testing. Since Clonk
works fine without changing the resolution, this will not terribly
inconvenience anybody still stuck on old systems without xrandr.

Also only minimize the window when the resolution was changed.
The minimization is there to prevent accidental focus restoration
resulting in unwanted resolution switching.
2012-11-17 18:07:37 +01:00
Günther Brammer 068b58e01b autotools: Add nullptr, static_assert and dbghelp tests 2012-11-17 22:35:42 +01:00
Günther Brammer a8dfeeaf7e win32: Make USE_CONSOLE compile again
There's even a plausible implementation of CStdInProc::GetEvent.
2012-11-15 23:01:24 +01:00
Günther Brammer 40c86b8a34 autotools: Sync with CMakeLists.txt 2012-10-21 15:50:39 +02:00
Günther Brammer 032baa5dd6 autotools: configure.ac reads the version from Version.txt 2012-08-07 20:45:37 +02:00
Günther Brammer 06cb8b595d win32: Remove obsolete #include multimon.h
multimon.h was only needed for compatibility with Windows 95.
2012-07-18 03:40:19 +02:00
Günther Brammer f611a219fc Autotools: run AC_PROG_OBJCXX unconditionally to appease automake 1.12 2012-06-21 18:07:08 +02:00
Nicolas Hake e68f83f02b Autotools: Add ASLR/DEP flags to LDADD 2012-06-08 13:31:21 +02:00
Günther Brammer 7011a67e34 autotools: Use AC_CONFIG_HEADERS instead of the now undocumented AC_CONFIG_HEADER synonym 2012-05-05 23:48:31 +02:00
Günther Brammer 1a29f8625d Reorder engine source file organization a bit
This mostly consists of flattening the hierarchy, splitting the
graphics stuff out of platform, and a few smaller cleanups.
2012-04-27 19:04:43 +02:00
Günther Brammer 40de33ca3c win32: Make sdl-mainloop option work
As it doesn't have the editor, this is only useful for compiling
more of our code on more platforms.
2012-03-23 22:53:56 +01:00
Günther Brammer 5c235cc23e Savegames: Fix loading of global variables (#726)
The global variables ended up with the temporary name list created during
load that didn't necessarily contain all variables or even in the right
order. As far as I can tell, this happened since 2005, but nobody noticed
because the list of global variables didn't tend to change between save and
load.
2012-03-10 22:45:42 +01:00
Günther Brammer a9e1af7226 unix: Use clock_gettime(CLOCK_MONOTONIC, ...) instead of gettimeofday
gettimeofday returns wall clock time, which can jump around, which is bad for
our purposes. clock_gettime(CLOCK_MONOTONIC, ...) does exactly what we need - a
stable measurement of time since an arbitrary point.
2011-06-27 01:52:39 +02:00
Günther Brammer 7e8deec201 autotools: UPnP 2012-01-27 01:42:37 +01:00
Günther Brammer 29ff51b16d Remove the remaining remnants of OpenSSL usage
OpenSSL sure has many names - libssl, libcrypto, libeay32, possibly more.
2011-11-03 00:37:07 +01:00
Günther Brammer b911630578 Replace OpenSSL SHA1 implementation with one copied from boost/uuid
Although the code already uses boost, boost/uuid hides the sha1
implementation in a deeply nested namespace, which is just too bizarre to
use. Also the name of that namespace suggests that it is just an
implementation detail that could go away without notice.
2011-01-10 21:30:40 +01:00
Günther Brammer 7f36c3435c autotools: Pack and install groups 2011-06-27 01:56:07 +02:00
Nicolas Hake fe747db554 Clean up copyright notices
Use real names for copyright attribution wherever they are known,
drop duplicates
2011-09-01 12:47:54 +02:00
Günther Brammer 43cde4b1ea autotools: Update for recent autoconf and autoconf macro archive versions 2011-08-10 01:13:23 +02:00
Günther Brammer 273acfff80 win32: Make vfw32 optional
The features it was used for are very seldomly used, and some build
environments don't have the import library.
2011-05-12 17:13:38 +02:00
Günther Brammer fe1ea5c5a3 linux: remove inotify support on glibc < 2.4 2011-03-17 02:33:56 +01:00
Günther Brammer cacceef1c6 linux: use eventfd for CStdNotifyProc 2011-03-17 02:26:37 +01:00
Günther Brammer 8036211c30 linux: Use timerfd instead of poll timeouts 2011-03-15 17:27:10 +01:00
Günther Brammer f4690a9ae7 autotools: Check for sys/file.h 2011-03-03 23:47:25 +01:00
Günther Brammer 76370cb0ec gtk: Fixes for newer GTK+ 3 versions 2011-01-24 01:06:34 +01:00
Armin Burgmeier 1967d914c2 Add a compile-time option to disable automatic update 2010-12-26 21:39:52 +01:00
Günther Brammer 00c7517866 autotools: compensate for version removal 2010-10-02 20:06:45 +02:00
Martin Plicht 243e20bdf6 Add OpenAL implementation of C4SoundSystem
With an Ogg Vorbis loader using libvorbis and a .wav loader using a macosx
API.

Günther: Add autotools support
2010-09-26 02:36:35 +02:00
Günther Brammer 8039aa087c Autotools: Check for boost in configure 2010-09-22 16:43:26 +02:00
Günther Brammer c01422d3ce autotools: Also check for the backtrace function before using execinfo.h
Also, install the crash handler even without backtrace. That way, at least
the signal name gets written to the log.
2010-03-19 02:23:20 +01:00
Günther Brammer a16df97a95 Various cleanups in the platform code 2010-02-16 02:54:02 +01:00
Armin Burgmeier e2fb07a14b Add AM_SILENT_RULES 2010-01-05 14:27:44 +01:00
Günther Brammer 31f00312e2 autotools: Only require AC_PROG_OBJCXX for configure scripts for macosx
So if somebody wanted to create a configure script that should run on macosx,
he'd have to ensure manually that the autoconf version used is new enough.

Still way better than requiring a very recent autoconf for anybody compiling
from version control, though.
2010-01-03 00:50:05 +01:00
Günther Brammer f33a49eb78 Autotools: Update pthread detection macro 2009-12-31 03:20:15 +01:00
Günther Brammer c03a6cc96b Autotools: macosx support 2009-12-31 03:16:39 +01:00
Günther Brammer 6e4e0f794c autotools: Make --with-gtk the default if GTK+ is installed
Also update the readmes.
2009-08-22 15:31:30 +02:00
Günther Brammer 179097d389 Build fixes
glew needs opengl32 on windows, and c4group needs zlib.
2009-08-15 21:55:26 +02:00
Günther Brammer 572d00c32e Move all source files
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00
Günther Brammer cec561796b Fix build with gcc and/or autotools and/or mingw 2009-07-20 22:29:48 +02:00
Günther Brammer 399ea170ac Revert "Removed autotools and anjuta build files"
CMake does not support anjuta, so I still need those. We should probably share the file
lists, though.
2009-07-13 21:24:30 +02:00
Nicolas Hake 21d714bb93 Removed autotools and anjuta build files 2009-07-11 01:46:50 +02:00
Günther Brammer b0ceb97f5a Automake: Remove subdir-objects to significantly speed up compile time 2009-06-12 20:53:12 +02:00
Günther Brammer 0df36691fb configure: Always try to switch to C++0x mode
This means that ./configure should work without any arguments for most
users.
2009-05-14 01:59:39 +02:00
Günther Brammer 4c897d7ac1 Mingw: Add -DGLEW_STATIC, assuming that everyone will use a static glew
When somebody figures out how to link to the dynamic one, this will have
to be revisited.
2009-05-14 01:57:50 +02:00
Günther Brammer 12b90ef48d Mingw: Link directly with libz 2009-05-12 18:38:33 +02:00
Günther Brammer aab74094a4 configure: default to no sound on win32
Later this should be replaced by a check for fmod or sdl_mixer.
This also fixes glew and sdl_mainloop detection.
2009-05-10 01:39:04 +02:00
Günther Brammer 4f811263fb Update autotools build to not require library copies 2009-05-08 20:56:43 +02:00
Nicolas Hake 0f050f0343 Import source 2009-05-08 15:28:41 +02:00