1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

Modernize various files (src/k*, src/l*)

* range-based for loops
* code style
* C++ headers instead of C headers
* Default operators
This commit is contained in:
Loic Blot
2017-08-18 08:21:01 +02:00
parent 1d086aee7c
commit 951f1201c4
6 changed files with 25 additions and 32 deletions

View File

@@ -30,7 +30,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class KeyPress
{
public:
KeyPress() {}
KeyPress() = default;
KeyPress(const char *name);
KeyPress(const irr::SEvent::SKeyInput &in, bool prefer_character = false);