Commit Graph

80 Commits

Author SHA1 Message Date
Michael Lutz
3b86f54fc7 Fix: [OSX] .mm files are C++ files, not C files. 2019-04-06 11:27:39 +02:00
Patric Stout
72c5f2b3ee Remove: DOS support
In 10 years there was no active development on DOS. Although it
turned out to still work, the FPS was very bad. There is little
interest in the current community to look into this.

Further more, we like to switch to c++11 functions for threads,
which are not implemented by DJGPP, the only current compiler
for DOS.

Additionally, DOS is the only platform which does not support
networking. It is the reason we have tons of #ifdefs to support
disabling networking.

By removing DOS support, we can both use c++11 functions for threads,
and remove all the code related to disabling network. Sadly, this
means we have to see DOS go.

Of course, if you feel up for the task, simply revert this commit,
and implement stub c++11 functions for threads and stub functions
for networking. We are more than happy to accept such Pull Request.
2019-03-19 23:22:51 +01:00
frosch
39cda89e85
Add: Detect stable tags automatically, and set the 'stable' flag in '_openttd_newgrf_version' accordingly. (#7317) 2019-03-03 20:08:28 +01:00
Niels Martin Hansen
46d97239c4 Codechange: Include flag for whether a build is of a tagged revision 2019-02-12 21:32:43 +00:00
Niels Martin Hansen
0151fe998a Fix 5f8354f3: Non-Windows builds did not get correct git hash
Effect is that gamelog and network revisions indicate a git revision of 0, potentially causing issues.
2019-02-09 20:01:20 +01:00
Niels Martin Hansen
67c6f945fb Change: Include the full raw git revision hash in rev.cpp 2019-02-03 18:00:16 +01:00
glx
255fa6e1a8 Fix: enable DPI-awareness for MINGW builds 2019-01-25 16:59:41 +01:00
glx
ee84f98f1e Fix: deps calculation call could fail due to command line length 2019-01-16 19:27:06 +00:00
Patric Stout
0165fe1283
Codechange: remove endian_check in favour of __BYTE_ORDER macro (Rubidium) (#6762) 2018-04-29 19:01:28 +02:00
Patric Stout
85adde7485 Remove: PSP support 2018-04-29 15:32:16 +02:00
frosch
192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 2018-04-12 22:26:45 +02:00
rubidium
9a05a688a7 (svn r27558) -Fix: force sorting to be locale independent, so files are always ordered the same and by that token better diff-able 2016-05-11 18:39:18 +00:00
rubidium
6b3c1aa036 (svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP) 2014-01-02 08:35:45 +00:00
matthijs
aad9273248 (svn r25108) -Fix: Pass $LDFLAGS_BUILD to all endian_check compilations.
- In Makefile.{lang,setting}.in the flags were already passed since r24365.
2013-03-18 14:45:06 +00:00
matthijs
cf58d5d12c (svn r23908) -Fix (r22910): [Makefile] Make sure bin/baseset/openttd.32.bmp is removed on make clean. 2012-02-07 10:09:09 +00:00
rubidium
4f62472fd9 (svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client.
Previously this check was not done for nightlies/betas/RCs due to missing versioning information in the source tarballs, but they have that for a while now. So just force the NewGRF version check for all versions, and remove the broken --revision configure option
2012-01-17 17:27:38 +00:00
rubidium
79b82b56a8 (svn r23220) -Change: move the baseset files to their new location 2011-11-14 21:38:36 +00:00
smatz
d61b90ac6f (svn r23197) -Fix: -Wno-narrowing didn't have any effect anymore 2011-11-12 10:26:37 +00:00
rubidium
39eaf0e10d (svn r22913) -Fix [OSX]: make splash work again and make it work without needing to bundle it first 2011-09-09 20:28:48 +00:00
rubidium
bffa93a4e9 (svn r22910) -Fix [FS#4617]: icon would (almost) never be shown for SDL builds 2011-09-09 09:13:18 +00:00
rubidium
ba28937b3d (svn r22195) -Fix (r22188): make sure makedep picks up the newly generated settings.h so settings.cpp gets recompiled when needed 2011-03-05 10:13:14 +00:00
glx
7f54c59a66 (svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too 2011-03-04 22:34:10 +00:00
smatz
c986325763 (svn r21662) -Codechange: use -flto=jobserver for GCC 4.6, it makes linking with LTO use number of processes passed to make -j 2010-12-29 20:46:35 +00:00
smatz
4a2efd136e (svn r21606) -Fix (r14636): DOS binary was broken when not stripping 2010-12-23 11:02:47 +00:00
rubidium
21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
rubidium
151ac000b0 (svn r18427) -Fix (r18423): ofcourse that broke the GCC build... not determining 'inclusion' using the relative path from the .rc that has the 'include' but from the include directories... how useful/sensible is that? 2009-12-07 20:22:33 +00:00
smatz
434693b838 (svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0 2009-09-07 21:01:24 +00:00
smatz
6e3591700f (svn r17454) -Codechange: some alignment in Makefile*.in 2009-09-07 13:33:45 +00:00
rubidium
bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 2009-08-31 22:38:37 +00:00
glx
bf82142053 (svn r17250) -Fix (r17249): I forgot depend.exe was affected too 2009-08-21 21:28:59 +00:00
rubidium
7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
82105604c3 (svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there 2009-08-18 17:49:28 +00:00
rubidium
464ae63996 (svn r16624) -Fix: depend was compiled with the same compiler as the OpenTTD binary, causing depend to silently fail during cross-compiles 2009-06-22 20:33:15 +00:00
rubidium
952f740866 (svn r16623) -Change: remove CC_CFLAGS as we're not using a C compiler anywhere at all 2009-06-22 20:22:04 +00:00
smatz
c03ce4b1c7 (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
glx
118d444be2 (svn r16443) -Fix: running 'make depend' after 'configure' in a fresh checkout failed 2009-05-26 23:05:11 +00:00
rubidium
4033f786bd (svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When calling external binaries it resolves paths which causes comparisons between a resolved and unresolved path. So always use the resolved path instead of the unresolved one. 2009-05-24 17:34:39 +00:00
rubidium
a34d5bb6ab (svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
glx
b3a539b016 (svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend. 2009-05-14 21:59:24 +00:00
rubidium
364e2a110d (svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h. 2009-02-04 23:40:01 +00:00
truebrain
a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
truebrain
00b3d6f923 (svn r14856) -Fix: allow 'makedepend' to find header files in the lang-obj-dir 2009-01-06 00:48:19 +00:00
rubidium
a614dd7174 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
smatz
14d8689e66 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
skidd13
5b8af7db3b (svn r14443) -Change: Unify the delimiters used in config* and make* 2008-10-06 17:05:44 +00:00
matthijs
157b625263 (svn r14272) -Fix [Makefile]: Always pass an explicit delimiter to the "cut" command, in
case there are platforms where tab is not the default.
2008-09-08 06:27:08 +00:00
matthijs
6cf61714ca (svn r14261) -Change [Makefile]: Move the revision detection code from Makefile.src.in to a
new bash script findversion.sh. This commit should have no functional changes.
2008-09-07 13:24:49 +00:00
truebrain
72f86fe801 (svn r14255) -Fix [configure]: remove the requirement to have a recent enough 'grep' which understands -m. Instead, use 'head -n 1' which is more common available 2008-09-06 12:54:11 +00:00
truebrain
2f350316b6 (svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;)) 2008-09-04 19:15:52 +00:00
glx
bb92a7ab08 (svn r14194) -Fix: don't use hardcoded character offsets to get hg revision. This make it similar to svn and git (ie without the ':'). 2008-08-30 13:15:36 +00:00