Commit Graph

7596 Commits

Author SHA1 Message Date
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
50cf379330 (svn r11115) -Merge: release changes from 0.5. 2007-09-15 12:43:04 +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
glx
fbbba11e13 (svn r11110) -Fix (r11107): somebody forgot to update project files ;) 2007-09-14 23:46:49 +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
glx
f2dc723da5 (svn r11090) -Fix (r11089): incorrect version format and failure with paths containing spaces 2007-09-12 22:05:53 +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