------------------------------------------------------------------------ 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) ------------------------------------------------------------------------ r8280 | peter1138 | 2007-01-19 17:46:44 +0000 (Fri, 19 Jan 2007) | 2 lines -Codechange: Remove unnecessarily complex assignment of waypoint string ID. ------------------------------------------------------------------------ r8279 | Darkvater | 2007-01-19 17:44:11 +0000 (Fri, 19 Jan 2007) | 1 line -Regression (r8274): Removing signals could fail under certain circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks ------------------------------------------------------------------------ r8277 | KUDr | 2007-01-19 16:01:43 +0000 (Fri, 19 Jan 2007) | 1 line -Fix (r8038): assert on game exit when waypoints were used. The static variable of type Station (inside ComposeWaypointStation) replaced by byte array so no destructor is called for it on exit. ------------------------------------------------------------------------ r8276 | tron | 2007-01-19 11:47:48 +0000 (Fri, 19 Jan 2007) | 5 lines -Fix Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers. ------------------------------------------------------------------------ r8275 | tron | 2007-01-19 06:08:04 +0000 (Fri, 19 Jan 2007) | 4 lines -Fix Factor common data tables and use a bit more sensible names ------------------------------------------------------------------------ r8274 | Darkvater | 2007-01-19 00:01:52 +0000 (Fri, 19 Jan 2007) | 1 line -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density. ------------------------------------------------------------------------ r8273 | KUDr | 2007-01-18 23:48:04 +0000 (Thu, 18 Jan 2007) | 1 line -Fix: return value from clamp was ignored ------------------------------------------------------------------------ r8272 | KUDr | 2007-01-18 23:45:58 +0000 (Thu, 18 Jan 2007) | 1 line -Fix (r8038): signed/unsigned change - PlayerID is now enum (signed) and was byte so test for PlayerID validity needed to be updated (Darkvater) ------------------------------------------------------------------------ r8267 | miham | 2007-01-18 22:24:11 +0000 (Thu, 18 Jan 2007) | 1 line [Translations] -Fix: (r8266) fixed the ownname and the isocode of the russian language ------------------------------------------------------------------------ r8266 | miham | 2007-01-18 18:42:50 +0000 (Thu, 18 Jan 2007) | 8 lines -Update: WebTranslator2 update to 2007-01-18 19:42:06 afrikaans - 26 fixed, 63 changed by TrueTenacity (89) dutch - 1 fixed by habell (1) esperanto - 1 fixed by LaPingvino (1) russian - 26 changed by DarkFenX (26) turkish - 1 fixed by jnmbk (1) ukrainian - 6 changed by znikoz (6) ------------------------------------------------------------------------ r8254 | Darkvater | 2007-01-18 15:39:58 +0000 (Thu, 18 Jan 2007) | 1 line -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et. ------------------------------------------------------------------------ r8253 | Darkvater | 2007-01-18 15:27:57 +0000 (Thu, 18 Jan 2007) | 1 line -Codechange: Be more strict about language generation and fail any languages not having the mandatory ##name, ##ownname and ##isocode pragma's. ------------------------------------------------------------------------ r8252 | Darkvater | 2007-01-18 15:26:52 +0000 (Thu, 18 Jan 2007) | 2 lines -Regression(r8204): WT2 commit removed ##isocode from Russian, resulting in a clean start of openttd being in russian instead of in english. ------------------------------------------------------------------------ r8240 | Darkvater | 2007-01-18 14:08:56 +0000 (Thu, 18 Jan 2007) | 1 line -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo) ------------------------------------------------------------------------ r8239 | Darkvater | 2007-01-18 14:06:30 +0000 (Thu, 18 Jan 2007) | 1 line -Regression (r7278): Help window was empty for UNICODE builds ------------------------------------------------------------------------ r8231 | KUDr | 2007-01-18 09:34:44 +0000 (Thu, 18 Jan 2007) | 1 line -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium) ------------------------------------------------------------------------ r8218 | Darkvater | 2007-01-17 23:25:19 +0000 (Wed, 17 Jan 2007) | 1 line -Codechange: Increase spritecache size to 2MB. This will vastly improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138). ------------------------------------------------------------------------ r8214 | peter1138 | 2007-01-17 22:44:49 +0000 (Wed, 17 Jan 2007) | 4 lines -Fix (r8038): The fast forward flag stores 2 bits, not 1. Remember the whole thing when turning off FF for autosave. This stops FF getting stuck on if the FF key is released during the save. ------------------------------------------------------------------------ r8212 | tron | 2007-01-17 22:32:34 +0000 (Wed, 17 Jan 2007) | 4 lines -Fix Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy ------------------------------------------------------------------------ r8211 | peter1138 | 2007-01-17 22:19:12 +0000 (Wed, 17 Jan 2007) | 3 lines -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map selection. ------------------------------------------------------------------------ r8207 | tron | 2007-01-17 21:14:17 +0000 (Wed, 17 Jan 2007) | 4 lines -Fix Remove the write-only attribute RoadStop::station ------------------------------------------------------------------------ r8206 | miham | 2007-01-17 21:05:39 +0000 (Wed, 17 Jan 2007) | 1 line [Translations] -Fix: Fixed r8193, converted the html notations back to UTF8 characters ------------------------------------------------------------------------ r8204 | miham | 2007-01-17 20:37:25 +0000 (Wed, 17 Jan 2007) | 3 lines -Fix: reverted r8202, since it did not solve all the problems, since ALL language changes done today are garbage due to a quick bugfix in WT2 which introduced another, much more serious bug: put an utf8_to_htmlcode() call to a wrong place I will fix the affected language files soon (20-30 minutes) Please excuse me for this whole problem :-( ------------------------------------------------------------------------ r8203 | tron | 2007-01-17 20:34:29 +0000 (Wed, 17 Jan 2007) | 4 lines -Fix: Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable ------------------------------------------------------------------------ r8202 | miham | 2007-01-17 20:29:45 +0000 (Wed, 17 Jan 2007) | 1 line -Fix: r8193: russian.txt changes somehow became garbage ------------------------------------------------------------------------ r8198 | rubidium | 2007-01-17 19:55:18 +0000 (Wed, 17 Jan 2007) | 2 lines -Codechange: two global variables are not needed when network is disabled. ------------------------------------------------------------------------ r8193 | miham | 2007-01-17 18:43:03 +0000 (Wed, 17 Jan 2007) | 10 lines -Update: WebTranslator2 update to 2007-01-17 19:42:11 brazilian_portuguese - 3 changed by fukumori (3) danish - 21 changed by MiR (21) german - 1 fixed by Neonox (1) japanese - 24 changed by ickoonite (24) norwegian_nynorsk - 1 changed by pollux (1) russian - 5 fixed, 75 changed by DarkFenX (80) slovenian - 57 changed by Necrolyte (57) swedish - 1 fixed by daishan (1) ------------------------------------------------------------------------ r8186 | peter1138 | 2007-01-17 12:57:35 +0000 (Wed, 17 Jan 2007) | 2 lines -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use. ------------------------------------------------------------------------ r8185 | celestar | 2007-01-17 11:15:51 +0000 (Wed, 17 Jan 2007) | 2 lines -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson) ------------------------------------------------------------------------ r8184 | tron | 2007-01-17 06:54:03 +0000 (Wed, 17 Jan 2007) | 1 line if cascade -> switch ------------------------------------------------------------------------ r8183 | tron | 2007-01-17 06:33:23 +0000 (Wed, 17 Jan 2007) | 1 line When iterating over the map in AfterLoadGame() do it the same way for all loops ------------------------------------------------------------------------ r8171 | rubidium | 2007-01-17 00:01:55 +0000 (Wed, 17 Jan 2007) | 2 lines -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to make sure we do not try to send zero-byte savegames. ------------------------------------------------------------------------ r8168 | Darkvater | 2007-01-16 23:01:06 +0000 (Tue, 16 Jan 2007) | 1 line -Regression (r6783): ParseConnectionstring didn't use the port parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw) ------------------------------------------------------------------------ r8167 | rubidium | 2007-01-16 22:56:18 +0000 (Tue, 16 Jan 2007) | 2 lines -Fix (FS#556): a network client crashes, due to a division by zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map). ------------------------------------------------------------------------ r8166 | peter1138 | 2007-01-16 22:10:35 +0000 (Tue, 16 Jan 2007) | 3 lines -Fix (r7797): Protect against out of bounds access to the sprite ptr list. ------------------------------------------------------------------------ r8165 | Darkvater | 2007-01-16 21:34:51 +0000 (Tue, 16 Jan 2007) | 1 line -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame. ------------------------------------------------------------------------ r8164 | Darkvater | 2007-01-16 20:16:30 +0000 (Tue, 16 Jan 2007) | 1 line -Codechange (r8159): Fix up some comments/doxygen for disasters and rename Submarine1/2 to small/big ------------------------------------------------------------------------ r8163 | miham | 2007-01-16 19:27:28 +0000 (Tue, 16 Jan 2007) | 1 line [Translations] Re-added cases for the czech language (they were removed either accidentally or on purpose, will look after it later ------------------------------------------------------------------------ r8162 | miham | 2007-01-16 18:45:25 +0000 (Tue, 16 Jan 2007) | 14 lines WebTranslator2 update to 2007-01-16 19:44:34 brazilian_portuguese - 1 fixed, 66 changed by fukumori (67) catalan - 1 fixed by arnaullv (1) czech - 1 fixed by Hadez (1) danish - 1 fixed, 1 changed by MiR (1), ThomasA (1) french - 1 fixed by glx (1) hungarian - 1 fixed by miham (1) italian - 1 fixed by sidew (1) japanese - 1 fixed, 63 changed by ickoonite (64) norwegian_nynorsk - 1 fixed, 37 changed by khaavik (28), pollux (10) portuguese - 1 fixed by izhirahider (1) slovenian - 1 fixed by Necrolyte (1) ukrainian - 5 fixed, 16 changed by fevral13 (4), znikoz (17) ------------------------------------------------------------------------ r8161 | rubidium | 2007-01-16 18:31:58 +0000 (Tue, 16 Jan 2007) | 2 lines -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames. ------------------------------------------------------------------------ r8160 | maedhros | 2007-01-16 17:44:59 +0000 (Tue, 16 Jan 2007) | 1 line -Fix (r8151): Do not use HasSignals on tiles without railways. ------------------------------------------------------------------------ r8159 | Darkvater | 2007-01-16 16:54:06 +0000 (Tue, 16 Jan 2007) | 1 line -Cleanup: Sprinkle some coding-style and comments on the disaster code. ------------------------------------------------------------------------ r8158 | Darkvater | 2007-01-16 16:28:41 +0000 (Tue, 16 Jan 2007) | 1 line -Fix: The submarine disaster failed to move at all due to wrong masking of trackbits ------------------------------------------------------------------------ r8157 | rubidium | 2007-01-16 15:45:20 +0000 (Tue, 16 Jan 2007) | 2 lines -Fix (r3136): moving cargo during auto replaces did not update the cached vehicle weight for trains properly. This caused (in network games) the server to have a different cached vehicle weight than newly joined clients would have, which causes desyncs. ------------------------------------------------------------------------ r8155 | bjarni | 2007-01-16 15:20:22 +0000 (Tue, 16 Jan 2007) | 2 lines -Fix: fixed compilation when --disable-network is in use ------------------------------------------------------------------------ r8154 | peter1138 | 2007-01-16 15:18:02 +0000 (Tue, 16 Jan 2007) | 2 lines -Codechange: Water can no longer be under bridge tiles, so don't check for it. ------------------------------------------------------------------------ r8153 | peter1138 | 2007-01-16 11:13:00 +0000 (Tue, 16 Jan 2007) | 2 lines -Codechange: Change UpdateStationAcceptance() and ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use. ------------------------------------------------------------------------ r8152 | tron | 2007-01-16 08:10:29 +0000 (Tue, 16 Jan 2007) | 1 line Fix a off-by-one error in the placement of the sticky box of the road build toolbar in the scenario editor ------------------------------------------------------------------------ r8151 | maedhros | 2007-01-15 22:18:35 +0000 (Mon, 15 Jan 2007) | 2 lines -Feature: Automatically build semaphores before a configurable date, which can be set by each network player seperately. ------------------------------------------------------------------------ r8148 | miham | 2007-01-15 18:28:27 +0000 (Mon, 15 Jan 2007) | 13 lines WebTranslator2 update to 2007-01-15 19:25:31 brazilian_portuguese - 4 fixed by fukumori (4) bulgarian - 1 fixed, 48 changed by groupsky (49) croatian - 163 fixed, 60 changed by Ydobon (223) danish - 23 changed by MiR (23) esperanto - 2 changed by LaPingvino (2) italian - 4 fixed by sidew (4) japanese - 5 fixed by ickoonite (5) norwegian_bokmal - 4 fixed by brygge_2 (4) norwegian_nynorsk - 830 changed by khaavik (822), Eikje3 (8) portuguese - 4 fixed by izhirahider (4) slovenian - 4 fixed, 64 changed by Necrolyte (68) ------------------------------------------------------------------------ r8147 | bjarni | 2007-01-15 17:32:42 +0000 (Mon, 15 Jan 2007) | 3 lines -Fix: [autoreplace] v->leave_depot_instantly was not always reset correctly While it's not certain if this would have any serious sideeffects (or any at all), it's reset when intended now ------------------------------------------------------------------------ r8146 | celestar | 2007-01-15 17:32:01 +0000 (Mon, 15 Jan 2007) | 2 lines -Fix (FS#552, r8038): a C/C++ linkage problem on some very few incarnations of gcc ------------------------------------------------------------------------ r8145 | belugas | 2007-01-15 16:31:46 +0000 (Mon, 15 Jan 2007) | 2 lines -Featurette: Allow for Tropic Farm to plant fields after producing cargo, like its counterpart in temperate climate. ------------------------------------------------------------------------ r8144 | celestar | 2007-01-15 14:42:24 +0000 (Mon, 15 Jan 2007) | 2 lines -Fix: [FS#163] When a station is removed, vehicles do not get excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing) ------------------------------------------------------------------------ r8143 | tron | 2007-01-15 07:38:36 +0000 (Mon, 15 Jan 2007) | 5 lines Remove the landscaping button from the build toolbars. The landscaping toolbar can be reached at least as easy directly from the main toolbar. Further two of the four toolbars uses 'l' as keyboard shortcut for this button, which plain does not work (The letter has to be uppercase). This was covered by the fact there is a global shortcut 'L' to open the landscaping toolbar, so the individual checks in the four build toolbars were redundant anyway. ------------------------------------------------------------------------ r8141 | bjarni | 2007-01-15 00:58:18 +0000 (Mon, 15 Jan 2007) | 5 lines -Fix r8128: [OSX] now OSX can compile again. Note: this is again another not so nice workaround as Objective C fails to include C++ code in the headers We should move to Objective C++ as soon as possible, but such a change is not done overnight and this quick fix will allow OSX to compile until the prober solution is done ------------------------------------------------------------------------ r8140 | Darkvater | 2007-01-15 00:09:25 +0000 (Mon, 15 Jan 2007) | 1 line -Fix [FS#54]: Combat helicopter flies past factory before it shoots. Chopper comes from the north-east, so it looks in +15 direction (forward), not -15 direction. Probably bad copy-paste from airplane-destroys-oil-refinery disaster. ------------------------------------------------------------------------ r8139 | KUDr | 2007-01-14 23:43:59 +0000 (Sun, 14 Jan 2007) | 1 line -Cleanup: simplify auto_ptr initialization (Tron) ------------------------------------------------------------------------ r8138 | KUDr | 2007-01-14 23:36:25 +0000 (Sun, 14 Jan 2007) | 1 line -Cleanup: comment style corrections ------------------------------------------------------------------------ r8137 | rubidium | 2007-01-14 23:09:25 +0000 (Sun, 14 Jan 2007) | 2 lines -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong for savegames with version 24 or lower and do not calculate roadstop->num_vehicles when reading the roadstops as the vehicles might not be loaded at that moment. ------------------------------------------------------------------------ r8136 | KUDr | 2007-01-14 23:02:12 +0000 (Sun, 14 Jan 2007) | 1 line -Codechange: Station spread rectangle manipulators turned into StationRect::methods. ------------------------------------------------------------------------ r8135 | Darkvater | 2007-01-14 22:43:19 +0000 (Sun, 14 Jan 2007) | 1 line -Fix (r7582): Don't assert on duplicate non-static grfs when removing duplicates as the PEBKAC effect can result in the user adding the same grf's in the config file. ------------------------------------------------------------------------ r8134 | Darkvater | 2007-01-14 22:39:53 +0000 (Sun, 14 Jan 2007) | 1 line -Fix (r8013): Add a newline after the ShowInfo console output ------------------------------------------------------------------------ r8133 | Darkvater | 2007-01-14 21:50:56 +0000 (Sun, 14 Jan 2007) | 1 line -Fix [FS#535]: "out of sprite memory" warning messages due to incorrect assumption of requested memory for sprites (smatz) ------------------------------------------------------------------------ r8132 | Darkvater | 2007-01-14 21:32:13 +0000 (Sun, 14 Jan 2007) | 1 line -Fix (r6824): The game could crash when the chat key () is pressed too vehemently during the join of the game. Your client's id does not exist in the clients list yet, and returns NULL. ------------------------------------------------------------------------ r8131 | KUDr | 2007-01-14 21:03:21 +0000 (Sun, 14 Jan 2007) | 2 lines -Fix (r8125): g++ warning: 'invalid access to non-static data member ‘::’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped. ------------------------------------------------------------------------ r8130 | tron | 2007-01-14 20:00:25 +0000 (Sun, 14 Jan 2007) | 1 line Provide struct GoodsEntry with a constructor ------------------------------------------------------------------------ r8129 | peter1138 | 2007-01-14 19:59:25 +0000 (Sun, 14 Jan 2007) | 3 lines -Codechange: Change data tables to use split off palette map. And include a file missed last time... ------------------------------------------------------------------------ r8128 | peter1138 | 2007-01-14 19:57:49 +0000 (Sun, 14 Jan 2007) | 4 lines -Codechange: Split sprite and palette remap into separate 32 bit values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit. ------------------------------------------------------------------------ r8127 | KUDr | 2007-01-14 19:44:27 +0000 (Sun, 14 Jan 2007) | 2 lines -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron) ------------------------------------------------------------------------ r8126 | KUDr | 2007-01-14 19:29:21 +0000 (Sun, 14 Jan 2007) | 1 line -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it) ------------------------------------------------------------------------ r8125 | KUDr | 2007-01-14 19:18:50 +0000 (Sun, 14 Jan 2007) | 1 line -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp). ------------------------------------------------------------------------ r8124 | KUDr | 2007-01-14 19:13:36 +0000 (Sun, 14 Jan 2007) | 1 line -Add [DEBUG]: _debug_station_level ------------------------------------------------------------------------ r8123 | maedhros | 2007-01-14 19:06:11 +0000 (Sun, 14 Jan 2007) | 2 lines -Fix (r117): FindFirstBit now really returns the first bit. Fixes bug FS#538. ------------------------------------------------------------------------