aboutsummaryrefslogtreecommitdiff
path: root/src/chat.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-05GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI classLoic Blot1-2/+2
Other enhancements: * Move update_profiler_gui to Game class * Move updateChat to Game class
2018-01-05GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, ↵Loic Blot4-104/+102
GameRunData::statustext_time to GameUI class Other enhancements: * Simplify setStatusText to showStatusText, as it shows the label too (preventing almost every setStatusText to call setStatusTextTime(0) * Add unittests
2018-01-05GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, ↵Loic Blot5-93/+92
Game::infotext to GameUI class Other enhancements: * Drop unused GameRunData::time_of_day * Little GameUI::update code path optimizations
2018-01-05GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on ↵Loic Blot8-134/+159
StaticText Other enhancements: * C++ friendlyness for addStaticText() -> move to static StaticText::add()
2018-01-05GameUI refactor (part 1/X): GameUI object creation + GameUIFlags move to GameUILoic Blot9-131/+229
Game class is too huge and has too specialization on various subjects, like UI, formspecs, client, renderer. Start to move UI related things to GameUI object and cleanup them Other improvements: * updateChat: more performance on error messages by remove string copies * Initialize all game class members in definition instead of constructor (with nullptr instead of NULL) * Drop unused Client::show{GameChat,GameHud,Profiler,GameFog} * Add GameUI unittests
2018-01-05Biomes: Add vertical biome blend (#6853)Paramat4-19/+38
Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
2018-01-04Prevent Android from automatically locking display (#6876)Wayward One1-0/+1
As mentioned in #5759
2018-01-04Fix Wstringop-overflow warning from util/srp.cpp (#6855)you1-1/+2
* Fix Wstringop-overflow warning from util/srp.cpp
2018-01-04[CSM] Don't load the IO library. (#6087)red-0016-16/+54
* [CSM] Don't load the IO library. * Rename the function to match the Lua API function name and add a missing `const` * Add a comment to explain some strange code and fix the other issues pointed out by shadowninja.
2018-01-04Mgv7: Add docs for the new floatland exponent parameterparamat1-3/+6
2018-01-03Fix crash on can_bypass_userlimit returning non-booleanrubenwardy1-1/+0
2018-01-03Mgv7 floatlands: Add exponent parameterparamat2-37/+44
Allows more control over shape of floatland mountain terrain. Terrain shape is unchanged.
2018-01-03Connected Nodeboxes: Add `disconnected` boxesThomas--S6-14/+133
The `disconnected_*` boxes are the opposites of the `connect_*` ones, i.e. when a node has no suitable neighbours on the respective side, the according disconnected box is drawn. * disconnected_top * disconnected_bottom * disconnected_front * disconnected_left * disconnected_back * disconnected_right * disconnected (when there is *no* neighbour) * disconnected_sides (when there are *no* neighbours to the sides)
2018-01-03Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead codeHybrid Dog3-48/+26
2018-01-03Tool getDigParams: Fix selecting the best fitting timeHybrid Dog1-2/+3
Previously, time was compared with result_time before dividing it by the level difference.
2018-01-01Add unittests on ActiveObject and BanManager class (#6866)Loïc Blot4-1/+231
* Add unittests on ActiveObject and BanManager class This also permit to fix a bug in ban manager setting bans modified when no modification occurs
2018-01-01Update README.md copyright notice tooLoïc Blot1-1/+1
2018-01-01Happy new year 2018: update LICENSE.txtLoïc Blot1-1/+1
2017-12-26Advanced settings: Add range check for float typeMuhammad Rifqi Priyo Susanto1-0/+12
2017-12-26Fix rounding error in g/set_node caused by truncation to floatrubenwardy3-4/+54
2017-12-26Add check to pause game on lost window focusrubenwardy4-0/+15
2017-12-26Line_of_sight: Improve using VoxelLineIteratorDániel Juhász5-36/+28
This commit rewrites line_of_sight with VoxelLineIterator. Stepsize is no longer needed, the results will be always accurate.
2017-12-26Wireshark plugin: Complete all commands. (#6841)sofar1-3/+49
This still leaves plenty of data undecoded, but just having the packet types all covered 100% for 0.4.16 will make looking at traces a lot simpler than seeing half the packets show up as unknown.
2017-12-25Fix dancing textnumber Zero1-0/+3
2017-12-25- Clear colors when reading property info.Rob Blanckaert2-0/+3
- Set vertex colors on upright_sprites.
2017-12-22Fix error if setting menu_last_game is not a valid gamenOOb31671-11/+14
2017-12-22Fix undefined behaviour on getting pointer to data in empty vectornOOb31671-1/+1
`&vector[0]` is undefined if vector.empty(), causing build failure on MSVC
2017-12-21Fix wrong scrolling (#6809)Vitaliy1-7/+4
2017-12-21Vector functions: Fix vector.direction() function, improve documentation (#6801)Paramat2-41/+38
vector.direction() now returns a normalised vector with direction p1 to p2.
2017-12-17Allow 'default' parameter in 'settings:get_bool' functionJordan Irwin2-2/+8
Default value is used when the setting key is not found in the config file. If default value is not set, 'nil' is returned. #6188
2017-12-17Adjust default console heightEzhh3-3/+3
#6797
2017-12-16Give subgames the ability to disallow specific mapgens (#6792)Ezhh3-15/+47
2017-12-16Fix items turning black (#6780)Vitaliy1-4/+0
2017-12-16Change Normal Map setting to be less ambigousTre1-2/+2
2017-12-14Zoom: Add 'disabled by game or mod' messageparamat1-0/+11
2017-12-14Minimap messages: Improve 'disabled by server' messageparamat1-1/+1
2017-12-14Add callback to preserve node metadata as item metadataashtrayoz3-1/+36
2017-12-14Chat: Remove prompt history duplicates (#6762)SmallJoker1-4/+13
2017-12-14directiontables: Fix MSVC compiler error (#6785)adrido1-1/+1
2017-12-12Update light decoding table size (#6696)Vitaliy2-13/+12
Fix old undiminish_light bug
2017-12-12Builtin: Fix handle_node_drops crash with nil diggerSmallJoker1-1/+2
2017-12-11CSM fixes: load mods after flavours & add flavour to block mod loading (#6738)Loïc Blot8-31/+54
* CSM fixes: load mods after flavours & add flavour to block mod loading * Don't permit to load mods twice * Prepare builtin integrity global algorithm * Add missing doc & use a nicer byteflag for LOAD_CLIENT_MODS flavour * flag typo fix * Invert CSM_FL_LOOKUP_NODES & CSM_FL_LOAD_CLIENT_MODS ids
2017-12-10Lua_api.txt: Fix a spelling errorashtrayoz1-1/+1
2017-12-10F5 debug info: Add colons, use lowercase except for FPS and RTTThomasMonroe3141-10/+10
2017-12-10Damage: Remove damage ignore timerSmallJoker3-21/+9
2017-12-10Use std::vector instead of dynamic C-Array (#6744)adrido3-23/+14
2017-12-09Pointed thing to face pos: Use 'eye height' object property (#6754)Paramat1-1/+2
2017-12-06Add an active object step time budget #6721Lars Hofhansl7-38/+68
This can be set via the active_object_interval option.
2017-12-06Add coloured logs (#4549)you3-0/+48
The setting log_colour can be used to en-/disable or autodetect it.
2017-12-06Auth handler: Player deletion & Iterator (#6741)sfan52-1/+26
* Add player deletion method to auth handler (fixes #6653) * Support iterating over the auth database There was no way to do this previously and a recent commit broke doing this the "hacky" way by accessing `core.auth_table`.