Commit Graph

3405 Commits

Author SHA1 Message Date
celestar
446493149c (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency 2006-03-31 19:10:54 +00:00
celestar
1f88ea4ec6 (svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles 2006-03-31 19:01:57 +00:00
celestar
736983a06d (svn r4212) -Codechange: Add and make use of an accessor that retrieves the type of a water tile. Add an enum describing the different water tiles 2006-03-31 18:36:13 +00:00
peter1138
949758e109 (svn r4211) - Removed measuring units from the names of two strings.
- Use {POWER} and {WEIGHT_S} tags for all strings instead of "{COMMA}units".
2006-03-31 17:40:31 +00:00
peter1138
bd56042e1d (svn r4210) - Use new {WEIGHT} string tag for all cargo quantity strings. 2006-03-31 17:02:00 +00:00
peter1138
d441a12eb4 (svn r4209) Remove unused strings 2006-03-31 16:37:49 +00:00
orudge
40e02d4f53 (svn r4208) - Update OS/2 readme on trunk, sorry for all the commits! 2006-03-31 16:19:58 +00:00
peter1138
e44c175745 (svn r4206) - Add bridge_map.h and unmovable_map.h to MS VS project file 2006-03-31 16:11:51 +00:00
orudge
e26f61b3d4 (svn r4205) Whoops, forgot to add os_timer.c to project 2006-03-31 16:11:09 +00:00
orudge
0fe27c16af (svn r4204) - Get trunk compiling again on OS/2 2006-03-31 16:01:59 +00:00
orudge
fa467d2f58 (svn r4203) - Fix compilation on mingw32 (stdint.h not included) 2006-03-31 15:34:22 +00:00
peter1138
cd0a67dc65 (svn r4201) - Codechange: Do for _engine_info[] what we do for _*_vehicle_info[]; create and use a function to retrieve data, and ensure constness. 2006-03-31 12:59:43 +00:00
celestar
859fc1d7f0 (svn r4200) -Codechange: Make use of water map accessors when getting the Index of a Ship Depot. TODO: Store the depot index in the map 2006-03-31 10:47:06 +00:00
peter1138
43c86cf33f (svn r4199) - Codechange: Use industry map accessors to get industry graphics type. 2006-03-31 10:44:32 +00:00
peter1138
a6e1a1d372 (svn r4198) - NewGRF: Rename GetCallBackResult() to GetVehicleCallback(), as other types will exist later, and use separate parameters instead of bitshifting. 2006-03-31 10:14:25 +00:00
bjarni
3b4b577107 (svn r4197) reentered STATIC_ZLIB_PATH (removed in 4183) since it turned out that it's used after all 2006-03-31 10:04:18 +00:00
celestar
20c29f10df (svn r4196) -Codechange: Add and make use of an accessor that modifies the size of the Company HQ 2006-03-31 09:09:26 +00:00
peter1138
1c19e7be00 (svn r4195) - Codechange: Initialize order variables to avoid a compiler warning. These are unused anyway... (smells of r3476-7, but not the same) 2006-03-31 09:08:02 +00:00
celestar
3f7eb666ba (svn r4194) -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. 2006-03-31 08:59:19 +00:00
celestar
c4a4bb2ffb (svn r4193) -Codechange: Add and make use of an accessor function to create company HQs 2006-03-31 08:44:53 +00:00
peter1138
9d3852bb57 (svn r4192) - 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.) 2006-03-31 08:39:10 +00:00
Darkvater
c35546964d (svn r4191) - Codechange: Properly set newlines and id for os_timer.c 2006-03-31 08:35:05 +00:00
celestar
7f134d238f (svn r4190) -Codechange: Add and make use of an accessor function to create houses 2006-03-31 08:18:14 +00:00
tron
7fbd940c82 (svn r4187) Simplify the code for building/removing a piece of road a bit 2006-03-31 06:16:04 +00:00
bjarni
1a56b830c0 (svn r4183) -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
2006-03-30 20:14:06 +00:00
belugas
80570009dd (svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear. 2006-03-30 19:16:44 +00:00
celestar
756212a71e (svn r4180) -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... 2006-03-30 15:47:18 +00:00
celestar
0dc5d10de2 (svn r4179) -Codechange: Add and make use of an accessor that obtains the building type 2006-03-30 15:06:49 +00:00
celestar
3e2edd63c9 (svn r4178) -Fix: Draw catenary inside waypoints as well 2006-03-30 13:12:36 +00:00
celestar
2b8eaa2e81 (svn r4177) -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. While at it, remove an unused variable 2006-03-30 13:06:16 +00:00
celestar
b364658f42 (svn r4173) -Codechange: Use IsClearWaterTile for buoy construction 2006-03-30 12:00:35 +00:00
celestar
8a91805c05 (svn r4172) -Codechange: Added a few accessors to work with ShipDepots and Locks 2006-03-30 11:21:36 +00:00
celestar
24f23babd1 (svn r4171) -Codechange: Create map accessor functions for creating ship depots and locks. Make use of them 2006-03-30 11:11:35 +00:00
celestar
ac7c9b6051 (svn r4169) -Codechange: Removed an include which accidently slipped into a commit 2006-03-30 11:05:05 +00:00
celestar
d7a6b26c39 (svn r4168) -Fix: Fixed a typo in previous commit 2006-03-30 10:53:31 +00:00
tron
7ad0d787e2 (svn r4166) Sprinkle several map accessors with assert()s 2006-03-30 09:29:01 +00:00
celestar
84de6477b2 (svn r4165) -Do not use GetBridgeAxis on bridge ramps (request by Tron) 2006-03-30 09:26:17 +00:00
tron
d9e705ae52 (svn r4164) Use acessor functions 2006-03-30 09:08:43 +00:00
belugas
1bb8d3a3b5 (svn r4163) CodeChange : Add missing file to MS Project and Workspace files 2006-03-30 00:48:45 +00:00
belugas
85d4d3a414 (svn r4160) CodeChange : Revert part of 4157, spotted by Tron 2006-03-29 21:10:42 +00:00
bjarni
0151ab0379 (svn r4159) added missing comments about refitting in CmdCloneVehicle 2006-03-29 20:57:17 +00:00
bjarni
0c64cecc66 (svn r4158) -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 2006-03-29 20:41:15 +00:00
belugas
3633d56923 (svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge 2006-03-29 20:35:39 +00:00
belugas
00cdf24057 (svn r4156) CodeChange : Little cleanup after Celestar's elrail merge 2006-03-29 20:06:31 +00:00
celestar
3ae99e17bb (svn r4155) -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus) 2006-03-29 19:37:18 +00:00
celestar
8310a46351 (svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ... 2006-03-29 19:03:47 +00:00
celestar
cb76f96aad (svn r4153) -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 2006-03-29 19:00:56 +00:00
belugas
a51b960be6 (svn r4152) properties set for elrail.c 2006-03-29 16:59:33 +00:00
bjarni
e00beaf9b5 (svn r4151) -Fix: [PowerPC] removed an incorrect uninitialized var used warning in os_timer 2006-03-29 16:56:38 +00:00
celestar
a7d8ad0004 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. 2006-03-29 16:30:26 +00:00