------------------------------------------------------------------------ r4136 | belugas | 2006-03-27 14:28:56 +0000 (Mon, 27 Mar 2006) | 1 line CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further ------------------------------------------------------------------------ r4134 | tron | 2006-03-27 06:18:02 +0000 (Mon, 27 Mar 2006) | 1 line Revert part of r4133: Replacing a byte which gets written to savegames by an enum is a very bad idea ------------------------------------------------------------------------ r4133 | Darkvater | 2006-03-26 22:58:11 +0000 (Sun, 26 Mar 2006) | 1 line - Some miscellaneous changes (unconverted TownID in function definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL) ------------------------------------------------------------------------ r4132 | Darkvater | 2006-03-26 22:56:58 +0000 (Sun, 26 Mar 2006) | 1 line - Missed 3 CargoID's ------------------------------------------------------------------------ r4131 | Darkvater | 2006-03-26 22:55:27 +0000 (Sun, 26 Mar 2006) | 1 line - CodeChange: Add proper semantics for StationID for such variables instead of using the general uint16-type. StationID was added for depots, waypoints and stations where necessary. We probably need to change GetDepot(), IsDepotIndex(), IsStationIndex(), GetWaypoint() and IsWaypointIndex() as well to use StationID. ------------------------------------------------------------------------ r4130 | Darkvater | 2006-03-26 22:41:56 +0000 (Sun, 26 Mar 2006) | 1 line - CodeChange: Add proper semantics for TownID for such variables instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID. ------------------------------------------------------------------------ r4129 | Darkvater | 2006-03-26 22:25:29 +0000 (Sun, 26 Mar 2006) | 1 line - CodeChange: Add proper bool type for is_ai as well...it is a bool type. ------------------------------------------------------------------------ r4128 | Darkvater | 2006-03-26 22:23:32 +0000 (Sun, 26 Mar 2006) | 1 line - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type. ------------------------------------------------------------------------ r4127 | peter1138 | 2006-03-26 22:02:11 +0000 (Sun, 26 Mar 2006) | 2 lines - Update English language file to use tags for the new unit system. ------------------------------------------------------------------------ r4126 | peter1138 | 2006-03-26 21:50:57 +0000 (Sun, 26 Mar 2006) | 6 lines - Feature: A new multi-lingual multi-measuring-unit system: - Replace miles/kilometres game option with a general measuring units option. - Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system. - Add SI as option for measuring units. Language file updates to use the system will come soon. ------------------------------------------------------------------------ r4125 | Darkvater | 2006-03-26 21:15:09 +0000 (Sun, 26 Mar 2006) | 1 line - Feature: Add a general TIC() TOC() mechanism using rdtsc or something similar on non-i386 architectures to performance-tune (critical) code. Some systems are probably missing, but those can be added later. ------------------------------------------------------------------------ r4124 | Darkvater | 2006-03-26 21:13:16 +0000 (Sun, 26 Mar 2006) | 1 line - CodeChange: remove windows-specific code from initializing the random generator. There was no need for it. ------------------------------------------------------------------------ r4123 | Darkvater | 2006-03-26 21:07:56 +0000 (Sun, 26 Mar 2006) | 1 line - Forward-port the release-changes from the 0.4 branch back to trunk. This ensures an updated changelog, known-bugs, etc. ------------------------------------------------------------------------ r4120 | tron | 2006-03-26 19:20:15 +0000 (Sun, 26 Mar 2006) | 1 line Use the new station functions where appropriate ------------------------------------------------------------------------ r4119 | tron | 2006-03-26 19:03:03 +0000 (Sun, 26 Mar 2006) | 1 line There's one more possible hangar tile. Check for this in IsHangar(), too ------------------------------------------------------------------------ r4116 | tron | 2006-03-26 18:48:23 +0000 (Sun, 26 Mar 2006) | 1 line -Fix: The AI should send a plane into a hangar if it's not in a hangar _or_ not stopped, not when it's not in a hangar _and_ not stopped ------------------------------------------------------------------------ r4114 | Darkvater | 2006-03-26 16:29:20 +0000 (Sun, 26 Mar 2006) | 1 line - Add missing source files to VS2003/VS6 project files added in r4113 ------------------------------------------------------------------------ r4113 | celestar | 2006-03-26 14:41:39 +0000 (Sun, 26 Mar 2006) | 3 lines Moved all relevant map functions for stations to station_map.[ch] Some work with animated tiles remains. Thanks to Tron for parts of the code and lots of proof-reading and suggesting ------------------------------------------------------------------------ r4111 | tron | 2006-03-26 11:08:44 +0000 (Sun, 26 Mar 2006) | 1 line Fix/Remove some stale comments ------------------------------------------------------------------------ r4109 | Darkvater | 2006-03-25 15:47:20 +0000 (Sat, 25 Mar 2006) | 1 line - Fix (r4105) [iconv]: Only include the needed headers when ICONV is actually used. Thanks for noticing Bjarni ------------------------------------------------------------------------ r4108 | tron | 2006-03-25 10:38:28 +0000 (Sat, 25 Mar 2006) | 1 line Add [GS]etIndustryGfx() ------------------------------------------------------------------------ r4107 | Darkvater | 2006-03-25 10:15:53 +0000 (Sat, 25 Mar 2006) | 1 line - Fix (r4105): Mixup of string parameters in debug message if iconv_open() failed. Also clarify the message a bit. ------------------------------------------------------------------------ r4105 | Darkvater | 2006-03-25 09:22:10 +0000 (Sat, 25 Mar 2006) | 2 lines - Feature: Add proper ISO-8859-15 <> LOCALCODE conversion. As the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them. - CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG. ------------------------------------------------------------------------ r4103 | bjarni | 2006-03-25 08:53:06 +0000 (Sat, 25 Mar 2006) | 1 line updated mac documentation to mention the fact that it's a triple binary ------------------------------------------------------------------------ r4099 | bjarni | 2006-03-25 07:22:53 +0000 (Sat, 25 Mar 2006) | 3 lines -Codechange: [OSX] the cocoa video driver speedup of around 1000% now also applies to Intel macs ------------------------------------------------------------------------ r4092 | belugas | 2006-03-24 18:16:39 +0000 (Fri, 24 Mar 2006) | 1 line CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme ------------------------------------------------------------------------ r4091 | Darkvater | 2006-03-24 17:40:55 +0000 (Fri, 24 Mar 2006) | 1 line - Fix r4075. Do not "enter" please. ------------------------------------------------------------------------ r4090 | Darkvater | 2006-03-24 17:00:55 +0000 (Fri, 24 Mar 2006) | 1 line - Followup for r4075. Some SDL implementations seem to have a different define for the SDL_ACTIVEEVENT SDL_APPMOUSEFOCUS which caused undrawing of the mouse only on losing input-focus. Correctly check for the event state ------------------------------------------------------------------------ r4089 | belugas | 2006-03-24 16:03:09 +0000 (Fri, 24 Mar 2006) | 1 line CodeChange : Create Map Accessors Group in MS WorkSpace, arrange VCProject. Remove warning on FindLengthOfTunnel, uint is not DiagDirection ------------------------------------------------------------------------ r4088 | celestar | 2006-03-24 15:24:16 +0000 (Fri, 24 Mar 2006) | 2 lines -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to put and get the status of a level crossing ------------------------------------------------------------------------ r4087 | tron | 2006-03-24 13:46:45 +0000 (Fri, 24 Mar 2006) | 1 line Add IsIndustryCompleted() to check if a industry tile is fully built ------------------------------------------------------------------------ r4086 | tron | 2006-03-24 13:31:17 +0000 (Fri, 24 Mar 2006) | 1 line Add MakeIndustry() ------------------------------------------------------------------------ r4085 | tron | 2006-03-24 12:00:24 +0000 (Fri, 24 Mar 2006) | 1 line Add GetTown{Index,ByTile}() to get the town index resp. the town from a tile ------------------------------------------------------------------------ r4084 | bjarni | 2006-03-24 10:53:49 +0000 (Fri, 24 Mar 2006) | 4 lines -Documentation: [OSX] changed OSX specific docs -added an explanation to why there is a special Jaguar download (people appears to download it even when they should download the other one) -removed the long outdated README_if_game_crashed_on_OSX.txt ------------------------------------------------------------------------ r4083 | egladil | 2006-03-24 10:17:39 +0000 (Fri, 24 Mar 2006) | 2 lines -Feature: [OSX] Ported r4075 (Undraw the mouse when it leaves the window and Draw it again when it enters). ------------------------------------------------------------------------ r4082 | bjarni | 2006-03-24 09:47:50 +0000 (Fri, 24 Mar 2006) | 6 lines -Fix: [OSX] FS#80 Crash when switching from windowed to fullscreen this bug was introduced in rev 3670, but when undetected for a long time since it was resolution specific this is likely the issue with x86 OSX in fullscreen, so I removed the really slow workaround and will clean it up once I get positive feedback from a x86 mac this means that x86 OSX should now get the 1000% video driver speed boost as well this fix is written by eglandil ------------------------------------------------------------------------ r4079 | tron | 2006-03-24 08:55:08 +0000 (Fri, 24 Mar 2006) | 1 line Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile ------------------------------------------------------------------------ r4077 | tron | 2006-03-24 08:00:45 +0000 (Fri, 24 Mar 2006) | 1 line Add GetIndustry{Index,ByTile}() to get the industry index resp. the industry from a tile ------------------------------------------------------------------------ r4076 | tron | 2006-03-24 06:40:49 +0000 (Fri, 24 Mar 2006) | 1 line Back out r4074. It doesn't work and leads to make endlessly calling itself. NOTE: Delete Makefile.config to recover. ------------------------------------------------------------------------ r4075 | Darkvater | 2006-03-24 00:42:35 +0000 (Fri, 24 Mar 2006) | 1 line - Feature: Undraw the mouse when it leaves the window and Draw it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo. ------------------------------------------------------------------------ r4074 | bjarni | 2006-03-23 23:54:43 +0000 (Thu, 23 Mar 2006) | 7 lines -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 ------------------------------------------------------------------------ r4073 | tron | 2006-03-23 20:47:56 +0000 (Thu, 23 Mar 2006) | 1 line Add functions to make and test for (most) unmovable tiles ------------------------------------------------------------------------ r4071 | matthijs | 2006-03-23 17:49:50 +0000 (Thu, 23 Mar 2006) | 2 lines - Fix: [NPF] Trains & busses were unable to find a route when leaving a depot or bus stop. Small omission from r4023 (fix by glx) ------------------------------------------------------------------------ r4070 | truelight | 2006-03-23 17:38:31 +0000 (Thu, 23 Mar 2006) | 1 line -Fix: on OSX COCOA was set by default, even with DEDICATED, while those 2 conflict ------------------------------------------------------------------------ r4066 | truelight | 2006-03-23 16:23:12 +0000 (Thu, 23 Mar 2006) | 1 line -Fix: oops, forgot to remove a debug line ------------------------------------------------------------------------ r4065 | truelight | 2006-03-23 16:03:11 +0000 (Thu, 23 Mar 2006) | 1 line -Fix: the configure now knows --host-cflags ------------------------------------------------------------------------ r4064 | truelight | 2006-03-23 15:34:47 +0000 (Thu, 23 Mar 2006) | 1 line -Fix: fixes for configure to accept spaces in params. This are mostly bypasses because bash really does suck in handling spaces and " stuff :( ------------------------------------------------------------------------ r4061 | bjarni | 2006-03-23 13:40:33 +0000 (Thu, 23 Mar 2006) | 1 line -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) ------------------------------------------------------------------------ r4060 | bjarni | 2006-03-23 13:29:58 +0000 (Thu, 23 Mar 2006) | 4 lines -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) ------------------------------------------------------------------------ r4059 | truelight | 2006-03-23 13:24:09 +0000 (Thu, 23 Mar 2006) | 1 line -Fix: add --dedicated flag to configure ------------------------------------------------------------------------ r4047 | tron | 2006-03-23 06:30:39 +0000 (Thu, 23 Mar 2006) | 1 line Remove two calls to FindLandscapeHeight() and some confusing use of the comma operator ------------------------------------------------------------------------ r4039 | peter1138 | 2006-03-22 22:07:53 +0000 (Wed, 22 Mar 2006) | 2 lines - NewGRF: Add support for a few more vehicle variables. These are sometimes used for animation of sprites. ------------------------------------------------------------------------ r4033 | matthijs | 2006-03-22 21:08:05 +0000 (Wed, 22 Mar 2006) | 2 lines - Codechange: [Debian] Update debian packaging files to use debconf for user interaction. ------------------------------------------------------------------------ r4030 | Darkvater | 2006-03-22 20:41:48 +0000 (Wed, 22 Mar 2006) | 2 lines Darkvater * r4030 /trunk/ (openttd.dsp openttd.vcproj): - [win32] Change compiler settings to use the multithreaded CRT. This prevents certain crashes on multi-threaded machines. (thx DmitryKo and KUDr) ------------------------------------------------------------------------ r4028 | tron | 2006-03-22 19:16:58 +0000 (Wed, 22 Mar 2006) | 3 lines The last external user of FindLandscapeHeightByTile() is gone (r4027). Move its implementation into its only caller - FindLandscapeHeight() - and remove it ------------------------------------------------------------------------ r4027 | tron | 2006-03-22 19:04:04 +0000 (Wed, 22 Mar 2006) | 1 line Remove another call to FindLandscapeHeightByTile() ------------------------------------------------------------------------ r4023 | matthijs | 2006-03-22 16:37:59 +0000 (Wed, 22 Mar 2006) | 2 lines - Fix: [ 1453646 NPF ] Road vehicles planning through the back of depots and stations. ------------------------------------------------------------------------ r4019 | bjarni | 2006-03-22 13:06:50 +0000 (Wed, 22 Mar 2006) | 3 lines -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 ------------------------------------------------------------------------ r4011 | miham | 2006-03-22 10:13:15 +0000 (Wed, 22 Mar 2006) | 1 line [test WT2 #2.] ------------------------------------------------------------------------ r4010 | miham | 2006-03-22 10:10:33 +0000 (Wed, 22 Mar 2006) | 1 line [test WT2] ------------------------------------------------------------------------ r4007 | tron | 2006-03-22 08:48:50 +0000 (Wed, 22 Mar 2006) | 1 line Add a function to make a farm field tile ------------------------------------------------------------------------ r4004 | belugas | 2006-03-21 23:22:21 +0000 (Tue, 21 Mar 2006) | 1 line -CodeChange : Renaming sprites and functions ------------------------------------------------------------------------ r4003 | Darkvater | 2006-03-21 23:18:43 +0000 (Tue, 21 Mar 2006) | 1 line - Minor codebeautifier@work ------------------------------------------------------------------------ r4002 | Darkvater | 2006-03-21 22:09:19 +0000 (Tue, 21 Mar 2006) | 1 line - Fix: Use the title of a savegame in the saveload dialog-editbox. This gets rid of the '.sav' appended to each game as well as properly showing UTF-8 saves when this is implemented. Also don't change the text if the save has failed. ------------------------------------------------------------------------ r4001 | Darkvater | 2006-03-21 22:08:15 +0000 (Tue, 21 Mar 2006) | 1 line - Add length parameter to FiosMakeSavegameName() and use this function for creating the full path instead of home-brewn snprintf. ------------------------------------------------------------------------ r4000 | tron | 2006-03-21 22:06:32 +0000 (Tue, 21 Mar 2006) | 1 line Rewrite GetSlope{Tileh,Z}_{Road,Track} in a less confusing way ------------------------------------------------------------------------ r3999 | Darkvater | 2006-03-21 21:55:49 +0000 (Tue, 21 Mar 2006) | 1 line - Fix: [win32] Change the order of DestroyWindow and ChangeDisplay. On some machines a sizechange messagequeue is handled before sending WM_DISPLAYCHANGE resulting in an improper resolution written to the configuration file when exiting from fullscreen. (Frostregen) ------------------------------------------------------------------------ r3998 | peter1138 | 2006-03-21 21:11:41 +0000 (Tue, 21 Mar 2006) | 2 lines - Fix: When removing rail track from a while where only X and Y (/ and \) pieces exist, explicitly update signals in both directions. ------------------------------------------------------------------------ r3997 | Darkvater | 2006-03-21 21:07:50 +0000 (Tue, 21 Mar 2006) | 1 line - Default the patch-setting 'pause_on_join' to true. ------------------------------------------------------------------------ r3996 | tron | 2006-03-21 20:02:05 +0000 (Tue, 21 Mar 2006) | 4 lines -Fix: Slope and height information returned for some tile types is wrong This leads to graphical glitches when drawing foundations. This doesn't fix all problems, but at least some of them. ------------------------------------------------------------------------