rubidium
ed96cd2711
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
2007-09-22 12:59:43 +00:00
belugas
a0946e5d7e
(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
26310769dd
(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
80772e9b35
(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
d578a0868e
(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
84d5a97203
(svn r11131) -Fix (r11126): forgot to commit the changes that performed the actual fix.
2007-09-19 18:39:14 +00:00
rubidium
1e7df4fb91
(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
e9f9aa3d1c
(svn r11129) -Fix: update some TextID to StringID 'translations' to reflect changes in language files
2007-09-19 17:37:44 +00:00
rubidium
5c9553d48b
(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
92a827800f
(svn r11127) -Fix: truncate the result of 8 bits callbacks.
2007-09-18 20:41:59 +00:00
rubidium
3f2925a105
(svn r11126) -Fix: the algorithm to determine the closest water/land was flawed.
2007-09-18 18:55:25 +00:00
rubidium
752eb0e8f5
(svn r11125) -Documentation: add/update the documentation of news*. Based on a patch by Progman.
2007-09-17 17:07:24 +00:00
rubidium
0252f87ff4
(svn r11124) -Documentation: of tree_map.h and tree_cmd.cpp. Patch by Progman.
2007-09-17 16:56:15 +00:00
miham
151fd10d0b
(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
f41c8ab3aa
(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
4e130204ae
(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
a18f3f25a9
(svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle.
2007-09-16 20:48:00 +00:00
truelight
4a621fec63
(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
eebcc8968e
(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!
2007-09-15 16:01:34 +00:00
truelight
9b7814159e
(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
7d551bae1b
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
2007-09-15 15:21:17 +00:00
rubidium
ba55c4cef2
(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
045c996364
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
2007-09-15 00:49:44 +00:00
truelight
357783eb1e
(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
2a3919ed10
(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
3055d42fc4
(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
9e14778057
(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
9478b2cff8
(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
f68051d19b
(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
b62d995ce8
(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
556035f448
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
2007-09-14 21:32:21 +00:00
truelight
c6c3139914
(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
e994f3195a
(svn r11100) -Fix r11099: darn typos...
2007-09-13 18:50:42 +00:00
truelight
b84bd3cd1c
(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
45a1ad524a
(svn r11098) -Fix r11096: forgot spaces before comments
2007-09-13 18:35:29 +00:00
truelight
f9a4d4e1a4
(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
122cc9e1a4
(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
e545220563
(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
5ec047d6b7
(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
d146a78f39
(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
ca161c8e72
(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
495c07cd08
(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
e9924421bf
(svn r11089) -Codechange: add revision detection to MSVC.
2007-09-12 07:11:48 +00:00
glx
ccf13f3ccc
(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
2007-09-11 17:42:46 +00:00
miham
a20f87e1e7
(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
d651f6b9ed
(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
b658ef535e
(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
99c4c8e43e
(svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman.
2007-09-10 15:21:14 +00:00
truelight
f055b0b557
(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
65aed53cab
(svn r11082) -Fix r11081: save before commit (yeah, whitelines are important too!)
2007-09-10 00:05:27 +00:00
truelight
f97d2b4706
(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
e2fe88fb70
(svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit was ... wrong ;)
2007-09-09 23:57:47 +00:00
truelight
b823cc2b6b
(svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-anim
2007-09-09 23:47:55 +00:00
truelight
f827093ba7
(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
3de2c716df
(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
634aba16a7
(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
a93a1a8b62
(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
8b46bc7b98
(svn r11069) -Codechange: allow slopes under statues. Patch by kaan.
2007-09-09 11:30:44 +00:00
rubidium
643ffb270c
(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
1f1ce4ac5b
(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
c37b0a73b3
(svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman.
2007-09-09 10:21:27 +00:00
rubidium
0ca9fd7dc2
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
2007-09-09 10:13:17 +00:00
rubidium
10ea6cd13c
(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
211b8dea39
(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
7b0fd59eaa
(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
f12a2cabdb
(svn r11061) -Fix [FS#1086]: [win32] some keys were handled twice
2007-09-08 14:59:58 +00:00
rubidium
305bdb70fd
(svn r11060) -Codechange: replace some magic numbers with the right enumified constants.
2007-09-08 10:10:31 +00:00
rubidium
c97804461e
(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
20a3b37963
(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
704844ed43
(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
88133a97b5
(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
36845f243a
(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
8110b9f517
(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
8da977b407
(svn r11053) -Fix: train status bar flickering a lot when waiting at a signal.
2007-09-07 21:09:37 +00:00
glx
5ad79a5db0
(svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order
2007-09-07 17:01:35 +00:00
belugas
71a23846d3
(svn r11050) -Codechange: Use the translated gfx, not the original one.
2007-09-06 03:02:38 +00:00
rubidium
07c67183bd
(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
0db524e175
(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
e4be90829c
(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
128e71cde9
(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
7cd2aeb1c9
(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
9e5376fefe
(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
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