Commit Graph

355 Commits

Author SHA1 Message Date
matthijs 2eafeaf7d6 (svn r4033) - Codechange: [Debian] Update debian packaging files to use debconf for user interaction. 2006-03-22 21:08:05 +00:00
bjarni 0b102f0e00 (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 a19cdf6040 (svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY 2006-03-15 14:11:17 +00:00
bjarni bb47ecddf4 (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 ba5172d0f4 (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 72e28805b8 (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 1931b8ea96 (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 a21d7523d2 (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 3f60ef07b2 (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 5412b2db93 (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 3e2f13f8d1 (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 d09e66eef6 (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 4ff6b2a514 (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 235e72829e (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 80952253c2 (svn r3512) Yet more whitespace fixes (mostly by Rubidium) 2006-02-01 09:08:25 +00:00
Darkvater 024db8d058 (svn r3502) - Update appropiate files with release information for 0.4.5 2006-01-31 22:26:00 +00:00
peter1138 28ca056d56 (svn r3395) Add Id tag (and svn property) to macosx files. 2006-01-12 11:20:41 +00:00
bjarni 1cfabfbb09 (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 015db8a461 (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 10a2787fd5 (svn r3375) -Add: [ FS#29 ] show an error dialog for OSX cocoa driver (egladil) 2006-01-06 21:27:44 +00:00
Darkvater 7142512754 (svn r3324) - Codechange: set native eol-style on missing files not yet set so 2005-12-20 21:59:34 +00:00
bjarni 42d8e8410b (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 6a6e145010 (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 26a5e120e8 (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 6cfdfcc4ba (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 111e5ef0fd (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 578883266f (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 4bc7265b03 (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 1a93bcb5bb (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 2946f3c1f9 (svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundle 2005-12-04 22:43:40 +00:00
bjarni 961b71f434 (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 8277a0651e (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 b860d1194d (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 08b990886d (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 eeade69786 (svn r3175) - Updated OS/2 project file to include station_newgrf.c 2005-11-13 18:07:45 +00:00
bjarni d678a12445 (svn r3031) forgot 1 file and two lines in rev 3029 (mac midi stuff) 2005-10-11 16:40:56 +00:00
bjarni 6fb7381efa (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 a744b15907 (svn r2928) - Update OS/2 project with AI file changes 2005-09-09 15:49:46 +00:00
Darkvater ae356b641d (svn r2905) fix casing 2005-09-01 21:19:48 +00:00
Darkvater 6a69687ea1 (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 4a1f46a99a (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 9ee5d61b73 (svn r2869) - Update Watcom project with gfxinit.c 2005-08-15 11:54:42 +00:00
orudge 773dedfd03 (svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal 2005-07-31 13:23:43 +00:00
bjarni 30a5f299f8 (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 a2a5593fcc (svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin) 2005-07-28 21:47:41 +00:00
bjarni cb3c325e5f (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 e36506b1d1 (svn r2695) - Fix: OS/2 project update, add os2.h to dedicated_v.c 2005-07-23 19:00:56 +00:00
orudge 1e70ba752e (svn r2689) - Split OS/2 music driver into os2_m.c, update project file 2005-07-23 16:08:05 +00:00
tron 07a6e612ec (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 c50223526c (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 085cc7ca0e (svn r2446) * Made os/debian/rules executable. 2005-06-16 01:25:01 +00:00
Darkvater 81ac4ac152 (svn r2398) - CodeChange: forgot to update unix and os2 specific files as well. 2005-06-02 19:39:29 +00:00
matthijs 8ef3f896f5 (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 27dee01623 (svn r2357) Small OS/2 update 2005-05-21 21:30:13 +00:00
Darkvater a893485be1 (svn r2353) - Prepare windows installer for 0.4.0.1 2005-05-21 15:18:20 +00:00
Darkvater 70e2e79c45 (svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall 2005-05-17 20:59:29 +00:00
Darkvater 7dc5c5d1b1 (svn r2325) - Update OpenTTD for 0.4.0 release 2005-05-15 21:50:26 +00:00
truelight 176c155193 (svn r2224) -Fix: capital-correctness for OSX-dir-names 2005-04-24 12:47:09 +00:00
bjarni 3e470708a6 (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 8efcba81d7 (svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge) 2005-03-26 18:12:58 +00:00
Darkvater 5ce3537ef0 (svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge) 2005-03-25 18:04:04 +00:00
darkvater 44f3702919 (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 1990c139d5 (svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge) 2005-03-19 23:23:56 +00:00
celestar 6bd06dbc33 (svn r2029) -Fix: Added files I forgot to svn add the previous commit 2005-03-19 22:41:55 +00:00
celestar fe8313159a (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 2c762a67ab (svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge) 2005-03-15 12:21:15 +00:00
tron 17ca2c49a5 (svn r1805) Teach the driver layer a few things about const correctness 2005-02-05 18:05:42 +00:00
darkvater f838448552 (svn r1732) - Change: [OS/2] [ 1112148 ] Project file update (orudge) 2005-01-30 16:00:37 +00:00
darkvater 2005495bfb (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 568dff40b6 (svn r1668) -Fixed windows installer (autorail.grf) and a changelog typo 2005-01-25 15:43:27 +00:00
dominik 3482605b1a (svn r1660) Added scenarios to Mandrakelinux specs file 2005-01-24 23:58:12 +00:00
darkvater 212ecff33b (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 19c55cbb75 (svn r1650) - Added known-bugs.txt to os/debian/docs 2005-01-24 21:51:06 +00:00
dominik 700862295f (svn r1645) Updated Mandrakelinux spec file and added some ScummVMish comments 2005-01-24 20:35:07 +00:00
matthijs b9c13283a4 (svn r1644) - Some minor corrections to the os/debian dir. 2005-01-24 20:33:43 +00:00
bjarni c7502c6eb3 (svn r1600) Mac: applied the new icon to the mac binary file 2005-01-22 23:55:45 +00:00
bjarni f09b0def11 (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 e58739c559 (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). 2005-01-07 09:28:16 +00:00
truelight c06dd27c33 (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 efc2702491 (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 96b36ec01e (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 1f4c1e8821 (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 de597eb7d2 (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 3f87f29a81 (svn r1249) -Fix: new files in the last commit had double content 2004-12-23 15:08:53 +00:00
truelight a9bb5be49d (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 fb345e983e (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 76363231be (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 920a93071b (svn r1021) Updated Spec file for Linux RPM release builds 2004-12-11 19:20:00 +00:00
bjarni bad25dec0e (svn r971) Mac: updated text files and added the link files from the releases 2004-12-07 17:27:55 +00:00
bjarni a317cbdc09 (svn r877) Moved bemidi.cpp correctly this time 2004-12-01 19:44:39 +00:00
bjarni 5a458590b8 (svn r876) reverted the accidently cleared bemidi.cpp 2004-12-01 19:42:42 +00:00
bjarni e9b49ebf8e (svn r870) BeOS: made the move of bemidi.cpp properly (I hope) 2004-12-01 15:25:18 +00:00
bjarni c925f452e7 (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