Craig Robbins
784a452ed5
Provide more info if a subgame is not valid/found
2014-12-13 23:01:16 +10:00
sapier
39162de15a
Make hud use fontengine too
...
Fix non coding style conforming glb_fontengine to g_fontengine
Fix fonts never been deleted due to grabbed to often
2014-11-30 18:06:54 +01:00
sapier
dceb9f7d60
Implement proper font handling
2014-11-30 17:50:09 +01:00
SmallJoker
a3e019c4f6
Fix MSVC compiling error (argc/argv not available to pass to init_gettext)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-29 22:31:40 +10:00
Craig Robbins
edb125837c
Fix regression with command line --go option
2014-11-28 22:48:46 +10:00
Kodexky
9aaf67ebe0
Fix Android main menu crash, and user data directory check.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 18:11:08 +10:00
Craig Robbins
21464639b3
Fix regression with USE_REDIS (refactor_main)
2014-11-23 01:12:25 +10:00
Craig Robbins
d6cc0d8223
refactor main.cpp
2014-11-23 00:27:02 +10:00
Craig Robbins
429ecb2b94
Refactor the_game() to make it more understandable and maintainable.
...
The following is a record of 31 commits before squashing:
Revert "Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism"
This reverts commit b49e5cfc7013cef7e9af79d17e04f7e7e4c377d4.
Basic reformatting with astyle
-- additional formatting will be modified, manually, as the need for it is encountered
Start "outlining" what a MinetestApp class might look like
Add MinetestApp::shutdown()
Converted class member functions to camelCase and created protos for new functions
First stage of connect to server done
Add get itemdefs/nodedefs/media code
Init clouds, camera, sky, init GUI, HUD
Input handling
Client events, camera, sound, draw
Fix wield hand getting stuck digging and add debug text back
Fix FPS
Added profiler graph back
Fix FPS issue
Need to work out what went wrong and clean up the copy/paste stuff
Annotate
Various:
Rewrote limitFps()
Limited scope of some variables
Jitter calcs
Reduce scope of objects
Move some stuff out of ::run and minor formatting cleanup
Scope reduction
Function splits
Removed old (broken) limitFps()
Added exception handling back
Fixed some formatting
Reverted commented out unit tests (uncommented them)
Slow clouds down on loading and media screens so the behaviour is like the original the_game()
Formatting/style (no functional changes)
Manually reapply upstream b49e5cf: Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism
Fixed silly errors on my part
Minor formatting cleanups
Removed strange differentiation in FPS limiting when loading
FPS limiting was done differently if cloud_menu_background was true, which does not make sense
Cleaning up
Add some comments
2014-11-02 02:18:25 +01:00
sapier
996ea60642
Add video driver selection to settings menu (based uppon idea from webdesigner97)
2014-08-23 01:55:54 +02:00
sapier
dec8c43de3
Fix to to too two times
2014-08-22 21:51:20 +02:00
sapier
d7d8aa1039
Add player name length checks
2014-08-22 21:18:43 +02:00
sfan5
eec456be63
Move MapBlock (de)serializing code out of Database class
2014-07-12 17:38:17 +02:00
sfan5
37b7f094e3
Fix warnings reported by clang
2014-07-06 13:19:21 +02:00
sapier
1cc40c0a7c
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
sapier
d4245e6cac
Support for scalable font and gui elements
...
Fix positioning of tabheader in order to be usable for scaling GUIs
WARNING: this changes position of current tabheaders, mods have to adjust!
2014-06-22 00:08:55 +02:00
sapier
99f565e8f2
Add support for directly starting a world by name from command line
2014-06-19 14:34:43 +02:00
BlockMen
a7d49da217
Codestyle cleanup (main.cpp)
2014-06-01 15:49:34 +02:00
sapier
32ab6c2a32
Revert "Add daemon support for linux like operating systems"
...
Remove daemon support due to delayed popular vote (part 2)
2014-06-01 14:54:21 +02:00
sapier
34904a0744
Add daemon support for linux like operating systems
2014-05-31 23:48:06 +02:00
RealBadAngel
c8a99404e8
Map irrlicht log level to minetest. Allow write them to debug file.
2014-05-14 19:30:39 +02:00
sapier
1838a3fd69
Add support for dpi based HUD scaling
...
Add support for (configurable) multiline hotbar
Improved screensize handling
Add userdefined gui scale by BlockMen
2014-04-27 21:53:13 +02:00
sapier
5b1bd2fb47
Fix chat console not working anymore
2014-04-20 10:55:08 +02:00
sapier
eda9214f81
Bunch of small fixes (coding style, very unlikely errors, warning messages)
2014-04-19 11:56:19 +02:00
Sfan5
674be38fc2
Add redis database backend
2014-04-16 22:05:06 +02:00
Sfan5
118e2ae865
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
Kahrl
6090e95cdc
Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANY
2014-04-10 22:03:42 +02:00
sapier
a4e2198e41
Replace pause and message menu by formspec ones
2014-03-05 18:44:14 +01:00
Selat
6715c422ae
Fix memory leak in database migration
2014-02-07 20:43:12 +01:00
ShadowNinja
85fe75d1cb
Add the option to bind to a specific address
2014-02-05 21:24:46 +01:00
kwolekr
c6c5edd73a
Revert "Fix settings to honor numeric conversion errors"
...
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-05 00:05:58 -05:00
sapier
3f376a092e
Fix settings to honor numeric conversion errors
...
Rename try* non exceptioning functions to *NoEx
2014-02-04 22:14:13 -05:00
BlockMen
9772322613
Add alpha setting to font shadow
2013-12-14 21:11:38 +01:00
Kahrl
e275b7099a
Don't call curl_global_init twice
2013-12-13 18:08:53 +01:00
Kahrl
0ea3e6dbe2
Implement httpfetch module and initialize it from main()
...
Add curl_parallel_limit setting that will replace media_fetch_threads in
a later commit.
Fix a typo in MutexedQueue::pop_back() that made it impossible to compile
code that used this function. (Noticed this while implementing httpfetch.)
2013-12-13 18:05:10 +01:00
Ilya Zhuravlev
76036abdb0
Add configurable font shadow.
2013-12-12 21:47:54 +04:00
sapier
04e9a9d541
Cleanup jthread and fix win32 build
2013-12-01 16:25:46 +01:00
sapier
2e66aca357
Fix modstore/favourites hang by adding asynchronous lua job support
2013-11-29 22:09:14 +01:00
sapier
b08d7558de
Split server/client port setting to avoid port number clashes in mainmenu
2013-11-28 21:43:06 +01:00
Kahrl
ab601e8710
Fix invalid escape sequence in database migration code
2013-11-23 16:09:38 +01:00
sapier
22a59b3912
Fix win32/msvc i18n (quite UGLY version, blame Microsoft)
2013-11-11 19:56:49 +01:00
Kahrl
5dce44ec5e
Add --version option
2013-09-28 21:30:17 +02:00
Kahrl
8bc7ea61b9
Show git hash in version string at top left corner of window
2013-09-28 21:30:17 +02:00
kwolekr
c0398224ef
Fix some warnings and other minor details
2013-09-16 23:52:42 -04:00
Kahrl
10a38a3005
Handle --migrate even when compiled without leveldb support
2013-09-10 18:29:51 +02:00
Kahrl
6fb4a78d71
Fix broken build due to missing mapsector.h include
2013-09-10 17:49:53 +02:00
Sfan5
49a75b1894
Make --migrate update world.mt too
2013-09-09 22:50:51 +02:00
Sfan5
321ac66558
Add note about --migrate only working with minetestserver or --server
2013-09-09 22:50:51 +02:00
Sfan5
7e44c2ace1
Make it compile
2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
58841ef12f
Add dummy and LevelDB database backends
2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
6de16bb438
Add fallback font support for some languages.
2013-09-08 15:16:19 +04:00
Ilya Zhuravlev
d05b15df77
Add a setting for HighPrecisionFPU ( fixes #763 ).
2013-08-25 18:25:01 +04:00
Kahrl
ade70fe4b9
Allow SIGINT to kill mainmenu again
2013-08-19 15:49:36 +02:00
Kahrl
8548bb75b6
GUIFormSpecMenu focus fixes
2013-08-19 15:49:36 +02:00
Kahrl
4e1f50035e
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
PilzAdam
2af5864534
Make freetype usage configureable by a setting
2013-08-04 20:35:14 +02:00
proller
06cdce1e12
Weather backward compatibility
2013-08-02 00:51:36 +04:00
PilzAdam
4fb4efd8ed
Play sounds/main_menu.ogg in menu
2013-07-28 23:29:03 +02:00
PilzAdam
ab145c8827
Randomly choose singleplayer port
2013-07-16 02:02:56 +02:00
sapier
f419f66546
fix crash on play/start with empty world list
...
make enter button work in create world dialog
2013-07-08 19:58:03 -04:00
sapier
967121a34b
Replace C++ mainmenu by formspec powered one
2013-07-02 19:58:20 -04:00
elagin
c135e9c7d4
Save settings after dropping main menu
2013-05-20 16:03:48 +02:00
PilzAdam
714ecc5e27
Only create SoundManager in main menu if USE_SOUND is true
2013-05-18 13:01:47 +02:00
PilzAdam
587e7b299b
Dont drop fonts with ENABLE_FREETYPE=0
2013-05-16 02:20:10 +02:00
PilzAdam
efc9329033
Only use game filter in singleplayer tab; use menu_{background, overlay, header, footer}.png for other tabs
2013-05-13 17:06:08 +02:00
RealBadAngel
9575b0a2a8
Add code to play main_menu.ogg in main menu
2013-05-11 15:39:38 +02:00
PilzAdam
e5781b5e34
Fix memory leaks: delete font in main and GUIChatConsole
2013-05-10 22:35:17 +02:00
Zeg9
81c863ac4d
Add clouds to all loading screens and better progress handling
2013-05-10 15:04:21 +02:00
Kahrl
3b1c3ac678
Add --videomodes option to show available video modes
2013-05-09 16:30:04 +02:00
Kahrl
3332f606ed
Drop IrrlichtDevice when running --speedtests
2013-05-09 16:18:26 +02:00
Perttu Ahola
a888b232fe
Add header.png and footer.png support for games, and support texture packs via <gameid>_menu_<background/overlay/header/footer>.png
2013-05-04 10:05:12 +03:00
PilzAdam
b75505e6b2
Show game name instead of game ID of selected game
2013-05-02 20:05:07 +02:00
Perttu Ahola
ee8067f7cf
Switch menu to game selected in world creation dialog
2013-05-02 20:59:52 +03:00
Perttu Ahola
084be3599a
Get menu background image from selected game
2013-05-02 19:43:47 +03:00
sapier
98182f6097
fix memory leaks introduced by invalid gettext usage
2013-04-07 22:50:53 -04:00
sapier
cd27c8ef5d
replace Server smart pointer with conventional one to gain control over dtor call order
2013-04-07 22:42:36 -04:00
ShadowNinja
7d3b3890b5
Add a small optimization to the menu splash and remove a old comment
2013-03-30 22:02:46 -04:00
khonkhortisan
96387ee88a
Don't load menu textures every frame
2013-03-30 21:52:13 -04:00
PilzAdam
e17ae475cf
GUI: Make singleplayer default tab, store selected serverlist, show title of serverlist
2013-03-30 18:34:36 +01:00
kwolekr
df49b93877
Add varying levels of precision to TimeTaker
2013-03-29 16:53:15 -04:00
proller
f98d0433f9
Random guest name and finite liquid checkbox
2013-03-23 19:17:08 +04:00
ShadowNinja
5f88cd98ad
Add FPS limit to menu clouds
2013-03-17 12:13:48 -04:00
proller
10c03e1a9d
build with ogles2 driver
2013-03-16 22:37:50 -04:00
ShadowNinja
350596b94f
Add cloud menu background by Krisi, configurable with the menu_clouds option.
...
Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers.
And finally don't git-ignore textures/base/.
2013-03-13 21:18:40 -04:00
Ilya Zhuravlev
6a1670dbc3
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
Sfan5
6d0ea26c2d
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
497ff1ecd6
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
PilzAdam
bc2e9dbaf2
Read server_announce from minetest.conf for GUI
2013-02-23 22:48:02 +01:00
kwolekr
7f240aea1e
Added debug log level setting
2013-02-21 22:35:04 -05:00
proller
ee07c3f7cf
new auto masterserver
2013-02-22 02:04:53 +04:00
Ilya Zhuravlev
30b9a4d6b4
Add Freetype support
2013-02-14 18:46:08 +01:00
Jeija
6f93c01af9
Add a list of servers to the "Multiplayer" tab
...
If USE_CURL is set, it also downloads a list from a remote server.
The url of this list is configurable in minetest.conf using the setting "serverlist_url"
The local list of favorite servers is saved in client/serverlist/filename
filename is also configureable using the setting "serverlist_file"
2013-01-21 16:42:56 +02:00
Jeija
61f5ca6b16
Add particles
2013-01-14 15:27:00 +01:00
Perttu Ahola
543fc6702f
Set proper field background colors in Irrlicht 1.8
2012-12-06 19:35:40 +02:00
obneq
151fad1f2b
Add checkboxes for shaders and on-demand item visual generation
2012-12-02 00:52:35 +02:00
Vanessa Ezekowitz
0dd9c14ff8
Added video settings filter options via config file - second try :-)
...
Set one or more of these in the config to turn the related option on:
mip_map = 1
anisotropic_filter = 1
bilinear_filter = 1
trilinear_filter = 1
2012-11-09 19:12:44 +02:00
Perttu Ahola
aef1332e42
Improve build configuration options
2012-07-23 15:23:33 +03:00
Perttu Ahola
9f031a6759
Optimize headers
2012-06-17 04:03:39 +03:00
Perttu Ahola
1bc37d576c
Initially split utility.h to multiple files in util/
2012-06-17 01:29:13 +03:00
Perttu Ahola
9e21204f8b
Fix build error due to DEBUGFILE
2012-06-16 21:36:54 +03:00