tron
6b40512a3c
(svn r4076) Back out r4074. It doesn't work and leads to make endlessly calling itself. NOTE: Delete Makefile.config to recover.
2006-03-24 06:40:49 +00:00
bjarni
41f4c473da
(svn r4074) -Feature: [Makefile] the makefile can now detect if iconv is present in the system
...
if detected, WITH_ICONV will be defined in the C code
WITH_ICONV is also added to Makefile.config
OSX do not use this flag setting in Makefile.config, as it is set at compile time based on target OS version
the actual C code is not changed as the current iconv code is hardcoded for OSX and would break if any other OS got iconv
This detection system is by request of Darkvater
2006-03-23 23:54:43 +00:00
bjarni
e271479136
(svn r4061) -Codechange: [OSX] removed some long dead flags for universal binary building and removed an absolute path for hdiutil (I don't thin anybody will have it at a non-default place, but still)
2006-03-23 13:40:33 +00:00
bjarni
15f72ab7f4
(svn r4060) -Codechange: [OSX] made the release target (in os/macosx/Makefile) easier to use since it gives the release disk image the right name automatically
...
it now uses REV instead of RELEASE, which means RELEASE is not needed to be set manaully anymore
it also automatically adds "-jaguar" when making a build aimed at OSX 10.2 (codenamed jaguar)
2006-03-23 13:29:58 +00:00
matthijs
44aa29a005
(svn r4033) - Codechange: [Debian] Update debian packaging files to use debconf for user interaction.
2006-03-22 21:08:05 +00:00
bjarni
14b12efa4a
(svn r4019) -Fix: [OSX] stopped using iconv for 10.2.8, since it was added in 10.3
...
this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
2006-03-22 13:06:50 +00:00
bjarni
38569fe229
(svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY
2006-03-15 14:11:17 +00:00
bjarni
3ebc41c9fe
(svn r3882) -Codechange: [OSX] changed the way universal and tripple binaries are build
...
Instead of compiling a binary for each arch and then join them in the end, each .o file is now compiled as a fat file
This means that the makefile will not call itself to make a binary for each target and we don't have to make clean between each build
it also means that if one file changed, we don't have to recompile all files
Another benefit is since it's handled at .o level and though LDFLAGS, no special code is needed if we decide to compile more binaries (like a lot of stuff used to happen at post linking)
We also needs much less flags to set up, so it should be even easier to get to work out of the box now
The tradeoff in doing so is that now the binary needs at least OSX 10.3.9 to execute
To deal with this issue, the JAGUAR flag can be used to compile for older OSes. We will release a binary for old OSes at next release to see if anybody even downloads it (not that many people use OSX 10.2 anymore)
GPMI will not work on 10.2 anyway so we will cut support for it some day anyway
2006-03-15 14:03:09 +00:00
matthijs
13cadd18df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
...
* Fix a small debconf issue which was in the 0.4.5 release.
2006-03-08 23:12:38 +00:00
tron
6305db895e
(svn r3745) Fix two buffer overflows, one case of undefined behavior (the destination buffer of sprintf() may not alias with one of its arguments) and some other minor stuff introduced in r3740
2006-03-03 07:51:41 +00:00
bjarni
a8a8cf7b56
(svn r3740) -Feature: [OSX] added OS version, CPU type and newGRF settings to assert window and a message to tell people to add that to a bug report
...
It also adds a new error window, which can be used just like assert, but it is also active when asserts are turned off
This is useful for places where it's really important to check even if assert is turned off. It's not used in the code yet
2006-03-02 21:43:09 +00:00
bjarni
301f91c71c
(svn r3682) -Fix: didn't write $ correct in G5_detector in r3673, which caused problems for tortoisesvn
2006-02-27 19:49:53 +00:00
bjarni
569b1939c6
(svn r3679) -Fix: [OSX] fixed warning introduced in r3670 about permission denied in G5_detector.c when compiling without having Makefile.config
2006-02-27 16:58:26 +00:00
bjarni
04f072c3c1
(svn r3676) -Change: [OSX] changed info about package to how to install the game
...
the package is long gone and people don't read a doc about a missing package when they don't expect to find one
the doc is called install even though it's not a real install and have nothing to do with make install. People just read it the first time they see it when it's called install ;)
2006-02-26 19:02:09 +00:00
bjarni
419bd4fb89
(svn r3675) -Fix: [OSX] made the default gcc names for building universal binaries into the newest gcc for each target instead of hardcoding it for 4.0.0
2006-02-25 22:03:30 +00:00
bjarni
b764f8d676
(svn r3674) -Feature: [OSX] Added support for tripple binaries (binaries optimised for G3, G5 and i686)
...
G4 have no problems using G3 code while G5 can, but really benefit from getting their own optimised code (Apple: G5 is not just a fast G4)
Also changed FAT_BINARY to UNIVERSAL_BINARY since Apple removed most (all?) references to fat binaries on their homepage two days after I added FAT_BINARY
2006-02-25 21:25:23 +00:00
bjarni
8e7c2555fe
(svn r3673) -Codechange: [OSX] changed the makefile to autodetect if it compiles on G5 and then adds flags to optimise for G5
...
This will not interfere with crosscompiling or universal binaries
2006-02-25 18:11:11 +00:00
bjarni
8744075a6c
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
...
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion
while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result
Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
2006-02-12 14:31:33 +00:00
peter1138
49e51cf27f
(svn r3512) Yet more whitespace fixes (mostly by Rubidium)
2006-02-01 09:08:25 +00:00
Darkvater
b3e08febc6
(svn r3502) - Update appropiate files with release information for 0.4.5
2006-01-31 22:26:00 +00:00
peter1138
68fb066a64
(svn r3395) Add Id tag (and svn property) to macosx files.
2006-01-12 11:20:41 +00:00
bjarni
db3d226c52
(svn r3383) -Code cleanup: [OSX] removed SDL support from FAT binaries as it caused problems for non-SDL builds
...
FAT binaries now need to rely on COCOA drivers. SDL didn't work properly anyway
2006-01-07 13:13:49 +00:00
bjarni
a8a2b93df5
(svn r3382) -Feature: [OSX] added the flag JAGUAR to crosscompile for OSX 10.2.8 on 10.4
2006-01-07 12:53:57 +00:00
truelight
a1f8309453
(svn r3375) -Add: [ FS#29 ] show an error dialog for OSX cocoa driver (egladil)
2006-01-06 21:27:44 +00:00
Darkvater
a5678b9700
(svn r3324) - Codechange: set native eol-style on missing files not yet set so
2005-12-20 21:59:34 +00:00
bjarni
1adc1738f7
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
2005-12-10 23:03:59 +00:00
bjarni
50a1e16943
(svn r3281) -Feature: [OSX] added native cocoa sound and video drivers (egladil)
...
you can still use SDL drivers if you like and you have to run "make upgradeconf" to start using the cocoa drivers (or manually write WITH_COCOA:=1)
since SDL breaks the cocoa drivers, you can't compile with both SDL and cocoa support
Using cocoa drivers makes it easier to make universal binaries and it solves:
-FS#18 [OSX] SDL is weird in universal binaries
-FS#2 [OSX] lazy pointer crash on exit
-FS#10 [OSX] linking error when linking statically to SDL 1.2.8 (needless to explain this, but it means it should be able to compile statically with the default settings now)
-[ 1215073 ] Switching to large size out of fullscreen crashes
Using SDL drivers will still have those issues though
2005-12-10 11:16:45 +00:00
bjarni
3923eab424
(svn r3276) reverted the last two commits. OSX 10.2 kept finding new stuff to prevent it from running OpenTTD, so now it's not supported anymore
2005-12-09 13:17:31 +00:00
bjarni
073aae307e
(svn r3275) -Fix: [OSX] removed libpng support and error dialogs from jaguar crosscompiles to fix crash
2005-12-09 13:07:21 +00:00
bjarni
98ef748715
(svn r3274) -Fix: [OSX] added JAGUAR flag to crosscompile for OSX 10.2 (codenamed jaguar)
...
JAGUAR and FAT_BINARY can't be used at the same time
JAGUAR will disable network support due to missing libs in 10.2
2005-12-09 12:15:52 +00:00
bjarni
79b76e2397
(svn r3273) -Fix: [OSX] PPC part of universal binaries now target 10.3 instead of 10.4
...
10.2 support appears to be broken right now
Changed BUILD_UNIVERSAL_BINARY into FAT_BINARY (I got tired of typing)
2005-12-09 11:08:24 +00:00
bjarni
967abb24e4
(svn r3267) -Codechange: [OSX] universal binary makefile code cleanup
...
now PPC code is always compiled before x86 code
strgen and lng files are only compiled once, which results in shorter building time
the makefile now assigns default values to undefined values so much less needs to be set up
the code is now easier to maintain
2005-12-06 22:09:28 +00:00
bjarni
c2153e7419
(svn r3262) -Fix: [OSX] universal binaries can now include the dynamic SDL lib into the bundle
2005-12-06 09:27:42 +00:00
bjarni
cfc4753ba6
(svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundle
2005-12-04 22:43:40 +00:00
bjarni
e273fe2f33
(svn r3258) -Feature: [OSX] added support for universal binaries
...
it needs both PPC and x86 libs to compile
due to this fact, compilation with libPNG or SDL is not tested (dedicated servers only)
only PPC part is tested as I don't have x86 OSX
2005-12-04 17:36:19 +00:00
bjarni
4550c2361d
(svn r3257) -Codechange: [OSX] removed the dynamic lib in bundle option (introduced in rev 3230)
...
it caused way more problems than it solved
2005-12-03 13:43:54 +00:00
bjarni
16625f4db1
(svn r3256) -Fix: [OSX] fixed issue where building the bundle could take place before linking if -j 2 was used
2005-12-03 10:36:23 +00:00
bjarni
97b3afe9ae
(svn r3230) -Feature: [OSX] OSX builds can now change where it searches for dynamic libs and can move libs into the bundle
...
This is not a fix for the issues with static linking, more like a workaround. Static linking still got issues
Apple recommends to use dynamic linking anyway, so I guess this doesn't matter much
2005-11-23 12:21:54 +00:00
orudge
39ba8235b2
(svn r3175) - Updated OS/2 project file to include station_newgrf.c
2005-11-13 18:07:45 +00:00
bjarni
a949e6d3d0
(svn r3031) forgot 1 file and two lines in rev 3029 (mac midi stuff)
2005-10-11 16:40:56 +00:00
bjarni
4eb7a0ac6b
(svn r3029) -Change: [OSX] removed the buggy java midi player, which was rendered obsolite by r3022
2005-10-10 15:22:47 +00:00
orudge
6bf8644d29
(svn r2928) - Update OS/2 project with AI file changes
2005-09-09 15:49:46 +00:00
Darkvater
acf442102a
(svn r2905) fix casing
2005-09-01 21:19:48 +00:00
Darkvater
bb05a9a504
(svn r2904) Stupid editors, and renaming files with the same name just different casing is not really possible, so here comes another commit
2005-09-01 21:19:07 +00:00
tron
c7a6af38fe
(svn r2882) Some fixes for MorphOS (by tokai)
...
- Don't track dependencies on system headers
- Add an include path
- Silence a warning regarding a bad signal prototype
- Remove executable flag from pictures
- Add proper OTTD icon
2005-08-21 10:44:57 +00:00
orudge
334c4e33f0
(svn r2869) - Update Watcom project with gfxinit.c
2005-08-15 11:54:42 +00:00
orudge
e982a24344
(svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal
2005-07-31 13:23:43 +00:00
bjarni
6488c2cba0
(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen
...
- it appeared to cause problems and strgen don't need a GUI
- renamed ottd to openttd in the app menu (Tobin)
2005-07-29 09:45:25 +00:00
bjarni
7e25cd6240
(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)
2005-07-28 21:47:41 +00:00
bjarni
f1c254befa
(svn r2703) - Feature: [OSX] Added a native alert window to show whatever error() needs to print (Tobin made this, while I fixed some issued in it)
...
- As a bonus, we now have an objective C file (os/macosx/macos.m) to use the functions Apple made to interact with OS stuff
2005-07-24 20:47:42 +00:00
orudge
369b36f6b1
(svn r2695) - Fix: OS/2 project update, add os2.h to dedicated_v.c
2005-07-23 19:00:56 +00:00
orudge
b7d4beb440
(svn r2689) - Split OS/2 music driver into os2_m.c, update project file
2005-07-23 16:08:05 +00:00
tron
126fed74d6
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
...
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
2005-07-23 15:16:57 +00:00
orudge
2838934486
(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing!
2005-07-22 16:14:24 +00:00
matthijs
9d61f5efe8
(svn r2446) * Made os/debian/rules executable.
2005-06-16 01:25:01 +00:00
Darkvater
a8601e9f40
(svn r2398) - CodeChange: forgot to update unix and os2 specific files as well.
2005-06-02 19:39:29 +00:00
matthijs
457434ea59
(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified.
...
This fix solves the issue for now by installing scenarios in the system-wide data dir.
- Add: 32x32 xpm format icon, used for debian packaging.
- Some minor updates to the os/debian directory.
2005-05-28 10:32:09 +00:00
orudge
b0d2af22e4
(svn r2357) Small OS/2 update
2005-05-21 21:30:13 +00:00
Darkvater
4a44ac3d84
(svn r2353) - Prepare windows installer for 0.4.0.1
2005-05-21 15:18:20 +00:00
Darkvater
299d470f10
(svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall
2005-05-17 20:59:29 +00:00
Darkvater
d006bd358f
(svn r2325) - Update OpenTTD for 0.4.0 release
2005-05-15 21:50:26 +00:00
truelight
b195b77906
(svn r2224) -Fix: capital-correctness for OSX-dir-names
2005-04-24 12:47:09 +00:00
bjarni
9bd93a1148
(svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself MacOSX porter as well as coder
2005-04-14 20:42:30 +00:00
pasky
f4ee2c2711
(svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge)
2005-03-26 18:12:58 +00:00
Darkvater
2e0a7aef22
(svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge)
2005-03-25 18:04:04 +00:00
darkvater
f0cd2845d9
(svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2
2005-03-25 15:30:51 +00:00
Celestar
327261f8fe
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
2005-03-19 23:23:56 +00:00
celestar
6f41ecfe9e
(svn r2029) -Fix: Added files I forgot to svn add the previous commit
2005-03-19 22:41:55 +00:00
celestar
2c1d712268
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
2005-03-19 22:36:13 +00:00
darkvater
bf895a03d2
(svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge)
2005-03-15 12:21:15 +00:00
tron
7cac482a73
(svn r1805) Teach the driver layer a few things about const correctness
2005-02-05 18:05:42 +00:00
darkvater
c8ca8130bd
(svn r1732) - Change: [OS/2] [ 1112148 ] Project file update (orudge)
2005-01-30 16:00:37 +00:00
darkvater
d2f28208cc
(svn r1719) - Fix: [installer] fix some installer problems mainly for DOS files as well as beautify it a little
...
- Fix: corrected newlinetype of tile.c
2005-01-29 16:47:19 +00:00
darkvater
f564fa528f
(svn r1668) -Fixed windows installer (autorail.grf) and a changelog typo
2005-01-25 15:43:27 +00:00
dominik
f754f932b8
(svn r1660) Added scenarios to Mandrakelinux specs file
2005-01-24 23:58:12 +00:00
darkvater
e9364f60a9
(svn r1658) -Update readme and windows installer for 0.3.6
...
-Fix up VS6 and add new default icon for OpenTTD
2005-01-24 23:44:24 +00:00
matthijs
e0389c48b7
(svn r1650) - Added known-bugs.txt to os/debian/docs
2005-01-24 21:51:06 +00:00
dominik
2ca1807242
(svn r1645) Updated Mandrakelinux spec file and added some ScummVMish comments
2005-01-24 20:35:07 +00:00
matthijs
dd712f31fd
(svn r1644) - Some minor corrections to the os/debian dir.
2005-01-24 20:33:43 +00:00
bjarni
10ebe309b3
(svn r1600) Mac: applied the new icon to the mac binary file
2005-01-22 23:55:45 +00:00
bjarni
aaf3bcb91f
(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
2005-01-18 23:48:55 +00:00
truelight
4528410053
(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
2005-01-07 09:28:16 +00:00
truelight
c097a788ee
(svn r1399) -Fix: Fixes for compiling with Watcom C/C++ (ie, OS/2 port). (orudge)
...
Note: If people could watch out for initialising structs with
*non-constants* in future... it's a bit annoying, I
know, but Open Watcom isn't the only compiler which
doesn't support this (yet) - Borland, for example,
still doesn't like it.
2005-01-06 15:57:26 +00:00
darkvater
3dd82d576b
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
...
-Fix: the level land icon no longer flashes (was palette colour)
2005-01-02 21:52:21 +00:00
truelight
36fb04215e
(svn r1282) -Fix: forget 2 files for the OS/2 patch. And forgot to add:
...
patch by Orudge, great job!!
2004-12-27 13:40:30 +00:00
truelight
fe16ef6637
(svn r1281) -Fix: the OS/2 is now finished. Fixes:
...
- Networking
- File selector issue
- Keyboard input
- Dedicated server console issue (use dedicated.cmd to open a server)
- Plus many other minor issues
2004-12-27 10:40:04 +00:00
darkvater
9cd50c54fa
(svn r1271) -Fix: set eol-style to native on missing files
...
-Added known_bugs file with open bugs on SF..should be included with installer
-Updated installer for 0.3.5
2004-12-24 00:00:10 +00:00
truelight
4395293d9f
(svn r1249) -Fix: new files in the last commit had double content
2004-12-23 15:08:53 +00:00
truelight
dfc5fdbb92
(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)
...
Works fine, beside some minor stuff:
- Network is not working yet
- Keyboard is not working
- No MIDI support
- 'A few file selector bugs involving drives'
2004-12-23 14:46:16 +00:00
bjarni
a92dc63ec9
(svn r1236) MorphOS: added make release like in OSX (tokai)
...
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
2004-12-22 21:12:36 +00:00
matthijs
38edb9a1fc
(svn r1118) * Added a minimal manpage with references to where to get real info
...
* Specified installation locations in the os/debian/rules script so it works now.
2004-12-15 22:46:53 +00:00
dominik
ea8af47049
(svn r1021) Updated Spec file for Linux RPM release builds
2004-12-11 19:20:00 +00:00
bjarni
fb50423a00
(svn r971) Mac: updated text files and added the link files from the releases
2004-12-07 17:27:55 +00:00
bjarni
7af2dac6b3
(svn r877) Moved bemidi.cpp correctly this time
2004-12-01 19:44:39 +00:00
bjarni
463c346543
(svn r876) reverted the accidently cleared bemidi.cpp
2004-12-01 19:42:42 +00:00
bjarni
f181725578
(svn r870) BeOS: made the move of bemidi.cpp properly (I hope)
2004-12-01 15:25:18 +00:00
bjarni
9e6f6d6d18
(svn r869) Mac: finally made asserts open the console, so people should be able to see what went wrong even if they opened the game in the GUI
...
deleted the wrongly moved bemidi.cpp
2004-12-01 15:23:05 +00:00
bjarni
a580b4c21e
(svn r855) BeOS: moved bemidi to os/beos/ (w-ber)
2004-11-29 20:03:04 +00:00
bjarni
d72abf6c3e
(svn r311) Added incomplete Icelandic translation (Hinrik)
...
Mac: made track_starter executable by default. Needed for midi player
2004-09-23 20:12:51 +00:00
bjarni
93d9afca4b
(svn r305) made the shellscripts executable, so the user do not have to do this manually
2004-09-21 21:19:08 +00:00
bjarni
d1a88cbbca
(svn r291) Minor fix to english.txt
...
added debian support (blathijs)
improved make install (blathijs)
2004-09-18 16:29:12 +00:00
dominik
eaeca76e5a
(svn r260) Added updated linux RPM stuff
2004-09-14 20:56:57 +00:00
darkvater
a43bc5f82e
(svn r259) -Fix: Installer version updated to 12. Properly commented now. Thx teeone
2004-09-14 20:35:24 +00:00
darkvater
57e202b256
(svn r251) -Project ready for 0.3.4 release. Updated installer, readme and fileinformation
...
-Fix: warning on release build of strgen
2004-09-14 18:19:29 +00:00
dominik
951ce251c0
(svn r91) Add: Spec file for linux RPM builds
2004-08-20 14:25:11 +00:00
darkvater
e21b73bda5
(svn r36) -Fix MacOS makefile issues (Bjarni)
2004-08-12 22:41:16 +00:00
darkvater
b70e5a30c1
(svn r33) -Executeable is now openttd(.exe) always
...
-Resourcefile has been updated to 0.3.3.0
2004-08-12 22:06:56 +00:00
darkvater
d3be7f2de7
(svn r32) -Fix [1007277] Windows Installer Fixes for bugs [991118] and [991102]. (lucaspiller)
2004-08-12 21:46:56 +00:00
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
2004-08-09 17:04:08 +00:00