Commit Graph

4252 Commits (01e8ec447e7e89bc49251dcab1b8a1b184adec37)

Author SHA1 Message Date
frosch 5bcf7de45a (svn r14031) -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did. 16 years ago
frosch 3c2128dedb (svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable. 16 years ago
belugas 82ada4b3d0 (svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later. 16 years ago
belugas b4b9626172 (svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around. 16 years ago
belugas b714273706 (svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour 16 years ago
glx 812ab1279a (svn r14026) -Cleanup (r13995, r14004): trailing whitespaces 16 years ago
smatz dffc12fb23 (svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc) 16 years ago
smatz 5b3d1432df (svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc) 16 years ago
smatz 5719c0f16d (svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc) 16 years ago
smatz c665a2f233 (svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc) 16 years ago
rubidium 9f239cca37 (svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc). 16 years ago
peter1138 2c92a979ad (svn r14018) -Fix (r14017): Typos prevented compilation. 16 years ago
belugas f4997d8866 (svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button 16 years ago
belugas e89b108161 (svn r14016) -Codechange: Remove some magical numbers 16 years ago
peter1138 d6c385a41e (svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released. 16 years ago
peter1138 ad52678d14 (svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item. 16 years ago
rubidium 6acc3f6e59 (svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction. 16 years ago
peter1138 f7ea5b51e7 (svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals. 16 years ago
belugas d27984b79c (svn r14011) -Codechange: not required to define an enum which was just the representation of another.
If you want to customize it more easily, why not a simple const of said enum value?
16 years ago
peter1138 afe73dfe11 (svn r14009) -Cleanup (r14008): Bad whitespace... 16 years ago
peter1138 1a28c1c4ee (svn r14008) -Fix (r14004): NewGRF preset drop down list not working 16 years ago
frosch 3064767d69 (svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside. 16 years ago
frosch 84cbf2c755 (svn r14006) -Codechange: Deduplicate some code. 16 years ago
smatz 132e7e9b69 (svn r14005) -Codechange: minor coding style fix 16 years ago
peter1138 76b0ffd342 (svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
  Remove String() from base class.
  Pass correct width to Draw().
16 years ago
belugas 6532897b5a (svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls 16 years ago
smatz 7fce33fb51 (svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game 16 years ago
peter1138 b1dd8f9334 (svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum 16 years ago
rubidium 1ef65c329e (svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot. 16 years ago
rubidium 12037a8b38 (svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found. 16 years ago
frosch d8bfe46027 (svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class. 16 years ago
rubidium b32b101b8c (svn r13995) -Fix (r13988): some warnings of the compile farm. 16 years ago
belugas 39c92f9068 (svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values 16 years ago
belugas 754c825b2c (svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table 16 years ago
rubidium fb5c4e469b (svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too. 16 years ago
smatz d097276022 (svn r13991) -Codechange: draw text effects after all other signs 16 years ago
glx b9bbcfcb9b (svn r13990) -Fix (r13988): win32 compilation failed 16 years ago
rubidium 33148eae6e (svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc). 16 years ago
rubidium eb5fb4443a (svn r13988) -Codechange: move the to IP resolving functions to a separate file. 16 years ago
peter1138 8018aeac9f (svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space. 16 years ago
smatz bea84ea8d9 (svn r13985) -Fix (r13944): gcc 2.95 compilation 16 years ago
peter1138 f02671e0f4 (svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. 16 years ago
frosch 8644a8915e (svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up. 16 years ago
peter1138 a5913396f0 (svn r13982) -Fix (r13981): And then not enough was cleared... 16 years ago
peter1138 70e195126b (svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should. 16 years ago
peter1138 85accd400b (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 16 years ago
peter1138 99771c63ba (svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. 16 years ago
peter1138 efcc875036 (svn r13978) -Fix: Incorrect widget size. 16 years ago
peter1138 d5c80dfb8e (svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets. 16 years ago
frosch fe058e2ec2 (svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc) 16 years ago
peter1138 6e4144f84b (svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window. 16 years ago
frosch ba1b3c7f11 (svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc) 16 years ago
smatz 98bb9ffada (svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc) 16 years ago
rubidium bd0f9f1097 (svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect. 16 years ago
rubidium 8b10e70f39 (svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc) 16 years ago
belugas 98d8501278 (svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
16 years ago
glx d6520ae096 (svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning 16 years ago
rubidium e62a150293 (svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) 16 years ago
rubidium 1e549a0fcc (svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc) 16 years ago
rubidium 2a567afff4 (svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc) 16 years ago
rubidium 14f6b1f49c (svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc) 16 years ago
rubidium e0e8f0e711 (svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc) 16 years ago
rubidium ed629f599b (svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc) 16 years ago
rubidium a32fb70e1d (svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc) 16 years ago
rubidium e78a235293 (svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc) 16 years ago
rubidium 0b38276d5a (svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc) 16 years ago
rubidium 1415b19fad (svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc) 16 years ago
rubidium f0fdbf9644 (svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc) 16 years ago
rubidium bcfc5a78ed (svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc) 16 years ago
rubidium c213ff35e5 (svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc) 16 years ago
rubidium 49967b9077 (svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc) 16 years ago
rubidium f6bdf23527 (svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc) 16 years ago
rubidium 2e2a6d4909 (svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc) 16 years ago
rubidium 21e4904eb3 (svn r13951) -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc) 16 years ago
rubidium a31e86c778 (svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc) 16 years ago
rubidium 06ae82f7eb (svn r13949) -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc) 16 years ago
rubidium bf33da38eb (svn r13948) -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc) 16 years ago
rubidium c05c10ae71 (svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) 16 years ago
rubidium 70e84fb1c2 (svn r13946) -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc) 16 years ago
rubidium 3601e6e8ef (svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc) 16 years ago
rubidium c665f674ab (svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc) 16 years ago
rubidium 22b787791f (svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc) 16 years ago
rubidium 968a0e907c (svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc) 16 years ago
rubidium 27cfb68d93 (svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc) 16 years ago
rubidium 74b770a96a (svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc) 16 years ago
rubidium 80c7dbcae7 (svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc) 16 years ago
rubidium b3656c78ad (svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc) 16 years ago
rubidium 64a576b854 (svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc) 16 years ago
rubidium aac73d2a04 (svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc) 16 years ago
rubidium b29f290816 (svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) 16 years ago
rubidium d5def69d87 (svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc) 16 years ago
rubidium c34a1db15e (svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc) 16 years ago
rubidium fc47ae96c4 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 16 years ago
rubidium f1666c7062 (svn r13931) -Codechange [YAPP]: Retain the reservation state when building/removing waypoints or level crossings. (michi_cc) 16 years ago
rubidium 063208a56f (svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc) 16 years ago
rubidium 8ffc05a02c (svn r13929) -Codechange [YAPP]: Reserving and unreserving of single tracks is now possible. (michi_cc) 16 years ago
rubidium 8eb9c27f8d (svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc) 16 years ago
rubidium bef1770590 (svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc) 16 years ago
rubidium 11bf3902c4 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
frosch f0b1decb3d (svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle. 16 years ago
frosch 196268b7ff (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
peter1138 755b149902 (svn r13921) -Codechange (r11473): Use the correct enum... 16 years ago
belugas 55f12e8b22 (svn r13920) -Codechange: uniformise the definition with the declaration of DrawFrameRect 16 years ago
belugas 7ef5369306 (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis. 16 years ago
rubidium 7aa97fee8c (svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list. 16 years ago
bjarni 2eb3b4e3ae (svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems 16 years ago
rubidium 2b6978e48e (svn r13912) -Codechange: remove some casts by returning the proper type instead of void*. 16 years ago
smatz 0a67e72df5 (svn r13911) -Fix (r13806): do not consider crashed train as waiting at signal, v->direction doesn't have to match track anyway 16 years ago
rubidium 019a519446 (svn r13910) -Document: string drawing related functions and types (Alberth) 16 years ago
rubidium 6a401d5dfc (svn r13909) -Codechange: use the same type before CmdBuildRailStation as it used in the command itself (Alberth) 16 years ago
rubidium 111bf01dbd (svn r13908) -Codechange: merge two tables into a single one (Alberth) 16 years ago
belugas 1648da0e47 (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 16 years ago
translators 1b21ece898 (svn r13905) -Update: WebTranslator2 update to 2008-08-01 02:27:37
brazilian_portuguese - 22 fixed by tucalipe (22)
dutch      - 9 fixed by habell (9)
estonian   - 4 fixed by kristjans (4)
french     - 5 fixed, 1 changed by glx (6)
galician   - 105 fixed, 206 changed by Condex (311)
italian    - 5 fixed, 2 changed by lorenzodv (7)
korean     - 15 fixed by leejaeuk5 (15)
portuguese - 48 fixed by supra90 (48)
slovak     - 30 fixed by lengyel (30)
spanish    - 9 fixed by eusebio (9)
ukrainian  - 22 fixed by mad (22)
16 years ago
glx 6ae3c95a0c (svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of different size' warnings 16 years ago
rubidium 91dcacbf48 (svn r13903) -Fix: missing eol-style property. 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
belugas ffe1239fbf (svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
save command file before commiting :P
16 years ago
belugas 1533e859f4 (svn r13898) -Codechange: Replace remaining numbers with Colours enum on players, roads and rails guis 16 years ago
belugas 128df8ec8a (svn r13897) -Codechange: Replace remaining numbers with Colours enum on news guis
-Fix: a few misalignements
16 years ago
belugas 2240833463 (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 16 years ago
belugas 8161349383 (svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
-Fix: a few misalignements
16 years ago
bjarni 05040910b8 (svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5 16 years ago
smatz 60cd53c375 (svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible 16 years ago
peter1138 7672a90972 (svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly. 16 years ago
belugas 434493b660 (svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
-Fix: "true" is not a color.  COLOUR_PALE_GREEN should look better, at least in the code ;)
16 years ago
belugas 195f40b123 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 16 years ago
belugas 2767042705 (svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
16 years ago
frosch d54d8bf295 (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. 16 years ago
smatz d4774bdbab (svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost 16 years ago
belugas 755c09a12a (svn r13883) -Codechange: Replace numbers with Colours enum on graph gui 16 years ago
belugas cfd40cdd54 (svn r13882) -Codechange: Replace widget numbers with appropriate enums 16 years ago
frosch 2e18042aad (svn r13881) -Cleanup (r12751): Remove some dead code. 16 years ago
belugas 00662720aa (svn r13880) -Codechange: Replace numbers with Colours enum on intro gui, and align a bit the code 16 years ago
belugas a63bcef135 (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui 16 years ago
belugas 904e302004 (svn r13876) -Codechange: Replace numbers with Colours enum on bridge gui 16 years ago
belugas 8dfe13a72e (svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing 16 years ago
belugas b80b53e6ec (svn r13874) -Change: missing svn:property eol-style 16 years ago
belugas d3d5e4bac8 (svn r13873) -Codechange: remove useless string from all language files affected by r13872. which removed the STR_NEWS_OPEN_CLOSE string 16 years ago
belugas 7e4b1e2d84 (svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own 16 years ago
peter1138 93c279d6b4 (svn r13870) -Fix [FS#2167]: Callback 10 (visual effect and powered wagons setting) and powered wagons operation were not performed for articulated wagons. 16 years ago
rubidium 42265315e2 (svn r13869) -Fix [FS#2153] (r13674): in some cases the sprite cache could be filled with unremovable items. 16 years ago
frosch d791f3486d (svn r13868) -Fix: Parent scope of industry variables. 16 years ago
belugas dc25683255 (svn r13867) -Codechange: Fix missing alignment 16 years ago
peter1138 ed438fb902 (svn r13866) -Codechange: Use sortlist for sign windows 16 years ago
peter1138 dcf8420c43 (svn r13865) -Codechange: Use case-insensitive sort for NewGRF list. 16 years ago
belugas 72344adce7 (svn r13864) -Feature(FS #2164): All industry creations are now generating a news event, even those funded by a real player. 16 years ago
smatz cd75303d80 (svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work 16 years ago
smatz 1adcf9c81b (svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter 16 years ago
peter1138 3c96d47c36 (svn r13855) -Fix [FS#2157]: Cargo type lookup was incorrect for GRFv7 files without a translation table. 16 years ago
bjarni 3cbb345224 (svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time 16 years ago