Commit Graph

3447 Commits (6ead57890c50758d2fe06f701e76fdbdae445b96)
 

Author SHA1 Message Date
celestar 6ead57890c (svn r4278) -Fix: changed char to uint8 because signedness of char is undefined. Thanks to KUDr and Tron for research and stuff. (FS#98) 19 years ago
celestar 39460c5e0a (svn r4276) -Codechange: Cleaned DrawCatenaryOnBridge a bit (requested by Tron) 19 years ago
celestar 0087f9dc74 (svn r4275) -Codechange: Use of map accessor functions inside station_map.h when possible 19 years ago
celestar 936be2391c (svn r4273) -Fix: Removed a problem where trains would stop in the middle of a platform if there were both elrails and convrails along the platform 19 years ago
celestar 715bee332b (svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h 19 years ago
tron b7ee0b8ba3 (svn r4271) s/\<TR_/TREE_/ resp. s/\<TR_/TREE_GROUND/ 19 years ago
tron ced23db3dc (svn r4270) Rename some bogus map5 to gfx 19 years ago
tron 9dbc25dc5e (svn r4269) We don't use GNU indentation style 19 years ago
Darkvater 8e6e35226d (svn r4268) - Delete the network-copy of the Patches struct as it is not needed anymore. All relevant patch-settings that are changed by a network-game are those that are saved with a savegame, so these are not affected for loaded games (since Patches are saved with them). Also there is a distinction between in-game patch settings and default patch settings and this is not affected in MP. Thus this temp copy can be removed. 19 years ago
Darkvater 6c3c1c22d3 (svn r4267) - Fix (r4241): also validate the error number that a client receives from a server, and encapsulate this functionality into GetNetworkErrorMsg(). 19 years ago
Darkvater 12cfa5526b (svn r4266) - Fix: compile warning on VS2005 (not all control paths return a value) 19 years ago
Darkvater b02fc3b62b (svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration) 19 years ago
celestar e921c1fc84 (svn r4263) -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 19 years ago
celestar 5a449e49fe (svn r4262) -Codechange: use IsClearWaterTile instead of some "home-brewn" marco. town_cmd is now map access free 19 years ago
belugas 84a5c861c8 (svn r4261) CodeChange : Add and Use Accessor for Houses Construction. And cleaning on town.flags12 too 19 years ago
celestar 8cbe98a3fd (svn r4259) -[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
19 years ago
celestar 369ad5a573 (svn r4258) -Codechange: Add and make use of map accessors dealing with road ground types (including roadworks). 19 years ago
celestar c6aac81a9d (svn r4257) -Codechange: Renamed the airport_map5_tiles_* variables into airport_sections_* 19 years ago
peter1138 39f21f5d85 (svn r4256) - Codechange: Replace lone map access in vehicle.c with its map accessor. 19 years ago
celestar e2db84101e (svn r4255) -Codechange: Add and make use of more accessor functions concerning unmovables. unmovable_cmd is now map access free 19 years ago
celestar 7eedaf9a0e (svn r4254) -Codechange: Add and make use of map accessors for town lifts. 19 years ago
celestar 646badb7d7 (svn r4252) -Codechange: Make more use of map accessors. water_cmd is now map access free 19 years ago
celestar 61ccc68382 (svn r4251) -Fix: Silence a warning in GetWaterTileType 19 years ago
celestar 3bbdf34ed7 (svn r4250) -Codechange: Further use of map accessors for water tiles 19 years ago
celestar 69e1c716e8 (svn r4249) -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 19 years ago
celestar 6443c14ebd (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE 19 years ago
tron 16c721237b (svn r4245) Simplify FindLengthOfTunnel() 19 years ago
tron 7549e674b3 (svn r4243) Unbreak compilation 19 years ago
tron 7163a64c25 (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo 19 years ago
peter1138 ed1bd5242d (svn r4241) - Fix: Perform validation on the error number that a server receives from a client. An invalid value may cause the server to terminate. 19 years ago
tron dd688cecdd (svn r4231) Remove ModifyTile(), it's not used anymore, yay! 19 years ago
tron b5eb55d527 (svn r4230) The road is asked for, not the rail. Undo part of r4164. (Pointed out by peter1138) 19 years ago
peter1138 2a8a8f5f98 (svn r4229) [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.
19 years ago
bjarni 10358a773e (svn r4228) -Fix: [autoreplace] allow replacement of wagons even when the engine fails to be replaced 19 years ago
peter1138 98c77c363f (svn r4227) - Fix: Wagon replace nows checks if the cargo types are the same before seeing if it can refit. 19 years ago
bjarni 9b44cd5dad (svn r4226) -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
19 years ago
belugas 07d94d32b6 (svn r4223) Correction of VC6 project file. 19 years ago
Darkvater d68a25daa8 (svn r4220) - Fix (r4219): of course iconv is enabled on >= 10.3 not >; fixed comment (thanks Bjarni) 19 years ago
Darkvater 38cd74a0bd (svn r4219) - 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 19 years ago
Darkvater b2cf79423d (svn r4218) - Codechange: Try to make the rdtsc() not present warning message a bit more clear 19 years ago
peter1138 45a0557b37 (svn r4217) Replace SDL-CONFIG and LIBPNG-CONFIG with SDL_CONFIG and LIBPNG_CONFIG 19 years ago
celestar ca0c73e4ea (svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out 19 years ago
celestar 2ab5b8e666 (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency 19 years ago
celestar bb8bdcb5d9 (svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles 19 years ago
celestar 05b9ec64c4 (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 19 years ago
peter1138 a2ea99dc66 (svn r4211) - Removed measuring units from the names of two strings.
- Use {POWER} and {WEIGHT_S} tags for all strings instead of "{COMMA}units".
19 years ago
peter1138 997ce7d317 (svn r4210) - Use new {WEIGHT} string tag for all cargo quantity strings. 19 years ago
peter1138 32f2ab69bd (svn r4209) Remove unused strings 19 years ago
orudge 4ac8416400 (svn r4208) - Update OS/2 readme on trunk, sorry for all the commits! 19 years ago
peter1138 08eb79310a (svn r4206) - Add bridge_map.h and unmovable_map.h to MS VS project file 19 years ago