rubidium
|
30a390b759
|
(svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names
|
11 years ago |
rubidium
|
168fa4129d
|
(svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names
|
11 years ago |
zuu
|
c7620a1ea7
|
(svn r25788) -Feature: [Script] Game Scripts can now charge fees and give money to companies
|
11 years ago |
zuu
|
ab69c6c2a0
|
(svn r25788) -Feature: [Script] Game Scripts can now charge fees and give money to companies
|
11 years ago |
zuu
|
f0fa978c09
|
(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to rename towns
|
11 years ago |
zuu
|
67ab3108d6
|
(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to rename towns
|
11 years ago |
rubidium
|
523a555f2a
|
(svn r25487) -Fix: do not allow control codes in names of things (signs, vehicles, towns, stations, etc), so they have a known maximum fixed size and are, by definition, the same for everyone
|
11 years ago |
rubidium
|
8463335b00
|
(svn r25487) -Fix: do not allow control codes in names of things (signs, vehicles, towns, stations, etc), so they have a known maximum fixed size and are, by definition, the same for everyone
|
11 years ago |
frosch
|
eba028f3ca
|
(svn r25394) -Fix: Restrict renaming engines to the server, just like renaming towns.
|
11 years ago |
frosch
|
c73219f9e5
|
(svn r25394) -Fix: Restrict renaming engines to the server, just like renaming towns.
|
11 years ago |
zuu
|
141c08166d
|
(svn r25352) -Feature: GameScript API for selecting a story page to view
|
11 years ago |
zuu
|
33ad9774fb
|
(svn r25352) -Feature: GameScript API for selecting a story page to view
|
11 years ago |
zuu
|
65129db43c
|
(svn r25342) -Add: StoryPage data structures and GS API
|
11 years ago |
zuu
|
9aa1bf0264
|
(svn r25342) -Add: StoryPage data structures and GS API
|
11 years ago |
zuu
|
f23a61e1aa
|
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
|
11 years ago |
zuu
|
a4cddc3e08
|
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
|
11 years ago |
planetmaker
|
f00d9976f9
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
zuu
|
577ba4bb67
|
(svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor
|
12 years ago |
zuu
|
0826994821
|
(svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor
|
12 years ago |
michi_cc
|
90fa700cc7
|
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
|
12 years ago |
michi_cc
|
aa47d6c7f2
|
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
|
12 years ago |
rubidium
|
69ff8d2ccb
|
(svn r23800) -Codechange: also desync log failed commands
|
13 years ago |
rubidium
|
48717ade9c
|
(svn r23800) -Codechange: also desync log failed commands
|
13 years ago |
rubidium
|
274f446b2c
|
(svn r23783) -Cleanup: remove ancient but not needed command flag
|
13 years ago |
rubidium
|
1a0fe0e8c6
|
(svn r23783) -Cleanup: remove ancient but not needed command flag
|
13 years ago |
rubidium
|
d5eeab43b7
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
truebrain
|
59de5e9570
|
(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17
|
13 years ago |
truebrain
|
34d90da509
|
(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17
|
13 years ago |
truebrain
|
8ac2d13c79
|
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
|
13 years ago |
truebrain
|
102f811d02
|
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
|
13 years ago |
truebrain
|
ccf9b01f5d
|
(svn r23630) -Add: a Goal GUI to show your current goals
|
13 years ago |
truebrain
|
3ada3b9cc5
|
(svn r23630) -Add: a Goal GUI to show your current goals
|
13 years ago |
truebrain
|
102c7ae60e
|
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
|
13 years ago |
truebrain
|
084f4e6aac
|
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
|
13 years ago |
truebrain
|
2fc120d4d1
|
(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)
|
13 years ago |
truebrain
|
5858c53420
|
(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)
|
13 years ago |
truebrain
|
09ef12ab03
|
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
|
13 years ago |
truebrain
|
e0ffe4faf2
|
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
|
13 years ago |
truebrain
|
6961332f05
|
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
|
13 years ago |
truebrain
|
ad48ab9237
|
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
|
13 years ago |
truebrain
|
ac9324f270
|
(svn r23621) -Add: allow manipulation of signs via GameScripts
|
13 years ago |
truebrain
|
e7cd301d3c
|
(svn r23621) -Add: allow manipulation of signs via GameScripts
|
13 years ago |
truebrain
|
b00fcef81a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
13 years ago |
truebrain
|
afcf07ac8a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
13 years ago |
truebrain
|
37954d5098
|
(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)
|
13 years ago |
truebrain
|
5ff98b45c1
|
(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)
|
13 years ago |
truebrain
|
fb2f2a0285
|
(svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so
|
13 years ago |
truebrain
|
83f2785f54
|
(svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so
|
13 years ago |
truebrain
|
5394a8c220
|
(svn r23602) -Add: support for DEITY commands, commands where no real company was involved in (Rubidium)
|
13 years ago |
truebrain
|
577fe0238e
|
(svn r23602) -Add: support for DEITY commands, commands where no real company was involved in (Rubidium)
|
13 years ago |
rubidium
|
9aab2dc861
|
(svn r23474) -Codechange: move the declaration error related functions to error.h
|
13 years ago |
rubidium
|
58423b26d1
|
(svn r23474) -Codechange: move the declaration error related functions to error.h
|
13 years ago |
rubidium
|
1cd3dac854
|
(svn r23215) -Codechange: stricter type safety for CommandFlags
|
13 years ago |
rubidium
|
f600429424
|
(svn r23215) -Codechange: stricter type safety for CommandFlags
|
13 years ago |
rubidium
|
de980ef0f9
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
13 years ago |
rubidium
|
7757a2ed40
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
13 years ago |
yexo
|
77e9a482be
|
(svn r22996) -Fix: make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks can't change the result between the runs
|
13 years ago |
yexo
|
655cee276c
|
(svn r22996) -Fix: make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks can't change the result between the runs
|
13 years ago |
rubidium
|
727580274b
|
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
|
13 years ago |
rubidium
|
37415b9cf7
|
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
|
13 years ago |
frosch
|
ef5b18ab3b
|
(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
|
13 years ago |
frosch
|
2a55273291
|
(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
|
13 years ago |
rubidium
|
aed86fec3f
|
(svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail
|
14 years ago |
rubidium
|
68ace1b79b
|
(svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail
|
14 years ago |
rubidium
|
a90d7ffdee
|
(svn r22015) -Codechange: move yet another pair of methods from functions.h
|
14 years ago |
rubidium
|
3745ff7338
|
(svn r22015) -Codechange: move yet another pair of methods from functions.h
|
14 years ago |
rubidium
|
05199a641a
|
(svn r21890) -Cleanup: remove some unneeded includes
|
14 years ago |
rubidium
|
7eba2bf4d3
|
(svn r21890) -Cleanup: remove some unneeded includes
|
14 years ago |
rubidium
|
97623b6fc1
|
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
|
14 years ago |
rubidium
|
5dbd80ff3c
|
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
|
14 years ago |
rubidium
|
434abd6dea
|
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
|
14 years ago |
rubidium
|
49162ab39b
|
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
|
14 years ago |
rubidium
|
78054d7ad5
|
(svn r21427) -Add: helper function to determine whether a command may be executed
|
14 years ago |
rubidium
|
e170b1d83e
|
(svn r21427) -Add: helper function to determine whether a command may be executed
|
14 years ago |
rubidium
|
8f3607bbc7
|
(svn r21425) -Codechange: add "command types" to all commands
|
14 years ago |
rubidium
|
b3eb3b96b9
|
(svn r21425) -Codechange: add "command types" to all commands
|
14 years ago |
rubidium
|
c7066d00af
|
(svn r21358) -Codechange: make some network function names conform to coding style
|
14 years ago |
rubidium
|
b6c2216749
|
(svn r21358) -Codechange: make some network function names conform to coding style
|
14 years ago |
alberth
|
9f3845227e
|
(svn r21273) -Codechange: Return values should start at the same line.
|
14 years ago |
alberth
|
ab50f74d7f
|
(svn r21273) -Codechange: Return values should start at the same line.
|
14 years ago |
rubidium
|
db3a6485d7
|
(svn r20768) -Codechange: unify send-to-depot commands
|
14 years ago |
rubidium
|
9badab6454
|
(svn r20768) -Codechange: unify send-to-depot commands
|
14 years ago |
yexo
|
6c336d9926
|
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
|
14 years ago |
yexo
|
a9cdcb02f5
|
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
|
14 years ago |
yexo
|
0d040f03e6
|
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
|
14 years ago |
yexo
|
a45b598bfc
|
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
|
14 years ago |
rubidium
|
360d6daf34
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
27e45d96a4
|
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
|
14 years ago |
rubidium
|
926594b599
|
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
|
14 years ago |
rubidium
|
db8af95d58
|
(svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger
|
14 years ago |
rubidium
|
04d6648c5e
|
(svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger
|
14 years ago |
rubidium
|
8a9929d702
|
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
|
14 years ago |
rubidium
|
69fa0b36d3
|
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
|
14 years ago |
rubidium
|
982df3e96b
|
(svn r20536) -Codechange: unify the refitting of vehicles
|
14 years ago |
rubidium
|
c5a670037b
|
(svn r20536) -Codechange: unify the refitting of vehicles
|
14 years ago |
rubidium
|
c57a5b735a
|
(svn r20532) -Codechange: unify selling of vehicles a bit
|
14 years ago |
rubidium
|
4780cc50b2
|
(svn r20532) -Codechange: unify selling of vehicles a bit
|
14 years ago |
rubidium
|
253080ad64
|
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
|
14 years ago |
rubidium
|
c14853b72e
|
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
|
14 years ago |
rubidium
|
1f2276b785
|
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
|
14 years ago |
rubidium
|
3da3d131c6
|
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
|
14 years ago |
rubidium
|
7fe695dc28
|
(svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command
|
14 years ago |
rubidium
|
49cee72fa4
|
(svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command
|
14 years ago |
terkhen
|
ec6cba6b92
|
(svn r20323) -Codechange: Move Delete town code to a command.
|
14 years ago |
terkhen
|
7a6df202d0
|
(svn r20323) -Codechange: Move Delete town code to a command.
|
14 years ago |
terkhen
|
014771848d
|
(svn r20322) -Codechange: Move Expand town code to a command.
|
14 years ago |
terkhen
|
ca0751adb8
|
(svn r20322) -Codechange: Move Expand town code to a command.
|
14 years ago |
rubidium
|
c28f639c40
|
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
|
14 years ago |
rubidium
|
52154e097c
|
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
|
14 years ago |
frosch
|
65d058723e
|
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
|
14 years ago |
frosch
|
9e53f1e004
|
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
|
14 years ago |
rubidium
|
63865a5ed7
|
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
|
14 years ago |
rubidium
|
1a5d7b34d8
|
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
|
14 years ago |
smatz
|
d053f0dcf3
|
(svn r19663) -Fix: in rare cases, update of signals could be missed
|
14 years ago |
smatz
|
1f963aed43
|
(svn r19663) -Fix: in rare cases, update of signals could be missed
|
14 years ago |
rubidium
|
ea7aececf8
|
(svn r19602) -Codechange: add the name of the command to the desync logs
|
14 years ago |
rubidium
|
5c7aaf11ba
|
(svn r19602) -Codechange: add the name of the command to the desync logs
|
14 years ago |
rubidium
|
ff6ec70007
|
(svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too
|
14 years ago |
rubidium
|
9b7d71699d
|
(svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too
|
14 years ago |
rubidium
|
ff5dfd9c7e
|
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
|
14 years ago |
rubidium
|
d8baa1342c
|
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
|
14 years ago |
alberth
|
72d62fd6fc
|
(svn r19494) -Codechange: Remove _error_message.
|
14 years ago |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
14 years ago |
alberth
|
efddc16fc3
|
(svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message.
|
14 years ago |
alberth
|
28b0a3e335
|
(svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message.
|
14 years ago |
alberth
|
cb10444807
|
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
|
14 years ago |
alberth
|
3b367ab708
|
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
|
14 years ago |
alberth
|
19dff3a6b2
|
(svn r19414) -Doc: Several doxygen additions and corrections.
|
14 years ago |
alberth
|
777123c228
|
(svn r19414) -Doc: Several doxygen additions and corrections.
|
14 years ago |
smatz
|
5504b1105e
|
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
|
15 years ago |
smatz
|
f051066bc4
|
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
|
15 years ago |
alberth
|
9e302e5fa1
|
(svn r19130) -Codechange: Use references and inlining in CommandCost.
|
15 years ago |
alberth
|
7dcc414000
|
(svn r19130) -Codechange: Use references and inlining in CommandCost.
|
15 years ago |
alberth
|
a2af272a52
|
(svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this.
|
15 years ago |
alberth
|
e8d40d6a19
|
(svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this.
|
15 years ago |
frosch
|
6ade772f01
|
(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.
|
15 years ago |
frosch
|
5f4f562d53
|
(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.
|
15 years ago |
frosch
|
15f0fcf3c4
|
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
|
15 years ago |
frosch
|
cbbe311cea
|
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
|
15 years ago |
rubidium
|
f618acfb7d
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
15 years ago |
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
15 years ago |
rubidium
|
dc94ed8d02
|
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
|
15 years ago |
rubidium
|
351eb4665c
|
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
|
15 years ago |
rubidium
|
8343a34805
|
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
|
15 years ago |
rubidium
|
2365819312
|
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
|
15 years ago |
rubidium
|
7f1bf45c03
|
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
|
15 years ago |
rubidium
|
ebe99fd493
|
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
|
15 years ago |