dominik
95960c19a7
(svn r1614) Fix: Signals were not updated correctly when the vehicle drive side was changed
2005-01-23 13:45:20 +00:00
tron
97f893ae2f
(svn r1596) Add some more statics
2005-01-22 22:47:58 +00:00
tron
94d5aeabb2
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
2005-01-22 20:23:18 +00:00
darkvater
0fc9b656e2
(svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7)
2005-01-16 12:29:52 +00:00
darkvater
07d9bc45dd
(svn r1532) -Fix: [1103078] default service period patch options are now cast to 0 with right variable size.
2005-01-16 00:23:19 +00:00
darkvater
0961c6af96
(svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this.
2005-01-15 00:42:01 +00:00
darkvater
84adfdf8c8
(svn r1496) -Fix: highscore no longer crashes in network games with a 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 16:28:47 +00:00
darkvater
199a77d1ea
(svn r1479) -Added highscore chart (accessible from the difficulty window) 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 00:54:06 +00:00
darkvater
2d023f9c0b
(svn r1478) -Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 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-11 00:24:27 +00:00
darkvater
781648ada3
(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
2005-01-10 14:43:00 +00:00
tron
4450ff105c
(svn r1451) Fix some of the signed/unsigned comparison warnings
2005-01-09 21:25:44 +00:00
celestar
e0a8b21404
(svn r1441) Fixed a couple of warnings, and removed a pointless assert
2005-01-09 10:04:30 +00:00
darkvater
c2b59b2089
(svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid)
2005-01-07 23:59:59 +00:00
tron
2eb7aedf69
(svn r1402) Trim trailing whitespace
2005-01-06 18:45:28 +00:00
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!
2005-01-04 21:28:09 +00:00
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.
2005-01-03 21:05:03 +00:00
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
2005-01-03 19:45:18 +00:00
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()
2005-01-02 17:23:04 +00:00
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
2004-12-31 18:57:24 +00:00
truelight
d32bfd8adb
(svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
...
readable now. 'American' is replaces by 'Additional English' (Jango)
2004-12-31 14:43:47 +00:00
truelight
c0eeb710c7
(svn r1283) -Add: AutoRenew is now a client-side patch instead of a game-side patch
...
Note: this is the first commit that breaks compatibility with 0.3.5!
-Fix: Bufferoverflow with autorenew_money. It is now a 32-bit integer.
2004-12-27 18:18:44 +00:00
dominik
1fa1a391dc
(svn r1255) Renamed "postfix" to "suffix", for strings and variable names
2004-12-23 18:28:13 +00:00
darkvater
cdcb96305f
(svn r1242) -Fix: fix some morhpos warnings (tokai)
2004-12-23 11:31:06 +00:00
dominik
38b8b7848f
(svn r1215) Feature: You can now make a custom currency by chosing "Custom..."
2004-12-22 13:19:26 +00:00
dominik
a733a469b5
(svn r1088) Strings cleanup. Renamed some strings to reflect their content.
2004-12-14 19:47:35 +00:00
dominik
8322b4b18f
(svn r1072) Fixed a few warnings that made trouble in VS .NET 2003
2004-12-13 20:12:45 +00:00
truelight
56779d8611
(svn r1062) -Fix: [Console] Compile warnigs in Get/SetPatchSettings
2004-12-13 18:32:49 +00:00
truelight
83bdec9b91
(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
...
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use
scripts/pre_dedicated.scr)
2004-12-13 17:47:21 +00:00
truelight
f89cf61691
(svn r1055) -Add: [Console] Special for dedicated servers:
...
- You can change patch settings via 'set patch <patch_name> [<value>]'
2004-12-13 16:16:28 +00:00
dominik
b747cd2fcd
(svn r999) New icons for the network interface, newgrf gui and the tiny euro
2004-12-09 23:16:52 +00:00
Celestar
945ceb06fc
(svn r979) Allow more realistically sized catchment areas
2004-12-08 15:46:13 +00:00
tron
e34d0f683b
(svn r946) Remove double patch option which crept in during merge
2004-12-04 18:27:08 +00:00
truelight
d15e7e307e
(svn r945) -Fix: [Network] Terraform callback went wrong in merge
...
-Fix: Some settings went wrong in merge
2004-12-04 18:17:52 +00:00
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
2004-12-04 17:54:56 +00:00
tron
ecf1c35849
(svn r907) Sprinkle holy ANSI water:
...
- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
2004-12-03 07:43:00 +00:00
tron
265ac67183
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
2004-12-02 22:53:07 +00:00
tron
d701668f50
(svn r853) -Feature: Implement improved vehicle loading algorithm
...
It's not FIFO loading, but does the right thing in the common case:
If a vehicle is empty and another vehicle is already loading the same cargo at this station then the vehicle waits.
This is an reworked version of [ 1072211 ] submitted by Hackykid, thanks!
2004-11-29 11:59:09 +00:00
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-25 10:47:30 +00:00
dominik
372340b731
(svn r801) - re-enabled background highlighting in Newgrf GUI
...
- minor Newgrf GUI fixes and adjustments
2004-11-24 20:08:38 +00:00
pasky
bf587e9aac
(svn r768) In the NewGRF manager, show GRF ids as 8-digit hex numbers (that's how they are supposed to look).
2004-11-22 21:48:40 +00:00
darkvater
d4b723a7c9
(svn r766) -Fix: compilation problems on windows
...
-There is nothing wrong with uses spacebars in the code; they are not a luxury item
-Please use standard rowsizes of 14px and less magic numbers (highlighted items drawn in white as all other windows do)
-TYPEDEF structs (this goes to pasky!!)
2004-11-22 20:49:42 +00:00
dominik
4e41cf9e2b
(svn r745) Added newgrf GUI (in options menu)\nThe interface currently only displays the installed grf sets, you can't (de)activate them through the gui yet
2004-11-21 22:44:13 +00:00
tron
450c669eb2
(svn r631) Merge r440, r444, r485, r630 to trunk:
...
r440
Move screenshot function declarations to new file screenshot.h
Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values
r485
Remove unused field from struct ScreenshotFormat
2004-11-15 19:25:59 +00:00
tron
872f49ae8a
(svn r538) -Feature: Windows snap at each other
...
This is inspired by [1063636].
2004-11-10 21:14:16 +00:00
truelight
12c91671bf
(svn r321) -Fix: crash when making png screenshot with odd resolution (Tron)
...
-Fix: unable to select other screenshot format in Game Option
2004-09-25 18:30:19 +00:00
darkvater
f3758d133a
(svn r312) -Fix: [926105] ctrl + d bug. Longest outstanding bug has been fixed \o/ 2004-03-30 (Tron)
...
-Fix: [1030393] some screensizes crashes OTTD. Fix in general bug that only allows resolutions which were multiple of 8 in width and height. Also use closest possible resolution in fullscreen if window size is not a valid resolution (Tron)
2004-09-23 21:14:20 +00:00
darkvater
493df26058
(svn r304) -Fix: [967096] fullscreen. New button 'Fullscreen' in 'Game Options' menu which lets you set fullscreen ingame.
2004-09-21 20:56:49 +00:00
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
2004-09-10 19:02:27 +00:00
darkvater
debb158c95
(svn r180) -Fix: some more warning fixes for C99 (Tron)
2004-09-07 23:41:09 +00:00
darkvater
56435c8775
(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)
...
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-07 21:48:09 +00:00