summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-31(svn r11025) -Fix: safeguard StrEmpty from calls with NULL.rubidium
2007-08-31(svn r11024) -Fix [FS#1173]: give a more correct error when building some ↵rubidium
things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ.
2007-08-31(svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on ↵rubidium
Big Endian machines.
2007-08-31(svn r11022) -Fix: the canal border determination did not take oil rigs into ↵rubidium
consideration.
2007-08-31(svn r11021) -Fix [FS#1175]: do not display income/expenses when they do not ↵rubidium
belong to a "valid" tile, like the money cheat/giving money.
2007-08-31(svn r11020) -Fix [FS#1174]: One could not give money when (s)he had too ↵rubidium
much money or rather: when casting the amount of money to an int32 becomes negative.
2007-08-31(svn r11019) -Fix [FS#1176]: Vehicles in a group must always have the same ↵rubidium
type when adding new vehicles to a group. Patch by SmatZ.
2007-08-31(svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own ↵rubidium
company or a bankrupted/non-existant company.
2007-08-31(svn r11017) -Codechange: unify determining whether a vehicle needs/can be ↵rubidium
service a little more.
2007-08-31(svn r11016) -Fix [FS#1172]: stations would also be given cargo when ↵rubidium
vehicles have only dropped cargo of that particular type.
2007-08-31(svn r11015) -Fix [FS#1166]: towns would build bridges through eachother.rubidium
2007-08-31(svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of ↵rubidium
a consist.
2007-08-31(svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small ↵rubidium
as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus.
2007-08-30(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game ↵rubidium
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(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with ↵rubidium
templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-30(svn r11006) -Fix: spectators are not allowed to issue commands. Issue ↵rubidium
spotted by SmatZ.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-30(svn r11004) -Codechange: some reworks of the saveload mechanism to be able ↵rubidium
to save and load private and protected variables in the vehicle struct.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
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(svn r11002) -Codechange: unhackify the cargo packet list saving (a little).rubidium
2007-08-29(svn r11001) -Codechange: unify the way to determine whether a vehicle is in ↵rubidium
a depot.
2007-08-29(svn r11000) -Fix r10121: when introducing the new blitter system, smallmap ↵truelight
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(svn r10999) -Codechange: unify the way the running cost of a vehicle is ↵rubidium
determined. Patch by nycom.
2007-08-29(svn r10998) -Codechange: refactor of the "core" of the terraforming code to ↵rubidium
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(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.rubidium
2007-08-29(svn r10996) -Feature: [OSX] added more options for right click emulation ↵bjarni
(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-28(svn r10995) -Codechange: unify the way to get the displayed maxium speed of ↵rubidium
a vehicle. Patch by nycom.
2007-08-28(svn r10994) -Codechange: Change some function names to be more ↵belugas
representative and more fitting of trunk's naming convention (skidd13)
2007-08-27(svn r10993) -Codechange: A few less magical numbers (skidd13)belugas
2007-08-27(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" ↵rubidium
group. Patch by frosch.
2007-08-27(svn r10991) -Codechange: add documentation, enumification and some code ↵rubidium
simplifications to the terraforming code. Patch by frosch.
2007-08-26(svn r10986) -Fix (r10985): inconsistency between documentation and actual ↵rubidium
code... thanks to glx for spotting it.
2007-08-26(svn r10985) -Codechange: unify/remove duplicate ↵rubidium
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26(svn r10984) -Codechange: unify the way one can get the current speed in the ↵rubidium
same forwat so we can display it.
2007-08-26(svn r10983) -Codechange: use vehstatus & VS_CRASHED instead of some other ↵rubidium
"methods" custom to each vehicle to determine whether the vehicle is crashed.
2007-08-26(svn r10982) -Fix [FS#1162]: some old savegames could be in a state that the ↵rubidium
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(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-08-26(svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert ↵belugas
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-25(svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn ↵rubidium
non-transparant when the other catenary was drawn transparant. Patch by smatz.
2007-08-25(svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) ↵rubidium
was considered when distributing vehicles.
2007-08-24(svn r10975) -Update: WebTranslator2 update to 2007-08-24 21:49:23miham
croatian - 1 fixed by knovak (1) finnish - 4 changed by tonihele (4)
2007-08-24(svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not ↵rubidium
(properly) use a road stop still tried to go to that road stop.
2007-08-24(svn r10973) -Fix [FS#1154]: update wp->xy when waypoint is moved (Catalan)KUDr
2007-08-24(svn r10972) -Codechange: Implement the ↵belugas
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(svn r10971) -Codechange: One less magical numberbelugas
2007-08-23(svn r10968) -Codechange: Remove a tileloop performed in the ↵belugas
AfterLoadCountBuildings function and use the main loop of CheckhouseIDs instead
2007-08-23(svn r10967) -Fix: in case of moving the window on create (because it ↵truelight
doesn't fit in the screen), make sure to move the viewport too if we are an extra viewport (spotted by Maedhros)
2007-08-22(svn r10964) -Update: WebTranslator2 update to 2007-08-22 22:57:00miham
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(svn r10963) -Revert(10700): Although the idea was good, it was more prone ↵belugas
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(svn r10962) -Codechange: protect yourself against an illicit substitutionbelugas