[wesnoth-commits] [wesnoth/wesnoth] e752a1: fix [do_command]
GitHub
noreply at github.com
Fri Mar 16 12:48:24 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: e752a172d1b915808f714fd3ec73bb233cb9c1de
https://github.com/wesnoth/wesnoth/commit/e752a172d1b915808f714fd3ec73bb233cb9c1de
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2018-03-16 (Fri, 16 Mar 2018)
Changed paths:
M src/game_events/action_wml.cpp
Log Message:
-----------
fix [do_command]
Commit: fef953a48e258e5b07ff4559eeff5571103d58c1
https://github.com/wesnoth/wesnoth/commit/fef953a48e258e5b07ff4559eeff5571103d58c1
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2018-03-16 (Fri, 16 Mar 2018)
Changed paths:
M data/_main.cfg
M data/ai/micro_ais/cas/ca_forest_animals_move.lua
M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
A data/ai/utils/custom_command.cfg
M data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua
M data/campaigns/Son_Of_The_Black_Eye/scenarios/06_Black_Flag.cfg
M data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
M data/core/_main.cfg
A data/lua/custom_command.lua
M src/ai/actions.cpp
M src/ai/lua/core.cpp
M src/game_events/action_wml.cpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
M src/synced_commands.cpp
Log Message:
-----------
remove ai.synced_command
fixes #1649 . ai.synced_command could easily be used to implement all types of
undeteced cheats so it was removed. As a replacement this commit adds a
[custom_command] synced command that just calls
wesnoth.game_events.on_synced_command which calls a lua handler that
must first be set.
Commit: 10a3ef1dac2bb485ecb0d0a80d45334bc34d3103
https://github.com/wesnoth/wesnoth/commit/10a3ef1dac2bb485ecb0d0a80d45334bc34d3103
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2018-03-16 (Fri, 16 Mar 2018)
Changed paths:
M data/_main.cfg
M data/ai/micro_ais/cas/ca_forest_animals_move.lua
M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
A data/ai/utils/custom_command.cfg
M data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua
M data/campaigns/Son_Of_The_Black_Eye/scenarios/06_Black_Flag.cfg
M data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
M data/core/_main.cfg
A data/lua/custom_command.lua
M src/ai/actions.cpp
M src/ai/lua/core.cpp
M src/game_events/action_wml.cpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
M src/synced_commands.cpp
Log Message:
-----------
Merge pull request #2663 from gfgtdf/no_syncedcommand
No synced command
Compare: https://github.com/wesnoth/wesnoth/compare/85f98fc4d40a...10a3ef1dac2b
More information about the Commits
mailing list