summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2005-12-18(svn r3316) - NewGRF: Unload engine names before loading grf files. This ↵peter1138
fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
2005-12-18(svn r3314) Add 2 times statictron
2005-12-18(svn r3313) Remove GPMI related changes from trunktron
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
2005-12-18(svn r3311) Remove the unnecessary global variable _grffile_count: It's just ↵tron
the scroll count of a list and furthermore only used in one file
2005-12-17(svn r3310) Fix a couple of warnings: Initialise all struct members, ↵tron
disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
2005-12-16(svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing ↵peter1138
decisions on its value.
2005-12-15(svn r3308) BADtron
foo.h: int bar; GOOD foo.h: extern int bar; foo.c: int bar;
2005-12-14(svn r3307) A file shall include its own headertron
2005-12-14(svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIstruelight
2005-12-14(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_truelight
2005-12-14(svn r3304) -Add: allow AI-events to see the UID of the commandtruelight
-Fix: improved the logic of the UID code for AIs
2005-12-14(svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARKpeter1138
2005-12-14(svn r3302) - Fix: split drawing of text buttons and the closebox, so the ↵peter1138
closebox symbol can be centred.
2005-12-14(svn r3301) One more statictron
2005-12-14(svn r3300) Remove unreachable code - in this case some duplicate breakstron
2005-12-14(svn r3299) Remove the unimplemented -l option, which should select the languagetron
2005-12-14(svn r3298) Remove unused and write-only variablestron
2005-12-14(svn r3297) Staticisetron
2005-12-14(svn r3296) Warn about testing an undefined macro with #if - should most ↵tron
probably be #ifdef
2005-12-13(svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in ↵Darkvater
saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system.
2005-12-13(svn r3294) - Fix: use INVALID_STRING_ID instead of -1.Darkvater
- Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages.
2005-12-13(svn r3293) - Miscellaneous: add peter1138 as developerDarkvater
2005-12-13(svn r3292) - Autoreplace: Disallow replacing to an engine type that already ↵peter1138
has a replacement set up; this stops loops being set up.
2005-12-13(svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with ↵peter1138
INVALID_ENGINE, as appropriate.
2005-12-13(svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly ↵peter1138
version r3213": Added filter to test for valid character input.
2005-12-11(svn r3289) 32 times statictron
2005-12-11(svn r3288) Set svn properties on cocoa related files, and add Id tag.peter1138
Add extern to cocoa sound driver.
2005-12-11(svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: ↵tron
%.rc rule