ostermine
0efabc1883
remove comments only relevant to the PR
2026-10-10 18:41:37 +03:00
ostermine
a56158b78e
fix crash in create_zip for files without modification time
...
MemoryDevice::lastWriteTime returns file_time_type::min(). Converting
it to the system clock overflows, and on Windows std::localtime returns
nullptr for the resulting time, which was dereferenced
(access violation in zip_files test on MSVC).
Unknown or out of range time is now written as 1980-01-01 00:00,
the earliest MS-DOS date.
2026-10-10 16:39:20 +03:00
ostermine
fa5466f675
fix zip archives paths and add zip files test
...
- create_zip from a subdirectory wrote entry names with a leading
'/', so the mounted archive looked empty
- memory_ostream did not support tellp(), so create_zip into a memory
device wrote invalid offsets (-1) to the archive
- ZipFileDevice added missing parent directories for the first entry
only
- ZipFileDevice::exists returned false for the archive root
- MemoryDevice::mkdirs recreated existing directories, dropping their
content (mkdir("a/b") cleared "a"); overwriting a file duplicated its
name in the directory listing
Added dev/tests/zip_files.lua: builds archives with file.create_zip
from memory device root, subdirectories and the real filesystem,
mounts them and checks reading, listing and read-only access.
memory_filesystem.lua got checks for the MemoryDevice issues.
Closes #544
2026-10-10 15:54:28 +03:00
MihailRis
e467c85adc
add 'enable-fog' setting
2026-09-26 19:13:08 +03:00
MihailRis
61b601f95a
Merge branch 'main' into refactor-world-renderer
2026-08-02 20:05:42 +03:00
MihailRis
4c18163f8a
add implicit io::path constructor from std::string_view
2026-07-29 22:22:54 +03:00
MihailRis
53a9d47905
Merge branch 'environments' into refactor-world-renderer
2026-07-26 23:56:40 +03:00
MihailRis
4295af15cc
Merge pull request #847 from MihailRis/client-side-tests
...
client-side `--script`, `--test` support (part 1)
2026-07-25 21:59:10 +03:00
MihailRis
e0bf82a71e
add filename info to content unit loading
2026-07-23 20:08:42 +03:00
MihailRis
17f3cbce95
update Device.hpp
2026-07-14 20:12:56 +03:00
MihailRis
ce0f90d21e
feat: memory_istream seek support
2026-06-11 00:17:31 +03:00
MihailRis
eb453d8170
add audio.recording-enabled setting
2026-05-24 14:15:31 +03:00
MihailRis
24a2c35f41
add direct-scripting-data-access setting
2026-05-24 13:24:58 +03:00
MihailRis
31cb9ebd23
add 'system.preserve-assets-during-frame' setting
2026-03-01 21:11:58 +03:00
MihailRis
c7508d6270
Merge branch 'main' into volume-renderer
2026-02-13 02:07:20 +03:00
MihailRis
d6bd5bd8fa
add 'audio.acoustic-effects' setting
2026-02-12 21:48:09 +03:00
MihailRis
1194379f99
add 'graphics.clouds-quality' setting
2026-02-12 18:34:32 +03:00
MihailRis
ed2f0cac77
add 'graphics.particles-batch-vertices' setting
2026-02-02 23:05:44 +03:00
MihailRis
63024133be
add 'system.max-bg-asset-loaders' setting
2026-01-28 20:06:00 +03:00
MihailRis
2f01db8e8b
rename
2025-11-21 22:33:51 +03:00
MihailRis
0f0e00cdde
add 'audio.input-device' setting
2025-11-21 22:32:19 +03:00
MihailRis
1e1fd53209
fix MemoryDevice::list & update filesystem tests
2025-11-16 18:51:14 +03:00
MihailRis
536035441a
fixes
2025-11-16 18:35:04 +03:00
MihailRis
654267f2d4
add io::MemoryDevice
2025-11-16 17:38:26 +03:00
MihailRis
dae7d10a74
fix
2025-11-16 17:38:05 +03:00
MihailRis
9279b8385e
add finalizing_ostream
2025-11-16 16:52:29 +03:00
MihailRis
1c92a7c9e7
add memory_view_istream
2025-11-16 16:52:20 +03:00
MihailRis
5b26c7d85a
add missing '#pragma once'
2025-11-16 16:12:04 +03:00
MihailRis
0a45277f96
add 'graphics.soft-lighting' setting
2025-11-10 18:28:24 +03:00
MihailRis
630e75c7d9
make adaptive menu fps optional ('display.adaptive-menu-fps' flag)
2025-11-10 00:25:38 +03:00
MihailRis
17ffa73ce7
refactor: move and rename EnginePaths
2025-11-09 20:13:59 +03:00
MihailRis
3b583d4dd6
refactor: Engine, EnginePaths, move CoreParameters to new header
2025-11-09 19:56:46 +03:00
MihailRis
4bafad708e
move window-related code from Engine.cpp to WindowControl
2025-11-09 19:09:35 +03:00
MihailRis
b14bad5d24
add platform::get_executable_path ( #638 )
2025-10-03 21:22:16 +03:00
ChancellorIkseew
b30b19e836
Add borderless window mode (from tasks) ( #630 )
2025-09-30 23:53:15 +03:00
MihailRis
a621b179d3
add 'do-trace-shaders' setting and fix shaders recompiling
2025-08-31 18:14:05 +03:00
MihailRis
ca1b761c8c
Merge branch 'dev' into pathfinding
2025-08-19 19:47:10 +03:00
MihailRis
79bb61bbbe
add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization
2025-08-19 01:33:20 +03:00
MihailRis
a78931205f
feat: async pathfinding
2025-08-03 01:41:18 +03:00
MihailRis
6d88b7c3d1
add dense-render-distance setting
2025-07-25 12:45:28 +03:00
MihailRis
0b598630d0
fix: writeables not reset after world close
2025-07-18 22:57:38 +03:00
MihailRis
b04dbd5809
add 'graphics.ssao' setting
2025-07-12 21:36:27 +03:00
MihailRis
5751802da2
Merge branch 'main' into update-gfx-pipeline
2025-07-01 23:38:38 +03:00
MihailRis
215ae02fa9
fix content control ( #538 )
...
* update ContentControl
* feat: more debug logging
* fix engine paths
2025-07-01 23:38:00 +03:00
MihailRis
6927a87973
Merge branch 'main' into update-gfx-pipeline
2025-06-02 21:42:56 +03:00
MihailRis
4ff42b94c3
update editor & rename 'model' property to 'src'
2025-06-01 23:09:59 +03:00
MihailRis
b272d86619
add 'grahics.advanced-render' and 'graphics.shadows-quality' settings
2025-05-11 01:09:41 +03:00
MihailRis
6164374666
feat: projects & replace builtins.list with 'base_packs' project property
2025-04-22 21:46:10 +03:00
MihailRis
4d1a2b3764
cleanup EnginePaths
2025-04-02 15:01:24 +03:00
MihailRis
331734792d
refactor: add ContentControl class
2025-04-02 15:01:24 +03:00