Commit Graph

2917 Commits (4e09974975ba47b755ac00b58aae880fa297e161)
 

Author SHA1 Message Date
tron 980e8f525b (svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2) 19 years ago
truelight 1d88dfd460 (svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch. 19 years ago
peter1138 4b464093e7 (svn r3362) Fix issue with loading old (TTD) savegames:
- move call to convert from old to new train subtypes.
 - ensure AI is started for AI players.
19 years ago
peter1138 911a8aa08d (svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process. 19 years ago
peter1138 f55153ce3c (svn r3360) Fix initialization of engines for precalculation of default refit mask. 19 years ago
peter1138 eeeebf9f6d (svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command. 19 years ago
tron 5353d05865 (svn r3358) Remove another piece of unused code 19 years ago
tron 608e9a7203 (svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map 19 years ago
peter1138 2a94a64711 (svn r3356) - Remove unused parameter of AfterLoadGame().
- Initialize _sl_version after loading an old savegame.
19 years ago
tron 10c6d4c738 (svn r3355) Three minor improvements for french (by me using dict.leo.org, OKed by Belugas) 19 years ago
tron 6820aada04 (svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu) 19 years ago
tron 246c126d25 (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length 19 years ago
peter1138 1ffc700797 (svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs. 19 years ago
peter1138 a4de62577d (svn r3351) Make sort criteria selection widgets in player train list consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing) 19 years ago
peter1138 d6bfff85cb (svn r3350) Fix widget glitch in player ship window (missed in r1379) 19 years ago
peter1138 37c3cd2e5b (svn r3349) Fix off-by-one error in drawing matrix widget, from r3181. 19 years ago
tron 7e5da7d8b2 (svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results 19 years ago
tron 0f03d94fbe (svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?) 19 years ago
peter1138 6319e8910f (svn r3346) - Increase size of aircraft refit window by one item; fixes "[ 1387477 ] Can't refit aircraft to carry Fizzy Drinks" 19 years ago
tron 8c707f6211 (svn r3345) Remove untranslated strings 19 years ago
tron fad5dcffda (svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks to Truelight) translation 19 years ago
peter1138 878c868f02 (svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete. 19 years ago
tron a857706145 (svn r3342) Remove some cruft 19 years ago
truelight 8ffe9da482 (svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform 19 years ago
tron 19d0517c71 (svn r3340) Fix dependency calculation: dependencies didn't get recalculated if a header file changed
Also really automagically create the dependency directories by deriving the directory names from $(DEPS)
19 years ago
tron fa78c057ee (svn r3339) Remove unnecessary includes 19 years ago
tron e5e15808f1 (svn r3338) Wrong file in last commit 19 years ago
tron c11fb56bf7 (svn r3337) Remove an unused variable and add 2 times static 19 years ago
tron f2db7e7245 (svn r3336) byte -> WindowClass, uint16 -> WindowNumber 19 years ago
miham 955f06b9ac (svn r3335) [Translations] Moved estonian to ready 19 years ago
tron 9b0b2e8d2e (svn r3334) Remove 2 unused window classes 19 years ago
tron 5df6a12ed3 (svn r3333) Remove some the unimplemented option DISPLAY_WARNINGS from the config writer 19 years ago
tron 671c085206 (svn r3332) Fix r3317, a few things got messed up in the translator system 19 years ago
tron 9abf05dcef (svn r3331) CMD_PLACE_SIGN doesn't use p1, so don't pass anything seemingly meaningful 19 years ago
matthijs 128317d3ec (svn r3329) - Doc: Some documentation cleanups.
- Add: TracksOverlap() (from the map branch), TrackdirBitsToTrackBits(), DiagdirReachesTrackdirs(), DiagdirReachesTracks().
 - Fix: Infinite loop in the pathfinder introduces in r3321.
19 years ago
Darkvater be01586049 (svn r3328) - Fix: [ 1352739 ] landscape_grid.html showing wrong bit usage (belugas) 19 years ago
Darkvater 15220f3578 (svn r3327) - Fix: [ 1373581 ] landscape.html documentation. Railway types are stored in m3, not m4. According to the mask (RAILTYPE_MASK), this is should be 0..1 but 0..3 are actually reserved. (egladil) 19 years ago
Darkvater 97e9141c65 (svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread support (dst) 19 years ago
Darkvater a24de0ba3b (svn r3325) - Fix: You couldn't send an airplane to a hangar for mandatory servicing, the NON_STOP flag failed the command. 19 years ago
Darkvater 7142512754 (svn r3324) - Codechange: set native eol-style on missing files not yet set so 19 years ago
Darkvater db03c5d5e8 (svn r3323) - Fix: automatically enable new AI when turning on the AI in multiplayer feature (it only works that way and we all know users don't read). 19 years ago
Darkvater 0f41b99c5e (svn r3322) - Fix: Network window crash when it receives invalid information for example from the integrated nightly, so validate the network-input when it is received
- CodeChange: added str_validate(char *str) function that checks if a string contains only printable characters and if not, replaces those characters by question marks. Also move IsValidAsciiChar() to string.h
19 years ago
matthijs 8f873d4ece (svn r3321) - Fix: A wrong use of the map m5 bits, where a previously calculated "bits" variable should have been used. This resulted in the pathfinder imagining junctions, which negatively affects performance somewhat (Darkvater).
- Fix: [ 1346377 ] Limiting the "depth" of the search tree fixes this assert.
  Though the above fix seems to fix this bug too, it will only make it less likely to occur. The problem here was the StackedItem::depth field overflowing, which made the pathfinder think it was at the first tile again. Adding an explicit overflow check should fix this.
19 years ago
Darkvater bb90e51ac5 (svn r3320) - Fix: FS#22 - Exiting with double size enabled saves wrong window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged. 19 years ago
Darkvater e744bbee59 (svn r3319) - Fix (regression): "Unnamed Competitors". A result of revision r3224 which allowed AI's for multiplayer. Old AI's didn't function correctly anymore. The update of last-built tile is moved back, but to a slightly different place so it is only executed when the command is actually successfully executed. This code shouldn't be neccessary, but alas, the old AI doesn't use DoCommandDP() functions. 19 years ago
Darkvater a7793e97a5 (svn r3318) - Codechange: [FS#27] MSVC projectfile & documentation update (bociusz) 19 years ago
miham e66db9c6d4 (svn r3317) [Translations] Updated to 2005-12-18 19 years ago
peter1138 3532b91eef (svn r3316) - NewGRF: Unload engine names before loading grf files. This fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose. 19 years ago
tron 3561a3068e (svn r3314) Add 2 times static 19 years ago
tron b06b3e2ca2 (svn r3313) Remove GPMI related changes from trunk
Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306
19 years ago