belugas
47dd4989a8
(svn r11137) -Feature: [NewGRF] Add support for bit 17 of property 1A for Industries. This bit enables the protection of the last instance of an industry type once raise.
2007-09-22 00:59:27 +00:00
rubidium
a6a8502ca3
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
2007-09-21 17:56:55 +00:00
rubidium
2ce95b9fd0
(svn r11133) -Fix (r11102) [FS#1245]: in some cases vehicles would be drawn over houses when they should be drawn behind the houses. Patch by frosch.
2007-09-20 19:21:01 +00:00
rubidium
5fe04f2db7
(svn r11132) -Fix: NewGRFs seem to assume that STR_NULL is an empty string or so.
2007-09-19 18:55:26 +00:00
rubidium
42b629c78c
(svn r11131) -Fix (r11126): forgot to commit the changes that performed the actual fix.
2007-09-19 18:39:14 +00:00
rubidium
5d4311c07a
(svn r11130) -Fix [FS#1207]: towns build roads that weren't connected to any other road.
2007-09-19 18:15:59 +00:00
glx
fa628f0363
(svn r11129) -Fix: update some TextID to StringID 'translations' to reflect changes in language files
2007-09-19 17:37:44 +00:00
rubidium
7d325672eb
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-19 16:36:42 +00:00
rubidium
262836a24f
(svn r11127) -Fix: truncate the result of 8 bits callbacks.
2007-09-18 20:41:59 +00:00
rubidium
7f721d31c2
(svn r11126) -Fix: the algorithm to determine the closest water/land was flawed.
2007-09-18 18:55:25 +00:00
rubidium
87f62c7109
(svn r11125) -Documentation: add/update the documentation of news*. Based on a patch by Progman.
2007-09-17 17:07:24 +00:00
rubidium
c2dc4a4adb
(svn r11124) -Documentation: of tree_map.h and tree_cmd.cpp. Patch by Progman.
2007-09-17 16:56:15 +00:00
miham
a451c6f4b9
(svn r11123) -Update: WebTranslator2 update to 2007-09-17 12:45:29
...
afrikaans - 47 fixed, 52 changed by TrueTenacity (99)
brazilian_portuguese - 23 changed by fukumori (23)
bulgarian - 14 fixed by thetitan (14)
catalan - 3 changed by arnaullv (3)
croatian - 6 fixed, 12 changed by knovak (15), tperic (3)
danish - 20 fixed by ThomasA (20)
finnish - 20 fixed by habazi (20)
german - 10 fixed by Timwi (10)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by lorenzodv (1)
japanese - 6 fixed by ickoonite (6)
norwegian_nynorsk - 6 fixed by pollux (6)
piglatin - 20 fixed by adammw (20)
russian - 20 fixed by Smoky555 (20)
slovak - 1 fixed by lengyel (1)
slovenian - 7 fixed by Necrolyte (7)
spanish - 1 changed by Cabu (1)
traditional_chinese - 21 fixed by xbddc (21)
2007-09-17 10:46:35 +00:00
rubidium
257fdb38e6
(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
2007-09-17 04:23:03 +00:00
rubidium
f3491cb062
(svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs.
2007-09-16 21:34:50 +00:00
rubidium
9da9e77641
(svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle.
2007-09-16 20:48:00 +00:00
truelight
631dc06212
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
2007-09-16 18:10:52 +00:00
truelight
345a4a28d8
(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!
2007-09-15 16:01:34 +00:00
truelight
6a8e5398a2
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
2007-09-15 15:38:09 +00:00
glx
17870089d0
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
2007-09-15 15:21:17 +00:00
rubidium
070f7b7a27
(svn r11112) -Fix (r11107) [FS#1229]: in some cases one could destroy (parts of) buildings when building tunnels.
2007-09-15 09:39:23 +00:00
glx
1c998c6d92
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
2007-09-15 00:49:44 +00:00
truelight
f438dcdd67
(svn r11109) -Fix r11106: it is silly to use a std::list for something that is cleary a std::vector (less memory ;) WHOHO!)
2007-09-14 23:03:28 +00:00
rubidium
e8ff9ee982
(svn r11108) -Fix (r11107): somebody forgot to add some file ;) Spoils the fun of the previous cryptic message though.
2007-09-14 22:35:39 +00:00
rubidium
fef64185b8
(svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-14 22:27:40 +00:00
truelight
5647bd5157
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
2007-09-14 22:25:00 +00:00
rubidium
b25c661ce6
(svn r11105) -Codechange [FS#1223]: add some support for tuning of the bounding boxes for some special cases (like tunnels and bridges). Patch by frosch.
2007-09-14 21:54:57 +00:00
rubidium
6762862edc
(svn r11104) -Fix: bounding boxes also overlap when the min of a bounding box is equal to the max of another bounding box. Patch by frosch.
2007-09-14 21:36:59 +00:00
rubidium
faa183a060
(svn r11103) -Codechange: remove pointless comparison as it can never ever be true (unless you've got at least 3 bit errors and then you're screwed anyway). Patch by frosch.
2007-09-14 21:35:22 +00:00
rubidium
6f296b9870
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
2007-09-14 21:32:21 +00:00
truelight
d5171df2df
(svn r11101) -Fix r11099: the check: file_pos == 0, no longer works; adjust the check with file_slot. This solves the ? sprites with autorail (nice catch Progman)
2007-09-13 22:48:11 +00:00
truelight
7648df7fb5
(svn r11100) -Fix r11099: darn typos...
2007-09-13 18:50:42 +00:00
truelight
3d0ac92267
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
2007-09-13 18:46:29 +00:00
truelight
c0c12bca3d
(svn r11098) -Fix r11096: forgot spaces before comments
2007-09-13 18:35:29 +00:00
truelight
70772e9cc9
(svn r11097) -Codechange: for easy future extension of NewGRF Scanning, split up the functions a bit
2007-09-13 18:28:56 +00:00
truelight
bf17a96b63
(svn r11096) -Fix: when 2 different GRF-files had the same name (e.g.: ""), the double-entry checker didn't always work correctly, resulting in multiple entries of the same grf in the list
2007-09-13 18:26:18 +00:00
truelight
8cd9ab9b7e
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
2007-09-13 18:22:34 +00:00
belugas
1970e657a3
(svn r11094) -Documentation: Add comments on viewport structures and change an obscure variable name to something a little more meaningfull.
...
Heavily based of frosch's work (FS#1223)
2007-09-13 15:51:50 +00:00
truelight
b21093ea8f
(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
2007-09-13 14:44:49 +00:00
truelight
f1336fba68
(svn r11092) -Add: allow 'blitter=<value>' in openttd.cfg to set the blitter (so you don't have to keep on doing 'openttd -b 32bpp-optimized'..)
2007-09-13 12:28:53 +00:00
belugas
1e4f8d7a23
(svn r11091) -Codechange: Partial rewrite of the road management code of towns, in order to make it more readable and with improved performance. (FS#1161 by skidd13)
2007-09-12 23:56:21 +00:00
rubidium
9e7931f6ea
(svn r11089) -Codechange: add revision detection to MSVC.
2007-09-12 07:11:48 +00:00
glx
7b7c66fb6b
(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
2007-09-11 17:42:46 +00:00
miham
22843caaf5
(svn r11087) -Update: WebTranslator2 update to 2007-09-10 22:36:01
...
brazilian_portuguese - 6 fixed by tucalipe (6)
catalan - 6 fixed by arnaullv (6)
dutch - 6 fixed by webfreakz (6)
estonian - 6 fixed by kristjans (6)
french - 6 fixed by glx (6)
hungarian - 6 fixed by miham (6)
italian - 6 fixed by lorenzodv (6)
slovak - 6 fixed by lengyel (6)
spanish - 6 fixed by eusebio (6)
swedish - 24 fixed by daishan (24)
ukrainian - 6 fixed by mad (6)
2007-09-10 20:36:37 +00:00
rubidium
74d0bf52b2
(svn r11086) -Fix/Revert (r11053, r10984): "fixing" r11053 made the acceleration code use the wrong speed, which can be fixed by reverting a small piece of r10984.
2007-09-10 17:13:37 +00:00
rubidium
160e719836
(svn r11085) -Fix-ish (r11084): some tabs that did not show up in the diff, which caused a mess of tab and non-tab usage.
2007-09-10 15:36:33 +00:00
rubidium
a2a3a00e17
(svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman.
2007-09-10 15:21:14 +00:00
truelight
1de38b4119
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
2007-09-10 14:55:46 +00:00
truelight
8de52c089d
(svn r11082) -Fix r11081: save before commit (yeah, whitelines are important too!)
2007-09-10 00:05:27 +00:00
truelight
fc80e722cf
(svn r11081) -Fix r11080: now solved the problem in a pretty way: don't do animation if we are not drawing to the screen-pointer
2007-09-10 00:03:47 +00:00
truelight
ab880fdf07
(svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit was ... wrong ;)
2007-09-09 23:57:47 +00:00
truelight
3c31722825
(svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-anim
2007-09-09 23:47:55 +00:00
truelight
34e48f7886
(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)
...
-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
2007-09-09 23:16:01 +00:00
truelight
89bdfaacd9
(svn r11076) -Fix: MakeTransparent of 32bpp blitter used 0..100; using 0..255 makes it much faster (frosch)
...
-Fix: ComposeColourXXX could work a tiny bit faster when using 256, not 255 as value to divide with; downside is that it can give alpha errors (frosch)
2007-09-09 21:56:52 +00:00
rubidium
38ff181ebf
(svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the goto-depot button did not make it possible to stop the vehicle at that depot.
2007-09-09 17:42:59 +00:00
rubidium
384bfae293
(svn r11070) -Fix [FS#1217]: due to making an Action2 variable work properly, the NewGRF called other code too that wasn't prepared for non-train vehicles.
2007-09-09 15:32:46 +00:00
rubidium
30b3819870
(svn r11069) -Codechange: allow slopes under statues. Patch by kaan.
2007-09-09 11:30:44 +00:00
rubidium
40b871410b
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
2007-09-09 11:23:49 +00:00
rubidium
efea7622ac
(svn r11067) -Codechange: also make it possible to use the advanced vehicle list for other players. Patch by SmatZ.
2007-09-09 10:34:32 +00:00
rubidium
ed3b1d398a
(svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman.
2007-09-09 10:21:27 +00:00
rubidium
65f9a0f21a
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
2007-09-09 10:13:17 +00:00
rubidium
ef4d248325
(svn r11064) -Fix [FS#553]: when autorenew is enabled and it cannot renew the vehicle anymore (because the player cannot build the engine), the aging warnings as if autorenew is not enabled are shown.
2007-09-08 22:53:10 +00:00
rubidium
3243b07542
(svn r11063) -Codechange: make it possible for people to view the loading indicators of everyone. Patch by SmatZ.
2007-09-08 22:04:49 +00:00
miham
814583f2a6
(svn r11062) -Update: WebTranslator2 update to 2007-09-08 22:37:00
...
croatian - 1 changed by knovak (1)
estonian - 4 fixed, 3 changed by kristjans (7)
french - 2 changed by glx (2)
hungarian - 4 fixed by miham (4)
japanese - 4 fixed by ickoonite (4)
norwegian_nynorsk - 14 fixed by pollux (14)
slovak - 4 fixed by lengyel (4)
slovenian - 4 fixed by Necrolyte (4)
spanish - 4 fixed by eusebio (4)
turkish - 27 fixed by jnmbk (27)
ukrainian - 2 fixed by mad (2)
2007-09-08 20:37:37 +00:00
glx
1713d89374
(svn r11061) -Fix [FS#1086]: [win32] some keys were handled twice
2007-09-08 14:59:58 +00:00
rubidium
82f6a90a56
(svn r11060) -Codechange: replace some magic numbers with the right enumified constants.
2007-09-08 10:10:31 +00:00
rubidium
91a49cee55
(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
2007-09-08 09:52:02 +00:00
belugas
8141fe0898
(svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line.
...
After double checking with ttdpatch, behaviour is now more alike (Eddi)
2007-09-08 00:37:37 +00:00
rubidium
4eef590b15
(svn r11057) -Fix [FS#1215]: loading TTD savegames went into an infinite loop due to not yet properly set next and previous pointers.
2007-09-07 22:06:52 +00:00
rubidium
c25655d4ae
(svn r11056) -Fix [FS#1213]: road/tram tiles would not always get marked dirty properly, causing glitches for non-local players. Patch by SmatZ.
2007-09-07 21:17:01 +00:00
rubidium
a208f83e8b
(svn r11055) -Fix [FS#1214]: loading indicators would sometimes glitch due to a bounding box that was too small. Patch by frosch.
2007-09-07 21:15:32 +00:00
rubidium
8daaea0398
(svn r11054) -Fix [FS#944]: mismatch between TTDP's and OTTD's placement of catenary, creating graphical glitches when loading a catenary replacement. Patch by frosch.
2007-09-07 21:11:12 +00:00
rubidium
1d5d9de628
(svn r11053) -Fix: train status bar flickering a lot when waiting at a signal.
2007-09-07 21:09:37 +00:00
glx
4a658a562b
(svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order
2007-09-07 17:01:35 +00:00
belugas
518fd6aa4d
(svn r11050) -Codechange: Use the translated gfx, not the original one.
2007-09-06 03:02:38 +00:00
rubidium
8a161d1488
(svn r11049) -Codechange: unify a large part of the vehicle details window. Based on a patch by nycom.
2007-09-05 23:26:45 +00:00
rubidium
15ea3be986
(svn r11048) -Fix [FS#1206]: several cases where (re)moving eninges on a train would corrupt the vehicle counts for the groups.
2007-09-05 21:05:12 +00:00
rubidium
104300c9fa
(svn r11047) -Fix (r11011) [FS#1205]: desync due to wrong cached vehicle length on articulated vehicle construction.
2007-09-05 17:53:14 +00:00
bjarni
f7d1c125b1
(svn r11046) -Codechange: added function to get the next movable (non-articulated, non-read end of dualheaded engine) vehicle in a train
2007-09-05 10:33:42 +00:00
bjarni
7cdf6d1cbe
(svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine
2007-09-05 10:15:23 +00:00
bjarni
1028e2dc91
(svn r11044) -Fix (r11043): [autoreplace] a proper fix should cover all cases, not just the one mentioned in the bug report
...
Certain dualheaded/articulated consists could still trigger this issue
2007-09-05 09:31:15 +00:00
bjarni
75bc407c46
(svn r11043) -Fix (r10039) [FS#1185]: Autorenew/autoreplace fails silently with multiple multi-headed engines
2007-09-04 19:58:18 +00:00
rubidium
c5cfb281ad
(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
a0559dd89e
(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
9706c32ed6
(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
b1effc466e
(svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation.
2007-09-02 20:41:46 +00:00
miham
d396b0c556
(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
52e1d03ec7
(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
05581edf59
(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
56ab253307
(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
0df355bbda
(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
1f7f4f6f62
(svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttd
2007-08-31 23:29:53 +00:00
rubidium
79fedd37be
(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
57db6a8c20
(svn r11027) -Fix: do not unconditionally assume that a tile has a depot.
2007-08-31 20:52:38 +00:00
rubidium
10475e88c6
(svn r11026) -Fix: the name of a sign could sometimes be NULL causing crashes.
2007-08-31 20:50:59 +00:00
rubidium
c720d9d83a
(svn r11025) -Fix: safeguard StrEmpty from calls with NULL.
2007-08-31 20:50:18 +00:00
rubidium
8c85125fd9
(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
a8033758e7
(svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines.
2007-08-31 19:49:31 +00:00
rubidium
dd60e3b7dd
(svn r11022) -Fix: the canal border determination did not take oil rigs into consideration.
2007-08-31 19:46:45 +00:00
rubidium
9695727120
(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
3fa5559cfc
(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
1b9ea5468e
(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
7f21de5ea9
(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
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
miham
b8fb514321
(svn r10927) -Update: WebTranslator2 update to 2007-08-17 17:54:48
...
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 15:55:19 +00:00
belugas
5f78a404f6
(svn r10926) -Feature: [NewGRF] Add support for variable 67(for real this time) and 68 of Variational Action 2 for Industries
...
-Fix: a very few codestyle/comments-typo changes
2007-08-17 00:23:33 +00:00
maedhros
e4d318addc
(svn r10924) -Fix [FS#1120]: VS_STOPPED is only set for the front part of an articulated
...
road vehicle, so don't check any other parts when testing if the vehicle is
stopped inside a depot.
2007-08-16 18:01:27 +00:00
glx
6a13dd4aa6
(svn r10923) -Codechange: use 'real' exception handling in saveload code
2007-08-16 16:18:22 +00:00
maedhros
9c75e6d87b
(svn r10922) -Codechange: Allow building and removing tracks and signals when there is a
...
train on a parallel diagonal track that doesn't interact with this one. (frosch)
2007-08-16 13:13:07 +00:00
rubidium
ada36e7122
(svn r10921) -Fix [FS#1130] (r10323): the company related news messages still thought that companies were described by two parameters instead of one.
2007-08-16 10:10:59 +00:00
belugas
1b329b1bd9
(svn r10904) -Fix: When using a temporary industry, make sure you do not clear some unreachable tiles upon its destruction.
...
-Codechange: do not perform something that by all means will not change. A zero offset is really meaningless...
2007-08-15 01:50:13 +00:00
belugas
fafe33cdd2
(svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational Action 2 for Industries
2007-08-15 00:49:34 +00:00
miham
ba8c451485
(svn r10894) -Update: WebTranslator2 update to 2007-08-14 22:08:16
...
catalan - 5 fixed, 1 changed by arnaullv (6)
czech - 5 fixed, 1 changed by Hadez (6)
dutch - 5 fixed, 1 changed by habell (6)
french - 5 fixed, 1 changed by glx (6)
hungarian - 5 fixed, 1 changed by miham (6)
japanese - 1 changed by ickoonite (1)
portuguese - 1 changed by izhirahider (1)
spanish - 1 changed by eusebio (1)
2007-08-14 20:10:42 +00:00
rubidium
f38ea388dd
(svn r10892) -Fix [FS#1127]: trains would not get flooded when they are at the lower part of a tile that would become a coast tile after flooding. Patch by frosch.
2007-08-14 17:31:15 +00:00
rubidium
b169fceabc
(svn r10890) -Fix [FS#1125]: removing road with the road removal tool would also work with a negative bank account, making the bank account even more negative than it was.
2007-08-14 17:05:33 +00:00
rubidium
e474b58d2f
(svn r10888) -Fix (r10886): 64 bits alignment made a struct too big.
2007-08-14 12:13:12 +00:00
rubidium
1b25d447f1
(svn r10887) -Cleanup: remove the strings that were removed from english.txt in r10886.
2007-08-14 10:47:29 +00:00
rubidium
83f83685c0
(svn r10886) -Codechange: modify the "start network server" GUI so it can actually handle more than 10 clients/companies/spectators in a nice way, i.e. without making a combobox with 100 players and add 90 new strings to be able to do so.
2007-08-14 10:46:38 +00:00
truelight
114161bb7a
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
2007-08-13 18:59:34 +00:00
glx
35e8f64e9a
(svn r10877) -Fix: some isocodes were wrong
2007-08-13 13:12:19 +00:00
truelight
81810ad391
(svn r10857) -Fix: feeder-income was broken; substract the feeder-costs from the vehicle-income, not from the route-income (tnx to RichK for all the info)
2007-08-11 22:57:23 +00:00
bjarni
1a5a748973
(svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as finder is set to if no config file is found (ln-)
2007-08-11 15:52:34 +00:00
truelight
04824abac6
(svn r10839) -Fix [FS#873]: bring up the assert window for OSX even when there isn't a video-driver loaded (PinguTux)
2007-08-10 13:33:04 +00:00
rubidium
210ba54ff5
(svn r10838) -Fix [FS#1119] (r10698): double negation where only single negation was needed. Patch by frosch.
2007-08-10 13:27:07 +00:00
truelight
6771f5ca20
(svn r10837) -Fix [FS#1102]: DrawLine didn't bound-check the first pixel that was drawn (frosch)
2007-08-10 13:11:53 +00:00
maedhros
61b21547e8
(svn r10836) -Fix [FS#1014]: Make sure the third cargo type accepted by houses is valid in
...
the current climate when copying properties from existing houses and using
action 0 property 0F.
2007-08-10 08:57:04 +00:00
glx
41e05382b8
(svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the window when closing openttd
2007-08-09 20:59:36 +00:00
rubidium
5399a272e6
(svn r10834) -Revert (part of r10833): something too much was committed :(
2007-08-09 05:34:56 +00:00
rubidium
2bff32afb0
(svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
2007-08-09 05:25:33 +00:00
miham
c4a3087723
(svn r10828) -Update: WebTranslator2 update to 2007-08-08 23:27:26
...
brazilian_portuguese - 3 changed by fukumori (3)
bulgarian - 24 fixed by kokobongo (7), thetitan (17)
estonian - 1 changed by kristjans (1)
german - 564 changed by Timwi (564)
polish - 11 fixed, 34 changed by meush (45)
russian - 1 changed by DarkFenX (1)
2007-08-08 21:28:03 +00:00
rubidium
807b833e4d
(svn r10827) -Fix [FS#1112]: out of bounds access in corner case of list allocations of vehicles.
2007-08-08 14:18:05 +00:00
bjarni
a973c893fb
(svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias)
2007-08-07 23:07:10 +00:00
rubidium
5f920e91c7
(svn r10821) -Cleanup: remove the strings that are not needed anymore since r10820.
2007-08-07 15:22:58 +00:00
rubidium
c46e445e69
(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
...
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-08-07 15:20:31 +00:00
rubidium
a7e37d8592
(svn r10814) -Fix [FS#1103]/Codechange: allow trams to be reverse manually, even though there is no track to do so.
2007-08-06 15:00:32 +00:00
rubidium
ab7e36dda7
(svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors.
2007-08-06 14:08:25 +00:00
maedhros
e0e361c890
(svn r10812) -Fix (r10097) [FS#1093]: Make RoadVehicle::MarkDirty() mark all parts of articulated vehicles as dirty, not just the front.
2007-08-06 13:44:50 +00:00
maedhros
8c4a4baac1
(svn r10811) -Fix (r10097): Refit all the parts of an articulated road vehicle, not just the first part.
2007-08-06 13:05:45 +00:00
maedhros
a43370bf1c
(svn r10810) -Fix (r10097): Add a comma between different cargo types if an articulated vehicle carries more than one cargo.
2007-08-06 12:54:03 +00:00
maedhros
68abeed9b8
(svn r10809) -Fix (r10097): When reversing, articulated parts of road vehicles should not attempt to do their own pathfinding.
2007-08-06 12:46:49 +00:00
maedhros
537064d010
(svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure building menus.
2007-08-06 11:58:15 +00:00
rubidium
51f773bd16
(svn r10807) -Fix [FS#1108]: keep_all_autosaves always got ".sav" as filename, which basically means that it only kept the last autosave.
2007-08-06 06:23:44 +00:00
rubidium
83e1fdcb01
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
2007-08-05 21:20:55 +00:00
rubidium
ab5fa3add2
(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
2007-08-05 17:43:04 +00:00
rubidium
f6933e1870
(svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not assume that the gender is in the front of the string when there can be case switching code at that location.
2007-08-05 14:08:38 +00:00
glx
8cea2059a5
(svn r10787) -Fix r10755: _total_towns was not increased when placing town manually in scenario editor
2007-08-04 23:35:27 +00:00
truelight
ce9cba5edb
(svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure
2007-08-04 13:51:41 +00:00
truelight
424757c078
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
...
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-04 12:53:41 +00:00
rubidium
cb9d0c69d1
(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
2007-08-04 01:25:44 +00:00
truelight
b3bed1eda1
(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
...
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-08-03 23:26:12 +00:00
truelight
c76c4bf6e9
(svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debug
2007-08-03 23:19:29 +00:00
rubidium
727cb6ae49
(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others.
2007-08-03 23:18:56 +00:00
rubidium
2f2df29b7a
(svn r10774) -Fix (r10768): obiwan pleased us with a visit.
2007-08-03 20:46:59 +00:00
rubidium
2dd7a5d296
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
9741094464
(svn r10772) -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle.
2007-08-03 20:17:26 +00:00
rubidium
48df8b374c
(svn r10771) -Codechange: remove some code duplication from the old loader.
2007-08-03 20:07:43 +00:00
rubidium
836105864c
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
...
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-08-03 19:36:00 +00:00
rubidium
aa9869e2de
(svn r10768) -Codechange: allow to specify from which index to search for a free pool item.
2007-08-03 18:34:47 +00:00
rubidium
93bedce286
(svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.
2007-08-03 12:29:56 +00:00
rubidium
e9f9980e8f
(svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman.
2007-08-03 12:16:06 +00:00
rubidium
0f1992b932
(svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman.
2007-08-03 12:10:07 +00:00
peter1138
616eb4134e
(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
...
each STR_ entry. This avoids the need for a cast to StringID in some
places and thus better type-safety.
2007-08-03 09:08:49 +00:00
glx
d6c915e6a6
(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one
2007-08-03 02:21:10 +00:00
rubidium
d751ce56cb
(svn r10760) -Codechange: make the order struct use the pool item class as super class.
2007-08-02 23:40:19 +00:00
rubidium
e4149482ec
(svn r10759) -Codechange: make the industry struct use the pool item class as super class.
2007-08-02 23:21:52 +00:00
rubidium
549450d31a
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
2007-08-02 22:33:53 +00:00
rubidium
5016f5497c
(svn r10757) -Codechange: make the engine renew struct use the pool item class as super class.
2007-08-02 22:32:47 +00:00
rubidium
b15c0efaa9
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
2007-08-02 21:19:07 +00:00
rubidium
db374f600c
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
2007-08-02 21:05:54 +00:00
rubidium
472749af66
(svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item class, so use the item size that is set in the pool.
2007-08-02 21:02:57 +00:00
rubidium
60a4da9913
(svn r10753) -Codechange: make the sign struct use the pool item class as super class.
2007-08-02 13:27:45 +00:00
rubidium
7ecd937e74
(svn r10752) -Fix: apparantly const on function pointers is ignored.
2007-08-02 13:18:57 +00:00
rubidium
87ad3df284
(svn r10751) -Codechange: make the group struct use the pool item class as super class.
2007-08-02 12:51:57 +00:00
rubidium
dd666a80d5
(svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class.
2007-08-02 12:22:40 +00:00
rubidium
cab6275511
(svn r10749) -Codechange: use the generic pool item class as super class for cargo packets, which results in a nice reduction of code duplication.
2007-08-02 10:49:24 +00:00
rubidium
fc12fc0140
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
2007-08-02 10:47:43 +00:00
rubidium
9009f0aa20
(svn r10747) -Codechange: add a variable that points to some index in the pool that is not beyond the first free pool item. It does not necessarily point to the first free item, but it reduces allocation time as it does not have to start at the first item in the pool to find the first free item.
2007-08-02 10:47:00 +00:00
rubidium
9378e5fd38
(svn r10746) -Codechange: add a generic superclass for almost all pool items so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes.
2007-08-02 08:47:56 +00:00
rubidium
aa78685c99
(svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too).
2007-08-01 23:49:06 +00:00
rubidium
4e96ce3dfe
(svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places.
2007-08-01 22:10:54 +00:00
rubidium
435d39f8fb
(svn r10743) -Fix: some typos introduces by copy-pasting.
2007-08-01 19:13:42 +00:00
miham
c693a57499
(svn r10737) -Update: WebTranslator2 update to 2007-07-30 19:33:14
...
catalan - 51 changed by arnaullv (51)
german - 3 changed by chu (3)
polish - 5 fixed by meush (5)
2007-07-30 17:33:33 +00:00
peter1138
06986b7744
(svn r10736) -Fix: Correct all mispellings of 'successful'.
2007-07-30 13:36:09 +00:00
peter1138
92061aba4e
(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels.
2007-07-30 08:49:41 +00:00
rubidium
7fb3f54584
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
2007-07-29 23:42:59 +00:00
rubidium
d4666b51ee
(svn r10732) -Codechange: lower the minimum size for the extra viewport window.
2007-07-29 23:25:17 +00:00
rubidium
c4613280d1
(svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.
2007-07-29 22:58:59 +00:00
rubidium
cffc67aae8
(svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event.
2007-07-29 22:57:40 +00:00
rubidium
809238e634
(svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking state of UDP sockets.
2007-07-29 22:21:26 +00:00
rubidium
d17ae2f363
(svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman.
2007-07-29 21:43:49 +00:00
rubidium
1ff82506a0
(svn r10727) -Codechange: when a window would fall outside of the screen (on the right) when opening it, move it to the left so it stays inside the screen.
2007-07-29 20:54:37 +00:00
rubidium
dd0fac984b
(svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels.
2007-07-29 19:19:30 +00:00
rubidium
59ff947471
(svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp
2007-07-29 19:18:22 +00:00
peter1138
279ed3a9c1
(svn r10724) -Fix (r10723): Toolbar spacing was off-by-one
2007-07-29 16:43:58 +00:00
rubidium
26c62dc5c0
(svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width.
2007-07-29 15:48:43 +00:00
rubidium
ab37af1da5
(svn r10722) -Codechange: unhardcode the positions of strings in the status bar.
2007-07-29 14:06:53 +00:00
peter1138
64ad100db4
(svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check.
2007-07-29 14:02:27 +00:00
rubidium
8ccb6c2d17
(svn r10720) -Codechange: unhardcode the positions of the player toolbar menus.
2007-07-29 14:01:22 +00:00
rubidium
a4898699c5
(svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings.
2007-07-29 12:13:22 +00:00
rubidium
b0f2653eb8
(svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear.
2007-07-29 12:11:50 +00:00
rubidium
aeb992ce90
(svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu.
2007-07-28 21:00:31 +00:00
rubidium
b6c3a127af
(svn r10716) -Codechange: not all windows' minimum size is actually their minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size.
2007-07-28 20:59:30 +00:00
truelight
3a45534e4e
(svn r10715) -Fix: limited-fs code was broken
2007-07-28 12:45:27 +00:00
glx
94fa0ec289
(svn r10714) -Fix r10696: MSVC performance warning
2007-07-28 00:19:49 +00:00
KUDr
5eb4036eb2
(svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater)
2007-07-27 23:49:48 +00:00
KUDr
51b26f96d2
(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)
2007-07-27 22:32:48 +00:00
KUDr
f9411f30c4
(svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-)
2007-07-27 22:19:19 +00:00
rubidium
1c4b953f06
(svn r10710) -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach.
2007-07-27 22:13:12 +00:00
rubidium
b54b275ee4
(svn r10709) -Codechange: allow automatic downsizing of the load game/save game windows. These windows also already supported downsizing, but again the resize button would be unreachable.
2007-07-27 22:11:22 +00:00
rubidium
db0a4153a6
(svn r10708) -Codechange: allow automatic downsizing of the smallmap window in case of low resolutions; one could already make the window smaller, but the resize button was unreachable.
2007-07-27 22:10:21 +00:00
rubidium
e68a3e9777
(svn r10707) -Codechange: account for the main toolbar and status bar when determining the maximum height for a window.
2007-07-27 22:08:59 +00:00
rubidium
705696f736
(svn r10706) -Codechange: allow resizing the multiplayer server list window.
2007-07-27 19:57:52 +00:00
rubidium
8b5961d5e0
(svn r10705) -Fix (r10704): some windows were not correctly initialized as they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size.
...
-Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
2007-07-27 19:09:31 +00:00
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
2007-07-27 12:49:04 +00:00
miham
f01f2c3a66
(svn r10703) -Update: WebTranslator2 update to 2007-07-27 10:33:19
...
croatian - 1 fixed, 6 changed by knovak (7)
2007-07-27 08:33:33 +00:00
rubidium
e8acc3d35d
(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams.
2007-07-27 03:27:16 +00:00
belugas
3f7a7261d6
(svn r10701) -Codechange: Make sure to not use an out of bound index when the index is specified by a grf file. It has a different meaning then.
2007-07-27 03:07:05 +00:00
belugas
8ad3a6f8fd
(svn r10700) -Codechange: Enable to jump (by default) to the overriding industry tile spec of the one been queried.
...
Only on certain very specific circumstances do we need the original spec
2007-07-27 02:41:29 +00:00
rubidium
205e700b26
(svn r10699) -Fix (r10698): bridge middle parts were drawn too high if the southern bridge head has a foundation.
2007-07-26 18:36:32 +00:00
rubidium
d624f66c79
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26 16:51:10 +00:00
rubidium
5bd241eb5b
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
2007-07-26 15:37:19 +00:00
rubidium
02ab86631e
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
2007-07-26 14:07:11 +00:00
rubidium
d031da78d8
(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected.
2007-07-26 11:19:03 +00:00
rubidium
fda75ae603
(svn r10694) -Codechange: update the server information in the game list every once in a while so the information stays fairly up-to-date when you are looking through the servers.
2007-07-26 09:53:58 +00:00
rubidium
715c5566a3
(svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :)
2007-07-25 19:36:51 +00:00
rubidium
aa36c607b4
(svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke.
2007-07-25 19:26:33 +00:00
rubidium
9e3ee0e689
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
2007-07-25 19:06:29 +00:00
rubidium
77b0e30b76
(svn r10689) -Documentation [FS#1057]: lots of function documentation written by Progman.
2007-07-25 19:03:23 +00:00
rubidium
5833ceb5a2
(svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups.
2007-07-25 17:18:13 +00:00
rubidium
669f879632
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
2007-07-25 17:07:38 +00:00
rubidium
8131ce7e21
(svn r10686) -Fix [FS#1058]: determining whether there is a tunnel going under the lowered area is only needed in two directions instead of all four, so take the directions (one for each axis) to the nearest border (along the given axis). Furthermore GetTileZ did much more than absolutely necessary.
2007-07-25 15:45:46 +00:00
rubidium
122ce21f32
(svn r10685) -Fix [FS#1076]: graphical glitches when the "link landscape toolbar" patch is turned on when opening one of the construction toolbars.
2007-07-25 11:27:30 +00:00
rubidium
b290268645
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
2007-07-25 00:16:30 +00:00
rubidium
e640900e8a
(svn r10681) -Codechange: do not determine whether a tile is a hangar based on the graphics index to be drawn on the given tile, but do it based on the specification of the location of hangars of the airport.
2007-07-24 21:48:50 +00:00
rubidium
fe8e297995
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
2007-07-24 19:56:43 +00:00
rubidium
5d3f058b65
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
2007-07-24 17:01:23 +00:00
rubidium
0d9a51de6d
(svn r10672) -Codechange: typify some parameters/variables.
2007-07-24 13:03:24 +00:00
truelight
01d08680e1
(svn r10671) -Codechange: don't mix both lookup and temp-variable-with-value-of-lookup (skidd13)
2007-07-24 12:29:47 +00:00
belugas
d87359a827
(svn r10670) -Fix: Use proper initialization for grf_prop override member
2007-07-24 01:29:42 +00:00
belugas
7da7523caa
(svn r10669) -Codechange: Removed redundant comment
...
-Codechange: Add placeholder for yet another industry "variable" to code
2007-07-24 01:26:57 +00:00
truelight
b0d618c66b
(svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)
...
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo)
-Codechange: assure _map_height_bits is always of correct size (Rubidium)
2007-07-23 19:30:36 +00:00
truelight
33d78635ef
(svn r10664) -Codechange: simplify a small piece of code (skidd13)
2007-07-23 19:24:32 +00:00
truelight
155b912ebb
(svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p)
2007-07-23 16:48:19 +00:00
truelight
ef0be0e1dc
(svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)
...
-Add: added 'M' as new shortcut for smallmap (bilbo)
-Add: added '+' and '-' as shortcuts to zoom in the mainview (bilbo)
-Add: added support for other keycodes to be possible used in the future (bilbo)
2007-07-23 16:39:27 +00:00
truelight
4c1912f881
(svn r10661) -Documentation: documented slope.h (Progman)
2007-07-23 16:30:59 +00:00
truelight
2f0448ddba
(svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo)
2007-07-23 16:15:40 +00:00
truelight
98b23edeb3
(svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
...
-Codechange: added documentation and SPR_ enums for track fences (frosch)
2007-07-23 16:08:58 +00:00
glx
8367e16809
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
2007-07-23 15:28:02 +00:00
truelight
045a51ce62
(svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :))
2007-07-23 15:20:20 +00:00
truelight
3ce600a644
(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)
2007-07-23 15:18:53 +00:00
truelight
c4e47c07c9
(svn r10655) -Fix [FS#1070]: Trolly AI didn't know about steep slopes, and used wrong tileh in some cases (frosch)
2007-07-23 15:14:45 +00:00