------------------------------------------------------------------------ r4229 | peter1138 | 2006-04-01 15:19:16 +0000 (Sat, 01 Apr 2006) | 3 lines [elrail & autoreplace] Always show compatible rail vehicles in the left list, and only the selected rail type in the right list, to allow converting electric engines to non-electric. ------------------------------------------------------------------------ r4228 | bjarni | 2006-04-01 15:11:30 +0000 (Sat, 01 Apr 2006) | 2 lines -Fix: [autoreplace] allow replacement of wagons even when the engine fails to be replaced ------------------------------------------------------------------------ r4227 | peter1138 | 2006-04-01 14:53:38 +0000 (Sat, 01 Apr 2006) | 2 lines - Fix: Wagon replace nows checks if the cargo types are the same before seeing if it can refit. ------------------------------------------------------------------------ r4226 | bjarni | 2006-04-01 14:53:11 +0000 (Sat, 01 Apr 2006) | 3 lines -Fix: [elrails] it's no longer possible to build electric engines in non-electric depots this prevents autoreplace to replace to electric engines before the line in question got catenary ------------------------------------------------------------------------ r4223 | belugas | 2006-04-01 02:02:50 +0000 (Sat, 01 Apr 2006) | 1 line Correction of VC6 project file. ------------------------------------------------------------------------ r4220 | Darkvater | 2006-03-31 21:34:02 +0000 (Fri, 31 Mar 2006) | 1 line - Fix (r4219): of course iconv is enabled on >= 10.3 not >; fixed comment (thanks Bjarni) ------------------------------------------------------------------------ r4219 | Darkvater | 2006-03-31 21:22:41 +0000 (Fri, 31 Mar 2006) | 1 line - Add support for WITH_ICONV. It is enabled by default for OSX > 10.3 for all others set it with WITH_ICONV in Makefile.config or with --with-iconv with configure. --with-config=/somedir will search for iconv include files somewhere (or in Makefile.config with WITH_ICONV_PATH). Custom library loading is not (yet) supported ------------------------------------------------------------------------ r4218 | Darkvater | 2006-03-31 21:13:53 +0000 (Fri, 31 Mar 2006) | 1 line - Codechange: Try to make the rdtsc() not present warning message a bit more clear ------------------------------------------------------------------------ r4217 | peter1138 | 2006-03-31 21:06:55 +0000 (Fri, 31 Mar 2006) | 2 lines Replace SDL-CONFIG and LIBPNG-CONFIG with SDL_CONFIG and LIBPNG_CONFIG ------------------------------------------------------------------------ r4216 | celestar | 2006-03-31 19:14:17 +0000 (Fri, 31 Mar 2006) | 1 line -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out ------------------------------------------------------------------------ r4215 | celestar | 2006-03-31 19:10:54 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency ------------------------------------------------------------------------ r4214 | celestar | 2006-03-31 19:01:57 +0000 (Fri, 31 Mar 2006) | 1 line -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles ------------------------------------------------------------------------ r4212 | celestar | 2006-03-31 18:36:13 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor that retrieves the type of a water tile. Add an enum describing the different water tiles ------------------------------------------------------------------------ r4211 | peter1138 | 2006-03-31 17:40:31 +0000 (Fri, 31 Mar 2006) | 3 lines - Removed measuring units from the names of two strings. - Use {POWER} and {WEIGHT_S} tags for all strings instead of "{COMMA}units". ------------------------------------------------------------------------ r4210 | peter1138 | 2006-03-31 17:02:00 +0000 (Fri, 31 Mar 2006) | 2 lines - Use new {WEIGHT} string tag for all cargo quantity strings. ------------------------------------------------------------------------ r4209 | peter1138 | 2006-03-31 16:37:49 +0000 (Fri, 31 Mar 2006) | 2 lines Remove unused strings ------------------------------------------------------------------------ r4208 | orudge | 2006-03-31 16:19:58 +0000 (Fri, 31 Mar 2006) | 1 line - Update OS/2 readme on trunk, sorry for all the commits! ------------------------------------------------------------------------ r4206 | peter1138 | 2006-03-31 16:11:51 +0000 (Fri, 31 Mar 2006) | 2 lines - Add bridge_map.h and unmovable_map.h to MS VS project file ------------------------------------------------------------------------ r4205 | orudge | 2006-03-31 16:11:09 +0000 (Fri, 31 Mar 2006) | 1 line Whoops, forgot to add os_timer.c to project ------------------------------------------------------------------------ r4204 | orudge | 2006-03-31 16:01:59 +0000 (Fri, 31 Mar 2006) | 1 line - Get trunk compiling again on OS/2 ------------------------------------------------------------------------ r4203 | orudge | 2006-03-31 15:34:22 +0000 (Fri, 31 Mar 2006) | 1 line - Fix compilation on mingw32 (stdint.h not included) ------------------------------------------------------------------------ r4201 | peter1138 | 2006-03-31 12:59:43 +0000 (Fri, 31 Mar 2006) | 2 lines - Codechange: Do for _engine_info[] what we do for _*_vehicle_info[]; create and use a function to retrieve data, and ensure constness. ------------------------------------------------------------------------ r4200 | celestar | 2006-03-31 10:47:06 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Make use of water map accessors when getting the Index of a Ship Depot. TODO: Store the depot index in the map ------------------------------------------------------------------------ r4199 | peter1138 | 2006-03-31 10:44:32 +0000 (Fri, 31 Mar 2006) | 2 lines - Codechange: Use industry map accessors to get industry graphics type. ------------------------------------------------------------------------ r4198 | peter1138 | 2006-03-31 10:14:25 +0000 (Fri, 31 Mar 2006) | 2 lines - NewGRF: Rename GetCallBackResult() to GetVehicleCallback(), as other types will exist later, and use separate parameters instead of bitshifting. ------------------------------------------------------------------------ r4197 | bjarni | 2006-03-31 10:04:18 +0000 (Fri, 31 Mar 2006) | 1 line reentered STATIC_ZLIB_PATH (removed in 4183) since it turned out that it's used after all ------------------------------------------------------------------------ r4196 | celestar | 2006-03-31 09:09:26 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor that modifies the size of the Company HQ ------------------------------------------------------------------------ r4195 | peter1138 | 2006-03-31 09:08:02 +0000 (Fri, 31 Mar 2006) | 2 lines - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same) ------------------------------------------------------------------------ r4194 | celestar | 2006-03-31 08:59:19 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Renamed UpdatePlayerHouse to UpdateCompanyHQ because the rest of the code calls it Comapany HQ. Moved it to unmovable_cmd.c because CompanyHQ is an unmovable and has nothing to do with economy. ------------------------------------------------------------------------ r4193 | celestar | 2006-03-31 08:44:53 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor function to create company HQs ------------------------------------------------------------------------ r4192 | peter1138 | 2006-03-31 08:39:10 +0000 (Fri, 31 Mar 2006) | 2 lines - Fix: In the depot, moving wagons from the end of a very long train to a short train where the short train was scrolled off the window would cause a game crash. (Thanks to SimonRC for reporting.) ------------------------------------------------------------------------ r4191 | Darkvater | 2006-03-31 08:35:05 +0000 (Fri, 31 Mar 2006) | 1 line - Codechange: Properly set newlines and id for os_timer.c ------------------------------------------------------------------------ r4190 | celestar | 2006-03-31 08:18:14 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor function to create houses ------------------------------------------------------------------------ r4187 | tron | 2006-03-31 06:16:04 +0000 (Fri, 31 Mar 2006) | 1 line Simplify the code for building/removing a piece of road a bit ------------------------------------------------------------------------ r4183 | bjarni | 2006-03-30 20:14:06 +0000 (Thu, 30 Mar 2006) | 5 lines -Codechange: [Makefile]: removed MANUAL_CONFIG as it's not used anymore This should hopefully fix the issue where WITH_SDL can be defined while SDL-CONFIG is not Added an error if WITH_SDL is defined but SDL-CONFIG is not. The same goes for WITH_PNG even though nobody reported this as a problem removed STATIC_ZLIB_PATH as it turns out that nobody used it ------------------------------------------------------------------------ r4181 | belugas | 2006-03-30 19:16:44 +0000 (Thu, 30 Mar 2006) | 1 line CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear. ------------------------------------------------------------------------ r4180 | celestar | 2006-03-30 15:47:18 +0000 (Thu, 30 Mar 2006) | 2 lines -Fix: Fixed an assert in the elrail drawing code due to passing of a wrong variable. I wish the compiler would warn about different enum types used... ------------------------------------------------------------------------ r4179 | celestar | 2006-03-30 15:06:49 +0000 (Thu, 30 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor that obtains the building type ------------------------------------------------------------------------ r4178 | celestar | 2006-03-30 13:12:36 +0000 (Thu, 30 Mar 2006) | 1 line -Fix: Draw catenary inside waypoints as well ------------------------------------------------------------------------ r4177 | celestar | 2006-03-30 13:06:16 +0000 (Thu, 30 Mar 2006) | 1 line -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. While at it, remove an unused variable ------------------------------------------------------------------------ r4173 | celestar | 2006-03-30 12:00:35 +0000 (Thu, 30 Mar 2006) | 1 line -Codechange: Use IsClearWaterTile for buoy construction ------------------------------------------------------------------------ r4172 | celestar | 2006-03-30 11:21:36 +0000 (Thu, 30 Mar 2006) | 2 lines -Codechange: Added a few accessors to work with ShipDepots and Locks ------------------------------------------------------------------------ r4171 | celestar | 2006-03-30 11:11:35 +0000 (Thu, 30 Mar 2006) | 1 line -Codechange: Create map accessor functions for creating ship depots and locks. Make use of them ------------------------------------------------------------------------ r4169 | celestar | 2006-03-30 11:05:05 +0000 (Thu, 30 Mar 2006) | 1 line -Codechange: Removed an include which accidently slipped into a commit ------------------------------------------------------------------------ r4168 | celestar | 2006-03-30 10:53:31 +0000 (Thu, 30 Mar 2006) | 1 line -Fix: Fixed a typo in previous commit ------------------------------------------------------------------------ r4166 | tron | 2006-03-30 09:29:01 +0000 (Thu, 30 Mar 2006) | 1 line Sprinkle several map accessors with assert()s ------------------------------------------------------------------------ r4165 | celestar | 2006-03-30 09:26:17 +0000 (Thu, 30 Mar 2006) | 1 line -Do not use GetBridgeAxis on bridge ramps (request by Tron) ------------------------------------------------------------------------ r4164 | tron | 2006-03-30 09:08:43 +0000 (Thu, 30 Mar 2006) | 2 lines Use acessor functions ------------------------------------------------------------------------ r4163 | belugas | 2006-03-30 00:48:45 +0000 (Thu, 30 Mar 2006) | 1 line CodeChange : Add missing file to MS Project and Workspace files ------------------------------------------------------------------------ r4160 | belugas | 2006-03-29 21:10:42 +0000 (Wed, 29 Mar 2006) | 1 line CodeChange : Revert part of 4157, spotted by Tron ------------------------------------------------------------------------ r4159 | bjarni | 2006-03-29 20:57:17 +0000 (Wed, 29 Mar 2006) | 1 line added missing comments about refitting in CmdCloneVehicle ------------------------------------------------------------------------ r4158 | bjarni | 2006-03-29 20:41:15 +0000 (Wed, 29 Mar 2006) | 1 line -Fix: [autoreplace] cost for refitting the new vehicle is now added to the cost animation. The player always paid for it, but it was not displayed until now ------------------------------------------------------------------------ r4157 | belugas | 2006-03-29 20:35:39 +0000 (Wed, 29 Mar 2006) | 1 line CodeChange : Keep on cleaning up Celestar's elrail merge ------------------------------------------------------------------------ r4156 | belugas | 2006-03-29 20:06:31 +0000 (Wed, 29 Mar 2006) | 1 line CodeChange : Little cleanup after Celestar's elrail merge ------------------------------------------------------------------------ r4155 | celestar | 2006-03-29 19:37:18 +0000 (Wed, 29 Mar 2006) | 2 lines -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus) ------------------------------------------------------------------------ r4154 | celestar | 2006-03-29 19:03:47 +0000 (Wed, 29 Mar 2006) | 2 lines -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ... ------------------------------------------------------------------------ r4153 | celestar | 2006-03-29 19:00:56 +0000 (Wed, 29 Mar 2006) | 2 lines -Codechange. Changed NPF_TILE_LENGTH into an enum and moved it out of variables.h. Just a drop in the bucket, but it is a start ------------------------------------------------------------------------ r4152 | belugas | 2006-03-29 16:59:33 +0000 (Wed, 29 Mar 2006) | 1 line properties set for elrail.c ------------------------------------------------------------------------ r4151 | bjarni | 2006-03-29 16:56:38 +0000 (Wed, 29 Mar 2006) | 1 line -Fix: [PowerPC] removed an incorrect uninitialized var used warning in os_timer ------------------------------------------------------------------------ r4150 | celestar | 2006-03-29 16:30:26 +0000 (Wed, 29 Mar 2006) | 2 lines -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. ------------------------------------------------------------------------ r4149 | bjarni | 2006-03-29 16:28:41 +0000 (Wed, 29 Mar 2006) | 14 lines -Codechange: [OSX] rewrite of how universal binaries are compiled Now OSX stores object files in .OSX and instead of making FAT object files, there are one for each architecture Each architecture got their own targets to make a non-FAT binary and in the end, lipo will merge them into one binary It's now possible to select which architectures you want to support by defining OTTD_PPC, OTTD_PPC970 (G5) and/or OTTD_i386 All combos are supported. UNIVERSAL_BINARY and TRIPLE_BINARY can still be used even though it's possible to gain the same result by using the new flags Making a universal build when you already got part of it compiled (say the PPC part), it will reuse it and only compile the i386 part to save time Note: in some cases when you switch flags, you risk that openttd is not updated. Delete it and try again. The Makefile can't solve this except if it forces linking each time This fixes: FS#87 universal binary building borked in 0.4.7 Now universal binaries work on OSX 10.3.9 again Building universal binaries no longer needs to store flags in Makefile.config as the new design makes it possible to figure everything out automatically ------------------------------------------------------------------------ r4143 | celestar | 2006-03-29 06:51:13 +0000 (Wed, 29 Mar 2006) | 2 lines -[FS#86]: Fixed and obi-wan error in station_map.h that would lead to assertions in the airport handling (of international airports) ------------------------------------------------------------------------ r4142 | Darkvater | 2006-03-28 21:51:14 +0000 (Tue, 28 Mar 2006) | 1 line - Fix [FS#74]: Incorrectly loaded settings from the config file when the signed uint32 variable would be negative. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------