red-001
6e50d01ac4
Use the ARRLEN
macro in more places and remove an unused macro. ( #5260 )
2017-02-18 15:24:49 +01:00
sfan5
42b217515d
Add missing keyname_to_keycode function (needed on Android)
...
When rewriting keycode.cpp I overlooked this function, fixes #4683 completely
2016-10-28 15:50:23 +02:00
sfan5
cd1f3a39e7
Rewrite keycode.cpp (Keycode handling & names)
2016-09-25 17:26:38 +02:00
Kahrl
ccb46d0379
Fix camera updates being toggled by N key in release mode ( #2762 )
2015-08-07 06:02:06 +02:00
Craig Robbins
0731f9ed2a
Move globals from main.cpp to more sane locations
...
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
Craig Robbins
27791ee1aa
For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives
2015-03-07 22:41:47 +10:00
Loic Blot
2fd9ac5fe9
Move hex.h to util/
2015-02-21 14:32:35 +01:00
ShadowNinja
dbf9e444b1
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
sapier
268ff61168
Add support for Android 2.3+
...
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
2014-06-29 18:17:56 +02:00
Ilya Zhuravlev
a12df55f29
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
Sfan5
3fab3825aa
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
Ilya Zhuravlev
c4917fb48f
Fix keycodes ( #325 )
2012-12-23 02:11:32 +04:00
Perttu Ahola
e3f96af529
Fix GUIKeyChangeMenu so that '/' can be inserted on a finnish keyboard
2012-09-01 18:03:50 +03:00
Perttu Ahola
1f8abe739a
Don't crash in "unexpected multibyte character"; just print it in log. Github #222
2012-09-01 09:23:39 +03:00
Andreas Zwinkau
798215b07d
Fix wctomb use
...
wctomb(NULL, _) returns "nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless."
I assume the intentation was to get the size of the target buffer.
Use MB_CUR_MAX for this.
2012-07-21 22:09:17 +03:00
Andreas Zwinkau
d30c891841
Remove mbtowc warnings
...
As mbtowc(_, _, 1) reads at most one char, everything other than a
return value of 1 is an error. Since the input strings are static,
an assert protects against future changes.
Likewise, wctomb should currently never encounter a character, which
actually needs a multibyte representation.
2012-07-21 22:08:20 +03:00
Perttu Ahola
e70b6545b1
Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors
2012-06-05 18:54:07 +03:00
Perttu Ahola
6d4bc012f0
Fix key change menu a bit
2012-01-06 19:50:40 +02:00
Perttu Ahola
9e46cbf7ea
Header file tweaking; mainly for speed
2011-10-12 13:53:38 +03:00
Giuseppe Bilotta
7e610aece5
Overhaul the input system
...
This allows us to map the keys which are not considered in
irrlicht's EKEY_CODE system, such as \, [, /, ] etc.
2011-08-22 13:01:11 +02:00
Giuseppe Bilotta
b1e0b7728b
Fix keycode_to_keyname return value
2011-08-13 07:31:46 +02:00
Giuseppe Bilotta
eb255e6870
Clean up key names handling
...
Constify keycode and move the static array of localizable names from the
guiKeyChangeMenu header to the implementation file, changing its name.
2011-08-12 23:42:00 +02:00
Sebastian Rühl
9d09103e48
Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git into upstream_merge
...
Conflicts:
.gitignore
CMakeLists.txt
data/heart.png
src/CMakeLists.txt
src/game.cpp
src/guiMainMenu.cpp
src/inventory.cpp
src/map.cpp
src/mapblock.cpp
src/mapnode.cpp
src/mapnode.h
src/materials.cpp
src/server.cpp
Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
2011-06-26 12:24:32 +02:00
teddydestodes
6434f64ab4
added new submenu for key assignment
...
configwriting/saving isn't complete and will break your config if you use fancy keys
2011-06-01 19:44:07 +02:00
Perttu Ahola
974c5cc08c
Added key configuration in the configuration file.
2011-05-14 15:43:26 +03:00