272 Commits

Author SHA1 Message Date
Maksim Gamarnik
46a7280b49 iOS: fix for iPhone X 2017-12-19 03:29:54 +02:00
Maksim Gamarnik
2fc840fb64 Android: v.1.1.9 2017-08-02 23:22:07 +03:00
berkut
3bd0a32b11 New progressbar when delete/copy, NPE and others fixes (#84)
Realize Indeterminate spinner when delete/copy, fix NPE and WindowBadToken
2017-07-21 22:07:41 +03:00
sfan5
1698a96d2a Disable CSM at compile-time (#78) 2017-07-09 23:37:40 +03:00
Maksim Gamarnik
f3d9305985 Update Android build 2017-06-09 23:23:47 +03:00
Maksim Gamarnik
4cd987b653 Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
Loic Blot
72eec0f6f5
Android: update build tools version + versionCode bump for release 2017-06-03 19:36:17 +02:00
Мамбетов Бектур
95af5045c8 Latest java part 2017-05-22 15:40:00 +03:00
Loïc Blot
0d4d35ab93 Android dependencies updates (#5755)
* irrlicht ogles 5122 -> 5145
* openssl 1.0.2j -> 1.0.2k
* curl 7.52 -> 7.54
* sqlite 3.15.2 -> 3.18.0
2017-05-13 13:32:59 +02:00
Loïc Blot
9b8ca3a746 Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)
* Move KeyList & InputHandler from game.h to client/inputhandler.h

We have a header for inputs, move inputhandler class & related keylist object to it

Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined

* Pass clang-format on inputhandler.{cpp,h} (compatible)
2017-05-13 11:05:16 +02:00
ShadowNinja
77597c4ff3 Clean up numeric.h and split FacePositionCache from it
I also optiized FacePositionCache a bit: I removed a map
lookup and vector copy from both branches of getFacePosition.
2017-05-06 16:09:45 -04:00
bigfoot547
de028fc056 [CSM] Add camera API (#5609)
* [CSM] Add camera API
roper rebase & squash

* Address nerzhul's review
2017-05-05 22:07:36 +02:00
Loic Blot
1670bc7366
Fix Android build since 2818d3f2244d2146a5cdb61cd41f6561c514f97c 2017-04-26 21:11:46 +02:00
Loïc Blot
29ab20c272 Player data to Database (#5475)
* Player data to Database

Add player data into databases (SQLite3 & PG only)

PostgreSQL & SQLite: better POO Design for databases

Add --migrate-players argument to server + deprecation warning

* Remove players directory if empty
2017-04-23 14:35:08 +02:00
Maksim Gamarnik
fbd7c8fa40 Correct Makefile style 2017-04-20 01:29:37 +03:00
sfan5
42cac6db0b Use CMake to compile openal-soft for Android (#73) 2017-04-19 22:48:49 +03:00
Perttu Ahola
04cc9de8f2 MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock copying done in the main thread
Cache size is configurable by the meshgen_block_cache_size (default 20 MB).

New profiler stats:
- MeshUpdateQueue MapBlock cache hit %
- MeshUpdateQueue MapBlock cache size kB

Removes one type of stutter that was seen on the client when received MapBlocks
were being handled. (the "MeshMakeData::fill" stutter)

Kind of related to at least #5239

Originally preceded by these commits, now includes them:
- Move the mesh generator thread into src/mesh_generator_thread.{cpp,h}
- mesh_generator_thread.cpp: Update code style
- MeshUpdateThread: Modify interface to house a different implementation: Actual functionality will be changed by next commits.
- MeshMakeData: Add fillBlockData() interface (so that caller can fill in stuff from eg. a MapBlock cache)
2017-04-17 14:58:29 +03:00
Nathanaël Courant
d17636484d Disable android leveldb by default (#5596)
1) Now leveldb is brick (thanks google)
2) By default, use SQLite3, this work perfectly and NOBODY not use LevelDB on Android :)
2017-04-16 09:48:48 +02:00
Loic Blot
98286a24bc
Fix android build 2017-04-14 09:26:11 +02:00
Maksim Gamarnik
64b23b2675 Android: v. 1.1.7 | update jsoncpp 2017-04-13 03:16:14 +03:00
Loïc Blot
86b1542181 Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ instead of src/ (#5473)
* Update embedded jsoncpp from unk version to 0.10.6

0.10.6 is last release without c++11

* Make jsoncpp more compliant with its amalgamate

Jsoncpp cpp file should be upper, make the library like it does in amalgamate

* Reorganization: move minetest embedded libs outside of source tree to /lib

* Fix a dead grep in LINT
2017-04-02 10:51:50 +02:00
Uwe Koloska
ef56586ed3 Add missing source to android build (#5496) 2017-04-01 16:47:58 +02:00
Maksim Gamarnik
a1066dc91a Android: Preparation for release 2017-03-30 05:15:04 +03:00
Wayward One
39fa249f91 Fix undefined references (#5400) 2017-03-15 15:42:47 +01:00
Loic Blot
607dab2b0d Fix android build
This fixes #5190
2017-02-08 07:47:56 +01:00
rubenwardy
f2aa2c6a98 Add ItemStack key-value meta storage 2017-02-04 22:07:55 +00:00
rubenwardy
c2e7b1f579 Derive NodeMetaRef from MetaDataRef 2017-02-04 22:07:55 +00:00
rubenwardy
bbdd869d72 Derive NodeMetadata from Metadata 2017-02-04 22:07:55 +00:00
Maksim Gamarnik
0232ae4439 Fix merge 2017-02-01 20:12:11 +02:00
Maksim Gamarnik
8cc092b177 Updated to Minetest ver. 0.4.15 2017-01-30 00:44:07 +02:00
Maksim Gamarnik
d8901de27e ver. 1.1.6.1 / Part 2 (textures) 2017-01-12 23:21:40 +02:00
Maksim Gamarnik
324651cea0 ver. 1.1.6.1 / Part 1 2017-01-12 23:14:38 +02:00
Ner'zhul
8e7449e092 Environment & IGameDef code refactoring (#4985)
* Environment code refactoring
* Cleanup includes & class declarations in client & server environment to improve build speed
* ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts.
* Cleanup IGameDef
  * Move ITextureSource* IGameDef::getTextureSource() to Client only.
  * Also move ITextureSource *IGameDef::tsrc() helper
  * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call
  * drop unused emerge() call
  * cleanup server unused functions (mentionned before)
* Drop one unused parameter from ContentFeatures::updateTextures
* move checkLocalPrivilege to Client
* Remove some unnecessary casts
* create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it
* Fix some comments
* Change required IGameDef to Server/Client pointers
* Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects
* Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu
* drop ClientMap::sectorWasDrawn which is unused
2017-01-09 20:39:22 +01:00
Wayward1
8f22272df5 Add raycast.cpp and tileanimation.cpp to Android.mk 2017-01-05 08:19:54 +01:00
Ner'zhul
b95f543da9 Add gradle wrapper (#4954)
Gradle wrapper permit to use multiple gradle versions across OS versions
2016-12-24 12:30:18 +01:00
rubenwardy
e3cbe521fc Update Android build tools to latest version (#4872) 2016-12-24 08:34:19 +01:00
sfan5
231ac33d34 Bump version to 0.4.15 2016-12-22 23:14:17 +01:00
sfan5
70579dc7c3 Android: Workarounds for Googles completely broken NDK 2016-12-22 22:17:54 +01:00
est31
1dd361f37c Android: update curl and libgmp 2016-12-21 14:36:14 +01:00
rubenwardy
2886f0ccb0 Fix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)
Fixes #4121
2016-12-09 18:27:36 +01:00
est31
24719c6908 Android: fix build and update deps 2016-12-07 21:27:07 +01:00
Maksim Gamarnik
21ddbd15c6 Android: optimization flags 2016-11-14 18:25:05 +02:00
Maksim Gamarnik
66c5b30f60 Android: Small update
small reduction in the size JNI
2016-11-05 06:15:51 +03:00
Ner'zhul
7252c803e0 Add missing remoteplayer.cpp to Android build
this should fix #4683
2016-10-28 15:37:19 +02:00
Maksim Gamarnik
a2a0b0ae47 Update Android, remove content_cso 2016-10-24 18:26:32 +03:00
ubulem
e48a6e0b7a Actualize java part 2016-10-20 15:56:05 +03:00
Maksim Gamarnik
b30cbda468 Fix mo create 2016-10-19 05:47:03 +03:00
sfan5
5e24e2bd73 Fix APK build Part2 (#35)
* Fix asset collection

* Split assets into three seperate .zip files
2016-10-19 03:30:18 +03:00
Maksim Gamarnik
4782ad207a Fix APK build Part1 2016-10-19 03:14:10 +03:00
sfan5
c9f51e805c Fix irrlicht patch (#34) 2016-10-19 02:40:50 +03:00