index
:
minetest.git
gpcf
lifo-fixes
release
modified minetest for gpcfs purposes
gpcf
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lib
/
lua
/
src
Mode
Name
Size
-rw-r--r--
CMakeLists.txt
695
log
plain
-rw-r--r--
lapi.c
22708
log
plain
-rw-r--r--
lapi.h
262
log
plain
-rw-r--r--
lauxlib.c
17417
log
plain
-rw-r--r--
lauxlib.h
5777
log
plain
-rw-r--r--
lbaselib.c
17045
log
plain
-rw-r--r--
lcode.c
21170
log
plain
-rw-r--r--
lcode.h
2750
log
plain
-rw-r--r--
ldblib.c
10092
log
plain
-rw-r--r--
ldebug.c
16840
log
plain
-rw-r--r--
ldebug.h
1061
log
plain
-rw-r--r--
ldo.c
14892
log
plain
-rw-r--r--
ldo.h
1897
log
plain
-rw-r--r--
ldump.c
3114
log
plain
-rw-r--r--
lfunc.c
4618
log
plain
-rw-r--r--
bool
isOpen
()
const
;
// Check if the console should not be opened at the moment
// This is to avoid reopening the console immediately after closing
bool
isOpenInhibited
()
const
;
// Close the console, equivalent to openConsole(0).
// This doesn't close immediately but initiates an animation.
void
closeConsole
();
// Close the console immediately, without animation.
void
closeConsoleAtOnce
();
// Set whether to close the console after the user presses enter.
void
setCloseOnEnter
(
bool
close
) {
m_close_on_enter
=
close
; }
// Replace actual line when adding the actual to the history (if there is any)
void
replaceAndAddToHistory
(
const
std
::
wstring
&
line
);
// Change how the cursor looks
void
setCursor
(
bool
visible
,
bool
blinking
=
false
,
f32 blink_speed
=
1.0
,
f32 relative_height
=
1.0
);
// Irrlicht draw method
virtual
void
draw
();
virtual
bool
OnEvent
(
const
SEvent
&
event
);
virtual
void
setVisible
(
bool
visible
);
private
:
void
reformatConsole
();
void
recalculateConsolePosition