summaryrefslogtreecommitdiff
path: root/src/players.cpp
AgeCommit message (Collapse)Author
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-18(svn r13730) -Fix: make a copy of the names for news messages about the ↵rubidium
deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years ↵rubidium
(i.e. 4.5+ hours) after a company was started.
2008-07-17(svn r13717) -Codechange: place the whole 'create new company' command in ↵rubidium
#ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
2008-06-23(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.rubidium
2008-06-19(svn r13572) -Fix: MSVC x64 complains.rubidium
2008-06-15(svn r13522) -Codechange: Replace the qsort of the highscore with one of the ↵skidd13
internal sorters
2008-06-15(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for ↵skidd13
CompanyLeagueWindow
2008-06-13(svn r13505) -Fix: clear the memory for the new AI during the loading of a ↵rubidium
savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-16(svn r13123) -Codechange: passing the bankrupt type via data_b is not needed ↵rubidium
anymore. Patch by Cirdan.
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-13(svn r13065) -Codechange: remove the need for the news string callbacks. ↵rubidium
Patch by Cirdan.
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
2008-05-06(svn r12974) -Codechange: check whether loading/saving highscores goes as it ↵rubidium
should be.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-27(svn r12913) -Add: ability to backup and restore a player's economic data ↵bjarni
and data for a vehicle (or chain of vehicles) Autoreplace uses this with the following benefits: -Mass autoreplace (the button in the depot window) will now estimate costs correctly -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains) Thanks to Ammler for testing this
2008-04-26(svn r12906) -Fix: vehicle groups, engine replacement rules and ↵smatz
player/company names were not properly reset/freed after bankrupt (before new player start)
2008-04-24(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better ↵rubidium
understandable.
2008-04-21(svn r12816) -Fix: the cargo count in the performance rating window could be ↵rubidium
wrong.
2008-04-20(svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace()glx
2008-04-20(svn r12808) -Fix: enforce autorenew values range in commandglx
-Fix: typo in english.txt
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-01-16(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get ↵rubidium
the livery colour of the engine instead of their wagon type.
2008-01-13(svn r11840) -Codechange: split network.h so not everything in there needs ↵rubidium
to be included when wanting to know whether we are a server.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-11(svn r11811) -Fix: make compilation without networking work again (and thus ↵rubidium
move the debugdumpcommand stuff out of the network 'area').
2008-01-10(svn r11806) -Fix (r11793) [FS#1638]: sign inversion when updating income ↵glx
and expenses
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11792) -Codechange: move some (virtually) globally included AI related ↵rubidium
structs to a place where they are only included a few times.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-07(svn r11771) -Codechange: split settings.h into better separated headers.rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-28(svn r11717) -Fix [FS#1590]: make sure invalid players have all shares owned ↵smatz
by PLAYER_SPECTATOR
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.