Commit graph

138 commits

Author SHA1 Message Date
alexei-zebra
fbedfad478
Fix the issues found while reviewing the engine frame
Use util::str2wstr_utf8 for the window title instead of the deprecated
codecvt conversion, choose the bar control icon with a switch, and keep
the frontend layout in sync when a frame is drawn from the refresh
callback the platform calls while it blocks the main loop.

The frame forgets its interaction state when the window mode changes or
the cursor gets locked, a bar click that only moved the window is no
longer a double click, and one frame per size is drawn per resize.

The tooltips of the two window settings were only present in the Russian
locale and under a key the settings page never asks for: they are named
display.<id>.tooltip now and translated in both locales. The version label
of the debug build moves below the bar that covers the menu screen.
2026-10-11 20:06:11 +03:00
MihailRis
089bcbbb64 fix document events & breaking: document events removed from 'events' library temporary 2026-06-03 21:50:36 +03:00
MihailRis
17ffa73ce7 refactor: move and rename EnginePaths 2025-11-09 20:13:59 +03:00
MihailRis
fe2a40b06e reduce 'debug build' opacity 2025-04-21 21:51:55 +03:00
MihailRis
45ccf893ae refactor EngineController 2025-04-02 15:01:24 +03:00
MihailRis
f99d909f34 cleanup 2025-04-02 15:01:24 +03:00
MihailRis
331734792d refactor: add ContentControl class 2025-04-02 15:01:24 +03:00
MihailRis
b3feb5945b reduce extra includes 2025-04-02 14:55:53 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
74a94f869c refactor: reduce Window references 2025-04-02 14:55:53 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
a3d35cd10f add gui.alert & critical fixes 2025-01-02 21:59:18 +03:00
MihailRis
10f0bd0290 refactor 2024-12-30 17:25:51 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
134deb0ae6 fix typo 2024-11-19 09:39:46 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
eb6bb19dc6 interfaces/ 2024-08-06 00:04:32 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
eb061bcaf4 graphics/ 2024-08-04 22:12:48 +03:00
InfiniteCoder
3aa0298c85 files/ 2024-08-04 17:08:11 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
0de4061253 refactor EngineController.cpp 2024-07-24 17:44:43 +03:00
Pugemon
e98fb9a1a7 Optimize container insertions using emplace_back instead of push_back 2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
43903bb378 memory-related refactor 2024-05-25 09:26:21 +03:00
MihailRis
f4e98b2091 console layout WIP 2024-05-13 17:08:58 +03:00
MihailRis
debdec1dc2 dynamic::create_map, dynamic::create_list 2024-05-09 20:30:14 +03:00
MihailRis
5da2a30326 BasicParser now uses string_view 2024-05-08 23:32:04 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00
MihailRis
8e83a07094 'dynamic' namespace refactor (step 2) 2024-05-07 17:03:04 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
6b037ec7e8 hpp+ 2024-05-06 01:27:24 +03:00
MihailRis
9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00
MihailRis
4dc2c4701d menu page queries 2024-05-05 22:40:24 +03:00
MihailRis
7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis
3ac6ad640a ENGINE_VERSION_INDEV replaced with ENGINE_DEBUG_BUILD 2024-05-02 17:26:25 +03:00
MihailRis
9b843817f8 redundancy reduced 2024-04-30 14:49:55 +03:00
MihailRis
8c86bcae54 pagebox element 2024-04-30 06:20:46 +03:00
MihailRis
051f0b8c6a rename 2024-04-23 18:43:02 +03:00
MihailRis
bf75e21651 minor refactor 2024-04-23 14:05:36 +03:00