Commit Graph

263 Commits (3bcc0dacf809ae601f514116644f4dcb4b311987)

Author SHA1 Message Date
rubidium b02cbf8844 (svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders) 16 years ago
rubidium af44ded566 (svn r15362) -Change: make a string name more consistent. 16 years ago
smatz 3a8d57816a (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
rubidium ce1fcfd8c0 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 16 years ago
smatz e3216e4b4b (svn r15334) -Codechange: reset setting to old value when the callback procedure returns false 16 years ago
peter1138 b3f3df76e8 (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 2722cabcce (svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral) 16 years ago
Yexo 2ce1c074b9 (svn r15239) -Fix [FS#2579]: The start date of random AIs was not stored in the config file or the savegame. 16 years ago
peter1138 598fdab47e (svn r15236) -Codechange: Rename realistic_acceleration patch option to train_acceleration_model, and change from boolean to value. Don't forget to update your settings. 16 years ago
Yexo bd08be44ea (svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose which edges will be water to 4 pushbuttons (based on patch by planetmaker). 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
rubidium 07ed9999d2 (svn r15164) -Fix: don't list patches/settings with list_patches that are not valid anymore 16 years ago
Yexo e84ff99a8b (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 16 years ago
peter1138 c4c32692df (svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank. 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
frosch 9d659c306d (svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus) 16 years ago
rubidium 88e3815176 (svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages. 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 054787f082 (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 16 years ago
rubidium f902e3097d (svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling 16 years ago
rubidium 7a5798695d (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
peter1138 8591ff41cc (svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section. 16 years ago
peter1138 553d65f584 (svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters. 16 years ago
frosch eb6df17b1a (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 16 years ago
rubidium 567b262901 (svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
16 years ago
michi_cc b201fb1226 (svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255. 16 years ago
smatz ec7ebf2170 (svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium e62e12e7f5 (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) 16 years ago
rubidium a41e60d255 (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) 16 years ago
rubidium 4c1c6cd8e8 (svn r14792) -Feature: make the date format for default savegame/screenshot names configurable 16 years ago
rubidium d3144b6f04 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 16 years ago
rubidium 5aa2dac751 (svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type. 16 years ago
rubidium ef20d229ab (svn r14755) -Codechange: remove ending year as it can't be changed anyways. 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium e6ff168508 (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. 16 years ago
rubidium 258ebb8173 (svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer. 16 years ago
rubidium 4ce0e8ccce (svn r14727) -Codechange: replace some magic numbers with a constant. 16 years ago
rubidium 593f034c07 (svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle. 16 years ago
rubidium 0d2f84e117 (svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
frosch 40018be915 (svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'. 16 years ago
smatz 36937525c4 (svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
(based on a patch by kakaopor)
16 years ago
frosch c229e15b91 (svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore. 16 years ago
rubidium 915a09e4c6 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
16 years ago
rubidium 509b77371f (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 16 years ago
smatz 1294253d68 (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing' 16 years ago
rubidium 4548c5a26b (svn r14167) -Fix: items in some ini-groups got duplicated on save. 16 years ago
rubidium d7bfd54a3d (svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
-Fix: wrong insertion management causing leaks.
16 years ago
rubidium 7ceb1252a2 (svn r14153) -Codechange: split ini file reading/saving from settings.cpp. 16 years ago
rubidium 083fbf9a96 (svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold. 16 years ago
rubidium 6199dc987b (svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages. 16 years ago
glx 9fa2cbd93e (svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands 16 years ago
rubidium e62a150293 (svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) 16 years ago
rubidium 2e2a6d4909 (svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc) 16 years ago
rubidium c05c10ae71 (svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) 16 years ago
rubidium 22b787791f (svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc) 16 years ago
rubidium 968a0e907c (svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc) 16 years ago
rubidium 27cfb68d93 (svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc) 16 years ago
rubidium b29f290816 (svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) 16 years ago
rubidium bef1770590 (svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc) 16 years ago
belugas 7e4b1e2d84 (svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own 16 years ago
smatz f1c0555d2e (svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that 16 years ago
peter1138 2466b7f01e (svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file. 16 years ago
rubidium bd0e52011d (svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas. 16 years ago
smatz e00df941fa (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 16 years ago
rubidium e8767f730a (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 16 years ago
smatz 1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 16 years ago
rubidium 994779e9e2 (svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
16 years ago
rubidium 678f2baf76 (svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting. 16 years ago
rubidium bae02e8c67 (svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers. 16 years ago
rubidium 8cc39500ba (svn r13341) -Codechange: make most of the network settings configurable via the patch command. 16 years ago
rubidium 2bcc9d4d49 (svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings. 16 years ago
rubidium 02dbab8721 (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 16 years ago
rubidium 0a78ad46fa (svn r13332) -Fix (r13325): network games got somewhat broken. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium d3d0432314 (svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
16 years ago
rubidium f740702f90 (svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game. 16 years ago
rubidium 290b3bd3cc (svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window. 16 years ago
rubidium 690c83edba (svn r13258) -Codechange: add support for using (most) of the old patch names in the console. 16 years ago
rubidium c4c440cc20 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium c5e38037f0 (svn r13247) -Codechange: small amount of coding style for settings.cpp. 16 years ago
rubidium ce821b1ada (svn r13242) -Codechange: remove _opt_ptr. 16 years ago
rubidium 080af12d8b (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 16 years ago
rubidium bf3b61cfa3 (svn r13228) -Codechange: split console.h. 16 years ago
belugas 08671d2e78 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
16 years ago
glx eb70da38d0 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 16 years ago
belugas 914e51546d (svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly 16 years ago
smatz b4968c6bea (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 years ago
glx f492567f66 (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 16 years ago
glx a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
smatz 89a8dc8cf7 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 years ago
peter1138 45034bc522 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. 16 years ago
rubidium 650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago