------------------------------------------------------------------------ r4263 | celestar | 2006-04-03 15:18:12 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Road building no longer uses FindLandscapeHeight. Last occurence of FindLandscapeTile in the tile-specific functions gone. Thanks to Tron for doing lots of work in this direction ------------------------------------------------------------------------ r4262 | celestar | 2006-04-03 15:11:17 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: use IsClearWaterTile instead of some "home-brewn" marco. town_cmd is now map access free ------------------------------------------------------------------------ r4261 | belugas | 2006-04-03 14:56:07 +0000 (Mon, 03 Apr 2006) | 1 line CodeChange : Add and Use Accessor for Houses Construction. And cleaning on town.flags12 too ------------------------------------------------------------------------ r4259 | celestar | 2006-04-03 14:25:32 +0000 (Mon, 03 Apr 2006) | 7 lines -[multistop] Fix/Feature/Codechange: 1) Improved the road vehicle allocation (aka slotting) for multistop. Stops can now accept unlimited, er... 256, vehicles. 2) Removed the "wait for stop" feature, because it did not work in practise. 3) Slotting now ignores unreachable stations. Uses NPF at the moment because the old pathfinder cannot do it (yet) 4) Now matter how many vehicles approach a station, they will always be distributed evenly over existing stops. 5) Hopefully the last fundamental change to multistop ------------------------------------------------------------------------ r4258 | celestar | 2006-04-03 13:35:19 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Add and make use of map accessors dealing with road ground types (including roadworks). ------------------------------------------------------------------------ r4257 | celestar | 2006-04-03 13:02:33 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Renamed the airport_map5_tiles_* variables into airport_sections_* ------------------------------------------------------------------------ r4256 | peter1138 | 2006-04-03 12:41:31 +0000 (Mon, 03 Apr 2006) | 2 lines - Codechange: Replace lone map access in vehicle.c with its map accessor. ------------------------------------------------------------------------ r4255 | celestar | 2006-04-03 12:20:55 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Add and make use of more accessor functions concerning unmovables. unmovable_cmd is now map access free ------------------------------------------------------------------------ r4254 | celestar | 2006-04-03 11:46:28 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Add and make use of map accessors for town lifts. ------------------------------------------------------------------------ r4252 | celestar | 2006-04-03 10:50:54 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Make more use of map accessors. water_cmd is now map access free ------------------------------------------------------------------------ r4251 | celestar | 2006-04-03 10:31:02 +0000 (Mon, 03 Apr 2006) | 2 lines -Fix: Silence a warning in GetWaterTileType ------------------------------------------------------------------------ r4250 | celestar | 2006-04-03 10:28:16 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Further use of map accessors for water tiles ------------------------------------------------------------------------ r4249 | celestar | 2006-04-03 09:07:21 +0000 (Mon, 03 Apr 2006) | 2 lines -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty ------------------------------------------------------------------------ r4246 | celestar | 2006-04-03 05:32:11 +0000 (Mon, 03 Apr 2006) | 1 line -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE ------------------------------------------------------------------------ r4245 | tron | 2006-04-02 18:03:48 +0000 (Sun, 02 Apr 2006) | 1 line Simplify FindLengthOfTunnel() ------------------------------------------------------------------------ r4243 | tron | 2006-04-02 14:36:51 +0000 (Sun, 02 Apr 2006) | 1 line Unbreak compilation ------------------------------------------------------------------------ r4242 | tron | 2006-04-02 12:49:18 +0000 (Sun, 02 Apr 2006) | 1 line Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo ------------------------------------------------------------------------ r4241 | peter1138 | 2006-04-02 12:41:01 +0000 (Sun, 02 Apr 2006) | 2 lines - Fix: Perform validation on the error number that a server receives from a client. An invalid value may cause the server to terminate. ------------------------------------------------------------------------ r4231 | tron | 2006-04-02 07:30:01 +0000 (Sun, 02 Apr 2006) | 1 line Remove ModifyTile(), it's not used anymore, yay! ------------------------------------------------------------------------ r4230 | tron | 2006-04-02 07:05:35 +0000 (Sun, 02 Apr 2006) | 1 line The road is asked for, not the rail. Undo part of r4164. (Pointed out by peter1138) ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------