Commit Graph

2187 Commits (74ee13aba89f78df25066ee15c46fa682d6a1408)

Author SHA1 Message Date
belugas 0606562897 (svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries. 17 years ago
rubidium f54a823129 (svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ. 17 years ago
rubidium ca46e547de (svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east. 17 years ago
rubidium bcebd8b8fa (svn r11199) -Fix: variable 67 and 68 not working correctly.
-Refactor: some code so there is less code duplication.
17 years ago
belugas cfb9cb8cec (svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override 17 years ago
belugas 23eed48a92 (svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
17 years ago
glx a2ed316770 (svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage 17 years ago
rubidium 54c7430e46 (svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped. 17 years ago
rubidium 8c25b4575c (svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles. 17 years ago
rubidium 5093d8b1cd (svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases). 17 years ago
belugas 6edbf53177 (svn r11192) -Fix: Little typo with bigger consequences when trying to remove a newindustries aware grf 17 years ago
glx 06059e1f2e (svn r11191) -Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf. 17 years ago
rubidium 7adec5da36 (svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent. 17 years ago
rubidium 3fcb5c3023 (svn r11189) -Fix: if the location check callback results in something invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it. 17 years ago
rubidium 7350b88bf2 (svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
17 years ago
rubidium 6a2029f4f8 (svn r11187) -Fix: what holds for houses in r11149 also holds for industries. 17 years ago
rubidium 69488b521c (svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times. 17 years ago
rubidium 09182386fb (svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas. 17 years ago
rubidium 86dac1533b (svn r11184) -Codechange: cleanup the code related to backup orders. 17 years ago
rubidium bba0d120b7 (svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway. 17 years ago
rubidium 6222597152 (svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ. 17 years ago
glx cc6ac7f539 (svn r11181) -Codechange: add support for newgrf callback 14A (Belugas) 17 years ago
rubidium 5d17b29a17 (svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;) 17 years ago
glx ab886349ab (svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken 17 years ago
glx 9613a9988c (svn r11178) -Fix: don't check newgrf callback 22 in scenario editor 17 years ago
glx 52f10b2fbd (svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C 17 years ago
glx 18de82b000 (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C 17 years ago
rubidium 1dbc6bd4c5 (svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier. 17 years ago
rubidium d464d7587d (svn r11174) -Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
17 years ago
rubidium a28b307c95 (svn r11173) -Codechange: rename some callback enums so they are more uniform. 17 years ago
rubidium 80a3590bf5 (svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13. 17 years ago
rubidium e582e6364c (svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch. 17 years ago
rubidium 82851876f2 (svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything. 17 years ago
rubidium d041e06070 (svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it to clip too much at screen/viewport borders. Patch by frosch. 17 years ago
rubidium 03191bba4b (svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch. 17 years ago
rubidium ca5ef5477b (svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz. 17 years ago
belugas 41ecae2783 (svn r11164) -Fix(r11161): a rogue space roaming in the night... removed 17 years ago
belugas e4c4c40753 (svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking. 17 years ago
belugas 926a87d8a7 (svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... acceptance :) So don't need to get cargo name out of it (glx) 17 years ago
belugas 7923f78ed0 (svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx of 0xFF allows it 17 years ago
belugas bd9d8c08ed (svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry. 17 years ago
glx d7d03edf2d (svn r11159) -Fix (r11155): restore the ability to save in a non existing file 17 years ago
rubidium c25847af12 (svn r11158) -Codechange: reduce the amount of Random calls needed when we do not have NewGRF industries that actually need the random bits. 17 years ago
rubidium 0ac4f10ca0 (svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless. 17 years ago
glx 958895a7a7 (svn r11156) -Fix r11155: fix one compiler makes the other warn ;) 17 years ago
rubidium 3e31222294 (svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606). Patch by boekabart. 17 years ago
rubidium 25f244513e (svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME. 17 years ago
rubidium 4705536d7d (svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ID would be needed. Fix by Belugas.
-Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
17 years ago
rubidium 2b89ecca47 (svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries. 17 years ago
rubidium 893842a8a3 (svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch. 17 years ago
maedhros 6a45faeeda (svn r11149) -Fix [FS#1225]: Draw building stages for new house ground sprites. 17 years ago
rubidium db769e490c (svn r11147) -Fix [FS#1247] (r11105): reallow bounding boxes with x/y/z-extent 0. Some NewGRFs need them. Patch by frosch. 17 years ago
rubidium 08c5765c0b (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 17 years ago
glx b1fa49d3fa (svn r11144) -Codechange: add support for newgrf callbacks 29 and 35 17 years ago
rubidium 46940be717 (svn r11143) -Fix: the random bits were not set for the production callback when the NewGRF asked for it. 17 years ago
glx af3f96957f (svn r11142) -Codechange: prepare industry production change code for newgrf callbacks 29 and 35 17 years ago
rubidium 3394cbd62a (svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13. 17 years ago
miham bdd07017b4 (svn r11140) -Update: WebTranslator2 update to 2007-09-22 20:52:32
american   - 21 fixed by WhiteRabbit (21)
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan    - 1 fixed by arnaullv (1)
croatian   - 1 fixed by knovak (1)
czech      - 7 fixed, 1 changed by Hadez (8)
danish     - 1 fixed by ThomasA (1)
dutch      - 1 fixed by habell (1)
estonian   - 1 fixed, 33 changed by kristjans (34)
french     - 1 fixed by glx (1)
romanian   - 21 fixed by kneekoo (21)
spanish    - 1 fixed by eusebio (1)
turkish    - 16 fixed, 2 changed by jnmbk (18)
ukrainian  - 1 fixed by mad (1)
17 years ago
rubidium 81555c732d (svn r11139) -Codechange: add support for persistent storage for NewGRFs. 17 years ago
rubidium ed96cd2711 (svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs. 17 years ago
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. 17 years ago
rubidium 26310769dd (svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains. 17 years ago
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. 17 years ago
rubidium d578a0868e (svn r11132) -Fix: NewGRFs seem to assume that STR_NULL is an empty string or so. 17 years ago
rubidium 84d5a97203 (svn r11131) -Fix (r11126): forgot to commit the changes that performed the actual fix. 17 years ago
rubidium 1e7df4fb91 (svn r11130) -Fix [FS#1207]: towns build roads that weren't connected to any other road. 17 years ago
glx e9f9aa3d1c (svn r11129) -Fix: update some TextID to StringID 'translations' to reflect changes in language files 17 years ago
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. 17 years ago
rubidium 92a827800f (svn r11127) -Fix: truncate the result of 8 bits callbacks. 17 years ago
rubidium 3f2925a105 (svn r11126) -Fix: the algorithm to determine the closest water/land was flawed. 17 years ago
rubidium 752eb0e8f5 (svn r11125) -Documentation: add/update the documentation of news*. Based on a patch by Progman. 17 years ago
rubidium 0252f87ff4 (svn r11124) -Documentation: of tree_map.h and tree_cmd.cpp. Patch by Progman. 17 years ago
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)
17 years ago
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. 17 years ago
rubidium 4e130204ae (svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs. 17 years ago
rubidium a18f3f25a9 (svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle. 17 years ago
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
17 years ago
truelight eebcc8968e (svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice! 17 years ago
truelight 9b7814159e (svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format 17 years ago
glx 7d551bae1b (svn r11116) -Fix (r11106): tar loader was not compiled for WIN32 17 years ago
rubidium ba55c4cef2 (svn r11112) -Fix (r11107) [FS#1229]: in some cases one could destroy (parts of) buildings when building tunnels. 17 years ago
glx 045c996364 (svn r11111) -Fix (r11106): missing const broke compilation with MSVC 17 years ago
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!) 17 years ago
rubidium 2a3919ed10 (svn r11108) -Fix (r11107): somebody forgot to add some file ;) Spoils the fun of the previous cryptic message though. 17 years ago
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. 17 years ago
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)
17 years ago
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. 17 years ago
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. 17 years ago
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. 17 years ago
rubidium 556035f448 (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch. 17 years ago
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) 17 years ago
truelight e994f3195a (svn r11100) -Fix r11099: darn typos... 17 years ago
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 17 years ago
truelight 45a1ad524a (svn r11098) -Fix r11096: forgot spaces before comments 17 years ago
truelight f9a4d4e1a4 (svn r11097) -Codechange: for easy future extension of NewGRF Scanning, split up the functions a bit 17 years ago
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 17 years ago
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
17 years ago
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)
17 years ago
truelight d146a78f39 (svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded 17 years ago
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'..) 17 years ago
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) 17 years ago
rubidium e9924421bf (svn r11089) -Codechange: add revision detection to MSVC. 17 years ago
glx ccf13f3ccc (svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation 17 years ago
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)
17 years ago
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. 17 years ago
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. 17 years ago
rubidium 99c4c8e43e (svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman. 17 years ago
truelight f055b0b557 (svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch) 17 years ago
truelight 65aed53cab (svn r11082) -Fix r11081: save before commit (yeah, whitelines are important too!) 17 years ago
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 17 years ago
truelight e2fe88fb70 (svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit was ... wrong ;) 17 years ago
truelight b823cc2b6b (svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-anim 17 years ago
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
17 years ago
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)
17 years ago
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. 17 years ago
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. 17 years ago
rubidium 8b46bc7b98 (svn r11069) -Codechange: allow slopes under statues. Patch by kaan. 17 years ago
rubidium 643ffb270c (svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set. 17 years ago
rubidium 1f1ce4ac5b (svn r11067) -Codechange: also make it possible to use the advanced vehicle list for other players. Patch by SmatZ. 17 years ago
rubidium c37b0a73b3 (svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman. 17 years ago
rubidium 0ca9fd7dc2 (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman. 17 years ago
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. 17 years ago
rubidium 211b8dea39 (svn r11063) -Codechange: make it possible for people to view the loading indicators of everyone. Patch by SmatZ. 17 years ago
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)
17 years ago
glx f12a2cabdb (svn r11061) -Fix [FS#1086]: [win32] some keys were handled twice 17 years ago
rubidium 305bdb70fd (svn r11060) -Codechange: replace some magic numbers with the right enumified constants. 17 years ago
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. 17 years ago
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)
17 years ago
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. 17 years ago
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. 17 years ago
rubidium 36845f243a (svn r11055) -Fix [FS#1214]: loading indicators would sometimes glitch due to a bounding box that was too small. Patch by frosch. 17 years ago
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. 17 years ago
rubidium 8da977b407 (svn r11053) -Fix: train status bar flickering a lot when waiting at a signal. 17 years ago
glx 5ad79a5db0 (svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order 17 years ago
belugas 71a23846d3 (svn r11050) -Codechange: Use the translated gfx, not the original one. 17 years ago
rubidium 07c67183bd (svn r11049) -Codechange: unify a large part of the vehicle details window. Based on a patch by nycom. 17 years ago
rubidium 0db524e175 (svn r11048) -Fix [FS#1206]: several cases where (re)moving eninges on a train would corrupt the vehicle counts for the groups. 17 years ago
rubidium e4be90829c (svn r11047) -Fix (r11011) [FS#1205]: desync due to wrong cached vehicle length on articulated vehicle construction. 17 years ago
bjarni 128e71cde9 (svn r11046) -Codechange: added function to get the next movable (non-articulated, non-read end of dualheaded engine) vehicle in a train 17 years ago
bjarni 7cd2aeb1c9 (svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine 17 years ago
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
17 years ago
bjarni b50a3d7522 (svn r11043) -Fix (r10039) [FS#1185]: Autorenew/autoreplace fails silently with multiple multi-headed engines 17 years ago
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. 17 years ago
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. 17 years ago
rubidium bd7483ba3c (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 17 years ago
rubidium d5e3e4c66e (svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation. 17 years ago
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)
17 years ago
rubidium 75a46eb2cc (svn r11033) -Fix [FS#1184] (r11011): building articulated vehicles failed. Based on a patch by SmatZ. 17 years ago
rubidium 86f45574a8 (svn r11032) -Codechange: unmagicify some table sizes and removal of some unnecessary variables. Patch by frosch. 17 years ago
rubidium 6f76bc2449 (svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas. 17 years ago
rubidium 766d6d420e (svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly. 17 years ago
glx dc4c52a313 (svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttd 17 years ago
rubidium e128170b1f (svn r11028) -Fix [FS#1177]: crash when having the Finance window opened of the player you are cheating to. 17 years ago
rubidium 2cd15f732c (svn r11027) -Fix: do not unconditionally assume that a tile has a depot. 17 years ago
rubidium a06b8a510b (svn r11026) -Fix: the name of a sign could sometimes be NULL causing crashes. 17 years ago
rubidium 2ac24735e8 (svn r11025) -Fix: safeguard StrEmpty from calls with NULL. 17 years ago
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. 17 years ago
rubidium c649f8e3cd (svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines. 17 years ago
rubidium 8d0804834c (svn r11022) -Fix: the canal border determination did not take oil rigs into consideration. 17 years ago
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. 17 years ago
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. 17 years ago
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. 17 years ago
rubidium 0cf6a3f1ef (svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own company or a bankrupted/non-existant company. 17 years ago
rubidium cadc470da5 (svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more. 17 years ago
rubidium 313fc8930f (svn r11016) -Fix [FS#1172]: stations would also be given cargo when vehicles have only dropped cargo of that particular type. 17 years ago
rubidium b3f9121f14 (svn r11015) -Fix [FS#1166]: towns would build bridges through eachother. 17 years ago
rubidium 3b672a5c5f (svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist. 17 years ago
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. 17 years ago
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.
17 years ago
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. 17 years ago
rubidium d4290086e8 (svn r11006) -Fix: spectators are not allowed to issue commands. Issue spotted by SmatZ. 17 years ago
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.
17 years ago
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. 17 years ago
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. 17 years ago
rubidium 6edf2d3a1b (svn r11002) -Codechange: unhackify the cargo packet list saving (a little). 17 years ago
rubidium c2dcccae16 (svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot. 17 years ago
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
17 years ago
rubidium dc80195754 (svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom. 17 years ago
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. 17 years ago
rubidium a6a9968d16 (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus. 17 years ago
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 )
17 years ago
rubidium 5e5d36d6b4 (svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom. 17 years ago
belugas cb3843b820 (svn r10994) -Codechange: Change some function names to be more representative and more fitting of trunk's naming convention (skidd13) 17 years ago
belugas da58abafe8 (svn r10993) -Codechange: A few less magical numbers (skidd13) 17 years ago
rubidium 45900925c3 (svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" group. Patch by frosch. 17 years ago
rubidium 759255df12 (svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch. 17 years ago
rubidium e7b9f597df (svn r10986) -Fix (r10985): inconsistency between documentation and actual code... thanks to glx for spotting it. 17 years ago
rubidium 9e630945b2 (svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle. 17 years ago
rubidium 91d18ebd17 (svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it. 17 years ago
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. 17 years ago
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. 17 years ago
rubidium d5bc4d8b2a (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. 17 years ago
belugas 182283a67c (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 ;)
17 years ago
rubidium e93f41676f (svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn non-transparant when the other catenary was drawn transparant. Patch by smatz. 17 years ago
rubidium f3de8788d8 (svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles. 17 years ago
miham 5a496ffeb5 (svn r10975) -Update: WebTranslator2 update to 2007-08-24 21:49:23
croatian   - 1 fixed by knovak (1)
finnish    - 4 changed by tonihele (4)
17 years ago
rubidium bb368f880b (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. 17 years ago
KUDr 9503f02063 (svn r10973) -Fix [FS#1154]: update wp->xy when waypoint is moved (Catalan) 17 years ago
belugas 40d4d2f2ca (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.
17 years ago
belugas e9435c11b0 (svn r10971) -Codechange: One less magical number 17 years ago