Commit Graph

7525 Commits

Author SHA1 Message Date
bjarni
b50a3d7522 (svn r11043) -Fix (r10039) [FS#1185]: Autorenew/autoreplace fails silently with multiple multi-headed engines 2007-09-04 19:58:18 +00:00
rubidium
222e105ec7 (svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong heights (height of nothern corner instead of height of lowest corner). Patch by frosch. 2007-09-04 12:06:38 +00:00
rubidium
cadf412dcd (svn r11041) -Fix (r10460) [FS#1195]: the industry's owner was saved twice instead of the owner and the founder. Patch by frosch. 2007-09-04 12:00:12 +00:00
rubidium
bd7483ba3c (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 2007-09-04 11:58:27 +00:00
rubidium
d5e3e4c66e (svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation. 2007-09-02 20:41:46 +00:00
miham
2b850983d1 (svn r11038) -Update: WebTranslator2 update to 2007-09-02 22:28:19
brazilian_portuguese - 4 fixed by tucalipe (4)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 4 fixed by arnaullv (4)
croatian   - 6 fixed, 563 changed by knovak (569)
czech      - 4 fixed by Hadez (4)
dutch      - 4 fixed by habell (4)
french     - 4 fixed, 5 changed by Skiper (3), glx (6)
italian    - 4 fixed, 2 changed by lorenzodv (6)
korean     - 14 fixed, 22 changed by leejaeuk5 (36)
2007-09-02 20:28:53 +00:00
rubidium
75a46eb2cc (svn r11033) -Fix [FS#1184] (r11011): building articulated vehicles failed. Based on a patch by SmatZ. 2007-09-01 20:09:26 +00:00
rubidium
86f45574a8 (svn r11032) -Codechange: unmagicify some table sizes and removal of some unnecessary variables. Patch by frosch. 2007-09-01 09:12:46 +00:00
rubidium
6f76bc2449 (svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas. 2007-09-01 08:31:36 +00:00
rubidium
766d6d420e (svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly. 2007-09-01 08:04:08 +00:00
glx
dc4c52a313 (svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttd 2007-08-31 23:29:53 +00:00
rubidium
e128170b1f (svn r11028) -Fix [FS#1177]: crash when having the Finance window opened of the player you are cheating to. 2007-08-31 23:02:16 +00:00
rubidium
2cd15f732c (svn r11027) -Fix: do not unconditionally assume that a tile has a depot. 2007-08-31 20:52:38 +00:00
rubidium
a06b8a510b (svn r11026) -Fix: the name of a sign could sometimes be NULL causing crashes. 2007-08-31 20:50:59 +00:00
rubidium
2ac24735e8 (svn r11025) -Fix: safeguard StrEmpty from calls with NULL. 2007-08-31 20:50:18 +00:00
rubidium
5243d98761 (svn r11024) -Fix [FS#1173]: give a more correct error when building some 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 20:03:50 +00:00
rubidium
c649f8e3cd (svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines. 2007-08-31 19:49:31 +00:00
rubidium
8d0804834c (svn r11022) -Fix: the canal border determination did not take oil rigs into consideration. 2007-08-31 19:46:45 +00:00
rubidium
3c053259f6 (svn r11021) -Fix [FS#1175]: do not display income/expenses when they do not belong to a "valid" tile, like the money cheat/giving money. 2007-08-31 17:43:29 +00:00
rubidium
2b2d8b5dae (svn r11020) -Fix [FS#1174]: One could not give money when (s)he had too much money or rather: when casting the amount of money to an int32 becomes negative. 2007-08-31 17:38:29 +00:00
rubidium
cf7c89f72c (svn r11019) -Fix [FS#1176]: Vehicles in a group must always have the same type when adding new vehicles to a group. Patch by SmatZ. 2007-08-31 17:31:54 +00:00
rubidium
0cf6a3f1ef (svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own company or a bankrupted/non-existant company. 2007-08-31 17:15:46 +00:00
rubidium
cadc470da5 (svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more. 2007-08-31 17:13:39 +00:00
rubidium
313fc8930f (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
b3f9121f14 (svn r11015) -Fix [FS#1166]: towns would build bridges through eachother. 2007-08-31 13:06:28 +00:00
rubidium
3b672a5c5f (svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist. 2007-08-31 12:57:52 +00:00
rubidium
a0831a35a2 (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
732845440a (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
5ff81aca18 (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
d4290086e8 (svn r11006) -Fix: spectators are not allowed to issue commands. Issue spotted by SmatZ. 2007-08-30 19:20:15 +00:00
rubidium
f4482907da (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
f830699971 (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
235ad4ab6b (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
6edf2d3a1b (svn r11002) -Codechange: unhackify the cargo packet list saving (a little). 2007-08-30 12:10:32 +00:00
rubidium
c2dcccae16 (svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot. 2007-08-29 21:49:08 +00:00
truelight
3a0e647c0e (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
dc80195754 (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
fff12fd22e (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
a6a9968d16 (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus. 2007-08-29 20:50:58 +00:00
bjarni
97135f2b7e (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
5e5d36d6b4 (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
cb3843b820 (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
da58abafe8 (svn r10993) -Codechange: A few less magical numbers (skidd13) 2007-08-27 23:50:56 +00:00
rubidium
45900925c3 (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
759255df12 (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
e7b9f597df (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
9e630945b2 (svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle. 2007-08-26 21:21:59 +00:00
rubidium
91d18ebd17 (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
39f17c9de4 (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
1a82bd9350 (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