summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-14(svn r1510) -Add: Improved Network Lobby GUI: (bociusz)truelight
- Added green dot if company income is positive (else red dot) - Added lock icon if company is password protected
2005-01-14(svn r1509) Const correctness and add static where appropriate while ↵tron
touching the lines anyway
2005-01-14(svn r1508) Remove duplicate declarations and include proper headers where ↵tron
necessary
2005-01-14(svn r1507) Remove unreachable codetron
2005-01-14(svn r1506) Fix: [ 1102275 ] Game crashed when clicking "new face" or ↵dominik
"company color" twice
2005-01-14(svn r1505) -Fix: Refit engine button is now disabled when cargo capacity ↵celestar
equals zero
2005-01-14(svn r1504) enummed town ratings (Jango)celestar
2005-01-14(svn r1503) Added feature:miham
o allows users to setup the production values of the rawmaterial producing industries in the editor Modified: o ttd.h - added CT_INVALID for 0xFF cargo type o english.txt - added 1 string o industry_gui.c - the feature itself o window.h - added compile asserts to the structs which checks whether their sizes are smaller than WINDOW_CUSTOM_SIZE Thanks: o Darkvater to bother me to constantly improve the patch o Various users at #openttd for testing
2005-01-13(svn r1502) -Fix: [1101889] Crash under windows... stupid typo in ↵darkvater
player_gui.c ^ should've been & -Fix: in multiplayer clientlist can only be opened once
2005-01-13(svn r1500) -Feature: Train window shows now the number of vehicles per row ↵celestar
(mpetrov)
2005-01-13(svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 ↵celestar
/ 1097043] (mpetrov)
2005-01-13(svn r1498) -Feature: Addded keyboard shortcuts for the order windowCelestar
2005-01-13(svn r1497) -Fix: [1101179] Crash if generating land while industry window ↵darkvater
is open. This also happened for towns and the land information window -Added DeleteWindowByClass() function that deletes all windows of a given class
2005-01-13(svn r1496) -Fix: highscore no longer crashes in network games with a ↵darkvater
dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game -Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-13(svn r1495) -Fix: Loan does not count against the company valuecelestar
-Feature: New companies receive a 5-year protection period
2005-01-12(svn r1494) Give GetNumberBasedOnSeed() a bit more sane name: SeedChance()tron
Add SeedChanceBias() which subtracts a bias from SeedChance() to reduce code duplication While touching the lines anyway sprinkle a bit holy ANSI water (static before inline) and move assignments in the conditions of ifs before the ifs
2005-01-12(svn r1493) -Codechange: Removed redundancy in the order GUI. Currently we ↵celestar
had most of the code written 4 - 8 times in the code. This currently causes the "non-stop" button to appear for all vehicles, which is disabled all the time. Don't report this as a bug please. This is (hopefully) the first patch in a joint effort to simplify the order system
2005-01-12(svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango)tron
2005-01-12(svn r1491) Fix bracing style and indentation (Jango)tron
2005-01-12(svn r1490) Restore original town name generation behavior for german and ↵tron
hungarian (Jango)
2005-01-12(svn r1489) -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed ↵truelight
both (which compiler do we break this time?)
2005-01-12(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)truelight
-Fix: fixed some compiler-warnings
2005-01-12(svn r1487) -Fix: [1100736] wrong tooltip for place desert buttondarkvater
2005-01-12(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared ↵truelight
it for dynamic arrays
2005-01-12(svn r1485) -Fix: [1031451] Catchment area shows when buying sign. Catchment ↵darkvater
area wasn't reset when road station window was unselected -Fix: small GUI glitch in terraform toolbar
2005-01-11(svn r1484) -Fix: [1099197] scrolling through console sometimes crashed the ↵darkvater
whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de)
2005-01-11(svn r1483) -Fix: don't close a socket if it is already closed (windows ↵truelight
doesn't like it :() (partly tnx to tamlin)
2005-01-11(svn r1481) -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which ↵celestar
prevents reading of free'd memory (tamlin)
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-11(svn r1478) -Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 ↵darkvater
and Scrollbar2 now work independently. You can only scroll on list and scrollbar itself; scrollbar must be next widget of the list. -Fix: updated the few gui's that didn't have the scrollbar right after the listbox.
2005-01-10(svn r1477) -Fix: finally zooming in/out always works. The problem was that ↵darkvater
the zoomed in/out coordinates were used for checking if the area was a zoomable viewport in the not zoomed in/out position. The chances were high that there was a window.
2005-01-10(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)darkvater
2005-01-10(svn r1475) Fix some more signed/unsigned comparison warningstron
2005-01-10(svn r1474) Added some gcc flags in the Makefilecelestar
2005-01-10(svn r1472) -Fix: correct error message for when trying to build a railroad ↵darkvater
station over a bus/truck/etc-station.
2005-01-10(svn r1471) -Alternate icon added, made by Dominikdarkvater
-VS6 project file updated (bociusz)
2005-01-10(svn r1470) Revert r1457, this warning option was introduced with gcc 3.4tron
2005-01-10(svn r1469) -Fix: missed one in last committruelight
2005-01-10(svn r1468) -Fix: really old maps do load again (Darkvater / TrueLight)truelight
2005-01-10(svn r1467) Fixed a nasty bug where one could build one station OVER the otherCelestar
2005-01-10(svn r1466) -Fix: oops, depot windows can of course also scroll ↵darkvater
horizontally. Thanks si-m1.
2005-01-10(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped ↵darkvater
year between 1920-2090 as wel as adding defines for it.
2005-01-10(svn r1464) -Fix: [1099106] Resizeable portion of bus/air/rail depots window ↵darkvater
unclickable
2005-01-10(svn r1463) -Fix: [1099451] Game crashes after the click on Rename (see also ↵darkvater
Bug 10992). There was no check for non-selected engine
2005-01-10(svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at ↵darkvater
Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now.
2005-01-10(svn r1458) -Fix: remove byte *s again for windows.darkvater
2005-01-10(svn r1457) Make Darvater happy: -Wdeclaration-after-statementtron
2005-01-10(svn r1456) Simplify isWagon(), make it static and give it a canonical name ↵tron
(IsWagon)
2005-01-10(svn r1455) Fixed spritecache.c to compilemiham
2005-01-10(svn r1454) -Fix: small warnings in spritecache.cdarkvater