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 +00:00
fe798488e6(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 +00:00
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 +00:00
b2c47cf7d6(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 +00:00
e58739c559(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
truelight
2005-01-07 09:28:16 +00:00
4528410053(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
truelight
2005-01-07 09:28:16 +00:00
8ed132a5b9(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code
celestar
2005-01-07 08:38:27 +00:00
91bf7a7448(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code
celestar
2005-01-07 08:38:27 +00:00
a6ba0d3fbe(svn r1409) Simplify some preprocessor magic
tron
2005-01-07 08:07:24 +00:00
3b18fba385(svn r1409) Simplify some preprocessor magic
tron
2005-01-07 08:07:24 +00:00
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 +00:00
b450603437(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 +00:00
8b7c1e94e1(svn r1402) Trim trailing whitespace
tron
2005-01-06 18:45:28 +00:00
2eb7aedf69(svn r1402) Trim trailing whitespace
tron
2005-01-06 18:45:28 +00:00
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 +00:00
124a29f7a5(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 +00:00
8e58dd8dec(svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight)
truelight
2005-01-06 17:14:37 +00:00
8e28e8efc3(svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight)
truelight
2005-01-06 17:14:37 +00:00
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 +00:00
c097a788ee(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 +00:00
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 +00:00
5feea8f02c(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 +00:00
5b7e224f46(svn r1397) Add missing RESIZE_NONE
tron
2005-01-06 12:34:22 +00:00
b23ecdb54e(svn r1397) Add missing RESIZE_NONE
tron
2005-01-06 12:34:22 +00:00
f8c95a1dbe(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
2005-01-06 11:39:00 +00:00
d3c6855320(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
2005-01-06 11:39:00 +00:00
790b03c707(svn r1395) Fix assertion when building road bridge
tron
2005-01-06 08:08:17 +00:00
9a32e38633(svn r1395) Fix assertion when building road bridge
tron
2005-01-06 08:08:17 +00:00
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 +00:00
2492e7736e(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 +00:00
cc465f0f35(svn r1392) Use TileOffsByDir() instead of home brewed table
tron
2005-01-05 19:12:47 +00:00
c11ce2ec6a(svn r1392) Use TileOffsByDir() instead of home brewed table
tron
2005-01-05 19:12:47 +00:00
5583fd89b3(svn r1391) Make an assert map size agnostic
tron
2005-01-05 18:59:02 +00:00
fa1564a1a4(svn r1391) Make an assert map size agnostic
tron
2005-01-05 18:59:02 +00:00
2cdc210193(svn r1390) Use TileOffsByDir() instead of home brewed table
tron
2005-01-05 18:09:06 +00:00
8a0ba57ac6(svn r1390) Use TileOffsByDir() instead of home brewed table
tron
2005-01-05 18:09:06 +00:00
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 +00:00
503ccc81c9(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 +00:00
f1e9fdf76d(svn r1388) Feature: [SDL] Show revision number in window title
dominik
2005-01-05 14:20:23 +00:00
9545f8c19c(svn r1388) Feature: [SDL] Show revision number in window title
dominik
2005-01-05 14:20:23 +00:00
6735135773(svn r1387) Fix: Airplanes now also crash when only one invalid order is in the schedule
dominik
2005-01-05 13:48:38 +00:00
e5129d5b32(svn r1387) Fix: Airplanes now also crash when only one invalid order is in the schedule
dominik
2005-01-05 13:48:38 +00:00
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 +00:00
e4cf2ba1b3(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 +00:00
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 +00:00
0a37e6202b(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 +00:00
61761cfab1(svn r1384) Fix: Sometimes when lists were saved, a lot of blank lines had been added
dominik
2005-01-05 11:19:57 +00:00
5233e90e23(svn r1384) Fix: Sometimes when lists were saved, a lot of blank lines had been added
dominik
2005-01-05 11:19:57 +00:00
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 +00:00
aa24b010e9(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 +00:00
9294d33611(svn r1382) Make automatic placement of rails in front of train depots map size agnostic
tron
2005-01-05 10:20:51 +00:00
f527d79c56(svn r1382) Make automatic placement of rails in front of train depots map size agnostic
tron
2005-01-05 10:20:51 +00:00
e31da8532e(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
dominik
2005-01-05 09:59:45 +00:00
badf3f5c79(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
dominik
2005-01-05 09:59:45 +00:00
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 +00:00
d63144e8c0(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 +00:00
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 +00:00
5704882186(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 +00:00
2af42f48b9(svn r1377) -Fix: only a server can rename a town in a MP game
darkvater
2005-01-04 19:49:44 +00:00
f2b8e00edd(svn r1377) -Fix: only a server can rename a town in a MP game
darkvater
2005-01-04 19:49:44 +00:00
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 +00:00
522d6b590c(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 +00:00
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 +00:00
fc52b512aa(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 +00:00
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 +00:00
9d38a7afca(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 +00:00
101ccce895(svn r1373) -Fix: compilation fix for windows
darkvater
2005-01-04 16:04:28 +00:00
9e7aafe834(svn r1373) -Fix: compilation fix for windows
darkvater
2005-01-04 16:04:28 +00:00
27df6c86fc(svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttons
truelight
2005-01-04 15:49:30 +00:00
30433c332c(svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttons
truelight
2005-01-04 15:49:30 +00:00
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 +00:00
4517349c7d(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 +00:00
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 +00:00
6374240285(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 +00:00
86fa7720f9(svn r1368) -Fix: Disabled dropdown menu options are gray again (instead of blue) (redid revision 1357)
truelight
2005-01-04 13:45:58 +00:00
ac21b27d37(svn r1368) -Fix: Disabled dropdown menu options are gray again (instead of blue) (redid revision 1357)
truelight
2005-01-04 13:45:58 +00:00
a9b3d8c998(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid)
matthijs
2005-01-04 00:54:12 +00:00
a3d687fadb(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid)
matthijs
2005-01-04 00:54:12 +00:00
cdfb3d5113(svn r1366) -Fix: [1093186] rough land in snow upon dying of tree
darkvater
2005-01-04 00:53:52 +00:00
d088cb6131(svn r1366) -Fix: [1093186] rough land in snow upon dying of tree
darkvater
2005-01-04 00:53:52 +00:00
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 +00:00
d3454832c7(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 +00:00
5a9478cdba(svn r1361) -Remove .cod files from VS6 project as well (bociusz)
darkvater
2005-01-03 22:16:02 +00:00
08e1d8c896(svn r1361) -Remove .cod files from VS6 project as well (bociusz)
darkvater
2005-01-03 22:16:02 +00:00
39bb863024(svn r1359) Fix typos in last commit
tron
2005-01-03 22:12:36 +00:00
74568aade0(svn r1359) Fix typos in last commit
tron
2005-01-03 22:12:36 +00:00
2f2688b829(svn r1358) Assert bounds of depot list when searching for a depot
tron
2005-01-03 22:07:40 +00:00
815bac212a(svn r1358) Assert bounds of depot list when searching for a depot
tron
2005-01-03 22:07:40 +00:00
579d51b1b2(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)
darkvater
2005-01-03 22:04:34 +00:00
036b043f9f(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)
darkvater
2005-01-03 22:04:34 +00:00