This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum FONT_STYLE { | |
STYLE_NORMAL = 0, | |
STYLE_BOLD = 1, | |
STYLE_ITALIC = 2, | |
STYLE_UNDERLINE = 4 | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jyrki@siductionbox:~$ ls -dl /media | |
drwxr-xr-x 2 root root 4096 Nov 23 2014 /media | |
jyrki@siductionbox:~$ ls -dl /disks | |
drwxr-xr-x 4 root root 4096 Oct 21 2015 /disks | |
jyrki@siductionbox:~$ ls -l /media | |
total 0 | |
jyrki@siductionbox:~$ ls -l /disks | |
total 36 | |
drwxr-xr-x 1 root root 20480 Oct 12 16:26 disk1part3 | |
drwxrwxrwx 22 root root 16384 Jan 1 1970 disk1part5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wesnoth.exe!gui2::tscrollbar_container::scrollbar_moved() Line 1123 C++ | |
wesnoth.exe!gui2::tscrollbar_container::show_content_rect({...}) Line 923 C++ | |
wesnoth.exe!gui2::tlistbox::place({...}, {...}) Line 335 C++ | |
wesnoth.exe!gui2::tscrollbar_container::content_resize_request(false) Line 612 C++ | |
wesnoth.exe!gui2::tlistbox::set_row_shown({...}) Line 202 C++ | |
> wesnoth.exe!gui2::tlobby_main::update_gamelist_diff() Line 422 C++ | |
wesnoth.exe!gui2::tlobby_main::network_handler() Line 876 C++ | |
wesnoth.exe!std::_Pmf_wrap<void (__thiscall gui2::tlobby_main::*)(void),void,gui2::tlobby_main>::operator()(0x004fe728) Line 1231 C++ | |
wesnoth.exe!std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall gui2::tlobby_main::*)(void),void,gui2::tlobby_main>,gui2::tlobby_main * const>::_Do_call<unsigned int,0>({...}, {...}) Line 1150 C++ | |
wesnoth.exe!std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall gui2::tlobby_main::*)(void),void,gui2::tlobby_main>,gui2::tlobby_main * const>::operator()<unsigned int>(40) Line 1138 C++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool leave_game, update_ui; | |
std::tie(leave_game, update_ui) = connect_engine_.process_network_data(data); | |
if (leave_game) { | |
// ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20160902 22:21:42 debug engine: scenario ended, result victory | |
20160902 22:21:42 debug engine: mp_info_ == 03B6B14C | |
20160902 22:21:42 debug engine: mp_info_->is_host == 0 | |
20160902 22:21:42 debug mp/main: download_level_data() | |
20160902 22:21:42 debug mp/main: download_level_data() success. | |
20160902 22:21:42 debug mp/main: *** side 0*** | |
allow_changes = yes | |
allow_player = yes | |
chose_random = yes | |
color = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
void tmp_create_game::update_options_data_map(T* widget, const std::string game_id) | |
{ | |
options_data_[game_id][widget->id()] = widget->get_value(); | |
} | |
template<> | |
void tmp_create_game::update_options_data_map(ttoggle_button* widget, const std::string game_id) | |
{ | |
options_data_[game_id][widget->id()] = widget->get_value_bool(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a470ae39a62c58568d64ac87035ed87acd165d53 Mon Sep 17 00:00:00 2001 | |
From: Jyrki Vesterinen <[email protected]> | |
Date: Sun, 24 Jul 2016 08:03:22 +0300 | |
Subject: [PATCH] Remove two uses of boost::bind() | |
--- | |
src/gui/dialogs/multiplayer/mp_create_game.cpp | 4 ++-- | |
src/hotkey/command_executor.cpp | 6 +++++- | |
2 files changed, 7 insertions(+), 3 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2>i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(51): error C2039: 'type' : is not a member of 'boost::iterators::detail::ia_dflt_help<Reference,boost::result_of<const UnaryFunc (const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)>>' | |
2> with | |
2> [ | |
2> Reference=boost::iterators::use_default | |
2> , UnaryFunc=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int> | |
2> ] (..\..\src\tod_manager.cpp) | |
2> i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(76) : see reference to class template instantiation 'boost::iterators::detail::transform_iterator_base<UnaryFunc,Iterator,Reference,Value>' being compiled | |
2> with | |
2> [ | |
2> UnaryFunc=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msvcp120d.dll!std::_Debug_message(0x0331fd38, 0x0331efb8, 230) Line 15 C++ | |
wesnoth.exe!std::_List_const_iterator<std::_List_val<std::_List_simple_types<events::sdl_handler *> > >::operator++() Line 230 C++ | |
wesnoth.exe!std::_List_iterator<std::_List_val<std::_List_simple_types<events::sdl_handler *> > >::operator++() Line 374 C++ | |
> wesnoth.exe!events::context::~context() Line 136 C++ | |
wesnoth.exe!events::context::`scalar deleting destructor'() C++ | |
wesnoth.exe!std::allocator<events::context>::destroy<events::context>(0x069a96b8) Line 608 C++ | |
wesnoth.exe!std::allocator_traits<std::allocator<events::context> >::destroy<events::context>({...}, 0x069a96b8) Line 731 C++ | |
wesnoth.exe!std::_Wrap_alloc<std::allocator<events::context> >::destroy<events::context>(0x069a96b8) Line 879 C++ | |
wesnoth.exe!std::deque<events::context,std::allocator<events::context> >::pop_back() Line 1482 C++ | |
wesnoth.exe!events::event_context::~event_context() Line 178 C++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const char* TABLE_NAME = "functions"; | |
const char* FUNCTION_NAME = "my_lua_function"; | |
int my_lua_function(lua_State* L); | |
lua_State* L; | |
/* Assuming that the table exists already */ | |
/* Get the table */ |