Jonathan G Rennison
48e4c35fdc
Add support for verbose asserts.
...
Use for test/exec DoCommand mismatches.
9 years ago
Jonathan G Rennison
0779c7b7a9
Merge branch 'template_train_replacement-sx' into jgrpp
...
# Conflicts:
# src/build_vehicle_gui.cpp
# src/saveload/afterload.cpp
9 years ago
Jonathan G Rennison
5850bcf699
TBTR: Fix crash and issues when using a no longer available engine type.
...
Show error messages when cloning a vehicle to a template
or virtual vehicle fails.
Handle failed clones gracefully.
Bypass engine availability check when doing a template edit action.
Show correct error message if template replacement fails for
a non-money reason.
9 years ago
Jonathan G Rennison
580b2f7584
Merge branch 'template_train_replacement-sx' into jgrpp
...
Remove a duplicated declaration.
# Conflicts:
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# source.list
# src/group_gui.cpp
# src/lang/english.txt
# src/network/network_command.cpp
# src/saveload/extended_ver_sl.cpp
# src/saveload/extended_ver_sl.h
# src/saveload/saveload.cpp
# src/train_cmd.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/vehicle_gui_base.h
# src/window_type.h
9 years ago
Jonathan G Rennison
6be2efc084
Update from KeldorKatarn branch
...
This approximately corresponds to 971ba4928a5c7c7916fea55d91a3b6dd5bba140c,
excluding the different virtual train build GUI, but including the basic
changes to the original train build GUI for multiplayer to work.
Fixup
9 years ago
Jonathan G Rennison
2c9029703b
Add menu item to vehicle list to change order target.
...
Allow moving depot/station/waypoint orders to a different depot/etc.
9 years ago
Jonathan G Rennison
cd23d17745
Merge branch 'auto_timetables-sx' into jgrpp
...
Conflicts:
src/vehicle.cpp
9 years ago
Jonathan G Rennison
d2b87485fb
When clearing auto timetables, mark times as undefined rather than 0.
...
Fix unautomate timetable having reversed ctrl key behaviour,
update tooltip string with ctrl behaviour.
Minor comment/whitespace fixes.
9 years ago
Jonathan G Rennison
9bd32e76bd
Merge branch 'progsig-sx' into jgrpp
...
Conflicts:
src/command.cpp
9 years ago
Jonathan G Rennison
769b8ae096
progsig: Fix remove and clone program functions being completely broken.
...
Remove function only removed instructions from the local machine, and
was therefore not MP safe.
Clone function failed to work correctly for non-trivial cases,
and sometimes caused an array out of bounds assertion.
These are replaced by a new commandproc which does each operation
as a single action, which is therefore MP safe.
Remove an unused struct field.
9 years ago
Jonathan G Rennison
f6a8f27501
Make server and all clients run desync checks if a client desyncs.
9 years ago
Jonathan G Rennison
7ed93f9211
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
...
town_gui.cpp updated due to struct CommandContainer change.
Conflicts:
src/command.cpp
src/command_type.h
src/gfxinit.cpp
src/openttd.cpp
src/pbs.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/stdafx.h
src/train_cmd.cpp
src/viewport_type.h
src/window_type.h
9 years ago
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
9 years ago
Jonathan G Rennison
ba4e5dd62f
Merge branch 'auto_timetables-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_gui.cpp
src/vehicle.cpp
9 years ago
patch-import
80deb3c01d
Import auto timetable separation patch
...
http://www.tt-forums.net/viewtopic.php?p=1140899#p1140899
9 years ago
Jonathan G Rennison
ce34225b0e
Merge branch 'house_placing' into jgrpp
9 years ago
patch-import
19dcbb1cb9
Import Picking and placing single houses in scenario editor patch
...
Minor whitespace fixes
http://www.tt-forums.net/viewtopic.php?f=33&t=68894&view=unread#p1099696
9 years ago
Jonathan G Rennison
2bcbeea011
Merge branch 'progsig-sx' into jgrpp
...
Conflicts:
src/command.cpp
src/command_type.h
src/lang/english.txt
src/rail_cmd.cpp
src/rail_gui.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/widgets/rail_widget.h
src/window_type.h
9 years ago
patch-import
fc0efe599e
Port of the programmable signals patch to recent trunk
...
Also add some additional changes from the SpringPP patch,
and make some other minor changes/fixes.
9 years ago
Jonathan G Rennison
5f1b148cf9
Initial minimal working tracerestrict implementation.
...
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
9 years ago
alberth
44d2f6a988
(svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo).
10 years ago
alberth
f72ad87540
(svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo).
10 years ago
frosch
592cf107d1
(svn r26716) -Fix: CMD_CLEAR_ORDER_BACKUP should not be suppressed by pause modes.
10 years ago
frosch
b996c24387
(svn r26716) -Fix: CMD_CLEAR_ORDER_BACKUP should not be suppressed by pause modes.
10 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
peter1138
ed8f6f1a0f
(svn r26450) -Feature: Hierarchical vehicle subgroups.
11 years ago
peter1138
567d0ff3a7
(svn r26450) -Feature: Hierarchical vehicle subgroups.
11 years ago
frosch
8771a19768
(svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared pending persistent storage changes.
11 years ago
frosch
a32d18cbb9
(svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared pending persistent storage changes.
11 years ago
zuu
6a571811c7
(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate
11 years ago
zuu
1dbd59e6ab
(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate
11 years ago
zuu
82173b7dbc
(svn r26299) -Fix: [nogo] CmdRemoveStoryPage does not use the string parameter
11 years ago
zuu
425197a19c
(svn r26299) -Fix: [nogo] CmdRemoveStoryPage does not use the string parameter
11 years ago
frosch
7b238142b8
(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack.
11 years ago
frosch
ba1779b978
(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack.
11 years ago
frosch
35ecb9db3f
(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray
11 years ago
frosch
eca86d1baf
(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray
11 years ago
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.
12 years ago
zuu
a4cddc3e08
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
12 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)
13 years ago
michi_cc
aa47d6c7f2
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
13 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