1
0
Fork 0

Commit Graph

  • 116789022c (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) darkvater 2005-01-07 23:59:59 +0000
  • b78b576b21 (svn r1417) Fix: The invisible tiles on the southern border are now converted to class MP_VOID when an old map (with wrong classified invisible tiles) is loaded. I bumped the minor savegame version for that, even though it's not really necessary. We're not gonna run out of minor savegame versions anyway though. ;) dominik 2005-01-07 18:13:56 +0000
  • 76c7f3b14e (svn r1416) Print sensible information in SafeTileAdd() if gcc is used tron 2005-01-07 17:47:29 +0000
  • 35972e68e1 (svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits from map.h into map.c. Now the whole source except map.c is independent of TILE_[XY]_BITS! tron 2005-01-07 17:40:23 +0000
  • 7ca6b2b8b0 (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] tron 2005-01-07 17:02:43 +0000
  • f5c33e5073 (svn r1413) Fixed a serious memory leak problem. The invisible tiles on the southern border now have the correct tile type (MP_VOID) again. Please note that older maps might still have incorrect border tiles, thus still causing overflows. dominik 2005-01-07 12:33:28 +0000
  • 9a4465f9c0 (svn r1412) -Feature/Fix: Aircraft refit options have been restricted to "sane" values. -Feature: aircraft can now be refitted "mail-only" -Feature: Passengers aircraft now ignore the amount of mail for "full load any" options celestar 2005-01-07 09:51:16 +0000
  • e58739c559 (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). truelight 2005-01-07 09:28:16 +0000
  • 8ed132a5b9 (svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code celestar 2005-01-07 08:38:27 +0000
  • a6ba0d3fbe (svn r1409) Simplify some preprocessor magic tron 2005-01-07 08:07:24 +0000
  • a3c0e81230 (svn r1408) -Fix: uninitialized variable :) darkvater 2005-01-06 22:50:48 +0000
  • 63e97754fb (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries (in prepare of dynamic arrays): - DEREF_XXX is changed into GetXXX - All direct call are directed via GetXXX - struct Industry has now an index-field - ENUM'd some stuff - Replaced home built loops with FOR_ALL_XXX - Added _stations_size, _vehicles_size, ... which gives the length of the array (which will be dynamic in the near future) - Changed lengtof(XXX) to _XXX_size (e.g. _stations_size) - Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX) - Made the sort-functions of all 4 dynamic - Made all 4 Initialize functions more of the same - Some minor tab-fixing and stuff (tnx to Tron for proof-reading my 100kb patch ;)) truelight 2005-01-06 22:31:58 +0000
  • a4111363c0 (svn r1405) Added half done Estonian translation (indrek) bjarni 2005-01-06 19:40:44 +0000
  • deabdb666f (svn r1404) -Fix: Company password no longer shares a widget with buying shares darkvater 2005-01-06 18:54:13 +0000
  • 57aebadb15 (svn r1403) Daily langfile updates (semi-automatic) [505 missing strings] miham 2005-01-06 18:49:51 +0000
  • 8b7c1e94e1 (svn r1402) Trim trailing whitespace tron 2005-01-06 18:45:28 +0000
  • 2c9cd8f68c (svn r1401) -Fix: glitches in train-depot GUI (tnx to Hackykid) -Fix: glitch in Company Overview GUI (Hackykid) truelight 2005-01-06 17:40:57 +0000
  • 8e58dd8dec (svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight) truelight 2005-01-06 17:14:37 +0000
  • c06dd27c33 (svn r1399) -Fix: Fixes for compiling with Watcom C/C++ (ie, OS/2 port). (orudge) Note: If people could watch out for initialising structs with *non-constants* in future... it's a bit annoying, I know, but Open Watcom isn't the only compiler which doesn't support this (yet) - Borland, for example, still doesn't like it. truelight 2005-01-06 15:57:26 +0000
  • becd9c224e (svn r1398) -Feature: CTRL+V (Paste) now works on all editboxes. This includes 'Add Server', chat, etc. Feature is Windows only. darkvater 2005-01-06 15:54:09 +0000
  • 5b7e224f46 (svn r1397) Add missing RESIZE_NONE tron 2005-01-06 12:34:22 +0000
  • f8c95a1dbe (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff tron 2005-01-06 11:39:00 +0000
  • 790b03c707 (svn r1395) Fix assertion when building road bridge tron 2005-01-06 08:08:17 +0000
  • 1e99155d61 (svn r1393) fix [ 1096026 ]. Autorenew trains should now hopefully work like it did before autoreplace was added DEREF_ENGINE is now used in autoreplace bjarni 2005-01-05 19:28:10 +0000
  • cc465f0f35 (svn r1392) Use TileOffsByDir() instead of home brewed table tron 2005-01-05 19:12:47 +0000
  • 5583fd89b3 (svn r1391) Make an assert map size agnostic tron 2005-01-05 18:59:02 +0000
  • 2cdc210193 (svn r1390) Use TileOffsByDir() instead of home brewed table tron 2005-01-05 18:09:06 +0000
  • 523a6a1cff (svn r1389) -Add: [Network] Added packet protection. No longer a client or server reads beyond the size of the packet -Fix: [Network] A server no longer crashes when a client sends an invalid DoCommand, but drops the client instead. truelight 2005-01-05 14:39:48 +0000
  • f1e9fdf76d (svn r1388) Feature: [SDL] Show revision number in window title dominik 2005-01-05 14:20:23 +0000
  • 6735135773 (svn r1387) Fix: Airplanes now also crash when only one invalid order is in the schedule dominik 2005-01-05 13:48:38 +0000
  • 67161506ad (svn r1386) Move TileIndexDiff to map.h Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir() tron 2005-01-05 13:32:03 +0000
  • 2543158c8e (svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list are demolished, the plane eventually crashes (running out of fuel) dominik 2005-01-05 13:15:27 +0000
  • 61761cfab1 (svn r1384) Fix: Sometimes when lists were saved, a lot of blank lines had been added dominik 2005-01-05 11:19:57 +0000
  • 87e5984ae2 (svn r1383) Fix: You can now also delete automatically found servers by pressing "del" Fix: The scrollbar is correctly updated when deleting servers dominik 2005-01-05 10:47:59 +0000
  • 9294d33611 (svn r1382) Make automatic placement of rails in front of train depots map size agnostic tron 2005-01-05 10:20:51 +0000
  • e31da8532e (svn r1381) Fix: [ 1095143 ] Servers list now also saves the port dominik 2005-01-05 09:59:45 +0000
  • c4b682f996 (svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57 darkvater 2005-01-04 21:45:38 +0000
  • 4c5f6fe360 (svn r1379) -Fix: various GUI glitches. Added default sizes to various widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me! darkvater 2005-01-04 21:28:09 +0000
  • 0fe19ed2ac (svn r1378) Fix: train engines are now only replaced if the engine is really set to be replaced and they are replaced to the type that engine type is set to be replaced to (instead of whtat the first engine in the train is set to) bjarni 2005-01-04 20:19:00 +0000
  • 2af42f48b9 (svn r1377) -Fix: only a server can rename a town in a MP game darkvater 2005-01-04 19:49:44 +0000
  • 29d2f6ed6c (svn r1376) 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 bjarni 2005-01-04 17:54:16 +0000
  • 6edb21231e (svn r1375) -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. darkvater 2005-01-04 17:11:03 +0000
  • 88b8a01da6 (svn r1374) -Feature: Add sticky item to finances window; sticky remains when requesting big/small window -Moved resize icon in save dialog to bottom-right darkvater 2005-01-04 17:04:10 +0000
  • 101ccce895 (svn r1373) -Fix: compilation fix for windows darkvater 2005-01-04 16:04:28 +0000
  • 27df6c86fc (svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttons truelight 2005-01-04 15:49:30 +0000
  • c5d6230c66 (svn r1370) -Add: added console support for loading maps. Use 'load', 'list_files' and 'goto_dir' to navigate and load games. truelight 2005-01-04 15:06:08 +0000
  • 4f496b8681 (svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows darkvater 2005-01-04 14:54:27 +0000
  • 86fa7720f9 (svn r1368) -Fix: Disabled dropdown menu options are gray again (instead of blue) (redid revision 1357) truelight 2005-01-04 13:45:58 +0000
  • a9b3d8c998 (svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid) matthijs 2005-01-04 00:54:12 +0000
  • cdfb3d5113 (svn r1366) -Fix: [1093186] rough land in snow upon dying of tree darkvater 2005-01-04 00:53:52 +0000
  • 3a48ab4c54 (svn r1365) -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) darkvater 2005-01-04 00:07:58 +0000
  • 5a9478cdba (svn r1361) -Remove .cod files from VS6 project as well (bociusz) darkvater 2005-01-03 22:16:02 +0000
  • 39bb863024 (svn r1359) Fix typos in last commit tron 2005-01-03 22:12:36 +0000
  • 2f2688b829 (svn r1358) Assert bounds of depot list when searching for a depot tron 2005-01-03 22:07:40 +0000
  • 579d51b1b2 (svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue) darkvater 2005-01-03 22:04:34 +0000
  • f6c4e3eb1c (svn r1356) -Fix: [1092363] missing GCC_PACK in oldloader.c (thx hafken) darkvater 2005-01-03 21:51:24 +0000
  • 9a49fda8e6 (svn r1355) -Fix: [1092473] random trees in scenario editor do not overwrite rocks as well darkvater 2005-01-03 21:47:52 +0000
  • d922ca68e7 (svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, not some arbitrary data types tron 2005-01-03 21:29:59 +0000
  • 52c87a0330 (svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place rocks on trees and vice versa darkvater 2005-01-03 21:26:09 +0000
  • 1ee725ef35 (svn r1352) -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. darkvater 2005-01-03 21:05:03 +0000
  • ad24d6cb04 (svn r1351) 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) bjarni 2005-01-03 21:01:37 +0000
  • e0c4e144b9 (svn r1350) 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) bjarni 2005-01-03 20:52:09 +0000
  • 363dd7bdf0 (svn r1349) -Fix: [1093485] Dissappearing rocks in Scenario Editor darkvater 2005-01-03 20:20:25 +0000
  • a94fe04a9a (svn r1348) -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 truelight 2005-01-03 19:45:18 +0000
  • 5b6be88587 (svn r1347) -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; darkvater 2005-01-03 19:34:07 +0000
  • 79d29b7633 (svn r1346) -Fix: fix signed/unsigned warnings -Fix: latent removal of 2 lines from ttd.c which I forgot because the file was not saved :O darkvater 2005-01-03 19:09:45 +0000
  • afb6e5441d (svn r1345) 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 tron 2005-01-03 19:06:16 +0000
  • c0702318d2 (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY] tron 2005-01-03 18:59:58 +0000
  • d382463f8a (svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater) -Fix: [Graphic] Added resize icon (tnx tokai) truelight 2005-01-03 18:49:45 +0000
  • a72d993e65 (svn r1342) -Fix: [1094596] Problem with ship depot; upon load it is also given owner OWNER_WATER darkvater 2005-01-03 18:40:41 +0000
  • 3ee8697bbf (svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL) -Copyright notice is now 2002-2005 for all languages darkvater 2005-01-03 17:55:25 +0000
  • ca1b3a80ae (svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. darkvater 2005-01-03 16:45:42 +0000
  • d317a93e0f (svn r1339) -Fix: compilation with networking works on MinGW32 again (thx orudge). darkvater 2005-01-03 14:33:59 +0000
  • 39f8b82640 (svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying. darkvater 2005-01-03 14:07:49 +0000
  • 32bfe0dddd (svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY() tron 2005-01-03 12:56:22 +0000
  • 4c14afba4e (svn r1336) Fix: Correct landscaping buttons in monorail and maglev toolbars dominik 2005-01-03 12:15:55 +0000
  • 288c52b688 (svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files dominik 2005-01-03 12:03:24 +0000
  • 2cb37408a3 (svn r1334) Fix: [ 1093466 ] no more glitches with many maps in the scenario list when creating server dominik 2005-01-03 11:58:53 +0000
  • 60ba9c3280 (svn r1333) Fix: No crash when creating a game with American town names any more dominik 2005-01-03 11:45:11 +0000
  • 7e89cd8643 (svn r1332) -Fix: Desert-landscape does no longer crash (protected GetMapExtraBits from overflowing) truelight 2005-01-03 11:11:16 +0000
  • 6c4840fa50 (svn r1331) Update map size before sending game info tron 2005-01-03 09:14:31 +0000
  • 29e71638ce (svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows tron 2005-01-03 08:50:44 +0000
  • 608cdbe3f6 (svn r1329) Remove unused function declaration tron 2005-01-03 08:34:54 +0000
  • 09dd8053a9 (svn r1328) Turn loop with explicit terminator element into loop using endof() tron 2005-01-03 08:33:04 +0000
  • ae336f146d (svn r1327) -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. darkvater 2005-01-03 00:42:43 +0000
  • 6a6cbdd9b4 (svn r1326) fixed compiler warnings in vehicle_gui.c and widget.c bjarni 2005-01-02 22:28:56 +0000
  • efc2702491 (svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!! -Fix: the level land icon no longer flashes (was palette colour) darkvater 2005-01-02 21:52:21 +0000
  • 2351271889 (svn r1324) Fixed problem with autoreplace GUI and msvc6 (thanks bociusz) bjarni 2005-01-02 17:39:01 +0000
  • 29d8c5bb50 (svn r1323) 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() bjarni 2005-01-02 17:23:04 +0000
  • a11f46fed4 (svn r1322) -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'. truelight 2005-01-02 12:03:43 +0000
  • 5d06584545 (svn r1321) -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 truelight 2005-01-01 19:18:48 +0000
  • a0716c39de (svn r1320) -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!) truelight 2005-01-01 16:34:54 +0000
  • 461ca703ff (svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;) truelight 2005-01-01 15:40:44 +0000
  • 36333076d5 (svn r1314) -Fix: Population numbers is no longer negative for 32k+ towns truelight 2004-12-31 19:09:03 +0000
  • 2ebc5011f3 (svn r1313) -Fix: fixed MSVC problem truelight 2004-12-31 18:59:22 +0000
  • 92ac503b74 (svn r1312) -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 truelight 2004-12-31 18:57:24 +0000
  • 1fef394fde (svn r1308) -Update: updated MSVC project files truelight 2004-12-31 15:55:14 +0000
  • d76ecbba7c (svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more readable now. 'American' is replaces by 'Additional English' (Jango) truelight 2004-12-31 14:43:47 +0000
  • 6c1e2989b1 (svn r1303) Daily langfile update (automatic) miham 2004-12-31 09:47:09 +0000
  • 4b38004a49 (svn r1302) -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. truelight 2004-12-30 10:29:28 +0000