------------------------------------------------------------------------ r8419 | miham | 2007-01-26 18:41:15 +0000 (Fri, 26 Jan 2007) | 5 lines -Update: WebTranslator2 update to 2007-01-26 19:40:39 brazilian_portuguese - 1 changed by fukumori (1) korean - 1 changed by Nios (1) ukrainian - 1 fixed, 23 changed by mad (24) ------------------------------------------------------------------------ r8414 | KUDr | 2007-01-26 11:38:07 +0000 (Fri, 26 Jan 2007) | 5 lines -Codechange: Use own AutoPtrT instead of std::auto_ptr. -Simplifies assignment from raw pointers -Should be harder to crash the program by incorrect assignment into it. -Should help with MorphOS compilation errors ------------------------------------------------------------------------ r8413 | KUDr | 2007-01-26 08:37:48 +0000 (Fri, 26 Jan 2007) | 1 line -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway) ------------------------------------------------------------------------ r8412 | truelight | 2007-01-26 08:36:02 +0000 (Fri, 26 Jan 2007) | 2 lines [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why! ------------------------------------------------------------------------ r8411 | truelight | 2007-01-26 08:27:59 +0000 (Fri, 26 Jan 2007) | 2 lines [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish. ------------------------------------------------------------------------ r8410 | tron | 2007-01-26 07:50:34 +0000 (Fri, 26 Jan 2007) | 6 lines -Fix -Fix: Fix an out of bounds array access when assigning the engine type in the _engine array This usually hits the _engine_name_strings array and causes an invalid StringID, though it depends on the compiler which data structure gets placed after the _engines array. Most probably this was exposed by removing railtype from Engine, which changed the size of this struct. ------------------------------------------------------------------------ r8409 | Darkvater | 2007-01-26 00:25:39 +0000 (Fri, 26 Jan 2007) | 2 lines -Regression (r8049): When the latest news was deleted, the news queue wrapped back to the oldest item, showing all news again. -Regression [FS#573] (r8049): ShowLastNewsMessage could show an out-of-bounds news item because it did not checked if a previous item actually existed the first time it is called (forced news is INVALID_NEWS). ------------------------------------------------------------------------ r8404 | miham | 2007-01-25 18:37:21 +0000 (Thu, 25 Jan 2007) | 6 lines -Update: WebTranslator2 update to 2007-01-25 19:36:44 korean - 2 changed by leejaeuk5 (2) slovak - 1 changed by lengyel (1) slovenian - 290 changed by Necrolyte (290) ukrainian - 1 fixed, 55 changed by mad (7), znikoz (49) ------------------------------------------------------------------------ r8403 | celestar | 2007-01-25 11:11:43 +0000 (Thu, 25 Jan 2007) | 2 lines -Fix (r8402): Forgot to remove an enum ------------------------------------------------------------------------ r8402 | celestar | 2007-01-25 10:06:58 +0000 (Thu, 25 Jan 2007) | 2 lines -Codechange: Move RoadStop-specific enums to the RoadStop class, and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop ------------------------------------------------------------------------ r8401 | celestar | 2007-01-25 08:58:09 +0000 (Thu, 25 Jan 2007) | 3 lines -Codechange: Make 'IsValidRoadStop' a method of RoadStop and rename it to 'IsValid' -Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section ------------------------------------------------------------------------ r8400 | tron | 2007-01-25 07:11:06 +0000 (Thu, 25 Jan 2007) | 4 lines -Fix Simplify r8399 ------------------------------------------------------------------------ r8399 | glx | 2007-01-25 01:29:24 +0000 (Thu, 25 Jan 2007) | 1 line -Fix (r8185): a new road stop was always created in CmdBuildRoadStop(), but it was not deleted if DC_EXEC flag was not set or if the station creation failed ------------------------------------------------------------------------ r8398 | Darkvater | 2007-01-24 21:23:35 +0000 (Wed, 24 Jan 2007) | 1 line -Cleanup: Remove WATCOM crud from strgen and map.h include from macros.h as it is no longer needed. ------------------------------------------------------------------------ r8397 | bjarni | 2007-01-24 19:19:12 +0000 (Wed, 24 Jan 2007) | 3 lines -Codechange: [orders window] don't move the refit button to the same location as the unload button instead assert if the widget array place them at different locations ------------------------------------------------------------------------ r8396 | miham | 2007-01-24 18:42:14 +0000 (Wed, 24 Jan 2007) | 9 lines -Update: WebTranslator2 update to 2007-01-24 19:41:28 estonian - 1 fixed by vermon (1) finnish - 1 fixed by kerba (1) greek - 13 fixed by Kesnar (13) norwegian_bokmal - 1 fixed by oletk (1) romanian - 1 fixed by kneekoo (1) spanish - 1 fixed by eusebio (1) ukrainian - 31 fixed, 24 changed by znikoz (4), mad (51) ------------------------------------------------------------------------ r8395 | bjarni | 2007-01-24 18:41:27 +0000 (Wed, 24 Jan 2007) | 2 lines -Cleanup: [orders window] moved the refit button two places up, so the order of the widget array fits the placement on the screen ------------------------------------------------------------------------ r8394 | bjarni | 2007-01-24 18:22:31 +0000 (Wed, 24 Jan 2007) | 2 lines -Cleanup: added an enum with widget names to the orders window ------------------------------------------------------------------------ r8393 | tron | 2007-01-24 18:03:36 +0000 (Wed, 24 Jan 2007) | 5 lines -Fix -Codechange: CheckCompatibleRail() is only called for tiles which are known to contain a piece of rail. Simplify the function accordingly by eliminating unnecessary checks. -Fix (?): Also fix an inconsistency in deciding what a compatible rail type is between level crossings and other rail tiles. It is unknown if this caused any problems. ------------------------------------------------------------------------ r8392 | tron | 2007-01-24 17:58:07 +0000 (Wed, 24 Jan 2007) | 4 lines -Fix Use HASBIT() instead of implementing it manually ------------------------------------------------------------------------ r8391 | peter1138 | 2007-01-24 15:01:20 +0000 (Wed, 24 Jan 2007) | 2 lines -Codechange: Make normal/desert/rainforest detection for newgrf stations work ------------------------------------------------------------------------ r8390 | bjarni | 2007-01-24 14:32:20 +0000 (Wed, 24 Jan 2007) | 6 lines -Codechange (r8384): Rewrote ResizeButtons() Now it only works on first and last widget to resize It now works with offsets correctly (no longer assumes the left is 0) It's no longer needed to have a widget right of the ones you resize Can handle any number of widgets ------------------------------------------------------------------------ r8385 | tron | 2007-01-24 07:14:09 +0000 (Wed, 24 Jan 2007) | 4 lines -Fix -Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest. ------------------------------------------------------------------------ r8384 | bjarni | 2007-01-24 02:36:55 +0000 (Wed, 24 Jan 2007) | 2 lines -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added ------------------------------------------------------------------------ r8383 | bjarni | 2007-01-24 01:37:04 +0000 (Wed, 24 Jan 2007) | 2 lines -Feature: train detail window is now resizable horizontally (requested by Wolf01) ------------------------------------------------------------------------ r8382 | bjarni | 2007-01-24 00:55:35 +0000 (Wed, 24 Jan 2007) | 3 lines -Fix (r8374): moved the include of stdint.h to the front of stdafx.h This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this) ------------------------------------------------------------------------ r8381 | bjarni | 2007-01-23 21:24:26 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (r8377): [build vehicle window] cleaned up the train refitable detection. It had two variables doing the same thing, but not always set to the same (oops) ------------------------------------------------------------------------ r8380 | miham | 2007-01-23 20:55:08 +0000 (Tue, 23 Jan 2007) | 1 line [Translations] -Fix: After held a developer mini-conference upon this wrong argidx issue, we decided to remove the {P ..} from STR_TONS ------------------------------------------------------------------------ r8379 | bjarni | 2007-01-23 20:55:04 +0000 (Tue, 23 Jan 2007) | 2 lines -Cleanup: [build vehicle window] removed overloading with DrawVehiclePurchaseInfo() and renamed them into type specific names ------------------------------------------------------------------------ r8378 | bjarni | 2007-01-23 20:23:13 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (r8331): [build vehicle window] extended the widget with the details with one line since some newgrf trains needs it ------------------------------------------------------------------------ r8377 | bjarni | 2007-01-23 20:01:04 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (r8331): [build vehicle window] train cargo capacity now only add "(refitable)" if the engine in question is refitable ------------------------------------------------------------------------ r8376 | rubidium | 2007-01-23 19:36:59 +0000 (Tue, 23 Jan 2007) | 2 lines -Codechange: remove unused table ------------------------------------------------------------------------ r8375 | miham | 2007-01-23 18:37:00 +0000 (Tue, 23 Jan 2007) | 7 lines -Update: WebTranslator2 update to 2007-01-23 19:34:40 brazilian_portuguese - 2 changed by fukumori (2) esperanto - 14 changed by LaPingvino (14) simplified_chinese - 6 fixed, 10 changed by Fishingsnow (16) slovenian - 394 changed by Necrolyte (394) ukrainian - 68 changed by mad (61), znikoz (7) ------------------------------------------------------------------------ r8374 | maedhros | 2007-01-23 15:47:28 +0000 (Tue, 23 Jan 2007) | 4 lines -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX describes the required value better anyway. However, INT64_MAX comes from stdint.h which doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them. ------------------------------------------------------------------------ r8373 | rubidium | 2007-01-23 14:58:10 +0000 (Tue, 23 Jan 2007) | 2 lines -Codechange: remove some obsolete MSVC6 compatability defines ------------------------------------------------------------------------ r8372 | rubidium | 2007-01-23 14:47:38 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater. ------------------------------------------------------------------------ r8371 | bjarni | 2007-01-23 13:26:12 +0000 (Tue, 23 Jan 2007) | 3 lines -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved ------------------------------------------------------------------------ r8370 | bjarni | 2007-01-23 13:10:43 +0000 (Tue, 23 Jan 2007) | 2 lines -Revert (r8363): the autoreplace GUI move cleared the file history ------------------------------------------------------------------------ r8369 | maedhros | 2007-01-23 12:41:04 +0000 (Tue, 23 Jan 2007) | 1 line -Cleanup: [Graphs] Rename include_neg and adj_height to more descriptive names, and add some more comments. ------------------------------------------------------------------------ r8368 | maedhros | 2007-01-23 12:19:41 +0000 (Tue, 23 Jan 2007) | 1 line -Cleanup: [Graphs] Rename the variables relating to whether datasets should be drawn, and use HASBIT for testing against them. ------------------------------------------------------------------------ r8367 | maedhros | 2007-01-23 11:20:59 +0000 (Tue, 23 Jan 2007) | 1 line -Fix: [Graphs] Don't try to use the same value to mean something is invalid for both an int64 and a uint. ------------------------------------------------------------------------ r8366 | maedhros | 2007-01-23 10:21:51 +0000 (Tue, 23 Jan 2007) | 4 lines -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs. 1) If the graph contained negative values, the y axis labels were half the size they should have been. 2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0. ------------------------------------------------------------------------ r8365 | belugas | 2007-01-23 02:31:49 +0000 (Tue, 23 Jan 2007) | 3 lines -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6. More to come on that matter... ------------------------------------------------------------------------ r8364 | bjarni | 2007-01-23 01:00:56 +0000 (Tue, 23 Jan 2007) | 1 line -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains ------------------------------------------------------------------------ r8363 | bjarni | 2007-01-23 00:04:17 +0000 (Tue, 23 Jan 2007) | 2 lines -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own ------------------------------------------------------------------------ r8362 | bjarni | 2007-01-22 23:23:30 +0000 (Mon, 22 Jan 2007) | 3 lines -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own -Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left ------------------------------------------------------------------------ r8361 | rubidium | 2007-01-22 21:38:16 +0000 (Mon, 22 Jan 2007) | 4 lines -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD -Codechange: use_password is a boolean variable -Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo ------------------------------------------------------------------------ r8360 | miham | 2007-01-22 21:00:38 +0000 (Mon, 22 Jan 2007) | 2 lines [Translations] -Fix: removed 4 empty strings from simplified chinese translation -Fix: added dummy ownname to Korean, translator will have to supply it through WT2 ------------------------------------------------------------------------ r8359 | miham | 2007-01-22 20:52:20 +0000 (Mon, 22 Jan 2007) | 1 line [Translations] -Change: Removed the .UTF-8 suffix from isocodes ------------------------------------------------------------------------ r8356 | maedhros | 2007-01-22 20:38:19 +0000 (Mon, 22 Jan 2007) | 1 line -Codechange: [Graphs] Rename mx to highest_value, and fix the scaling for negative values. ------------------------------------------------------------------------ r8354 | miham | 2007-01-22 18:28:30 +0000 (Mon, 22 Jan 2007) | 8 lines -Update: WebTranslator2 update to 2007-01-22 19:27:50 american - 1 fixed by WhiteRabbit (1) brazilian_portuguese - 5 changed by fukumori (5) esperanto - 4 changed by LaPingvino (4) japanese - 28 changed by ickoonite (28) korean - 6 fixed, 151 changed by leejaeuk5 (157) simplified_chinese - 7 fixed, 2 changed by Fishingsnow (9) ------------------------------------------------------------------------ r8353 | bjarni | 2007-01-22 16:48:36 +0000 (Mon, 22 Jan 2007) | 2 lines -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace code (duplicated code removal) ------------------------------------------------------------------------ r8350 | maedhros | 2007-01-22 16:26:45 +0000 (Mon, 22 Jan 2007) | 1 line -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred. ------------------------------------------------------------------------ r8349 | bjarni | 2007-01-22 16:16:52 +0000 (Mon, 22 Jan 2007) | 2 lines -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions ------------------------------------------------------------------------ r8347 | maedhros | 2007-01-22 15:46:57 +0000 (Mon, 22 Jan 2007) | 1 line -Codechange: [Graphs] Make some more variables local to the loops they're used in, and remove some assumptions about the size of an array. ------------------------------------------------------------------------ r8343 | bjarni | 2007-01-22 14:08:14 +0000 (Mon, 22 Jan 2007) | 2 lines -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without ------------------------------------------------------------------------ r8341 | bjarni | 2007-01-22 10:27:14 +0000 (Mon, 22 Jan 2007) | 2 lines -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument ------------------------------------------------------------------------ r8340 | bjarni | 2007-01-22 08:38:18 +0000 (Mon, 22 Jan 2007) | 2 lines -Cleanup (r8338): removed now unused header includes from roadveh_gui.cpp ------------------------------------------------------------------------ r8339 | belugas | 2007-01-22 02:59:50 +0000 (Mon, 22 Jan 2007) | 3 lines -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence. A copy of code from train_gui.cpp to build_vehicle_gui.cpp was not exactly the same. The earlier version did not require parenthesis to specify correct operator precedence. ------------------------------------------------------------------------ r8338 | bjarni | 2007-01-22 02:09:51 +0000 (Mon, 22 Jan 2007) | 3 lines -Codechange: merged road vehicle build window into the other ones Note: now all build vehicle windows are merged into build_vehicle_gui.cpp ------------------------------------------------------------------------ r8337 | bjarni | 2007-01-22 01:35:53 +0000 (Mon, 22 Jan 2007) | 2 lines -Cleanup: removed some more switch-cases in build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead ------------------------------------------------------------------------ r8336 | bjarni | 2007-01-22 01:13:10 +0000 (Mon, 22 Jan 2007) | 4 lines -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays Used this function to get rid of some switch-cases in build_vehicle_gui.cpp -Fix (r8335): ship build window didn't remember assending/decending sort setting ------------------------------------------------------------------------ r8335 | bjarni | 2007-01-22 00:26:46 +0000 (Mon, 22 Jan 2007) | 3 lines -Feature: the build ship window is now also resizable horizontally and contains sorting options -Codechange: the build ship window is merged into build_vehicle_gui.cpp ------------------------------------------------------------------------ r8334 | bjarni | 2007-01-21 23:24:25 +0000 (Sun, 21 Jan 2007) | 2 lines -Fix (r8331): build window buttons now both resize as intended ------------------------------------------------------------------------ r8333 | bjarni | 2007-01-21 23:13:46 +0000 (Sun, 21 Jan 2007) | 3 lines -Codechange: when invalidating a build window list, set a flag instead of rebuilding the list and then rebuild it the next time it's redrawn This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws ------------------------------------------------------------------------ r8332 | bjarni | 2007-01-21 22:57:52 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: moved DrawAircraftImage() and CcBuildAircraft() from build_vehicle_gui.cpp to aircraft_gui.cpp ------------------------------------------------------------------------ r8331 | bjarni | 2007-01-21 22:50:43 +0000 (Sun, 21 Jan 2007) | 3 lines -Feature: the train and aircraft build windows are now resizable in horizontal direction as well -Codechange: merged train and aircraft build window code ------------------------------------------------------------------------ r8330 | maedhros | 2007-01-21 20:54:29 +0000 (Sun, 21 Jan 2007) | 1 line -Codechange: Remove num_x and num_dataset from DrawGraph. ------------------------------------------------------------------------ r8329 | maedhros | 2007-01-21 20:34:28 +0000 (Sun, 21 Jan 2007) | 1 line -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in. ------------------------------------------------------------------------ r8328 | maedhros | 2007-01-21 20:14:35 +0000 (Sun, 21 Jan 2007) | 1 line -Codechange: Remove some magic numbers in the graph drawing code. ------------------------------------------------------------------------ r8327 | bjarni | 2007-01-21 20:08:00 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer ------------------------------------------------------------------------ r8326 | truelight | 2007-01-21 19:40:38 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix r8304: forgot to update projects/generate to keep in mind the new WINCE tag in sources.list -Fix: MSVC doesn't order files itself, so put win32.cpp in the right place ourself -Update: update the MSVC projects files for r8324 (MiHaMiX) ------------------------------------------------------------------------ r8324 | miham | 2007-01-21 19:31:29 +0000 (Sun, 21 Jan 2007) | 1 line [Translations] -Change: Declared simplified_chinese as officially available language (number of missing strings is far less than 100) ------------------------------------------------------------------------ r8323 | miham | 2007-01-21 19:27:50 +0000 (Sun, 21 Jan 2007) | 1 line [Translations] -Fix: removed untranslated strings from chinese language, fixed a wrong plural param ------------------------------------------------------------------------ r8322 | maedhros | 2007-01-21 19:19:25 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: Rename unk61A and unk61C to something a little more descriptive. ------------------------------------------------------------------------ r8321 | tron | 2007-01-21 19:00:31 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix Reduce the size of EngineInfo (from 28 to 24 bytes) by moving one of its attributes ------------------------------------------------------------------------ r8320 | tron | 2007-01-21 18:46:19 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix Simplify TrainPowerChanged() somewhat by eleminating code duplication ------------------------------------------------------------------------ r8319 | maedhros | 2007-01-21 18:42:15 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: Remove the remaining colours from GraphDrawer as they're also the same everywhere. ------------------------------------------------------------------------ r8318 | miham | 2007-01-21 18:30:21 +0000 (Sun, 21 Jan 2007) | 7 lines -Update: WebTranslator2 update to 2007-01-21 19:29:35 brazilian_portuguese - 10 changed by fukumori (10) polish - 5 fixed by meush (5) simplified_chinese - 9 fixed, 191 changed by Fishingsnow (200) slovak - 1 fixed by lengyel (1) slovenian - 1 changed by ThePianoGuy (1) ------------------------------------------------------------------------ r8317 | maedhros | 2007-01-21 18:07:35 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: Remove GraphDrawer::bg_line_color since it was the same everywhere it was set. ------------------------------------------------------------------------ r8316 | rubidium | 2007-01-21 17:29:38 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused. ------------------------------------------------------------------------ r8315 | truelight | 2007-01-21 17:09:32 +0000 (Sun, 21 Jan 2007) | 2 lines -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available ------------------------------------------------------------------------ r8314 | tron | 2007-01-21 16:08:18 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix -Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful ------------------------------------------------------------------------ r8313 | truelight | 2007-01-21 15:18:36 +0000 (Sun, 21 Jan 2007) | 2 lines [WinCE] -Fix: -lws2 wasn't included in libraries, so network couldn't be linked ------------------------------------------------------------------------ r8312 | maedhros | 2007-01-21 15:03:37 +0000 (Sun, 21 Jan 2007) | 5 lines -Fix (r8038, sort of): Operating profit and the company value can be negative, so don't put them in an unsigned variable before drawing them in the various graphs. Although the code didn't change, this only seems to have broken since we started compiling it as C++. ------------------------------------------------------------------------ r8311 | truelight | 2007-01-21 14:44:25 +0000 (Sun, 21 Jan 2007) | 2 lines [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE ------------------------------------------------------------------------ r8310 | truelight | 2007-01-21 14:36:08 +0000 (Sun, 21 Jan 2007) | 2 lines -Fix r8309: it is wise to put #endifs in the right place ;) ------------------------------------------------------------------------ r8309 | truelight | 2007-01-21 14:32:40 +0000 (Sun, 21 Jan 2007) | 7 lines [WinCE] -Fix: WinCE doesn't know resolution changing -Fix: WinCE doesn't know GetKeyboardState -Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com) -Fix: the GCC compiler is more happy if the WinMain is called that -Fix: a really old typo (missing ')') ;) -Fix: GdiFlush() isn't supported on WinCE ------------------------------------------------------------------------ r8308 | truelight | 2007-01-21 14:21:31 +0000 (Sun, 21 Jan 2007) | 2 lines [WinCE] -Revert r5764: in case of WinCE, use the code for FileExists as it was in pre-r5764 for Win32 (tnx Darkvater) ------------------------------------------------------------------------ r8307 | truelight | 2007-01-21 14:19:44 +0000 (Sun, 21 Jan 2007) | 2 lines [WinCE] -Fix: for now disable sound and music. That will be done later. ------------------------------------------------------------------------ r8306 | truelight | 2007-01-21 14:19:18 +0000 (Sun, 21 Jan 2007) | 2 lines [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible ------------------------------------------------------------------------ r8305 | truelight | 2007-01-21 14:15:38 +0000 (Sun, 21 Jan 2007) | 3 lines -Codechange: defining 'static const' in a header is a bit weird. Above that, wince-gcc gave "unused variable" on every file which included airport.h... pretty annoying ;) ------------------------------------------------------------------------ r8304 | truelight | 2007-01-21 14:14:27 +0000 (Sun, 21 Jan 2007) | 3 lines [WinCE] -Add: added configure detection for WinCE. Compiling doesn't work, neither does running, but it is a first step in developing an official WinCE port ------------------------------------------------------------------------ r8303 | bjarni | 2007-01-21 13:16:31 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange (r8293): default is moved to the front of the switch in ShowVehicleListWindowLocal() ------------------------------------------------------------------------ r8301 | maedhros | 2007-01-21 12:35:35 +0000 (Sun, 21 Jan 2007) | 2 lines -Codechange: Move the code relating to the sign list window from graph_gui.cpp to a file of its own: signs_gui.cpp. ------------------------------------------------------------------------ r8300 | maedhros | 2007-01-21 11:49:18 +0000 (Sun, 21 Jan 2007) | 4 lines -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to players.cpp. ------------------------------------------------------------------------ r8299 | tron | 2007-01-21 08:04:14 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix Remove unreachable code ------------------------------------------------------------------------ r8296 | bjarni | 2007-01-21 01:25:59 +0000 (Sun, 21 Jan 2007) | 4 lines -Fix: GenerateVehicleSortList() tried to put a TileIndex into an uint16 -Fix: CmdMassStartStopVehicle() tried to put a TileIndex into an uint16 Those two bugs were unrelated to each other and unrelated to r8295, even though that commit touched the code in question ------------------------------------------------------------------------ r8295 | bjarni | 2007-01-21 01:07:15 +0000 (Sun, 21 Jan 2007) | 3 lines -Cleanup: merged arguments station, order and depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one ------------------------------------------------------------------------ r8294 | bjarni | 2007-01-21 00:13:39 +0000 (Sun, 21 Jan 2007) | 3 lines -Fix: deleting a vehicle with shared orders, but no orders would fail to reset prev_shared and next_shared -As a result, vehicles in the game could end up having prev/next pointers to vehicles, that was no longer in the game ------------------------------------------------------------------------ r8293 | bjarni | 2007-01-21 00:01:47 +0000 (Sun, 21 Jan 2007) | 4 lines -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments) - Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal() ------------------------------------------------------------------------ r8290 | miham | 2007-01-20 18:50:50 +0000 (Sat, 20 Jan 2007) | 6 lines -Update: WebTranslator2 update to 2007-01-20 19:46:14 brazilian_portuguese - 69 changed by fukumori (69) frisian - 48 fixed by ikkejw (48) russian - 57 changed by DarkFenX (57) ukrainian - 5 changed by znikoz (5) ------------------------------------------------------------------------ r8289 | miham | 2007-01-20 18:42:27 +0000 (Sat, 20 Jan 2007) | 1 line [Translations] -Fix: translators sent some offline translation for simplified chinese (Fishingsnow) and japanese (ickoonite) ------------------------------------------------------------------------ r8288 | bjarni | 2007-01-20 11:26:16 +0000 (Sat, 20 Jan 2007) | 3 lines -Fix: [OSX] compiling with debug enabled now works again -This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now ------------------------------------------------------------------------ r8287 | peter1138 | 2007-01-20 09:49:29 +0000 (Sat, 20 Jan 2007) | 2 lines -Fix (r8286): forgot to check for newline format, sorry... ------------------------------------------------------------------------ r8286 | peter1138 | 2007-01-20 09:19:37 +0000 (Sat, 20 Jan 2007) | 2 lines -Add: Korean translation by Ezi ------------------------------------------------------------------------ r8284 | KUDr | 2007-01-19 22:41:50 +0000 (Fri, 19 Jan 2007) | 1 line -Fix (r8277): g++ compilation error: missing brackets in sizeof ------------------------------------------------------------------------ r8283 | peter1138 | 2007-01-19 21:40:10 +0000 (Fri, 19 Jan 2007) | 3 lines -Fix (r8128): Custom waypoint drawing used wrong bits since bitshuffling occurred. Also update with other station drawing changes (code duplication, eh?) ------------------------------------------------------------------------ r8281 | miham | 2007-01-19 18:33:30 +0000 (Fri, 19 Jan 2007) | 4 lines -Update: WebTranslator2 update to 2007-01-19 19:32:57 brazilian_portuguese - 2 fixed, 49 changed by fukumori (51) bulgarian - 1 fixed by kokobongo (1) ------------------------------------------------------------------------