summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2007-08-22(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a ↵belugas
value that cannot be legal. This avoids the forest of coal mine error in the futur
2007-08-21(svn r10955) -Fix: The substitute prop (0x08) of industry tiles does not ↵belugas
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-20(svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when ↵rubidium
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-19(svn r10948) -Add: [win32] crash.dmp support for MSVC release buildsglx
2007-08-19(svn r10946) -Fix (r10932): forgot one occurenceglx
2007-08-19(svn r10942) -Fix [FS#1133]: make the AI not crash when it has ships as the ↵rubidium
AI does not support them.
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-08-18(svn r10931) -Fix [FS#1131]: when a station was destroyed and a vehicle was ↵rubidium
still loading, changing the current order of the loading vehicle caused a crash. This could happen with removing docks and oil rigs.
2007-08-17(svn r10927) -Update: WebTranslator2 update to 2007-08-17 17:54:48miham
brazilian_portuguese - 10 fixed by tucalipe (10) bulgarian - 1 fixed by thetitan (1) dutch - 99 changed by habell (99) estonian - 10 fixed, 2 changed by kristjans (12) finnish - 3 fixed by kerba (3) german - 10 fixed, 2 changed by Timwi (2), Neonox (10) slovak - 10 fixed by lengyel (10) slovenian - 10 fixed by Necrolyte (10) ukrainian - 10 fixed by mad (10)
2007-08-17(svn r10926) -Feature: [NewGRF] Add support for variable 67(for real this ↵belugas
time) and 68 of Variational Action 2 for Industries -Fix: a very few codestyle/comments-typo changes
2007-08-16(svn r10924) -Fix [FS#1120]: VS_STOPPED is only set for the front part of an ↵maedhros
articulated road vehicle, so don't check any other parts when testing if the vehicle is stopped inside a depot.
2007-08-16(svn r10923) -Codechange: use 'real' exception handling in saveload codeglx
2007-08-16(svn r10922) -Codechange: Allow building and removing tracks and signals ↵maedhros
when there is a train on a parallel diagonal track that doesn't interact with this one. (frosch)