summaryrefslogtreecommitdiff
path: root/src/misc_cmd.cpp
AgeCommit message (Collapse)Author
2008-09-15(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, ↵smatz
president and company renaming commands, too
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15(svn r14328) -Fix (r11822): when a company was renamed and then manager was ↵smatz
renamed before building anything, company name changed
2008-08-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
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 r13712) -Fix: enforce the length restrictions of company and president ↵rubidium
name in the commands too.
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-26(svn r13256) -Codechange: merge the OPTS and PATS chuncks.rubidium
-Codechange: split the diff_custom variable. -Feature: allow changing some of the diff_custom variables via the console in network 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-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
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
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-04(svn r12565) -Cleanup: variable scope in misc\*.cppsmatz
2008-03-22(svn r12389) -Codechange: remove unneeded code from the Cheat window ↵rubidium
handling and bring it in line with the coding guidelines.
2008-03-04(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable ↵peter1138
when the variable can just be unsigned...
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
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-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-12(svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer ↵skidd13
saves
2007-12-04(svn r11573) -Codechange: pause games that miss GRFs by default and throw ↵rubidium
some warnings and disclaimers when you want to unpause it.
2007-10-28(svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) ↵glx
instead calling it every time the vehicle is drawn
2007-10-16(svn r11279) -Codechange: use a typedeffed type for all magic with ↵rubidium
GameDifficulty instead on relying ints to always be 32 bits, which they are not.
2007-09-30(svn r11188) -Codechange: rewrite of the town action related code (remove ↵rubidium
some of the magic). -Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-06-28(svn r10380) -Fix (r10364): when checking for unique names, only check ↵peter1138
vehicles that can have names, and skip inactive players.
2007-06-27(svn r10364) -Fix [FS#706]: checking for duplicate custom names was ↵peter1138
inconsistent, and tested all 'namespaces'. now only check names of the same type.
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵rubidium
place money in some string.
2007-06-19(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.rubidium
2007-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-18(svn r10207) -Codechange: remove the redundant player_money in favour of the ↵rubidium
money64, which is now renamed to player_money.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-14(svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the ↵rubidium
loan commands a little better readable.
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)