Commit Graph

985 Commits (8c7acd8719129fe98e2e4233064db53893ccfd63)
 

Author SHA1 Message Date
dominik 6e6b72d46d (svn r1422) Fixed linux compiling, that was broken in r1420 20 years ago
bjarni 2b6e6a3846 (svn r1421) improved autoreplace multiheaded trains. It now remembers the current heading for an engine instead of turning all of them like the first one and the last the other way 20 years ago
darkvater 7dfe1c476c (svn r1420) -Fix: Console alias, load_game functionality and load fix (sign_de) 20 years ago
bjarni a6e7efd767 (svn r1419) fixed issue where autoreplacing dualheaded trains turned the last engine the wrong way 20 years ago
darkvater c2b59b2089 (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) 20 years ago
dominik c1757a0c5f (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. ;)
20 years ago
tron d06b2791eb (svn r1416) Print sensible information in SafeTileAdd() if gcc is used 20 years ago
tron 872c51f134 (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!
20 years ago
tron 414ac3286b (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 20 years ago
dominik 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. 20 years ago
celestar 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
20 years ago
truelight 4528410053 (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). 20 years ago
celestar 91bf7a7448 (svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code 20 years ago
tron 3b18fba385 (svn r1409) Simplify some preprocessor magic 20 years ago
darkvater 725591513d (svn r1408) -Fix: uninitialized variable :) 20 years ago
truelight 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 ;))

  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 *.
20 years ago
bjarni 3845670c78 (svn r1405) Added half done Estonian translation (indrek) 20 years ago
darkvater 5df77bfbcd (svn r1404) -Fix: Company password no longer shares a widget with buying shares 20 years ago
miham a08f926fe6 (svn r1403) Daily langfile updates (semi-automatic) [505 missing strings] 20 years ago
tron 2eb7aedf69 (svn r1402) Trim trailing whitespace 20 years ago
truelight 124a29f7a5 (svn r1401) -Fix: glitches in train-depot GUI (tnx to Hackykid)
-Fix: glitch in Company Overview GUI (Hackykid)
20 years ago
truelight 8e28e8efc3 (svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight) 20 years ago
truelight 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.
20 years ago
darkvater 5feea8f02c (svn r1398) -Feature: CTRL+V (Paste) now works on all editboxes. This includes 'Add Server', chat, etc. Feature is Windows only. 20 years ago
tron b23ecdb54e (svn r1397) Add missing RESIZE_NONE 20 years ago
tron d3c6855320 (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff 20 years ago
tron 9a32e38633 (svn r1395) Fix assertion when building road bridge 20 years ago
bjarni 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
20 years ago
tron c11ce2ec6a (svn r1392) Use TileOffsByDir() instead of home brewed table 20 years ago
tron fa1564a1a4 (svn r1391) Make an assert map size agnostic 20 years ago
tron 8a0ba57ac6 (svn r1390) Use TileOffsByDir() instead of home brewed table 20 years ago
truelight 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.
20 years ago
dominik 9545f8c19c (svn r1388) Feature: [SDL] Show revision number in window title 20 years ago
dominik e5129d5b32 (svn r1387) Fix: Airplanes now also crash when only one invalid order is in the schedule 20 years ago
tron e4cf2ba1b3 (svn r1386) Move TileIndexDiff to map.h
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
20 years ago
dominik 0a37e6202b (svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list are demolished, the plane eventually crashes (running out of fuel) 20 years ago
dominik 5233e90e23 (svn r1384) Fix: Sometimes when lists were saved, a lot of blank lines had been added 20 years ago
dominik aa24b010e9 (svn r1383) Fix: You can now also delete automatically found servers by pressing "del"
Fix: The scrollbar is correctly updated when deleting servers
20 years ago
tron f527d79c56 (svn r1382) Make automatic placement of rails in front of train depots map size agnostic 20 years ago
dominik badf3f5c79 (svn r1381) Fix: [ 1095143 ] Servers list now also saves the port 20 years ago
darkvater f7f3afb770 (svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57 20 years ago
darkvater 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! 20 years ago
bjarni 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) 20 years ago
darkvater f2b8e00edd (svn r1377) -Fix: only a server can rename a town in a MP game 20 years ago
bjarni 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 20 years ago
darkvater 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. 20 years ago
darkvater 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
20 years ago
darkvater 9e7aafe834 (svn r1373) -Fix: compilation fix for windows 20 years ago
truelight 30433c332c (svn r1372) -Fix: fixed some GUI glitches introduced with resize-buttons 20 years ago
truelight 4517349c7d (svn r1370) -Add: added console support for loading maps. Use 'load', 'list_files'
and 'goto_dir' to navigate and load games.
20 years ago