smatz
b4f58ebae4
(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now
2008-02-16 00:46:38 +00:00
glx
044ca2bbf6
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
2008-02-16 00:10:03 +00:00
glx
3e70ee6ed7
(svn r12154) -Codechange: removed a magic number
2008-02-15 23:57:03 +00:00
smatz
a5f99154b7
(svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable
2008-02-15 21:05:46 +00:00
frosch
a40d761d7f
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
2008-02-15 18:40:42 +00:00
frosch
fd0f57a794
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
2008-02-15 18:34:26 +00:00
frosch
cedca22c60
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
2008-02-15 18:21:04 +00:00
frosch
ef354e074f
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
2008-02-15 18:00:30 +00:00
belugas
65a13a3022
(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
2008-02-15 17:38:18 +00:00
peter1138
ac5433a924
(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.
2008-02-15 13:28:13 +00:00
peter1138
d1c741db4c
(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.
2008-02-15 11:02:50 +00:00
frosch
4164d2488f
(svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version.
2008-02-15 10:52:10 +00:00
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14 15:59:16 +00:00
belugas
739b118c6b
(svn r12140) -Codechange: A bit of code style fixes(Geektoo).
2008-02-14 15:13:36 +00:00
peter1138
859d768bb7
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
2008-02-14 11:58:36 +00:00
smatz
bb81de3c4c
(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it
2008-02-14 10:19:16 +00:00
peter1138
3371d02449
(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.
2008-02-14 07:25:24 +00:00
belugas
539c635efd
(svn r12136) -Fix(r12135): Code style compliance and... code style as such
2008-02-14 03:10:22 +00:00
belugas
81b3652f37
(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.
2008-02-14 02:57:38 +00:00
smatz
a0ddc43e92
(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
2008-02-13 19:24:40 +00:00
peter1138
b7cd791988
(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...
2008-02-13 18:11:19 +00:00
smatz
fd51465c8b
(svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places
2008-02-13 17:54:11 +00:00
smatz
480036254b
(svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9
2008-02-13 16:49:25 +00:00
smatz
0d1e4237cf
(svn r12130) -Cleanup (r12129): remove now unused strings from all language files
2008-02-13 14:31:13 +00:00
smatz
507728f46b
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
2008-02-13 14:21:36 +00:00
peter1138
df7327b453
(svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function.
2008-02-13 09:34:56 +00:00
belugas
6bb9c474dd
(svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value.
2008-02-13 03:21:19 +00:00
belugas
c95ff294fb
(svn r12126) -Codechange: Use a variable instead of calling the same function a few times
2008-02-13 03:02:02 +00:00
peter1138
63e306006b
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
2008-02-12 20:14:14 +00:00
frosch
c2bad6d22c
(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.
2008-02-12 15:43:10 +00:00
glx
23bae896c9
(svn r12123) -Add: generate.vbs script to allow project files generation for users unable to run generate bash script
2008-02-12 14:20:55 +00:00
peter1138
4d0c443953
(svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use.
2008-02-12 13:23:57 +00:00
peter1138
9f6fd72c09
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
2008-02-12 12:54:51 +00:00
peter1138
592e22cc3a
(svn r12120) -Cleanup: const-ify parameters when checking for same cargopacket source.
2008-02-12 11:46:29 +00:00
peter1138
e76f7c9359
(svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere.
2008-02-12 11:08:47 +00:00
belugas
f4334301e8
(svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents
2008-02-12 03:05:27 +00:00
glx
b0b929ce42
(svn r12117) -Fix (r12115): strgen compilation was broken
2008-02-12 02:39:22 +00:00
glx
42b305661b
(svn r12116) -Fix (r12083): little typos in source.list
2008-02-11 21:01:43 +00:00
smatz
f19eca0905
(svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size
2008-02-11 20:23:38 +00:00
peter1138
f175e46208
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
2008-02-11 19:10:33 +00:00
belugas
cc2b8b574a
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
2008-02-11 17:35:15 +00:00
smatz
1011ac353b
(svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, so it cannot have an invalid tile index
2008-02-11 12:42:49 +00:00
peter1138
fb6accfcb7
(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around.
2008-02-11 11:21:29 +00:00
belugas
4f0e6ab0ea
(svn r12107) -Codechange: Add and use the typedef BridgeType
2008-02-11 04:12:30 +00:00
belugas
d8b3526840
(svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported
2008-02-11 03:22:44 +00:00
belugas
9a50fcd281
(svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build
2008-02-11 01:06:44 +00:00
smatz
9e0a93d286
(svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9
2008-02-10 18:31:33 +00:00
smatz
8a768652c8
(svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings
2008-02-10 15:53:26 +00:00
maedhros
4e839aacf6
(svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin)
2008-02-10 14:49:44 +00:00
smatz
e075cf5500
(svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles
2008-02-10 14:16:25 +00:00