Age | Commit message (Collapse) | Author |
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
for a new company instead of zeroing them.
|
|
with calls to CmdChangeCompanySetting
|
|
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.
|
|
vehicles/stations/industries are deleted.
|
|
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
_local_company, but only as a storage location for the company you want to join in MP.
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
companies to the default values, not to 0 or the local settings
|
|
CompanySettings struct
|
|
new company in multiplayer
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
|
|
|
|
appropriate headers.
|
|
|
|
color and colour.
|
|
add a bit of type strictness.
|
|
except where it's used for backward compatability.
|
|
changing company.
|
|
|
|
are too many companies
|
|
|
|
|
|
manager name
|
|
|
|
the server and the clients themselves (dihedral)
|
|
|
|
|
|
'start_date' set to the AI slot (Yexo)
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
|
|
an AI should start next
|
|
used (tnx to SmatZ for pointing that out)
|
|
|
|
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
|
|
|
|
|
|
without HQ
|
|
|
|
(optional) parameter.
|
|
(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.
|
|
expected.
|
|
|
|
amount of slots in the array, but one less as a dedicated server takes a slot too.
|
|
#include dependencies.
|