49 Commits

Author SHA1 Message Date
kwolekr
afd27cd3ea Fix MSVC compatibility
Make sure to include random unittests in android builds, too
Use SWAP() macro
Ensure that negative ranges are tested as well in random unittests
2015-05-04 16:51:51 +10:00
Maksim Gamarnik
5dbcfd316b Update Makefile
Update CURL,
Change default game name
Min APP_PLATFORM = 16 (JB 4.1).
2015-05-01 14:32:08 +03:00
OttoLidenbrock
49e4c882f2 Change version again 2015-05-01 20:51:51 +10:00
OttoLidenbrock
815dc2ae46 Stop using broken github hash
Version is now MultiCraft 1.0.1
(ANDROID_VERSION_CODE 101)
2015-05-01 20:07:45 +10:00
OttoLidenbrock
4ffa72a2fd Merge upstream
Conflicts:
	builtin/mainmenu/tab_simple_main.lua
	src/client/clientlauncher.cpp
	src/game.cpp
	src/guiEngine.cpp
2015-04-29 19:59:54 +10:00
kwolekr
25edaf443c Tests: Modularize unit testing
Split unit tests into separate files under src/unittest/
Give better unittest diagnostics
Clean up some code
2015-04-26 15:08:54 -04:00
OttoLidenbrock
27bdbae42a Change project name and version (not android yet)
Update package Vendor and Email and version number
Change version to 1.0.1

Partially change project name

Changed android version code to 1
2015-04-27 00:54:48 +10: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
Aaron Suen
e8d51554ae Clean scaling pre-filter for formspec/HUD. 2015-04-01 00:01:05 -04:00
Craig Robbins
5e2bb20166 Fix Android build-related bugs
E.g. Sound and freetype always being disabled, redefinition of pre-processor directives
2015-03-29 22:27:01 +10:00
ShadowNinja
2de60ae349 Clean up and tweak build system
* Combine client and server man pages.
  * Update unit test options and available databases in man page.
  * Add `--worldname` to man page.
  * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
  * Disable server build by default on all operating systems.
  * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
  * Enable LevelDB, Redis, and FreeType detection by default.
  * Remove the `VERSION_PATCH_ORIG` hack.
  * Add option to search for and use system JSONCPP.
  * Remove broken LuaJIT version detection.
  * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
  * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
  * Clean up style of CMake files.
2015-03-27 15:00:48 -04:00
est31
a346e6c2fc Fix Android build on 32 bit
Remove the --system=linux-x86_64 which isn't neccessary on 64 bit,
as, when given no --system parameter, the standalone-toolchain.sh script
figures out the platform on itself. Naturally, the hardcoded setting broke
android building on 32 bit systems.
2015-03-23 14:11:39 +10:00
Loic Blot
638fffbf80 Remove Android makefile ugly make -j hack 2015-03-17 15:48:48 +01:00
Loic Blot
671e448d3c Bump android version code 2015-03-16 20:37:31 +01:00
Loic Blot
569596f0b1 Rename packethandler/{client,server}.cpp to {client,server}packethandler.cpp
* Requested by @Zeno-
* Approved by @nerzhul
2015-03-16 10:19:19 +01:00
Loic Blot
6e62992e96 Android Makefile update backported from stable-0.4 with minor changes 2015-03-15 11:21:34 +01:00
Loic Blot
d71219e01c Android: Backport changes from stable-0.4 2015-03-14 19:59:14 +01:00
Loic Blot
a03fdd923f Android: fix package name in JAVA sources 2015-03-14 18:52:31 +01:00
Loic Blot
1b13972f22 Fix package name in AndroidManifest.xml 2015-03-14 18:41:36 +01:00
Loic Blot
fa59f2e69c AndroidManifest.xml version bump 2015-03-14 18:28:02 +01:00
Maksim Gamarnik
58762a2b97 Update Android Makefile
ARMv7 default build
Update curl
Update OpenSSL
2015-03-08 15:48:40 +10:00
Loic Blot
188c15c3d8 Replace std::list to std::vector into tile.cpp (m_texture_trash) and move tile.hpp to src/client/ 2015-03-05 11:59:40 +01:00
Loic Blot
63fbfd1ad5 Fix android build 2015-02-21 17:37:48 +01:00
Perttu Ahola
bb4840d977 Bump version to 0.4.12 2015-02-18 23:50:01 +01:00
Loic Blot
1ebc81ec2e Update missing files for Android.mk 2015-02-18 09:53:43 +01:00
Loic Blot
e42d1a71cf Android build fix 2015-02-18 09:23:24 +01:00
Loic Blot
0a1c212974 main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLauncher now owns print_video_modes and speed_tests functions (they are only called by him) * Move GameParams to shared/gameparams.h because it's shared between server and client and launcher need to know it * Move InputHandlers class to client/inputhandler.h * Cleanup includes 2015-02-12 15:00:03 +01:00
Loic Blot
fe991e2aef Fix Android build since a704c04f00bfea4b77550169fa08105c2ee0dfd0Oxh. ok @zeno- 2015-02-11 09:15:25 +01:00
sapier
add581cdfd Android, build: Update curl to 7.40.00 2015-01-15 21:51:54 +01:00
Kodexky
c9d1b4ee78 Fix Android crash on keyboard connection change. 2015-01-13 23:09:57 +10:00
sapier
0b900ec79d Increase stepheight on android by 0.5 to smoothen movement 2015-01-11 04:33:42 +01:00
sapier
9e97cb3ca6 Fix armv7 using arm arch while arm uses armv7 2015-01-08 00:11:30 +01:00
sapier
b76fefb8a3 Switch android build to external sqlite3 2015-01-07 01:01:03 +01:00
sapier
0bf6a77c3b Fixes for android
Copy only minetest_game to apk by default
Don't copy .git and .svn folders to apk
Fix bouncing asset copy scrollbar due to long filepaths
Reenable font scaling to fix broken menu on high dpi screens
Implement minetest loglevel to android loglevel mapping
Disable touch digging while moving around
2015-01-06 16:13:39 +01:00
sapier
9a7543cf13 Fix broken android version due to new openssl not linking correct to curl 2015-01-05 00:51:35 +01:00
sapier
e1f630af2e Switch to official openssl version and update to 1.0.1j 2015-01-04 16:57:19 +01:00
sapier
787856003c Speedup initial android startup on some devices by factor 10 or more 2015-01-02 17:20:55 +01:00
kwolekr
a7c93a7160 Bump version to 0.4.11 2014-12-24 22:28:06 -05:00
Kahrl
8bc9094f3c Add fontengine.cpp to Android.mk 2014-12-01 21:22:23 +01:00
KodexKy
a176874dd9 Fixes for Android build errors. Enable sensor landscape rotation.
Fix typo in Android Makefile ndk path.
Fix touchscreen parts of game.cpp to work after Zeno's refactor.
Fix isdigit and isspace overload conflict with Android Irrlicht in string.h
Enable sensor landscape rotation in Android Manifiest.
Add mapgen v5 to Android build.
Fix Makefile not checking leveldb.

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-25 13:28:51 +10:00
Kahrl
c33891174d Implement WieldMeshSceneNode which improves wield mesh rendering
- Don't create and cache an extruded mesh for every (non-node) item.
  Instead use a single one per image resolution.

- For cubic nodes reuse a single wield mesh too

- Improve lighting of the wielded item

- Increase far value of wield mesh scene camera, fixes #1770

- Also includes some minor refactorings of Camera and GenericCAO.
2014-11-08 23:11:57 +01:00
kwolekr
08068ac0c6 Split up mapgen.cpp 2014-11-01 13:16:23 -04: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
38c831ae8d Makefile support for build without leveldb 2014-08-16 12:28:07 +02:00
sapier
339c819cfa Fix error handling on inconsistent client ready message
Fix android makefile to provide a correct dummy githash if detection fails
2014-07-16 20:01:00 +02:00
sapier
f3d4c8fcda Fix android build after removal of indev and math mapgen 2014-07-16 13:40:30 +02:00
sapier
9fe198016a Update version numbers for 0.4.10 2014-07-06 22:39:47 +02:00
sapier
0cc88400f4 Switch android to leveldb as sqlite3 is broken and fails to save any mapblock there 2014-07-06 21:27:54 +02: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