summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-05(svn r3367) Unify the 4 distinct ↵tron
CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command. As side effect this is a -Fix: The default AI tried to change the service intervals of vehicles via the CMD_CHANGE_TRAIN_SERVICE_INT command - regardless of the type of the vehicle - which of course failed for non-trains
2006-01-05(svn r3366) Make an unnecessarily global variable localtron
2006-01-05(svn r3365) Staticise 36 functionstron
2006-01-05(svn r3364) Remove 3 unused functions (ScrollWindowToTile, ↵tron
AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
2006-01-05(svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, ↵truelight
but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.
2006-01-04(svn r3362) Fix issue with loading old (TTD) savegames:peter1138
- move call to convert from old to new train subtypes. - ensure AI is started for AI players.
2006-01-04(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after ↵peter1138
starting removal process.
2006-01-02(svn r3360) Fix initialization of engines for precalculation of default ↵peter1138
refit mask.
2006-01-02(svn r3359) - Autoreplace GUI: When starting or stopping a replacement, ↵peter1138
redraw the replace window after the command has completed, rather than after calling the command.
2005-12-30(svn r3358) Remove another piece of unused codetron
2005-12-30(svn r3357) Fix an off-by-one error in checking if a coordinate passed to a ↵tron
command is on the map
2005-12-29(svn r3356) - Remove unused parameter of AfterLoadGame().peter1138
- Initialize _sl_version after loading an old savegame.
2005-12-29(svn r3355) Three minor improvements for french (by me using dict.leo.org, ↵tron
OKed by Belugas)
2005-12-29(svn r3354) Fix a typo, which survived for about 3000 revisions: ↵tron
s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)
2005-12-29(svn r3353) Simplify the automatic length adjustment algorithm for replacing ↵tron
trains: Use the length of the train before the replacement as reference length
2005-12-28(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC ↵peter1138
blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
2005-12-28(svn r3351) Make sort criteria selection widgets in player train list ↵peter1138
consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)
2005-12-28(svn r3350) Fix widget glitch in player ship window (missed in r1379)peter1138
2005-12-28(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.peter1138
2005-12-27(svn r3348) Dependency checking didn't include all compile parameters, which ↵tron
lead to wrong results
2005-12-27(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was ↵tron
it the other way round?)
2005-12-27(svn r3346) - Increase size of aircraft refit window by one item; fixes "[ ↵peter1138
1387477 ] Can't refit aircraft to carry Fizzy Drinks"
2005-12-26(svn r3345) Remove untranslated stringstron
2005-12-26(svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks ↵tron
to Truelight) translation
2005-12-26(svn r3343) Fix calculation of available rail types where all engines of a ↵peter1138
particular type are obsolete.
2005-12-25(svn r3342) Remove some crufttron
2005-12-25(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because ↵truelight
it already exists on that platform
2005-12-25(svn r3340) Fix dependency calculation: dependencies didn't get recalculated ↵tron
if a header file changed Also really automagically create the dependency directories by deriving the directory names from $(DEPS)
2005-12-24(svn r3339) Remove unnecessary includestron
2005-12-24(svn r3338) Wrong file in last committron
2005-12-24(svn r3337) Remove an unused variable and add 2 times statictron
2005-12-24(svn r3336) byte -> WindowClass, uint16 -> WindowNumbertron
2005-12-24(svn r3335) [Translations] Moved estonian to readymiham
2005-12-24(svn r3334) Remove 2 unused window classestron
2005-12-24(svn r3333) Remove some the unimplemented option DISPLAY_WARNINGS from the ↵tron
config writer
2005-12-24(svn r3332) Fix r3317, a few things got messed up in the translator systemtron
2005-12-24(svn r3331) CMD_PLACE_SIGN doesn't use p1, so don't pass anything seemingly ↵tron
meaningful
2005-12-21(svn r3329) - Doc: Some documentation cleanups.matthijs
- Add: TracksOverlap() (from the map branch), TrackdirBitsToTrackBits(), DiagdirReachesTrackdirs(), DiagdirReachesTracks(). - Fix: Infinite loop in the pathfinder introduces in r3321.
2005-12-21(svn r3328) - Fix: [ 1352739 ] landscape_grid.html showing wrong bit usage ↵Darkvater
(belugas)
2005-12-21(svn r3327) - Fix: [ 1373581 ] landscape.html documentation. Railway types ↵Darkvater
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)
2005-12-21(svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread ↵Darkvater
support (dst)
2005-12-21(svn r3325) - Fix: You couldn't send an airplane to a hangar for mandatory ↵Darkvater
servicing, the NON_STOP flag failed the command.
2005-12-20(svn r3324) - Codechange: set native eol-style on missing files not yet set soDarkvater
2005-12-20(svn r3323) - Fix: automatically enable new AI when turning on the AI in ↵Darkvater
multiplayer feature (it only works that way and we all know users don't read).
2005-12-20(svn r3322) - Fix: Network window crash when it receives invalid information ↵Darkvater
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
2005-12-20(svn r3321) - Fix: A wrong use of the map m5 bits, where a previously ↵matthijs
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.
2005-12-19(svn r3320) - Fix: FS#22 - Exiting with double size enabled saves wrong ↵Darkvater
window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged.
2005-12-18(svn r3319) - Fix (regression): "Unnamed Competitors". A result of revision ↵Darkvater
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.
2005-12-18(svn r3318) - Codechange: [FS#27] MSVC projectfile & documentation update ↵Darkvater
(bociusz)
2005-12-18(svn r3317) [Translations] Updated to 2005-12-18miham