Commit Graph

4252 Commits (01e8ec447e7e89bc49251dcab1b8a1b184adec37)

Author SHA1 Message Date
rubidium 66b9ea9a5a (svn r14096) -Codechange: merge the shared order's vehicle list management to a single location. 16 years ago
frosch 8daea149e9 (svn r14095) -Fix (r14076): Trains shall not stop instantly. 16 years ago
glx e88e07b3bf (svn r14094) -Revert (r14071): caused more problems than it solved 16 years ago
rubidium e4e563afc2 (svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5). 16 years ago
rubidium 8035f120b4 (svn r14092) -Cleanup (r14083): dead code, i.e. unused function. 16 years ago
frosch 99ac60e5e1 (svn r14091) -Cleanup (r14083): Remove superfluous '#include's. 16 years ago
rubidium d063758582 (svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot. 16 years ago
rubidium 38905d596f (svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot. 16 years ago
rubidium 5314e27ff1 (svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime) 16 years ago
smatz 0b2c6bc2b3 (svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened 16 years ago
frosch fc8997bcc3 (svn r14085) -Cleanup (r14083): Remove no longer used functions. 16 years ago
frosch ea2564c420 (svn r14084) -Codechange: Language updates for r14083. 16 years ago
frosch 92f3c368b8 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
frosch 302cdf69a4 (svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads. 16 years ago
glx c7453851d3 (svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small) 16 years ago
peter1138 550fc3a3f5 (svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is. 16 years ago
frosch c8e699cc35 (svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE. 16 years ago
rubidium 75ea55cc65 (svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one. 16 years ago
rubidium a7d3d86f55 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 16 years ago
rubidium 8e8fabd27c (svn r14068) -Fix (r14056): MSVC doesn't support typeof. 16 years ago
rubidium 8dffbcfd26 (svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client. 16 years ago
rubidium c816cc37fd (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 16 years ago
rubidium 688267ad52 (svn r14062) -Fix [FS#2226]: division by 0 in newai. 16 years ago
belugas ae15f2e063 (svn r14061) -Codechange: constification and move a declaration more logically 16 years ago
belugas 89a12634de (svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say.  THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
16 years ago
belugas e69de261ad (svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste... 16 years ago
rubidium 7f5ef3da45 (svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime) 16 years ago
rubidium 142ea9a0aa (svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime) 16 years ago
rubidium 083fbf9a96 (svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold. 16 years ago
rubidium edc1b3cdc2 (svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit. 16 years ago
rubidium 2053688226 (svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box. 16 years ago
rubidium 6199dc987b (svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages. 16 years ago
rubidium b76620939d (svn r14051) -Codechange: enumify the DrawString buffer length. 16 years ago
belugas 5cbd0fb5a4 (svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too. 16 years ago
rubidium 467d6e31c3 (svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc) 16 years ago
rubidium 31d69a49e8 (svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
rubidium 0fab1dc699 (svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name. 16 years ago
belugas eb461386ce (svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too. 16 years ago
belugas ba3d49df40 (svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array. 16 years ago
glx 9fa2cbd93e (svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands 16 years ago
belugas 2a935c9025 (svn r14040) -Codechange:Remove a hard coded value that is not even representative,
since captions have their own encoded colours in string.
16 years ago
rubidium 19de9ac7e1 (svn r14039) -Fix [FS#2217]: reversing an overlength train at a station would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc) 16 years ago
rubidium b3a15a3983 (svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL. 16 years ago
frosch 110a9f8fc0 (svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept. 16 years ago
rubidium f0347e5383 (svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc) 16 years ago
translators 75fffeb3fc (svn r14035) -Update: WebTranslator2 update to 2008-08-10 11:54:57
bulgarian  - 4 fixed by thetitan (4)
croatian   - 15 fixed by knovak (15)
czech      - 47 fixed, 29 changed by Hadez (76)
dutch      - 29 fixed by habell (29)
estonian   - 8 fixed, 63 changed by kristjans (71)
french     - 29 fixed, 1 changed by glx (30)
italian    - 29 fixed, 6 changed by lorenzodv (35)
russian    - 52 fixed by Smoky555 (52)
slovak     - 2 fixed by lengyel (2)
spanish    - 35 fixed by eusebio (35)
ukrainian  - 30 fixed by mad (30)
16 years ago
peter1138 fc442ce9af (svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi) 16 years ago
peter1138 ae230e9153 (svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi) 16 years ago
bjarni 14ea857edb (svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default
Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
16 years ago
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