summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2005-01-03(svn r1358) Assert bounds of depot list when searching for a depottron
2005-01-03(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of ↵darkvater
blue)
2005-01-03(svn r1356) -Fix: [1092363] missing GCC_PACK in oldloader.c (thx hafken)darkvater
2005-01-03(svn r1355) -Fix: [1092473] random trees in scenario editor do not overwrite ↵darkvater
rocks as well
2005-01-03(svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, ↵tron
not some arbitrary data types
2005-01-03(svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place ↵darkvater
rocks on trees and vice versa
2005-01-03(svn r1352) -Fix: [1093200] Drive side in new games. Setting the driver side ↵darkvater
is possible during the game until someone buys road vehicles. In networked games only the server can change it.
2005-01-03(svn r1351) fixed issue in last commit where it it not update the replace ↵bjarni
train window properly when changing company colour (the lower two panels stayed the old colour until the window was reopened)
2005-01-03(svn r1350) Replace Vehicle GUI: bjarni
- 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
2005-01-03(svn r1349) -Fix: [1093485] Dissappearing rocks in Scenario Editordarkvater
2005-01-03(svn r1348) -Feature: resizable windows. Read the comment in window.h to ↵truelight
find out how the system works. All useful windows are already made resizable. Enjoy :) -Fix: fixed some GUI-glitches and flaws along the way
2005-01-03(svn r1347) -Fix: Some were fixed for the trees -> Only copy the lowest two ↵darkvater
bits (amount of snow/desert) from map5 to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide;
2005-01-03(svn r1346) -Fix: fix signed/unsigned warningsdarkvater
-Fix: latent removal of 2 lines from ttd.c which I forgot because the file was not saved :O
2005-01-03(svn r1345) Only copy the lowest two bits (amount of snow/desert) from map5 ↵tron
to map2 when placing trees, before this happened implicitly because map2 was just 8 bits wide
2005-01-03(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) ↵tron
instead of TILES_[XY]
2005-01-03(svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)truelight
-Fix: [Graphic] Added resize icon (tnx tokai)
2005-01-03(svn r1342) -Fix: [1094596] Problem with ship depot; upon load it is also ↵darkvater
given owner OWNER_WATER
2005-01-03(svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)darkvater
-Copyright notice is now 2002-2005 for all languages
2005-01-03(svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets ↵darkvater
offended if I forgot them.
2005-01-03(svn r1339) -Fix: compilation with networking works on MinGW32 again (thx ↵darkvater
orudge).
2005-01-03(svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the ↵darkvater
macros for map querying.
2005-01-03(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of ↵tron
TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY()
2005-01-03(svn r1336) Fix: Correct landscaping buttons in monorail and maglev toolbarsdominik
2005-01-03(svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all ↵dominik
language files
2005-01-03(svn r1334) Fix: [ 1093466 ] no more glitches with many maps in the scenario ↵dominik
list when creating server
2005-01-03(svn r1333) Fix: No crash when creating a game with American town names any moredominik
2005-01-03(svn r1332) -Fix: Desert-landscape does no longer crash (protected ↵truelight
GetMapExtraBits from overflowing)
2005-01-03(svn r1331) Update map size before sending game infotron
2005-01-03(svn r1330) Increase size of some vars from int16 to int32 to guard against ↵tron
future overflows
2005-01-03(svn r1329) Remove unused function declarationtron
2005-01-03(svn r1328) Turn loop with explicit terminator element into loop using endof()tron
2005-01-03(svn r1327) -Fix: made resource file version independent for windowsdarkvater
-Fix: language file inconsistencies...please update all other language files as well when you rename a string name and do nothing else.
2005-01-02(svn r1326) fixed compiler warnings in vehicle_gui.c and widget.cbjarni
2005-01-02(svn r1325) -Fixed eol-style properties on new files. Please before adding a ↵darkvater
new file to svn use: "svn propset svn:eol-style native <filename's>"!! -Fix: the level land icon no longer flashes (was palette colour)