Commit Graph

221 Commits (f5e3a27f6e0eed1779cbad9483ac3e76560facd9)

Author SHA1 Message Date
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
rubidium 537a8b8342 (svn r14999) -Change [FS#2523]: move service at helipad to the servicing options 16 years ago
rubidium 3a7c62022d (svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered 16 years ago
rubidium bf744ec651 (svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window 16 years ago
rubidium 6ef631d590 (svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth) 16 years ago
rubidium ffa31d118d (svn r14973) -Codechange: recursively fold subpages (Alberth) 16 years ago
rubidium 0120505763 (svn r14970) -Change: move all (patch) settings to a single "page" (Alberth) 16 years ago
rubidium 7642fd7b34 (svn r14969) -Codechange: make drawing trees possible (Alberth) 16 years ago
rubidium 097fddc454 (svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth) 16 years ago
rubidium 5b6489e2d3 (svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth) 16 years ago
rubidium 75a776770b (svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth) 16 years ago
rubidium b467902e65 (svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth) 16 years ago
rubidium 58c5b6106e (svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth) 16 years ago
rubidium c91930e94c (svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages 16 years ago
rubidium bc8d1d7b0d (svn r14961) -Update: remove the string from r14960 from the other languages too. 16 years ago
rubidium a54e957416 (svn r14960) -Codechange: add some this where appropriate (Alberth) 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
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
rubidium ac0e2e6d5a (svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value. 16 years ago
smatz 65a40146f2 (svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated 16 years ago
rubidium e62e12e7f5 (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) 16 years ago
glx 06519a56f2 (svn r14816) -Fix: signed/unsigned warnings (MSVC) 16 years ago
smatz 7869c4ba66 (svn r14815) -Codechange: separate 'highscore' code from 'company' code 16 years ago
rubidium f08fe262af (svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth) 16 years ago
rubidium 8150319cb2 (svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth) 16 years ago
rubidium 74f403b408 (svn r14798) -Codechange: move variable declaration to first use of variable (Alberth) 16 years ago
rubidium 82087f04ec (svn r14797) -Codechange: replace even more magic numbers with constants (Alberth) 16 years ago
rubidium a8f73dbb84 (svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth) 16 years ago
rubidium 183990de30 (svn r14795) -Codechange: replace a magic number with a constant (Alberth) 16 years ago
rubidium 1bc6b7a7a5 (svn r14794) -Document: a few functions/variables (Alberth) 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 1ce8df9dac (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 16 years ago
peter1138 150fd2a49f (svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick) 16 years ago
skidd13 9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
rubidium dc3ce6bbe7 (svn r14462) -Codechange: replace magic number with already existing constant (Albert) 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
rubidium f49d5057ee (svn r14390) -Codechange: replace magic constants with symbolic constants. 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
peter1138 2c92a979ad (svn r14018) -Fix (r14017): Typos prevented compilation. 16 years ago
belugas f4997d8866 (svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button 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 1648da0e47 (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
rubidium 5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
frosch cfdc710104 (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 16 years ago
smatz 40d5242f91 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
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
rubidium d36ff6af5a (svn r13335) -Fix: remove rogue (debugging) printf. 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 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 ce821b1ada (svn r13242) -Codechange: remove _opt_ptr. 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
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 78eb7d66b1 (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 16 years ago
rubidium 6891469e87 (svn r13158) -Codechange: make a class of the GameOptionsWindow. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 045aaae1c7 (svn r13112) -Codechange: make classes of the patches and custom currency windows. 16 years ago
glx 7096f20ec5 (svn r13097) -Codechange: make a class of the GameDifficultyWindow. 16 years ago
rubidium 2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
rubidium 0f7d925121 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 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
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
belugas 24bfbc9472 (svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values. 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 ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
rubidium e61dcab79d (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
rubidium df1d9bd880 (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
peter1138 015cf7e6a2 (svn r12293) -Feature: Ability to change aircraft speed factor, from so
called 'realistic' (matching other vehicles) (1/1) to original TTD 
speed (1/4). Note this option defaults to original TTD speed.
17 years ago
peter1138 c05df5b051 (svn r12175) -Fix (r12174): Ensure the patches window is centred properly. 17 years ago
peter1138 d85484c637 (svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists. 17 years ago
smatz a3e3cd7d46 (svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick) 17 years ago
glx ec6a1776f3 (svn r12087) -Fix: MSVC warnings 17 years ago
glx dbab177422 (svn r12080) -Fix: update waypoint signs when changing language 17 years ago
maedhros f95fb570ad (svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs. 17 years ago
skidd13 99325b0553 (svn r11978) -Codechange: Replace some global variables with window owned ones 17 years ago
peter1138 3f11c27958 (svn r11902) -Codechange: use new dropdown widget for game options window 17 years ago
glx 4e847a9c52 (svn r11888) -Codechange: simplify sorting of the strings in town names dropdown 17 years ago
glx 2ad9edda91 (svn r11886) -Add: sort the strings in languages dropdown 17 years ago
peter1138 b4ed1609bf (svn r11884) -Cleanup: leftover use of widget numbers instead of enum 17 years ago
peter1138 1fa2285327 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium b09d957f31 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
rubidium 71d4004a85 (svn r11776) -Codechange: more header splittings to reduce the dependencies. 17 years ago
rubidium 2469bca24c (svn r11771) -Codechange: split settings.h into better separated headers. 17 years ago
belugas bd9741e086 (svn r11754) -Fix(r11753): One too much command separator (;). Thanks glx for spotting 17 years ago