mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Scripting WIP
This commit is contained in:
parent
ee8b6d3444
commit
bfc68d3151
22 changed files with 1212 additions and 187 deletions
|
@ -56,9 +56,10 @@ void sigint_handler(int sig)
|
|||
dstream<<DTIME<<"INFO: sigint_handler(): "
|
||||
<<"Ctrl-C pressed, shutting down."<<std::endl;
|
||||
|
||||
dstream<<DTIME<<"INFO: sigint_handler(): "
|
||||
// Comment out for less clutter when testing scripts
|
||||
/*dstream<<DTIME<<"INFO: sigint_handler(): "
|
||||
<<"Printing debug stacks"<<std::endl;
|
||||
debug_stacks_print();
|
||||
debug_stacks_print();*/
|
||||
|
||||
g_killed = true;
|
||||
}
|
||||
|
@ -91,9 +92,10 @@ void signal_handler_init(void)
|
|||
{
|
||||
dstream<<DTIME<<"INFO: event_handler(): "
|
||||
<<"Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down."<<std::endl;
|
||||
dstream<<DTIME<<"INFO: event_handler(): "
|
||||
// Comment out for less clutter when testing scripts
|
||||
/*dstream<<DTIME<<"INFO: event_handler(): "
|
||||
<<"Printing debug stacks"<<std::endl;
|
||||
debug_stacks_print();
|
||||
debug_stacks_print();*/
|
||||
|
||||
g_killed = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue