2944 Commits

Author SHA1 Message Date
MihailRis
a1860ff668 cleanup 2025-03-10 14:51:59 +03:00
MihailRis
bf5a5b243f Merge branch 'main' into precipitation 2025-03-09 23:13:04 +03:00
MihailRis
70b3a4d91e refactor 2025-03-09 23:10:22 +03:00
MihailRis
db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
MihailRis
6078a8802e add canvas:set_data 2025-03-08 14:55:17 +03:00
MihailRis
2af55a0227 add Canvas constructor & add canvas:blit 2025-03-08 14:02:57 +03:00
MihailRis
5bbba7f39d add ImageData.drawLine 2025-03-08 13:36:43 +03:00
MihailRis
dca4f283cc add canvas:clear(...), canvas:line(...) 2025-03-07 20:20:27 +03:00
MihailRis
ee3fbc6831 fix: incorrect canvas Y direction 2025-03-07 20:15:25 +03:00
MihailRis
7a86cbdd60 move weather library out of gfx 2025-03-05 18:39:34 +03:00
MihailRis
8640730520 fix weather interpolation & add 'fall.max_intensity' property 2025-03-02 10:38:30 +03:00
MihailRis
9c4db8fa10 refactor: move Weather instance to WorldInfo 2025-02-28 18:49:44 +03:00
MihailRis
0ea842580c add 'thunder_rate' weather property 2025-02-28 18:48:21 +03:00
MihailRis
6e6800aef5 Revert "sort packs in PacksManager::assemble"
This reverts commit 3fb16ab50eedf433c6dce25fb24f760808a0bd19.
2025-02-28 14:03:05 +03:00
MihailRis
a152237f26 add gfx.weather.get_current, get_current_data, get_fall_intencity 2025-02-28 05:23:29 +03:00
MihailRis
4d5b450145 add gfx.weather library & add weather.set command 2025-02-27 07:30:49 +03:00
MihailRis
5607e0f039 fix: entity:despawn in on_save not preventing entity save 2025-02-26 16:35:23 +03:00
MihailRis
02d8d8d6bf weather change test 2025-02-26 12:19:47 +03:00
MihailRis
589518fb25 add fall.max_opacity, fall.opaque properties & update snow texture & weather mix test 2025-02-26 06:24:05 +03:00
MihailRis
18773b3230 fix sky sprites visibility 2025-02-26 05:04:49 +03:00
MihailRis
e6ea4fe37e add fog_curve parameter & update shaders 2025-02-26 04:49:45 +03:00
MihailRis
7b1c03c208 enable weather splash particles serialization 2025-02-26 03:02:50 +03:00
MihailRis
fe503d1192 add weather intensity (WIP) 2025-02-26 02:24:16 +03:00
MihailRis
830e05733f minor refactor 2025-02-26 02:24:16 +03:00
MihailRis
7635fdf807 add rain noise & add rain splashes (WIP) 2025-02-26 02:24:16 +03:00
MihailRis
8dfc948fe3 update main shader 2025-02-26 02:24:16 +03:00
MihailRis
35cf07b0f0 add WeatherPreset 2025-02-26 02:24:16 +03:00
MihailRis
787011d164 optimize PrecipitationRenderer 2025-02-26 02:24:16 +03:00
MihailRis
64fd5d7504 refactor and fix 2025-02-26 02:24:16 +03:00
MihailRis
5cb119cc4c fix pause 2025-02-26 02:24:16 +03:00
MihailRis
0f33b9dd15 fix lights 2025-02-26 02:24:16 +03:00
MihailRis
d36eb85dba snow test 2025-02-26 02:24:16 +03:00
MihailRis
fa6e2e1b1d fix vertical uv mapping 2025-02-26 02:24:16 +03:00
MihailRis
b4456fdb51 add PrecipitationRenderer (WIP) 2025-02-26 02:24:16 +03:00
MihailRis
fd59aa4f65
Merge pull request #476 from MihailRis/zip
ZIP Files
2025-02-26 01:21:19 +03:00
MihailRis
7facc33a7e cleanup 2025-02-26 00:22:57 +03:00
MihailRis
b52cc1aea0 fix ZipFileDevice::list for root path 2025-02-25 23:04:31 +03:00
MihailRis
bd614c5f2e enable deflate compression in io::write_zip 2025-02-25 22:49:31 +03:00
MihailRis
226ee40b5a add output versions of deflate and memory streams 2025-02-25 22:42:57 +03:00
MihailRis
57d05bde57 add io::last_write_time & add io::write_zip 2025-02-25 02:03:01 +03:00
MihailRis
edb581bee3 add io::copy, io::copy_all & fix ZipFileDevice::list 2025-02-24 21:00:23 +03:00
MihailRis
9cc55e30e3 add separateFunc ZipFileDevice constructor argument 2025-02-24 20:06:55 +03:00
MihailRis
310bef1723 implement ZipFileDevice::list 2025-02-23 04:16:02 +03:00
ShadelessFox
f7fa9774d6
Update representation of RGBA 2025-02-22 17:50:21 +01:00
ShadelessFox
0b6ba2faee
Reuse image data instead of fetching it every time off the GPU 2025-02-22 17:49:36 +01:00
MihailRis
58acc1b2ec implement ZipFileDevice methods (WIP) 2025-02-22 07:04:04 +03:00
MihailRis
9389d63a5f add deflate_istream 2025-02-22 07:03:18 +03:00
MihailRis
7f4b074d70 add ZipFileDevice (WIP) 2025-02-22 05:48:48 +03:00
MihailRis
decb820cf9 add memory_istream 2025-02-22 05:47:27 +03:00