Commit Graph

470 Commits (143bf1bffa9e1df1a52199125a0045b8d53dead5)

Author SHA1 Message Date
Dominik Madarász 37dc992c2e video: flip chunk tex 2021-07-19 18:16:34 +02:00
Dominik Madarász 7977c60922 video: perform chunk baking on GPU side 2021-07-19 18:03:31 +02:00
Dominik Madarász ee0db9c8c1 world: fix chunk partitioning 2021-07-19 10:28:23 +02:00
Dominik Madarász 20ad88adf4 worldgen: improve noisy shaper 2021-07-19 09:56:15 +02:00
Dominik Madarász 513f05f18e worldgen: disable few features 2021-07-18 21:06:21 +02:00
Dominik Madarász a08ecdd9a2 Textures: finalize chunk stitching 2021-07-18 20:30:27 +02:00
Dominik Madarász ee794495e9 PKT: chunk block streaming + pkt enhancements 2021-07-18 13:23:59 +02:00
Dominik Madarász e056395f8f update zpl 2021-06-01 15:20:04 +02:00
Dominik Madarász 4ea2ba6188 move texed to its own repo 2021-05-19 11:57:49 +02:00
Dominik Madarász a059b9826b ui redesign + color aids 2021-05-18 09:19:01 +02:00
Dominik Madarász c7f7b123bb add tiling preview 2021-05-17 21:27:56 +02:00
Dominik Madarász 5c063fb0b7 ui changes 2021-05-17 21:10:12 +02:00
Vladyslav Hrytsenko 4431597590 code: fix for clang 2021-05-17 22:01:05 +03:00
Dominik Madarász 2345c86629 texed stack ops + few new assets :) 2021-05-17 18:05:22 +02:00
Dominik Madarász 9284086a3d texed: image stacking ops 2021-05-17 07:53:10 +02:00
Dominik Madarász 88f77b709f small tweaks 2021-05-16 16:58:08 +02:00
Dominik Madarász 44066273ea prompt to save unsaved work on exit 2021-05-16 16:39:03 +02:00
Dominik Madarász e1b941ef97 improve color picker layouting + prop spacing 2021-05-16 16:30:13 +02:00
Dominik Madarász a113bea553 center preview image 2021-05-16 16:22:28 +02:00
Dominik Madarász 9e4120284d add slider prop control 2021-05-16 16:11:29 +02:00
Dominik Madarász d195b7756b make op list order independent 2021-05-16 15:38:30 +02:00
Dominik Madarász fb6862ebae improve add op list spacing 2021-05-16 15:18:27 +02:00
Dominik Madarász f1162c797d rework add op ui 2021-05-16 15:15:44 +02:00
Dominik Madarász 82d9f86c0f op list coloring 2021-05-16 14:58:07 +02:00
Dominik Madarász 430a762857 offset prj name a bit 2021-05-16 14:48:18 +02:00
Dominik Madarász 11f84ba241 some ui enhancements 2021-05-16 14:45:30 +02:00
Dominik Madarász f7ec80f332 addt'l improvements for msgbox 2021-05-16 14:40:30 +02:00
Dominik Madarász c71ccf6d23 fix msgbox retrigger bug 2021-05-16 14:08:41 +02:00
Dominik Madarász 3853c53310 add message box prompts 2021-05-16 14:07:28 +02:00
Dominik Madarász 2bf2e5d2e4 add unsaved indicator 2021-05-16 13:36:01 +02:00
Dominik Madarász 2db02dc89a use icons in op list 2021-05-16 13:01:53 +02:00
Dominik Madarász 81cf0bf10f fix dropdown for locked ops 2021-05-16 12:56:36 +02:00
Dominik Madarász 056cb420bb fix small locking issues 2021-05-16 12:24:08 +02:00
Dominik Madarász 10b085efc9 refactor locked ops 2021-05-16 12:14:37 +02:00
Dominik Madarász 9ac94a33f2 disallow TOP_NEW_IMAGE add op 2021-05-16 12:05:29 +02:00
Dominik Madarász de25878efb ensure TOP_NEW_IMAGE is locked 2021-05-16 12:04:29 +02:00
Dominik Madarász 2e9fdc1dda preprocess params for hidden ops 2021-05-16 12:00:41 +02:00
Dominik Madarász 0408d9a6a3 simplify add op dropdown 2021-05-16 11:49:31 +02:00
Dominik Madarász 7d543022e7 some texed tweaks 2021-05-16 11:41:39 +02:00
Dominik Madarász c7e8d4028b fix small bug in texed_new 2021-05-16 11:15:11 +02:00
Dominik Madarász 0408aeffe5 implement few cli commands for texed 2021-05-16 11:10:33 +02:00
Dominik Madarász d8c48dc5fc some tweaks and fixes for texed 2021-05-16 00:24:42 +02:00
Dominik Madarász 0a667d968e make op list more compact 2021-05-15 23:55:29 +02:00
Dominik Madarász 77de2566dc improve texed layout rules 2021-05-15 22:27:35 +02:00
Dominik Madarász a42bdf1d3c texed bugfixes and qol improvements 2021-05-15 22:09:25 +02:00
Dominik Madarász 7090a8601d make texed resizable 2021-05-15 20:00:57 +02:00
Dominik Madarász 5863d6c746 store zoom in ecotex files 2021-05-15 19:40:27 +02:00
Dominik Madarász b26ac74cbf improve backwards compat 2021-05-15 19:17:47 +02:00
Dominik Madarász 276bd21b65 fix ctx.selected_op on swap 2021-05-15 18:41:30 +02:00
Dominik Madarász 8623c18127 better color picker 2021-05-15 17:48:15 +02:00
Dominik Madarász 0fdc718e44 texed v1 2021-05-15 17:19:50 +02:00
Dominik Madarász a0188ced5b texed props editing 2021-05-15 16:25:18 +02:00
Dominik Madarász 6c6fb61511 add exporters 2021-05-15 15:23:04 +02:00
Dominik Madarász 17b1a9cb9b texed save/load prj 2021-05-15 14:51:44 +02:00
Dominik Madarász a7717b88d7 texture editor wip 2021-05-15 13:43:29 +02:00
Dominik Madarász c479667bcc add raygui + texed wip 2021-05-14 07:59:33 +02:00
Dominik Madarász 9e5612aac0 prep for texgen tool 2021-05-14 07:39:36 +02:00
Dominik Madarász 903bcc3afa pre-work for chunk stitching 2021-05-14 07:02:25 +02:00
Dominik Madarász ffbb2c1333 shrink debug ui toggle button a bit 2021-05-14 06:28:34 +02:00
Dominik Madarász 44d98257c7 small cleanup in debug code 2021-05-14 06:24:56 +02:00
Dominik Madarász 60454a302a debug menu toggle button 2021-05-14 06:23:53 +02:00
Dominik Madarász 7c0347011e fix typo 2021-05-14 06:10:38 +02:00
Dominik Madarász 5783c4b03e eliminate debug move delay 2021-05-13 21:53:22 +02:00
Dominik Madarász 56f092d39b make debug ui movable 2021-05-13 21:42:31 +02:00
Dominik Madarász c93e5e4e46 improve time profiling 2021-05-13 16:37:53 +02:00
Dominik Madarász 3b56791bec clarify on total time 2021-05-13 16:15:21 +02:00
Dominik Madarász 18bcc93a61 graceful shutdown method 2021-05-13 16:12:18 +02:00
Dominik Madarász 7cb2b480b3 do incremental entity cleanup 2021-05-13 15:44:08 +02:00
Dominik Madarász 784037a8fa entity cleanup disable + remark 2021-05-13 15:05:48 +02:00
Dominik Madarász 0ca80b7441 dont draw nametags for EKIND_THING 2021-05-13 14:56:30 +02:00
Dominik Madarász a4bd8197b9 dont measure debug_draw in PROF_RENDER scope 2021-05-13 14:45:39 +02:00
Dominik Madarász b4701807f3 add debug ui btn support 2021-05-13 14:36:07 +02:00
Dominik Madarász eb65910d15 implement debug ui + profiling 2021-05-13 14:17:44 +02:00
Dominik Madarász 16bcb94158 add texgen code wip 2021-05-12 19:38:11 +02:00
Dominik Madarász 6621d248b8 introduce basic asset system 2021-05-12 19:26:41 +02:00
Dominik Madarász b4ae2d01df store Image instead of Texture in blocks 2021-05-12 18:38:47 +02:00
Dominik Madarász e5b99d829f introduce wip block texgen 2021-05-12 18:28:39 +02:00
Dominik Madarász fb5c2fae86 restructure the project, again 2021-05-12 17:50:30 +02:00
Dominik Madarász 884f10e6ec code cleanup + fixes 2021-05-12 16:42:22 +02:00
Dominik Madarász 1c72255e09 small worldgen reorg 2021-05-12 16:02:12 +02:00
Dominik Madarász 468a78873c world zoom out overlay 2021-05-12 15:30:44 +02:00
Dominik Madarász 87319250b4 improve camera zoom 2021-05-10 18:02:23 +02:00
Dominik Madarász 3dc99c9198 update flecs to 2.3.2 2021-05-10 16:41:13 +02:00
Dominik Madarász 5d9f44f2b0 pkt_send_librg_update 2021-05-10 16:33:32 +02:00
Dominik Madarász f1a7c96135 simplify project structure 2021-05-10 13:27:01 +02:00
Dominik Madarász d14b8246f5 delete entities w/o fadeout if current view isn't active 2021-05-10 11:58:59 +02:00
Dominik Madarász bb48704bd6 entity_view warn fixes 2021-05-10 11:40:56 +02:00
Dominik Madarász 3327a6d8b3 world cleanup 2021-05-10 11:35:04 +02:00
Dominik Madarász 5087dbcc2d exclude chunks from updates 2021-05-10 11:24:55 +02:00
Dominik Madarász 26bc38b492 project cleanup 2021-05-10 10:43:05 +02:00
Vladyslav Hrytsenko f8a856b05d code: more fixes for mac 2021-05-10 10:10:26 +03:00
Dominik Madarász 7df3155f4f pred changes 2021-05-10 08:30:03 +02:00
Vladyslav Hrytsenko 5254455872 code: fixes for macos 2021-05-10 09:28:56 +03:00
Dominik Madarász 68f274580a chunk streaming alpha transition 2021-05-10 00:40:25 +02:00
Dominik Madarász db0517eb3f EVERYTHING IS SO SMOOTH NOW 2021-05-09 21:12:11 +02:00
Dominik Madarász cbb3d37141 perf improvements 2021-05-09 18:25:34 +02:00
Dominik Madarász 30da3e9a1b layered streaming 2021-05-09 16:41:19 +02:00
Dominik Madarász 7c39e51a07 improve prediction code + layer updates 2021-05-09 15:52:46 +02:00
Dominik Madarász 074a3c601f small prediction tweaks 2021-05-09 12:29:59 +02:00
Dominik Madarász 7d1e5c1d61 added basic prediction + pkt_dump_struct 2021-05-09 12:27:10 +02:00
Dominik Madarász c5df24cefc some world fixes 2021-05-08 22:32:31 +02:00
Dominik Madarász de93637d9a fix mouse movement speed 2021-05-08 18:38:33 +02:00
Dominik Madarász d4aab12811 increase limits 2021-05-08 18:10:34 +02:00
Dominik Madarász 8b3e26667e improve player movement 2021-05-08 17:48:09 +02:00
Dominik Madarász 489b75d9c1 improve debug ground rendering 2021-05-08 17:42:47 +02:00
Dominik Madarász b4bc76719f ensure cam zoom is wld scale dependent 2021-05-08 15:35:53 +02:00
Dominik Madarász 2320ba8eec prep world updater for upcoming librg update 2021-05-08 11:59:32 +02:00
Dominik Madarász d7975eacb7 introduce HandleCollisions system 2021-05-08 11:22:25 +02:00
Dominik Madarász 6a8e5286ea small changes 2021-05-08 11:06:53 +02:00
Dominik Madarász 235acfa122 wip demo npc test 2021-05-08 11:05:15 +02:00
Dominik Madarász 6b4d5d467a use EcsPostUpdate for tracker upd 2021-05-08 10:08:37 +02:00
Dominik Madarász 178ca92ff7 phys changes 2021-05-08 10:03:18 +02:00
Dominik Madarász d5f150619d add world boundary collision 2021-05-08 09:18:50 +02:00
Dominik Madarász 9612846d79 addt'l world dim changes 2021-05-08 09:07:24 +02:00
Dominik Madarász 57b1193ef1 world_size -> chunk_amount 2021-05-08 08:55:12 +02:00
Dominik Madarász ad4167b4f7 rework world scaling + flecs dash on/off switch 2021-05-08 02:21:27 +02:00
Dominik Madarász 9719d19aea rmb to move with mouse 2021-05-08 00:11:09 +02:00
Dominik Madarász 7e55d21c5f tweak camera speed and rand plr pos 2021-05-07 22:53:45 +02:00
Dominik Madarász ef8788d51e improve world rendering + nametags 2021-05-07 22:48:15 +02:00
Dominik Madarász ef2ae5a1e6 improve move system 2021-05-07 17:24:22 +02:00
Dominik Madarász 1ad39ad67e player movement impl wip 2021-05-07 16:43:54 +02:00
Dominik Madarász 1b06c13f5e camera zoom 2021-05-07 14:27:51 +02:00
Dominik Madarász 2ddf1e48fd camera follow player + lerp 2021-05-07 13:47:45 +02:00
Dominik Madarász 51c31d9777 project cleanup 2021-05-07 12:51:32 +02:00
Dominik Madarász f204fbef58 wip
inlife: librg stuff:
- check git merge
2021-05-06 23:45:55 +02:00
Dominik Madarász d9bfd072c2 finalize packing changes 2021-05-06 20:24:01 +02:00
Dominik Madarász 16617d7109 wip packing 2021-05-06 18:26:52 +02:00
Dominik Madarász 97b4cc6864 refactor the world system 2021-05-06 17:30:38 +02:00
Dominik Madarász 8c122607a8 wip librg stuff 2021-05-06 09:56:38 +02:00
Dominik Madarász 87018a963a librg events wip 2021-05-06 00:03:43 +02:00
Dominik Madarász df6e844c98 code cleanup 2021-05-05 16:00:10 +02:00
Dominik Madarász f5f35d0187 update librg every 100ms 2021-05-05 15:52:28 +02:00
Dominik Madarász ed3eaa2b89 basic librg integration + new packets 2021-05-05 15:14:02 +02:00
Dominik Madarász 14fd6dd634 add camera 2021-05-05 12:14:52 +02:00
Dominik Madarász c679773e51 entity_view + packets changes 2021-05-05 11:25:05 +02:00
Dominik Madarász 3af10cd782 simplify/reduce player spawn flow 2021-05-05 09:55:45 +02:00
Dominik Madarász 2094d416c8 add pkt_pack_desc_args 2021-05-04 23:12:32 +02:00
Dominik Madarász 55ea1e740f display conn status 2021-05-04 22:44:55 +02:00
Dominik Madarász dbc7617f61 allow client to generate_minimap 2021-05-04 22:32:12 +02:00
Dominik Madarász 5d824bbd27 introduce game api layer 2021-05-04 21:45:51 +02:00
Dominik Madarász e85b15d5f1 fix MP support 2021-05-04 21:22:55 +02:00
Dominik Madarász e5d45a8c67 the rest 2021-05-04 19:41:30 +02:00
Dominik Madarász 481cabf74b major refactor 2021-05-04 19:39:50 +02:00
Dominik Madarász 3a54a77371 rem func 2021-05-04 16:05:25 +02:00
Dominik Madarász 8055302bdf rle compression for binary blobs 2021-05-04 16:01:47 +02:00
Dominik Madarász 44ade35dd0 write data packer + add playground app 2021-05-04 13:04:15 +02:00
Dominik Madarász a4ce84c5f9 simplify unpacking process 2021-05-04 10:08:00 +02:00
Dominik Madarász 5b2db7cd78 define SERVER 2021-05-04 02:01:31 +02:00
Dominik Madarász cf955ef3fb additional packing helpers 2021-05-04 01:57:19 +02:00
Dominik Madarász 93c68ee3c8 pkt_unpack_struct 2021-05-04 01:38:47 +02:00
Dominik Madarász b135b62a2b small progress on packing 2021-05-04 00:44:39 +02:00
Dominik Madarász 738b612798 small changes + win32 support 2021-05-03 21:53:28 +02:00
Dominik Madarász a2025bdb35 wip: stuff from yt 2021-01-26 20:16:08 +01:00
Dominik Madarász 26dc40451a set client name 2021-01-25 07:38:02 +01:00
Dominik Madarász 594df6c087 fixes 2021-01-23 19:24:52 +01:00
Dominik Madarász a906afea7b MoveWalk 2021-01-19 15:58:16 +01:00
Dominik Madarász 50a750ab2d code: move raylib to FindRaylib.cmake 2021-01-19 12:02:17 +01:00
Dominik Madarász 7a246e4e44 small tweaks 2021-01-19 11:47:54 +01:00
Dominik Madarász 9085ae8da2 code: make modules standalone 2021-01-19 11:43:56 +01:00
Dominik Madarász f241a0d280 code: modules built as static lib 2021-01-19 11:34:11 +01:00
Dominik Madarász 12d9f2da1b code: components -> modules 2021-01-19 11:31:23 +01:00
Dominik Madarász 59e82f618d code: cleanup 2021-01-19 11:20:21 +01:00
Dominik Madarász 8f44f5eec9 code: refactor components 2021-01-19 11:19:12 +01:00
Dominik Madarász 294d35c0c4 cmake: further cleanup 2021-01-19 10:57:08 +01:00
Dominik Madarász 52d61551a9 cmake: reorganize project structure 2021-01-19 10:44:43 +01:00
Dominik Madarász d744f37ac4 use ECS_ALIAS 2021-01-18 17:54:25 +01:00
Dominik Madarász b2cf7e001b deps: add flecs-dash 2021-01-18 17:40:47 +01:00
Dominik Madarász de5554cecc code: basic asset descriptions 2021-01-18 15:46:11 +01:00
Dominik Madarász 872273c42b deps: updated flecs to 2.3.0 2021-01-18 15:03:08 +01:00
Dominik Madarász 67726b66aa provide EcsActor 2021-01-18 14:48:28 +01:00
Dominik Madarász fb7423e4b1 code: hotfix 2021-01-18 14:47:03 +01:00
Dominik Madarász a2604b08a5 code: Add drawable component 2021-01-18 14:45:16 +01:00
Dominik Madarász 2500cbb101 code: specify flecs id range 2021-01-18 14:25:18 +01:00
Dominik Madarász f5d313bc90 code: don't import General 2021-01-18 14:22:05 +01:00
Dominik Madarász 0f7179cb62 code: structure out flecs code 2021-01-18 13:16:38 +01:00
Dominik Madarász 5000a11dd1 code: small change 2021-01-18 00:35:15 +01:00
Dominik Madarász 138bd6e7fb code: server signal handling + refactors 2021-01-18 00:09:29 +01:00
Dominik Madarász 1705d97620 code: armageddon 2021-01-17 16:33:56 +01:00
Dominik Madarász 172dbaeda7 code: small tweaks 2021-01-17 16:06:56 +01:00
Vladyslav Hrytsenko 2ed30603c1 code: added flecs, integrated with librg 2021-01-17 16:23:23 +02:00
Vladyslav Hrytsenko 3dabfc965e code: added cwpack dep 2021-01-17 13:05:29 +02:00
Vladyslav Hrytsenko 610cadb145 code: added chunk options 2021-01-17 09:57:08 +02:00
Vladyslav Hrytsenko 82a3b9e7ff code: added client side enet loop 2021-01-17 09:30:59 +02:00
Vladyslav Hrytsenko eafc2af26e code: added enet server loop + small file reorg on server 2021-01-17 09:03:06 +02:00
Vladyslav Hrytsenko 6345eb5fa6 code: fixes for macos cmake 2021-01-16 17:49:45 +02:00
Dominik Madarász e0f99907c1 code: fix deps 2021-01-15 10:18:36 +01:00
Dominik Madarász 1ac29b8dce code: update vendors vol.2 2021-01-15 01:34:08 +01:00
Dominik Madarász 86d4151cdc code: update deps 2021-01-15 01:10:15 +01:00
Dominik Madarász 1f6947ca0e code: update server cmake 2021-01-14 17:46:43 +01:00
Dominik Madarász 659cbe700f code: update deps + fixes 2021-01-14 17:37:20 +01:00
Dominik Madarász 553eca86aa code: small changes 2021-01-14 17:03:10 +01:00
Dominik Madarász d10ae63aa7 Fix worldgen dims bug 2021-01-11 22:50:14 +01:00
Dominik Madarász 6a15cfaa82 Use putc for minimap 2021-01-11 22:23:43 +01:00
Dominik Madarász f74580b3cb signal handling 2021-01-11 22:12:26 +01:00
Dominik Madarász 617e9742d3 move main.c to client-common 2021-01-11 21:35:43 +01:00
Dominik Madarász c76eab22b2 Add world size option 2021-01-11 21:25:09 +01:00
Dominik Madarász a9885f9763 Rename renderer to platform 2021-01-11 21:11:03 +01:00
Dominik Madarász 43bd646071 Introduce eco2d-cli 2021-01-11 21:08:16 +01:00
Dominik Madarász b3bff8c7fd Fix random seed print 2021-01-11 20:32:16 +01:00
Dominik Madarász b2b9b9dee1 Add a newline to minimap 2021-01-11 20:30:10 +01:00
Dominik Madarász d35eb07ce0 Print random seed 2021-01-11 19:28:57 +01:00
Dominik Madarász 870a21fd9f add worldgen variation 2021-01-11 19:10:56 +01:00
Dominik Madarász b9b82ba6e6 cleanup 2021-01-11 18:42:03 +01:00
Dominik Madarász 00b353130d generalise world_perlin_cond 2021-01-11 18:39:34 +01:00
Dominik Madarász efd6c009d8 noise50 and 33 2021-01-11 18:33:27 +01:00
Dominik Madarász cce7262549 add more observers 2021-01-11 18:30:47 +01:00
Dominik Madarász 181168e9fd add worldgen block observer 2021-01-11 18:15:11 +01:00
Dominik Madarász f6dd28e5ee world_fill_dot 2021-01-11 17:49:00 +01:00
Dominik Madarász 9b6b80e5fe Add shared atlas header 2021-01-11 17:29:18 +01:00
Dominik Madarász bdb04aa2b0 worldgen basic demo 2021-01-11 17:20:12 +01:00
Dominik Madarász 61403ce807 additional changes 2021-01-11 15:51:42 +01:00
Dominik Madarász 88fa3cbb71 world code 2021-01-11 15:48:17 +01:00
Dominik Madarász 0712851e3e world api 2021-01-11 15:42:36 +01:00
Dominik Madarász a6761bf271 Add blocks API 2021-01-11 15:27:32 +01:00
Dominik Madarász f0713d7fc1 Added basic perlin noise gen 2021-01-11 14:47:14 +01:00
Dominik Madarász 10ead34ff6 client: fix win32 2021-01-10 17:52:20 +01:00
Vladyslav Hrytsenko a177e4c208 code: added base 2021-01-10 18:42:01 +02:00
Dominik Madarász aff02ea737 meta: librg 2021-01-10 13:42:56 +01:00
Dominik Madarász 6acb0a2bd2 Add zpl 2021-01-10 13:30:40 +01:00
Dominik Madarász 2a7bbf9e6b Meta: skeleton raylib 2021-01-10 13:23:11 +01:00