Commit Graph

8570 Commits (03315e88e3f67714541123fa23384b31c61b2ead)
 

Author SHA1 Message Date
frosch 03315e88e3 (svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land. 17 years ago
frosch 4f394c19e2 (svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land. 17 years ago
belugas f3adf67a7b (svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
17 years ago
peter1138 a141442ff7 (svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast
aircraft slow down more rapidly than slower aircraft. This prevents them 
from reaching the end of the runway at high speed, and also stops slow 
aircraft from slowing down too much at the start of the runway.
17 years ago
peter1138 359771c406 (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. 17 years ago
frosch 7c528a6ab7 (svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version. 17 years ago
frosch 514df81e27 (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
belugas 6c93216641 (svn r12140) -Codechange: A bit of code style fixes(Geektoo). 17 years ago
peter1138 be47b47507 (svn r12139) -Fix (r12124): The global variable value should be returned, not the variable. 17 years ago
smatz e081e0712f (svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it 17 years ago
peter1138 6d333e5d3e (svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown. 17 years ago
belugas a36e666ca5 (svn r12136) -Fix(r12135): Code style compliance and... code style as such 17 years ago
belugas 81b47a628f (svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process.  Makes less magic around.
17 years ago
smatz fe48d0be21 (svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
17 years ago
peter1138 833a00def9 (svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values... 17 years ago
smatz 391898b47a (svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places 17 years ago
smatz 4c5dde140b (svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9 17 years ago
smatz 81067ddfdf (svn r12130) -Cleanup (r12129): remove now unused strings from all language files 17 years ago
smatz a3e3cd7d46 (svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick) 17 years ago
peter1138 3abf3e3fa4 (svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function. 17 years ago
belugas f24e231e9a (svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value. 17 years ago
belugas d4fd1120d1 (svn r12126) -Codechange: Use a variable instead of calling the same function a few times 17 years ago
peter1138 32691590fb (svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially. 17 years ago
frosch 0aece5ed6b (svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
-Fix: Add some variables that were missing in one or both cases.
17 years ago
glx ccfae56690 (svn r12123) -Add: generate.vbs script to allow project files generation for users unable to run generate bash script 17 years ago
peter1138 d6670eed6b (svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use. 17 years ago
peter1138 25f0a890ae (svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo) 17 years ago
peter1138 aefb78fcdf (svn r12120) -Cleanup: const-ify parameters when checking for same cargopacket source. 17 years ago
peter1138 57aacb50c8 (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. 17 years ago
belugas d465b23ee2 (svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents 17 years ago
glx 7d88f6688e (svn r12117) -Fix (r12115): strgen compilation was broken 17 years ago
glx f20cf510e4 (svn r12116) -Fix (r12083): little typos in source.list 17 years ago
smatz 05169f53be (svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size 17 years ago
peter1138 96525b3edd (svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec 17 years ago
belugas 6a717aa49b (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. 17 years ago
smatz a9ce2a7122 (svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, so it cannot have an invalid tile index 17 years ago
peter1138 0f3a5fc99d (svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around. 17 years ago
belugas c21787238c (svn r12107) -Codechange: Add and use the typedef BridgeType 17 years ago
belugas f54a21450a (svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported 17 years ago
belugas d2f6320d09 (svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build 17 years ago
smatz 4223131cb4 (svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9 17 years ago
smatz 17d9c9bf2b (svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings 17 years ago
maedhros 56a5c2d7c2 (svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin) 17 years ago
smatz 0fc6754832 (svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles 17 years ago
smatz b18f96d222 (svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders 17 years ago
smatz 28c61fc4fd (svn r12099) -Documentation: add new RailGroundType to landscape.html 17 years ago
smatz c82d1e3e46 (svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile 17 years ago
glx 7a20968aaf (svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames. 17 years ago
smatz 5bfcd657c3 (svn r12096) -Fix: remove leftover property when loading older savegames 17 years ago
smatz 98e81e95a5 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago