Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-04 | (svn r17693) -Cleanup: remove some unneeded includes | rubidium | |
2009-09-22 | (svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵ | frosch | |
0x36. Based on Terkhen's work. | |||
2009-09-18 | (svn r17567) -Fix: some doxygen warnings | rubidium | |
2009-09-14 | (svn r17534) -Codechange: unify the naming of callback masks/flags | rubidium | |
2009-09-13 | (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵ | frosch | |
for more consistency and distinguishability. | |||
2009-08-30 | (svn r17327) -Codechange: Allow external use of GetEngineCategoryName(). | alberth | |
2009-08-27 | (svn r17296) -Fix/feature [FS#3152]: allow rail wagons to be build when only ↵ | rubidium | |
el rail engines are available | |||
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-08-17 | (svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo ↵ | frosch | |
to EngineInfo. | |||
2009-08-05 | (svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵ | rubidium | |
relatives | |||
2009-08-04 | (svn r17062) -Change: unify the naming of some 125 strings | rubidium | |
2009-07-23 | (svn r16929) -Change: There is no point in not randomising engine ↵ | frosch | |
introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine. | |||
2009-07-22 | (svn r16921) -Codechange: make it more clear what strings are related to ↵ | rubidium | |
road vehicles; only ROAD isn't always enough. Also unify the way of writing it. | |||
2009-07-13 | (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft | smatz | |
2009-07-13 | (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle | smatz | |
2009-06-24 | (svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵ | yexo | |
prevent unnecessary inclusion newgrf.h anyway | |||
2009-06-17 | (svn r16586) -Codechange: don't store lifelength in the savegame; it can ↵ | rubidium | |
easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect. | |||
2009-06-16 | (svn r16581) -Codechange: unify the access to Engine::lifelength. | rubidium | |
2009-06-16 | (svn r16580) -Codechange: rename Engine::image_index to original_image_index ↵ | rubidium | |
to not confuse it with image_index from *VehInfo. | |||
2009-06-01 | (svn r16491) -Codechange: Added parentheses around bitwise operators for ↵ | alberth | |
code style. | |||
2009-05-24 | (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵ | frosch | |
vehicles/stations/industries are deleted. | |||
2009-05-22 | (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵ | smatz | |
time, binary size and run time (with asserts disabled) should be improved | |||
2009-05-18 | (svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too | smatz | |
2009-05-16 | (svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵ | smatz | |
PoolItem::GetPoolSize() | |||
2009-05-16 | (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) | smatz | |
2009-04-21 | (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵ | rubidium | |
this ID' from 'some' strings and replace the string name with something more sensible. | |||
2009-03-18 | (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and ↵ | frosch | |
use it everywhere, so CB 36 is also used everywhere. | |||
2009-03-14 | (svn r15711) -Codechange: lots of whitespace cleanup/fixes | rubidium | |
2009-03-08 | (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give ↵ | frosch | |
the term 'compatible newgrf' again some sense and to not crash because of trivial changes. | |||
2009-02-27 | (svn r15592) -Fix: Refit-info in purchase list did only check the first ↵ | frosch | |
articulated part. | |||
2009-02-21 | (svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, ↵ | frosch | |
which cannot accept CT_INVALID. -Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them. -Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection. -Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'. Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects. Note: It is intentional that you cannot control refittability by CB 36. | |||
2009-02-19 | (svn r15521) -Codechange: add helper function to get the display tractive ↵ | rubidium | |
effort of a vehicle. | |||
2009-02-09 | (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. | rubidium | |
2009-02-08 | (svn r15412) -Fix: Clearing custom engine names could cause desyncs due to ↵ | peter1138 | |
be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented. | |||
2009-02-01 | (svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. | frosch | |
2009-02-01 | (svn r15306) -Codechange: Deduplicate code by adding ↵ | frosch | |
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) | |||
2009-01-31 | (svn r15299) -Cleanup: remove many redundant includes | smatz | |
2009-01-25 | (svn r15263) -Codechange: added Engine::GetCost() to remove some code ↵ | glx | |
duplication. | |||
2009-01-24 | (svn r15261) -Add: added Engine::GetRunningCost() to remove some code ↵ | glx | |
duplication. Also stops AIs decrementing vehicle counter of first company | |||
2009-01-23 | (svn r15216) -Feature: native support for Transport Tycoon (Original) ↵ | smatz | |
savegames. Based on SVXConverter's source code and documentation by Roman Vetter | |||
2009-01-13 | (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR | smatz | |
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore | |||
2009-01-12 | (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵ | truebrain | |
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 | |||
2009-01-10 | (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare ↵ | smatz | |
only with manually set names There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user). | |||
2009-01-08 | (svn r14926) -Feature: Automatically set last engine ageing year to the last ↵ | peter1138 | |
'introduction year plus half model life', to allow engines later than 2050 to appear. | |||
2009-01-04 | (svn r14828) -Codechange: move most of save/load-specific code to separate files | smatz | |
2008-12-28 | (svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵ | rubidium | |
(optional) parameter. | |||
2008-12-24 | (svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵ | rubidium | |
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste. | |||
2008-12-23 | (svn r14732) -Codechange: replace some magic number with less magic ↵ | rubidium | |
constants and use the proper type for a few variables. | |||
2008-12-16 | (svn r14683) -Change: only say a engine/vehicle is refittable when it can be ↵ | rubidium | |
refitted to at least two cargo type or when it has subcargos. NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain. | |||
2008-12-16 | (svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for ↵ | frosch | |
wagons. Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates) Savegames will only be affected after 'resetengines'. |