rubidium
2c8e50f20c
(svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.
2007-08-31 17:13:39 +00:00
rubidium
976ce8ad3f
(svn r11016) -Fix [FS#1172]: stations would also be given cargo when vehicles have only dropped cargo of that particular type.
2007-08-31 17:09:13 +00:00
rubidium
c81eafdaa0
(svn r11015) -Fix [FS#1166]: towns would build bridges through eachother.
2007-08-31 13:06:28 +00:00
rubidium
98a3b8abfa
(svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist.
2007-08-31 12:57:52 +00:00
rubidium
c19b8c72b7
(svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus.
2007-08-31 12:45:21 +00:00
rubidium
aba867d78d
(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const.
...
-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
2007-08-30 21:11:12 +00:00
rubidium
8a6cc3aa10
(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-30 20:40:33 +00:00
rubidium
9833639b00
(svn r11006) -Fix: spectators are not allowed to issue commands. Issue spotted by SmatZ.
2007-08-30 19:20:15 +00:00
rubidium
b284b5fa92
(svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
...
-Codechange: barren the rail grounds on terraforming.
2007-08-30 17:17:04 +00:00
rubidium
9b65bc430c
(svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct.
2007-08-30 13:09:44 +00:00
rubidium
cb7eaff353
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-30 13:03:56 +00:00
rubidium
ac5fde61fb
(svn r11002) -Codechange: unhackify the cargo packet list saving (a little).
2007-08-30 12:10:32 +00:00
rubidium
a407d53d1b
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
2007-08-29 21:49:08 +00:00
truelight
a28d33b5dc
(svn r11000) -Fix r10121: when introducing the new blitter system, smallmap regained an old bug: buffer-overflow when moving window to far bottom-right.
...
-Note: we no longer cheat on not drawing the last line in smallmap, this time we created a more elegant fix
2007-08-29 21:30:03 +00:00
rubidium
3f3b013b99
(svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.
2007-08-29 21:27:16 +00:00
rubidium
99409d99d0
(svn r10998) -Codechange: refactor of the "core" of the terraforming code to make it possible to push the tile type specific terraforming requirements out of the generic part of the terraforming code. Patch by frosch. For more information take a look at FS#1147.
2007-08-29 21:08:35 +00:00
rubidium
5d628e6135
(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
2007-08-29 20:50:58 +00:00
bjarni
e10361a0eb
(svn r10996) -Feature: [OSX] added more options for right click emulation (controlled from the interface tab in the patch window)
...
This only works with the cocoa drivers (you will use the cocoa drivers unless you manually switched to SDL and compiled yourself)
Note: if control-click is selected, then the ingame control-click (like presignals and such) will be command-click
Requested and tested by ln- (so he should be blamed if this goes wrong :P )
2007-08-29 08:20:04 +00:00
rubidium
2179faf5c8
(svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
2007-08-28 06:46:33 +00:00
belugas
41a0bd2b74
(svn r10994) -Codechange: Change some function names to be more representative and more fitting of trunk's naming convention (skidd13)
2007-08-28 01:09:41 +00:00
belugas
6212b29b23
(svn r10993) -Codechange: A few less magical numbers (skidd13)
2007-08-27 23:50:56 +00:00
rubidium
ac838de385
(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" group. Patch by frosch.
2007-08-27 21:33:26 +00:00
rubidium
5ce935c6eb
(svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch.
2007-08-27 21:18:04 +00:00
rubidium
68d385b77c
(svn r10986) -Fix (r10985): inconsistency between documentation and actual code... thanks to glx for spotting it.
2007-08-26 21:53:11 +00:00
rubidium
3c919e36a7
(svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26 21:21:59 +00:00
rubidium
a5b32d8d72
(svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.
2007-08-26 20:43:22 +00:00
rubidium
a83ccad6bd
(svn r10983) -Codechange: use vehstatus & VS_CRASHED instead of some other "methods" custom to each vehicle to determine whether the vehicle is crashed.
2007-08-26 20:16:02 +00:00
rubidium
cf1d74b41e
(svn r10982) -Fix [FS#1162]: some old savegames could be in a state that the current game logic does not like; in the list of vehicles loading at a station when the vehicle is not actually at the station.
2007-08-26 14:38:44 +00:00
rubidium
a0d37ea7b9
(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too.
2007-08-26 13:55:36 +00:00
belugas
36c5b4e1ef
(svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert that happens when an industry uses a special gfx index (tile spec 0xFF). This 0xFF is the sentinel of a special check done for oil rigs, where water need to be around, but no tile will be constructed on it.
...
Problem is that the upper limit of gfx tiles is currently at 175. So, of course the system will assert with 255 ;)
2007-08-26 00:23:32 +00:00
rubidium
ba69ac2632
(svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn non-transparant when the other catenary was drawn transparant. Patch by smatz.
2007-08-25 20:32:18 +00:00
rubidium
c6152e0cd4
(svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles.
2007-08-25 20:05:58 +00:00
miham
5d245dc861
(svn r10975) -Update: WebTranslator2 update to 2007-08-24 21:49:23
...
croatian - 1 fixed by knovak (1)
finnish - 4 changed by tonihele (4)
2007-08-24 19:49:40 +00:00
rubidium
8a86526d05
(svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop.
2007-08-24 19:19:18 +00:00
KUDr
6c061ecfb4
(svn r10973) -Fix [FS#1154]: update wp->xy when waypoint is moved (Catalan)
2007-08-24 17:49:42 +00:00
belugas
99158287fd
(svn r10972) -Codechange: Implement the counterpart(GetTranslatedIndustryTileID) of getindustileid of TTDPatch. This allows to ensure that the ID of a tile (taken out of the map or not) is still a valid one regarding the possible override it may have been flagged to.
...
It is not the strict same thing, but is what we need regarding the slightly different approach we took for newindustries.
2007-08-24 00:23:35 +00:00
belugas
604924542c
(svn r10971) -Codechange: One less magical number
2007-08-24 00:04:51 +00:00
belugas
a079834cfc
(svn r10968) -Codechange: Remove a tileloop performed in the AfterLoadCountBuildings function and use the main loop of CheckhouseIDs instead
2007-08-23 18:05:51 +00:00
truelight
da8d778622
(svn r10967) -Fix: in case of moving the window on create (because it doesn't fit in the screen), make sure to move the viewport too if we are an extra viewport (spotted by Maedhros)
2007-08-23 11:08:59 +00:00
miham
043e502d14
(svn r10964) -Update: WebTranslator2 update to 2007-08-22 22:57:00
...
croatian - 9 fixed, 13 changed by knovak (22)
italian - 10 fixed by lorenzodv (10)
japanese - 5 fixed by ickoonite (5)
polish - 10 fixed, 1 changed by meush (11)
slovak - 77 changed by lengyel (77)
spanish - 5 fixed by eusebio (5)
2007-08-22 20:57:28 +00:00
belugas
d921cf88a3
(svn r10963) -Revert(10700): Although the idea was good, it was more prone of errors than usefull.
...
So now, it will be better to jump to the overriden tile when it is been marked as an override
2007-08-22 01:16:08 +00:00
belugas
b5627afcea
(svn r10962) -Codechange: protect yourself against an illicit substitution
2007-08-22 00:59:46 +00:00
belugas
116de48fdf
(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal.
...
This avoids the forest of coal mine error in the futur
2007-08-22 00:52:25 +00:00
belugas
a354a6af96
(svn r10955) -Fix: The substitute prop (0x08) of industry tiles does not behave as prop 0x08 of industry. Therefore, do not disable the old industry with value of 0xFF. Not a bug fix, just a spec compliance correction...
2007-08-21 00:29:10 +00:00
rubidium
8ef0cbbdf5
(svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when there were already two stations with a "more than default" rating as no cargo would be moved to the station to be picked up.
2007-08-20 20:29:22 +00:00
glx
ffdbaad8ec
(svn r10948) -Add: [win32] crash.dmp support for MSVC release builds
2007-08-19 21:51:36 +00:00
glx
a66008f04c
(svn r10946) -Fix (r10932): forgot one occurence
2007-08-19 17:55:24 +00:00
rubidium
e56e520673
(svn r10942) -Fix [FS#1133]: make the AI not crash when it has ships as the AI does not support them.
2007-08-19 16:51:15 +00:00
rubidium
0fed821efb
(svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables.
2007-08-19 09:38:30 +00:00
rubidium
fda1c9d34a
(svn r10931) -Fix [FS#1131]: when a station was destroyed and a vehicle was still loading, changing the current order of the loading vehicle caused a crash. This could happen with removing docks and oil rigs.
2007-08-18 22:56:58 +00:00