------------------------------------------------------------------------ r1376 | bjarni | 2005-01-04 17:54:16 +0000 (Tue, 04 Jan 2005) | 1 line fixed an issue where a modified client could try to replace a vehicle to an invalid engine ID and crash the server. Now the server just rejects the request. Also added a check for vehicle ownership, so you should not be able to replace other player's vehicles ------------------------------------------------------------------------ r1375 | darkvater | 2005-01-04 17:11:03 +0000 (Tue, 04 Jan 2005) | 1 line -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky. ------------------------------------------------------------------------ r1374 | darkvater | 2005-01-04 17:04:10 +0000 (Tue, 04 Jan 2005) | 2 lines -Feature: Add sticky item to finances window; sticky remains when requesting big/small window -Moved resize icon in save dialog to bottom-right ------------------------------------------------------------------------ r1373 | darkvater | 2005-01-04 16:04:28 +0000 (Tue, 04 Jan 2005) | 1 line -Fix: compilation fix for windows ------------------------------------------------------------------------ r1372 | truelight | 2005-01-04 15:49:30 +0000 (Tue, 04 Jan 2005) | 2 lines -Fix: fixed some GUI glitches introduced with resize-buttons ------------------------------------------------------------------------ r1370 | truelight | 2005-01-04 15:06:08 +0000 (Tue, 04 Jan 2005) | 3 lines -Add: added console support for loading maps. Use 'load', 'list_files' and 'goto_dir' to navigate and load games. ------------------------------------------------------------------------ r1369 | darkvater | 2005-01-04 14:54:27 +0000 (Tue, 04 Jan 2005) | 1 line -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows ------------------------------------------------------------------------ r1368 | truelight | 2005-01-04 13:45:58 +0000 (Tue, 04 Jan 2005) | 3 lines -Fix: Disabled dropdown menu options are gray again (instead of blue) (redid revision 1357) ------------------------------------------------------------------------ r1367 | matthijs | 2005-01-04 00:54:12 +0000 (Tue, 04 Jan 2005) | 2 lines -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid) ------------------------------------------------------------------------ r1366 | darkvater | 2005-01-04 00:53:52 +0000 (Tue, 04 Jan 2005) | 1 line -Fix: [1093186] rough land in snow upon dying of tree ------------------------------------------------------------------------ r1365 | darkvater | 2005-01-04 00:07:58 +0000 (Tue, 04 Jan 2005) | 1 line -Fix: very, very nasty buffer overflow bug introduced with replace vehicles. You CANNOT access the i[255] of an array that only has 255 elements! I will kick the next person that does that so hard...goddammit (I only noticed it because it screwed up my console in the debug build and took me at least an hour to fix) ------------------------------------------------------------------------ r1361 | darkvater | 2005-01-03 22:16:02 +0000 (Mon, 03 Jan 2005) | 1 line -Remove .cod files from VS6 project as well (bociusz) ------------------------------------------------------------------------ r1359 | tron | 2005-01-03 22:12:36 +0000 (Mon, 03 Jan 2005) | 1 line Fix typos in last commit ------------------------------------------------------------------------ r1358 | tron | 2005-01-03 22:07:40 +0000 (Mon, 03 Jan 2005) | 1 line Assert bounds of depot list when searching for a depot ------------------------------------------------------------------------ r1357 | darkvater | 2005-01-03 22:04:34 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: Disabled dropdown menu options are gray again (instead of blue) ------------------------------------------------------------------------ r1356 | darkvater | 2005-01-03 21:51:24 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1092363] missing GCC_PACK in oldloader.c (thx hafken) ------------------------------------------------------------------------ r1355 | darkvater | 2005-01-03 21:47:52 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1092473] random trees in scenario editor do not overwrite rocks as well ------------------------------------------------------------------------ r1354 | tron | 2005-01-03 21:29:59 +0000 (Mon, 03 Jan 2005) | 1 line Use WindowClass/WindowNumber to store/pass window class/number, not some arbitrary data types ------------------------------------------------------------------------ r1353 | darkvater | 2005-01-03 21:26:09 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1092707] placing rocks in scenario editor. You can place rocks on trees and vice versa ------------------------------------------------------------------------ r1352 | darkvater | 2005-01-03 21:05:03 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1093200] Drive side in new games. Setting the driver side is possible during the game until someone buys road vehicles. In networked games only the server can change it. ------------------------------------------------------------------------ r1351 | bjarni | 2005-01-03 21:01:37 +0000 (Mon, 03 Jan 2005) | 1 line fixed issue in last commit where it it not update the replace train window properly when changing company colour (the lower two panels stayed the old colour until the window was reopened) ------------------------------------------------------------------------ r1350 | bjarni | 2005-01-03 20:52:09 +0000 (Mon, 03 Jan 2005) | 14 lines Replace Vehicle GUI: - Replaced "WP(w,replaceveh_d).line_height" with "w->resize.step_height" since they needed to be the same anyway - Cleaned the code a litte for readability (like correct tabbing) - Added company color to replace vehicle windows to make them look like the rest of the vehicle windows and made the caption text white (also to fit the standard) --This line, and those below, will be ignored-- M vehicle_gui.c M lang/english.txt M window.h ------------------------------------------------------------------------ r1349 | darkvater | 2005-01-03 20:20:25 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1093485] Dissappearing rocks in Scenario Editor ------------------------------------------------------------------------ r1348 | truelight | 2005-01-03 19:45:18 +0000 (Mon, 03 Jan 2005) | 4 lines -Feature: resizable windows. Read the comment in window.h to find out how the system works. All useful windows are already made resizable. Enjoy :) -Fix: fixed some GUI-glitches and flaws along the way ------------------------------------------------------------------------ r1347 | darkvater | 2005-01-03 19:34:07 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: Some were fixed for the trees -> Only copy the lowest two bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide; ------------------------------------------------------------------------ r1346 | darkvater | 2005-01-03 19:09:45 +0000 (Mon, 03 Jan 2005) | 2 lines -Fix: fix signed/unsigned warnings -Fix: latent removal of 2 lines from ttd.c which I forgot because the file was not saved :O ------------------------------------------------------------------------ r1345 | tron | 2005-01-03 19:06:16 +0000 (Mon, 03 Jan 2005) | 1 line Only copy the lowest two bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide ------------------------------------------------------------------------ r1344 | tron | 2005-01-03 18:59:58 +0000 (Mon, 03 Jan 2005) | 2 lines Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY] ------------------------------------------------------------------------ r1343 | truelight | 2005-01-03 18:49:45 +0000 (Mon, 03 Jan 2005) | 3 lines -Fix: [Graphic] Autorail icon is now correct (Darkvater) -Fix: [Graphic] Added resize icon (tnx tokai) ------------------------------------------------------------------------ r1342 | darkvater | 2005-01-03 18:40:41 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: [1094596] Problem with ship depot; upon load it is also given owner OWNER_WATER ------------------------------------------------------------------------ r1341 | darkvater | 2005-01-03 17:55:25 +0000 (Mon, 03 Jan 2005) | 2 lines -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL) -Copyright notice is now 2002-2005 for all languages ------------------------------------------------------------------------ r1340 | darkvater | 2005-01-03 16:45:42 +0000 (Mon, 03 Jan 2005) | 1 line -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. ------------------------------------------------------------------------ r1339 | darkvater | 2005-01-03 14:33:59 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: compilation with networking works on MinGW32 again (thx orudge). ------------------------------------------------------------------------ r1338 | darkvater | 2005-01-03 14:07:49 +0000 (Mon, 03 Jan 2005) | 1 line -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying. ------------------------------------------------------------------------ r1337 | tron | 2005-01-03 12:56:22 +0000 (Mon, 03 Jan 2005) | 3 lines Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY() ------------------------------------------------------------------------ r1336 | dominik | 2005-01-03 12:15:55 +0000 (Mon, 03 Jan 2005) | 2 lines Fix: Correct landscaping buttons in monorail and maglev toolbars ------------------------------------------------------------------------ r1335 | dominik | 2005-01-03 12:03:24 +0000 (Mon, 03 Jan 2005) | 2 lines Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files ------------------------------------------------------------------------ r1334 | dominik | 2005-01-03 11:58:53 +0000 (Mon, 03 Jan 2005) | 2 lines Fix: [ 1093466 ] no more glitches with many maps in the scenario list when creating server ------------------------------------------------------------------------ r1333 | dominik | 2005-01-03 11:45:11 +0000 (Mon, 03 Jan 2005) | 2 lines Fix: No crash when creating a game with American town names any more ------------------------------------------------------------------------ r1332 | truelight | 2005-01-03 11:11:16 +0000 (Mon, 03 Jan 2005) | 3 lines -Fix: Desert-landscape does no longer crash (protected GetMapExtraBits from overflowing) ------------------------------------------------------------------------ r1331 | tron | 2005-01-03 09:14:31 +0000 (Mon, 03 Jan 2005) | 1 line Update map size before sending game info ------------------------------------------------------------------------ r1330 | tron | 2005-01-03 08:50:44 +0000 (Mon, 03 Jan 2005) | 1 line Increase size of some vars from int16 to int32 to guard against future overflows ------------------------------------------------------------------------ r1329 | tron | 2005-01-03 08:34:54 +0000 (Mon, 03 Jan 2005) | 1 line Remove unused function declaration ------------------------------------------------------------------------ r1328 | tron | 2005-01-03 08:33:04 +0000 (Mon, 03 Jan 2005) | 1 line Turn loop with explicit terminator element into loop using endof() ------------------------------------------------------------------------ r1327 | darkvater | 2005-01-03 00:42:43 +0000 (Mon, 03 Jan 2005) | 2 lines -Fix: made resource file version independent for windows -Fix: language file inconsistencies...please update all other language files as well when you rename a string name and do nothing else. ------------------------------------------------------------------------ r1326 | bjarni | 2005-01-02 22:28:56 +0000 (Sun, 02 Jan 2005) | 1 line fixed compiler warnings in vehicle_gui.c and widget.c ------------------------------------------------------------------------ r1325 | darkvater | 2005-01-02 21:52:21 +0000 (Sun, 02 Jan 2005) | 2 lines -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native "!! -Fix: the level land icon no longer flashes (was palette colour) ------------------------------------------------------------------------ r1324 | bjarni | 2005-01-02 17:39:01 +0000 (Sun, 02 Jan 2005) | 1 line Fixed problem with autoreplace GUI and msvc6 (thanks bociusz) ------------------------------------------------------------------------ r1323 | bjarni | 2005-01-02 17:23:04 +0000 (Sun, 02 Jan 2005) | 13 lines Adding autoreplace feature This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the vehicle overview windows Note: autorenew is now autoreplace, but to the same engine type Nice new features, that was added to make this possible - windows can now have two independant vertical scrollbars - CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with estimated costs even if shift is pressed - fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame() ------------------------------------------------------------------------ r1322 | truelight | 2005-01-02 12:03:43 +0000 (Sun, 02 Jan 2005) | 5 lines -Add: banning system (mostly tnx to guru3) A server can ban people via ClientList Both server and dedicated can do it via console: 'ban', 'unban', 'banlist'. ------------------------------------------------------------------------ r1321 | truelight | 2005-01-01 19:18:48 +0000 (Sat, 01 Jan 2005) | 3 lines -Fix: Revision 1302 partly solved the problem and created an other. Should now really be solved.. now only MP_WATER is owned by OWNER_WATER ------------------------------------------------------------------------ r1320 | truelight | 2005-01-01 16:34:54 +0000 (Sat, 01 Jan 2005) | 3 lines -Fix: fixed chat-bug (that from a certain moment, nobody could talk).. 1 variable was still byte instead of uint16 (with a very big tnx to guru3!) ------------------------------------------------------------------------ r1318 | truelight | 2005-01-01 15:40:44 +0000 (Sat, 01 Jan 2005) | 2 lines -Fix: Saving a game fucked up the industries.. sorry ;) ------------------------------------------------------------------------ r1314 | truelight | 2004-12-31 19:09:03 +0000 (Fri, 31 Dec 2004) | 2 lines -Fix: Population numbers is no longer negative for 32k+ towns ------------------------------------------------------------------------ r1313 | truelight | 2004-12-31 18:59:22 +0000 (Fri, 31 Dec 2004) | 2 lines -Fix: fixed MSVC problem ------------------------------------------------------------------------ r1312 | truelight | 2004-12-31 18:57:24 +0000 (Fri, 31 Dec 2004) | 4 lines -Add: Patch which is on by default: population in label of the town -Fix: Expand town is a bit more agressive -Fix: Fixed a bug in growing algorithm ------------------------------------------------------------------------ r1308 | truelight | 2004-12-31 15:55:14 +0000 (Fri, 31 Dec 2004) | 2 lines -Update: updated MSVC project files ------------------------------------------------------------------------ r1307 | truelight | 2004-12-31 14:43:47 +0000 (Fri, 31 Dec 2004) | 3 lines -Fix/feature: rewrote the townname generation code. Code is much more readable now. 'American' is replaces by 'Additional English' (Jango) ------------------------------------------------------------------------ r1303 | miham | 2004-12-31 09:47:09 +0000 (Fri, 31 Dec 2004) | 1 line Daily langfile update (automatic) ------------------------------------------------------------------------ r1302 | truelight | 2004-12-30 10:29:28 +0000 (Thu, 30 Dec 2004) | 6 lines -Fix: [ 1091655 ] In some older maps somehow water is owned by OWNER_NONE instead of OWNER_WATER. -Fix: On InitializeLandscape the map was made MP_WATER, but OWNER_NONE. When ConvertGroundTilesIntoWaterTiles() is not called, this gives big problems (see above). Now the owner is set to OWNER_WATER by default. ------------------------------------------------------------------------ r1301 | truelight | 2004-12-30 10:03:35 +0000 (Thu, 30 Dec 2004) | 2 lines -Codechange: _industries finally has FOR_ALL_INDUSTRIES too ------------------------------------------------------------------------ r1300 | truelight | 2004-12-30 09:46:40 +0000 (Thu, 30 Dec 2004) | 2 lines -Fix: The cost for an autorenew was not always send to the right player ;) ------------------------------------------------------------------------ r1299 | truelight | 2004-12-30 09:43:12 +0000 (Thu, 30 Dec 2004) | 3 lines -Fix: [ 1092473 ] In SE, when trees are placed randomly, they are no longer placed on farmland ------------------------------------------------------------------------ r1298 | truelight | 2004-12-29 15:32:10 +0000 (Wed, 29 Dec 2004) | 2 lines -Fix: [ 1092661 ] On create, the scrollbar of the server-list was not updated ------------------------------------------------------------------------ r1297 | miham | 2004-12-29 13:13:29 +0000 (Wed, 29 Dec 2004) | 1 line Language fixes in the source.. (ln-) ------------------------------------------------------------------------ r1296 | celestar | 2004-12-29 11:00:34 +0000 (Wed, 29 Dec 2004) | 1 line Cleanup for MSVC files (bociusz) ------------------------------------------------------------------------ r1295 | truelight | 2004-12-29 08:42:30 +0000 (Wed, 29 Dec 2004) | 3 lines -Fix: [ 1092499 ] Copy order was fucked up, because memcpy said: sizeof(uint16), instead of sizeof(Order). ------------------------------------------------------------------------ r1294 | miham | 2004-12-28 22:46:09 +0000 (Tue, 28 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r1293 | miham | 2004-12-28 22:36:46 +0000 (Tue, 28 Dec 2004) | 1 line Fixed the bug in translator ------------------------------------------------------------------------