summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-07(svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits ↵tron
from map.h into map.c. Now the whole source except map.c is independent of TILE_[XY]_BITS!
2005-01-07(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵tron
the latter into inline functions names Tile[XY]
2005-01-07(svn r1413) Fixed a serious memory leak problem. The invisible tiles on the ↵dominik
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.
2005-01-07(svn r1412) -Feature/Fix: Aircraft refit options have been restricted to "sane"celestar
values. -Feature: aircraft can now be refitted "mail-only" -Feature: Passengers aircraft now ignore the amount of mail for "full load any" options
2005-01-07(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old ↵truelight
loader).
2005-01-07(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the codecelestar
2005-01-07(svn r1409) Simplify some preprocessor magictron
2005-01-06(svn r1408) -Fix: uninitialized variable :)darkvater
2005-01-06(svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns ↵truelight
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 ;)) Note for all: please do NOT directly call _stations, _vehicles, _towns and _industries, but use the right wrapper to access them. Thank you. Ps: please also do not use 'v++', where v is of type Vehicle *.
2005-01-06(svn r1405) Added half done Estonian translation (indrek)bjarni
2005-01-06(svn r1404) -Fix: Company password no longer shares a widget with buying sharesdarkvater
2005-01-06(svn r1403) Daily langfile updates (semi-automatic) [505 missing strings]miham
2005-01-06(svn r1402) Trim trailing whitespacetron
2005-01-06(svn r1401) -Fix: glitches in train-depot GUI (tnx to Hackykid)truelight
-Fix: glitch in Company Overview GUI (Hackykid)
2005-01-06(svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / ↵truelight
TrueLight)
2005-01-06(svn r1399) -Fix: Fixes for compiling with Watcom C/C++ (ie, OS/2 port). ↵truelight
(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.
2005-01-06(svn r1398) -Feature: CTRL+V (Paste) now works on all editboxes. This ↵darkvater
includes 'Add Server', chat, etc. Feature is Windows only.
2005-01-06(svn r1397) Add missing RESIZE_NONEtron
2005-01-06(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDifftron
2005-01-06(svn r1395) Fix assertion when building road bridgetron
2005-01-05(svn r1393) fix [ 1096026 ]. Autorenew trains should now hopefully work like ↵bjarni
it did before autoreplace was added DEREF_ENGINE is now used in autoreplace
2005-01-05(svn r1392) Use TileOffsByDir() instead of home brewed tabletron
2005-01-05(svn r1391) Make an assert map size agnostictron
2005-01-05(svn r1390) Use TileOffsByDir() instead of home brewed tabletron
2005-01-05(svn r1389) -Add: [Network] Added packet protection. No longer a client or ↵truelight
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.
2005-01-05(svn r1388) Feature: [SDL] Show revision number in window titledominik
2005-01-05(svn r1387) Fix: Airplanes now also crash when only one invalid order is in ↵dominik
the schedule
2005-01-05(svn r1386) Move TileIndexDiff to map.htron
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
2005-01-05(svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list ↵dominik
are demolished, the plane eventually crashes (running out of fuel)
2005-01-05(svn r1384) Fix: Sometimes when lists were saved, a lot of blank lines had ↵dominik
been added
2005-01-05(svn r1383) Fix: You can now also delete automatically found servers by ↵dominik
pressing "del" Fix: The scrollbar is correctly updated when deleting servers
2005-01-05(svn r1382) Make automatic placement of rails in front of train depots map ↵tron
size agnostic
2005-01-05(svn r1381) Fix: [ 1095143 ] Servers list now also saves the portdominik
2005-01-04(svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57darkvater
2005-01-04(svn r1379) -Fix: various GUI glitches. Added default sizes to various ↵darkvater
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!
2005-01-04(svn r1378) Fix: train engines are now only replaced if the engine is really ↵bjarni
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)
2005-01-04(svn r1377) -Fix: only a server can rename a town in a MP gamedarkvater
2005-01-04(svn r1376) fixed an issue where a modified client could try to replace a ↵bjarni
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
2005-01-04(svn r1375) -Fix: [1050990] Buying trains sometimes accounted for ↵darkvater
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.
2005-01-04(svn r1374) -Feature: Add sticky item to finances window; sticky remains ↵darkvater
when requesting big/small window -Moved resize icon in save dialog to bottom-right
2005-01-04(svn r1373) -Fix: compilation fix for windowsdarkvater
2005-01-04(svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttonstruelight
2005-01-04(svn r1370) -Add: added console support for loading maps. Use 'load', ↵truelight
'list_files' and 'goto_dir' to navigate and load games.
2005-01-04(svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. ↵darkvater
Anywhere where there are horizontal scrollers these are now left/right arrows
2005-01-04(svn r1368) -Fix: Disabled dropdown menu options are gray again (instead of ↵truelight
blue) (redid revision 1357)
2005-01-04(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while ↵matthijs
(Hackykid)
2005-01-04(svn r1366) -Fix: [1093186] rough land in snow upon dying of treedarkvater
2005-01-04(svn r1365) -Fix: very, very nasty buffer overflow bug introduced with ↵darkvater
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)
2005-01-03(svn r1361) -Remove .cod files from VS6 project as well (bociusz)darkvater
2005-01-03(svn r1359) Fix typos in last committron