smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
fa1ad0fd3c
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
rubidium
bfe20321e7
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
15 years ago
smatz
4419366f94
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
16 years ago
frosch
83f8d52a67
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
16 years ago
smatz
3eb8f643fb
(svn r16554) -Fix (r16433): compilation with disabled network was broken
16 years ago
smatz
de25de7a60
(svn r16494) -Codechange: cache train's speed limit caused by curves
16 years ago
yexo
b16c9ae6ef
(svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed
16 years ago
yexo
d982ec81df
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
16 years ago
smatz
5a463c8347
(svn r16442) -Codechange: use new Vehicle accessors at more places
16 years ago
smatz
7ee882d03f
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
16 years ago
yexo
0d56cfabfa
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
16 years ago
rubidium
e3c5bc8d2e
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
16 years ago
yexo
2a5a8f395c
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
yexo
a10e5f707a
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
16 years ago
rubidium
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
smatz
570af0ce44
(svn r16338) -Codechange: split loading of references to two phases
...
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
frosch
3301afa5c3
(svn r16161) -Fix (r16128): AILoadConfig() could not handle NULL settings.
16 years ago
rubidium
7d76836fcb
(svn r16132) -Fix (r7232/r16129): crash when saving games; r7232 is the cause of the problem, r16129 just causes it to be triggered.
16 years ago
rubidium
208234a7a0
(svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg.
16 years ago
rubidium
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
rubidium
930bc73e7a
(svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups.
16 years ago
rubidium
7d3db3ee91
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
16 years ago
rubidium
89d0eca6b7
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
16 years ago
yexo
0f7b9af9fa
(svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :)
16 years ago
rubidium
ee4a660b0c
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
16 years ago
yexo
5933a07a86
(svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values.
16 years ago
yexo
ce4744e1d6
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
belugas
f6e4bc765a
(svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
...
Some warnings:
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
glx
308dbcf822
(svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed)
16 years ago
frosch
aa7a19fd49
(svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager.
16 years ago
rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
yexo
a78724e824
(svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes.
16 years ago
yexo
c3c549f731
(svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when changing the amount of towns/industries from the newgame gui.
16 years ago
smatz
42747e222c
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
16 years ago
smatz
b9b14bd803
(svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them
16 years ago
smatz
2f767e77e8
(svn r15499) -Fix (r15340): the default town layout was changed
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
05792c46a3
(svn r15429) -Change: do r15428 also for the string names.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
peter1138
db54537369
(svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values.
16 years ago
peter1138
cd84ffb036
(svn r15385) -Fix: Saving of char* to configuration file did not work due to incorrect parameter order and no handling of NULL.
16 years ago
rubidium
eb533138bc
(svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders)
16 years ago
rubidium
0cf08d32c7
(svn r15362) -Change: make a string name more consistent.
16 years ago
smatz
832e392855
(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
09fca459a7
(svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command.
16 years ago
smatz
496b541cb1
(svn r15334) -Codechange: reset setting to old value when the callback procedure returns false
16 years ago
peter1138
6899955b0c
(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
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
Yexo
757b11325b
(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
3d404c2927
(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
08670da54a
(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
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
rubidium
196085eb0f
(svn r15164) -Fix: don't list patches/settings with list_patches that are not valid anymore
16 years ago
Yexo
8fabd3982d
(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
7d70f0cd14
(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
a3dd7506d3
(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
eb6dc2b8ae
(svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus)
16 years ago
rubidium
99337bf4a1
(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
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
c08f520acf
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
16 years ago
rubidium
b26cee21f6
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
16 years ago
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
16 years ago
peter1138
020dbb180a
(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
6b6fd36050
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
16 years ago
frosch
cf1e926e37
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
16 years ago
rubidium
84dee1e738
(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
13f06c812d
(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
67bf6a0998
(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
c9e8fd307e
(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai)
16 years ago
rubidium
2a47aaf4a8
(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
35f5783c62
(svn r14792) -Feature: make the date format for default savegame/screenshot names configurable
16 years ago
rubidium
1357b0a4c2
(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
31d496342f
(svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type.
16 years ago
rubidium
683b65ee18
(svn r14755) -Codechange: remove ending year as it can't be changed anyways.
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
c3746a55bb
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
16 years ago
rubidium
94dd23aaf8
(svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer.
16 years ago
rubidium
bc8984a9bb
(svn r14727) -Codechange: replace some magic numbers with a constant.
16 years ago
rubidium
79e20448f8
(svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle.
16 years ago
rubidium
0d254e8914
(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
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
3b798599b6
(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
c20c3be91d
(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
9431bf1c29
(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
95ba19ee69
(svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore.
16 years ago
rubidium
c3a9653c89
(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
7c002c14cc
(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.
16 years ago
smatz
c9bef19043
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
16 years ago
rubidium
621a9b647a
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
16 years ago
rubidium
411c65e755
(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
ae32d158cb
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
16 years ago
rubidium
fe87fa8205
(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
72c154fd0f
(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