1
0
Fork 0

Commit Graph

  • 10a2787fd5 (svn r3375) -Add: [ FS#29 ] show an error dialog for OSX cocoa driver (egladil) truelight 2006-01-06 21:27:44 +0000
  • b542f784f9 (svn r3374) -Fix: [ FS#36 ] Don't allow trains to get bigger than 100 via drag and drop truelight 2006-01-06 21:10:58 +0000
  • 54501dc6df (svn r3373) -Fix: don't link a wagon to itself, which resulted in a wagon disapearing, and a depot which was unable to remove truelight 2006-01-06 18:26:02 +0000
  • 183f6f6d07 (svn r3372) - Fix: update signal states when building or removing rail station blocks peter1138 2006-01-06 17:45:43 +0000
  • b23ffe4045 (svn r3371) -Fix: don't allow road-vehicles to perform an out-of-bound operation while overtaking in a curve (tnx to guru3, Tron and peter1138) -Codechange: while at that, removed a local variable (more pretty :)) truelight 2006-01-06 17:25:39 +0000
  • 71fb252a8a (svn r3370) Improve alignment of text within total cargo tab of train view window peter1138 2006-01-06 09:50:43 +0000
  • 08a3e346cd (svn r3369) - Codechange: Replace tables _signals_table, _signals_table_other and _signals_table_both by the equivalent calls to rail.h functions. - Codechange: Add a few constants. matthijs 2006-01-06 00:08:00 +0000
  • 72b70fa042 (svn r3368) Fix the same type of off-by-one error when checking, if the passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough* tron 2006-01-05 21:50:09 +0000
  • af70b49bf7 (svn r3367) Unify the 4 distinct 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 tron 2006-01-05 21:35:54 +0000
  • 5ac1a89f92 (svn r3366) Make an unnecessarily global variable local tron 2006-01-05 16:51:10 +0000
  • e272b03fee (svn r3365) Staticise 36 functions tron 2006-01-05 12:40:50 +0000
  • 980e8f525b (svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2) tron 2006-01-05 12:00:38 +0000
  • 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. truelight 2006-01-05 11:18:58 +0000
  • 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. peter1138 2006-01-04 20:18:39 +0000
  • 911a8aa08d (svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process. peter1138 2006-01-04 16:53:00 +0000
  • f55153ce3c (svn r3360) Fix initialization of engines for precalculation of default refit mask. peter1138 2006-01-02 22:40:39 +0000
  • 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. peter1138 2006-01-02 19:55:09 +0000
  • 5353d05865 (svn r3358) Remove another piece of unused code tron 2005-12-30 22:09:01 +0000
  • 608e9a7203 (svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map tron 2005-12-30 14:28:32 +0000
  • 2a94a64711 (svn r3356) - Remove unused parameter of AfterLoadGame(). - Initialize _sl_version after loading an old savegame. peter1138 2005-12-29 22:28:19 +0000
  • 10c6d4c738 (svn r3355) Three minor improvements for french (by me using dict.leo.org, OKed by Belugas) tron 2005-12-29 19:09:05 +0000
  • 6820aada04 (svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu) tron 2005-12-29 19:06:44 +0000
  • 246c126d25 (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length tron 2005-12-29 12:42:59 +0000
  • 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. peter1138 2005-12-28 22:29:59 +0000
  • 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) peter1138 2005-12-28 09:40:26 +0000
  • d6bfff85cb (svn r3350) Fix widget glitch in player ship window (missed in r1379) peter1138 2005-12-28 09:29:00 +0000
  • 37c3cd2e5b (svn r3349) Fix off-by-one error in drawing matrix widget, from r3181. peter1138 2005-12-28 08:39:43 +0000
  • 7e5da7d8b2 (svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results tron 2005-12-27 22:55:24 +0000
  • 0f03d94fbe (svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?) tron 2005-12-27 20:44:42 +0000
  • 6319e8910f (svn r3346) - Increase size of aircraft refit window by one item; fixes "[ 1387477 ] Can't refit aircraft to carry Fizzy Drinks" peter1138 2005-12-27 16:37:50 +0000
  • 8c707f6211 (svn r3345) Remove untranslated strings tron 2005-12-26 18:24:01 +0000
  • fad5dcffda (svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks to Truelight) translation tron 2005-12-26 18:22:34 +0000
  • 878c868f02 (svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete. peter1138 2005-12-26 15:41:24 +0000
  • a857706145 (svn r3342) Remove some cruft tron 2005-12-25 19:44:23 +0000
  • 8ffe9da482 (svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform truelight 2005-12-25 15:05:59 +0000
  • 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) tron 2005-12-25 09:19:16 +0000
  • fa78c057ee (svn r3339) Remove unnecessary includes tron 2005-12-24 20:54:31 +0000
  • e5e15808f1 (svn r3338) Wrong file in last commit tron 2005-12-24 20:53:02 +0000
  • c11fb56bf7 (svn r3337) Remove an unused variable and add 2 times static tron 2005-12-24 20:51:21 +0000
  • f2db7e7245 (svn r3336) byte -> WindowClass, uint16 -> WindowNumber tron 2005-12-24 15:01:17 +0000
  • 955f06b9ac (svn r3335) [Translations] Moved estonian to ready miham 2005-12-24 13:22:38 +0000
  • 9b0b2e8d2e (svn r3334) Remove 2 unused window classes tron 2005-12-24 12:47:51 +0000
  • 5df6a12ed3 (svn r3333) Remove some the unimplemented option DISPLAY_WARNINGS from the config writer tron 2005-12-24 12:47:31 +0000
  • 671c085206 (svn r3332) Fix r3317, a few things got messed up in the translator system tron 2005-12-24 12:16:56 +0000
  • 9abf05dcef (svn r3331) CMD_PLACE_SIGN doesn't use p1, so don't pass anything seemingly meaningful tron 2005-12-24 10:16:34 +0000
  • 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. matthijs 2005-12-21 13:53:44 +0000
  • be01586049 (svn r3328) - Fix: [ 1352739 ] landscape_grid.html showing wrong bit usage (belugas) Darkvater 2005-12-21 01:43:26 +0000
  • 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) Darkvater 2005-12-21 01:40:41 +0000
  • 97e9141c65 (svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread support (dst) Darkvater 2005-12-21 01:19:03 +0000
  • a24de0ba3b (svn r3325) - Fix: You couldn't send an airplane to a hangar for mandatory servicing, the NON_STOP flag failed the command. Darkvater 2005-12-21 01:14:01 +0000
  • 7142512754 (svn r3324) - Codechange: set native eol-style on missing files not yet set so Darkvater 2005-12-20 21:59:34 +0000
  • 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). Darkvater 2005-12-20 21:24:50 +0000
  • 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 Darkvater 2005-12-20 20:52:05 +0000
  • 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. matthijs 2005-12-20 00:50:16 +0000
  • 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. Darkvater 2005-12-19 00:19:12 +0000
  • 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. Darkvater 2005-12-18 22:48:45 +0000
  • a7793e97a5 (svn r3318) - Codechange: [FS#27] MSVC projectfile & documentation update (bociusz) Darkvater 2005-12-18 20:48:22 +0000
  • e66db9c6d4 (svn r3317) [Translations] Updated to 2005-12-18 miham 2005-12-18 17:04:02 +0000
  • 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. peter1138 2005-12-18 14:03:28 +0000
  • 3561a3068e (svn r3314) Add 2 times static tron 2005-12-18 12:17:53 +0000
  • 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 tron 2005-12-18 12:10:46 +0000
  • 2956b119b2 (svn r3311) Remove the unnecessary global variable _grffile_count: It's just the scroll count of a list and furthermore only used in one file tron 2005-12-18 08:01:05 +0000
  • bd909b0952 (svn r3310) Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists tron 2005-12-17 14:26:43 +0000
  • 592aee1e27 (svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value. peter1138 2005-12-16 22:01:38 +0000
  • 28fe368b7f (svn r3308) BAD foo.h: int bar; tron 2005-12-15 17:55:59 +0000
  • ca52ec33b2 (svn r3307) A file shall include its own header tron 2005-12-14 20:45:12 +0000
  • 6884453b66 (svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs truelight 2005-12-14 19:21:56 +0000
  • 531073bea0 (svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_ truelight 2005-12-14 15:54:23 +0000
  • f94da63a8d (svn r3304) -Add: allow AI-events to see the UID of the command -Fix: improved the logic of the UID code for AIs truelight 2005-12-14 14:38:23 +0000
  • f6330faead (svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK peter1138 2005-12-14 09:15:06 +0000
  • ec274769b9 (svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred. peter1138 2005-12-14 08:05:36 +0000
  • 560e92aa4a (svn r3301) One more static tron 2005-12-14 06:51:19 +0000
  • cc2b51320f (svn r3300) Remove unreachable code - in this case some duplicate breaks tron 2005-12-14 06:49:54 +0000
  • 4634243110 (svn r3299) Remove the unimplemented -l option, which should select the language tron 2005-12-14 06:32:06 +0000
  • bf98086de8 (svn r3298) Remove unused and write-only variables tron 2005-12-14 06:28:48 +0000
  • 23bfc03054 (svn r3297) Staticise tron 2005-12-14 06:20:23 +0000
  • ce94c90a7b (svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef tron 2005-12-14 06:16:34 +0000
  • d8727d7fcd (svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system. Darkvater 2005-12-13 22:28:44 +0000
  • 56998926e7 (svn r3294) - Fix: use INVALID_STRING_ID instead of -1. - 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. Darkvater 2005-12-13 21:21:57 +0000
  • 2a60262c99 (svn r3293) - Miscellaneous: add peter1138 as developer Darkvater 2005-12-13 20:20:44 +0000
  • 560a4a9c4a (svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up. peter1138 2005-12-13 12:31:48 +0000
  • 04f39ef749 (svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate. peter1138 2005-12-13 09:57:07 +0000
  • 07c3abfe92 (svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input. peter1138 2005-12-13 07:32:06 +0000
  • 2dc8e0c3d9 (svn r3289) 32 times static tron 2005-12-11 10:36:48 +0000
  • f4e1f18a15 (svn r3288) Set svn properties on cocoa related files, and add Id tag. Add extern to cocoa sound driver. peter1138 2005-12-11 10:25:27 +0000
  • ec2675c2c5 (svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule tron 2005-12-11 07:36:49 +0000
  • 42d8e8410b (svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default bjarni 2005-12-10 23:03:59 +0000
  • be65f908c8 (svn r3285) -Codechange: Tron was confused by a name, so let's make him happy, prefixed it with 'tmp', so now we know it is a temp char* :) truelight 2005-12-10 18:50:07 +0000
  • 0de260182b (svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron) truelight 2005-12-10 18:47:40 +0000
  • ba7cc8e190 (svn r3283) -Fix: decode_parameters was still used, while _cmd_text is the way -Fix: _cmd_text is cleared after a command, so we need to store it temporaray in order to first test the command, before executing truelight 2005-12-10 18:43:49 +0000
  • 809b03c81a (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed() peter1138 2005-12-10 12:05:39 +0000
  • 6a6e145010 (svn r3281) -Feature: [OSX] added native cocoa sound and video drivers (egladil) you can still use SDL drivers if you like and you have to run "make upgradeconf" to start using the cocoa drivers (or manually write WITH_COCOA:=1) since SDL breaks the cocoa drivers, you can't compile with both SDL and cocoa support Using cocoa drivers makes it easier to make universal binaries and it solves: -FS#18 [OSX] SDL is weird in universal binaries -FS#2 [OSX] lazy pointer crash on exit -FS#10 [OSX] linking error when linking statically to SDL 1.2.8 (needless to explain this, but it means it should be able to compile statically with the default settings now) -[ 1215073 ] Switching to large size out of fullscreen crashes Using SDL drivers will still have those issues though bjarni 2005-12-10 11:16:45 +0000
  • f1877b3fe9 (svn r3280) Merge the seperate (C|CXX|OBJC)_SOURCES variables into a single variable SRCS Now adding a new file to compile is just adding a line like SRCS += $(FIILE), regardless of type tron 2005-12-10 07:29:31 +0000
  • b6ca90e021 (svn r3279) -Fix: do not try to execute something that is not set to execute -Fix: do not increase an uid number if it isn't returned truelight 2005-12-09 19:29:11 +0000
  • c872ac4eb4 (svn r3278) -Fix: lets update the tail-pointer if we add a new item, else the linkedlist never grows ;) truelight 2005-12-09 19:12:11 +0000
  • e9e1c4de53 (svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code) truelight 2005-12-09 17:42:56 +0000
  • 26a5e120e8 (svn r3276) reverted the last two commits. OSX 10.2 kept finding new stuff to prevent it from running OpenTTD, so now it's not supported anymore bjarni 2005-12-09 13:17:31 +0000
  • 6cfdfcc4ba (svn r3275) -Fix: [OSX] removed libpng support and error dialogs from jaguar crosscompiles to fix crash bjarni 2005-12-09 13:07:21 +0000
  • 111e5ef0fd (svn r3274) -Fix: [OSX] added JAGUAR flag to crosscompile for OSX 10.2 (codenamed jaguar) JAGUAR and FAT_BINARY can't be used at the same time JAGUAR will disable network support due to missing libs in 10.2 bjarni 2005-12-09 12:15:52 +0000
  • 578883266f (svn r3273) -Fix: [OSX] PPC part of universal binaries now target 10.3 instead of 10.4 10.2 support appears to be broken right now Changed BUILD_UNIVERSAL_BINARY into FAT_BINARY (I got tired of typing) bjarni 2005-12-09 11:08:24 +0000