Commit Graph

883 Commits (a3d687fadb7b3209564928a69c43ff38fb6f94e3)
 

Author SHA1 Message Date
matthijs a3d687fadb (svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid) 20 years ago
darkvater d088cb6131 (svn r1366) -Fix: [1093186] rough land in snow upon dying of tree 20 years ago
darkvater 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) 20 years ago
darkvater 08e1d8c896 (svn r1361) -Remove .cod files from VS6 project as well (bociusz) 20 years ago
tron 74568aade0 (svn r1359) Fix typos in last commit 20 years ago
tron 815bac212a (svn r1358) Assert bounds of depot list when searching for a depot 20 years ago
darkvater 036b043f9f (svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue) 20 years ago
darkvater 784968c028 (svn r1356) -Fix: [1092363] missing GCC_PACK in oldloader.c (thx hafken) 20 years ago
darkvater d2569e5b6e (svn r1355) -Fix: [1092473] random trees in scenario editor do not overwrite rocks as well 20 years ago
tron 099ee88c30 (svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, not some arbitrary data types 20 years ago
darkvater 3d51f4d689 (svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place rocks on trees and vice versa 20 years ago
darkvater 1a29d7956c (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. 20 years ago
bjarni 32973058a3 (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) 20 years ago
bjarni 578d34cfe0 (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)

 --This line, and those below, will be ignored--

M    vehicle_gui.c
M    lang/english.txt
M    window.h
20 years ago
darkvater f23a382f82 (svn r1349) -Fix: [1093485] Dissappearing rocks in Scenario Editor 20 years ago
truelight 3b7d2a8b67 (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
20 years ago
darkvater 20a2843920 (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; 20 years ago
darkvater c9a4a265b7 (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
20 years ago
tron f772d1a263 (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 20 years ago
tron bcff0ab932 (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY] 20 years ago
truelight b12b10c343 (svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)
-Fix: [Graphic] Added resize icon (tnx tokai)
20 years ago
darkvater dc3a478533 (svn r1342) -Fix: [1094596] Problem with ship depot; upon load it is also given owner OWNER_WATER 20 years ago
darkvater 83342a0bcb (svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
-Copyright notice is now 2002-2005 for all languages
20 years ago
darkvater d02bdb0768 (svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. 20 years ago
darkvater dcc1376533 (svn r1339) -Fix: compilation with networking works on MinGW32 again (thx orudge). 20 years ago
darkvater 920b9eab9d (svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying. 20 years ago
tron 181e9b6cf9 (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()
20 years ago
dominik 8f8e6cddd9 (svn r1336) Fix: Correct landscaping buttons in monorail and maglev toolbars 20 years ago
dominik 4c5c4d23f3 (svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files 20 years ago
dominik 9380b58111 (svn r1334) Fix: [ 1093466 ] no more glitches with many maps in the scenario list when creating server 20 years ago
dominik 48d92bd59e (svn r1333) Fix: No crash when creating a game with American town names any more 20 years ago
truelight a39f1b895a (svn r1332) -Fix: Desert-landscape does no longer crash (protected GetMapExtraBits
from overflowing)
20 years ago
tron a8b727e9c3 (svn r1331) Update map size before sending game info 20 years ago
tron 7a51cb2aef (svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows 20 years ago
tron 85e6b834c8 (svn r1329) Remove unused function declaration 20 years ago
tron df1f0010f9 (svn r1328) Turn loop with explicit terminator element into loop using endof() 20 years ago
darkvater 37bf3bf4cf (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.
20 years ago
bjarni a1a5790014 (svn r1326) fixed compiler warnings in vehicle_gui.c and widget.c 20 years ago
darkvater 3dd82d576b (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)
20 years ago
bjarni 71cfc83f99 (svn r1324) Fixed problem with autoreplace GUI and msvc6 (thanks bociusz) 20 years ago
bjarni 5da75918c0 (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()
20 years ago
truelight 5eeab7fcfe (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'.
20 years ago
truelight 25752eabfe (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
20 years ago
truelight aacd9f7b0a (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!)
20 years ago
truelight 5656666481 (svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;) 20 years ago
truelight db6e1bbb88 (svn r1314) -Fix: Population numbers is no longer negative for 32k+ towns 20 years ago
truelight 75567c3d7d (svn r1313) -Fix: fixed MSVC problem 20 years ago
truelight c748f6db57 (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
20 years ago
truelight ce480ec17f (svn r1308) -Update: updated MSVC project files 20 years ago
truelight d32bfd8adb (svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
readable now. 'American' is replaces by 'Additional English' (Jango)
20 years ago