Commit Graph

562 Commits (a9efa0f01cae990dd8616f4bd4e0e19723fe06b7)

Author SHA1 Message Date
Dominik Madarász fe497ae71b fix item render 2022-10-16 02:27:25 +02:00
Dominik Madarász 2d09fd90cd consider non-collision blocks as ground blocks 2022-10-16 02:13:38 +02:00
Dominik Madarász 671445d4a7 improve rendering 2022-10-16 02:00:19 +02:00
Dominik Madarász 174e5a0452 custom dim sprites 2022-10-16 01:48:23 +02:00
Dominik Madarász 50967aa046 z ordering for outer blocks + improve entity aabb collisions 2022-10-16 00:49:29 +02:00
Dominik Madarász a7622ceeec introduce a sorted render queue 2022-10-15 23:10:46 +02:00
Dominik Madarász 2040984666 update minimal texgen 2022-10-15 13:51:22 +02:00
Dominik Madarász 0c099af4e8 texgen overrides 2022-10-15 13:48:05 +02:00
Dominik Madarász 11c3f26126 rename icemaker to coal + textures 2022-10-15 13:26:07 +02:00
Dominik Madarász 2663b713f2 ticked systems 2022-10-05 16:21:43 +02:00
Dominik Madarász 9a6a8b360a durability meter + fix dropping items 2022-09-29 22:49:40 +02:00
Dominik Madarász e51d941010 items can have storage now 2022-09-29 20:49:00 +02:00
Dominik Madarász 3f96594fdb move all static data to lists folder 2022-09-29 20:11:47 +02:00
Dominik Madarász 7f098734f5 rework blueprinting to use asset ids instead 2022-09-29 19:56:00 +02:00
Dominik Madarász 686149829e wake producer when producing items 2022-09-29 19:39:34 +02:00
Dominik Madarász 6ae7aff24c add blueprinting 2022-09-29 19:28:56 +02:00
Dominik Madarász 24e30dd90a add device progress bar 2022-09-29 18:06:08 +02:00
Dominik Madarász ed5fd927ab add more vehicle types 2022-09-29 17:35:43 +02:00
Dominik Madarász 11929260e2 fix all msvc W3 warnings 2022-09-29 16:41:28 +02:00
Vladyslav Hrytsenko b6cf690c25 code: commited fixes to compilation 2022-09-29 17:33:36 +03:00
Dominik Madarász 6a7dc92966 fix invalid calls 2022-09-29 16:29:31 +02:00
Dominik Madarász e718164544 models wip 2022-09-29 16:16:06 +02:00
Dominik Madarász 8e013c4171 make prefabs folder 2022-09-29 16:05:07 +02:00
Vladyslav Hrytsenko 914b72c44f code: fixed memleak in flecs query 2022-09-29 16:21:40 +03:00
Vladyslav Hrytsenko 5d7ad90e0d code: fix build on mac 2022-09-29 16:10:59 +03:00
Dominik Madarász 86b57bd3a1 drop vsync for desktop + TEXTURE_WRAP_CLAMP for chunks 2022-09-29 15:02:40 +02:00
Dominik Madarász f9b00b3b12 add GenFrameRect 2022-09-29 14:19:16 +02:00
Dominik Madarász 583535c138 minimal texgen 2022-09-29 14:17:47 +02:00
Dominik Madarász 85e87b0e81 minimal renderer skeleton 2022-09-29 14:11:42 +02:00
Dominik Madarász 2b9118a206 input code merge 2022-09-29 14:05:35 +02:00
Dominik Madarász 8ae09dd00c texgen helpers 2022-09-29 14:02:22 +02:00
Dominik Madarász 01afd45007 merge glue code between games 2022-09-29 13:59:51 +02:00
Dominik Madarász fd1ea14de5 win fixes 2022-09-29 13:04:25 +02:00
Vladyslav Hrytsenko 8a12661689 code: removed minimal 3d 2022-09-28 23:03:21 +03:00
Vladyslav Hrytsenko 645111b53c code: changed zoom behavior 2022-09-28 23:01:47 +03:00
Vladyslav Hrytsenko 3fd5e282cf code: minor qol changes 2022-09-28 21:40:59 +03:00
Vladyslav Hrytsenko 04175594d4 code: added caching function to ecs_get_mut 2022-09-28 20:10:40 +03:00
Dominik Madarász 0be5d87ede
lots of changes 2022-09-28 13:17:33 +00:00
Dominik Madarász b8e3decc96
add some impl comments 2022-09-28 05:53:52 +00:00
Dominik Madarász 7aadeed518
interim changes 2022-09-28 05:29:32 +00:00
Dominik Madarász 0c95f1148a
Revert "all storage systems are dynamic now"
This reverts commit b6b632899d.
2022-09-27 15:22:13 +00:00
Dominik Madarász d02439b033
wip minimal demo 2022-09-27 14:19:57 +00:00
Dominik Madarász b6b632899d
all storage systems are dynamic now 2022-09-27 13:55:24 +00:00
Dominik Madarász b3589bac81
first first steps towards isolated game code 2022-09-27 12:56:48 +00:00
Dominik Madarász 7db50cc0d4
update librg 2022-09-27 11:58:35 +00:00
Vladyslav Hrytsenko c74c1efe7c code: updated librg + zpl dependencies 2022-09-18 18:35:53 +03:00
Vladyslav Hrytsenko 599621fdd8 code: updated librg version 2022-09-18 18:34:13 +03:00
Dominik Madarász 9a1e4bef96 Merge remote-tracking branch 'origin/master' 2022-09-15 22:52:00 +02:00
Dominik Madarász da8030bab8 device code 2022-09-15 22:50:48 +02:00
Dominik Madarász 8ca11b3ec7
drop tree on car collision 2022-09-14 13:12:12 +00:00
Dominik Madarász cd9a746a61
revert to SP rates 2022-09-14 09:11:50 +00:00
Dominik Madarász 674e8b1628
smooth out delta time 2022-09-14 09:07:59 +00:00
Dominik Madarász 3436bed2ac
use MP update rate 2022-09-14 09:03:00 +00:00
Dominik Madarász 9f60890a20
improve debug ui 2022-09-14 08:34:31 +00:00
Dominik Madarász c4e4ff0587
update tracker pos conditionally + optimisations 2022-09-14 08:02:35 +00:00
Dominik Madarász 449ebc6de2
use different target zoom 2022-09-14 06:57:24 +00:00
Dominik Madarász 77b98f71be
major optimisations and changes in logic 2022-09-14 06:45:01 +00:00
Dominik Madarász aacfe2cad4
show overlay on min zoom 2022-09-13 16:30:57 +00:00
Dominik Madarász b4d09018ab
perf improvements in systems 2022-09-13 16:24:43 +00:00
Dominik Madarász b4c62e0827
remove DrawTextExEco override, raylib already does what we need 2022-09-13 15:30:18 +00:00
Dominik Madarász 66a058674d
update platform layer (raylib) 2022-09-13 14:54:16 +00:00
Dominik Madarász 839fad077d
render world overlay on top 2022-09-13 13:56:03 +00:00
Dominik Madarász 04621adcd3
eliminate integer based rendering 2022-09-13 13:52:42 +00:00
Dominik Madarász 378d42a0aa
renderer: draw floating-point text 2022-09-13 12:07:40 +00:00
Dominik Madarász c20793d896
code: fix profiler collate not being called 2022-09-13 11:27:54 +00:00
Dominik Madarász 5f908771df
code: optimize streamer and entity packer 2022-09-13 11:25:08 +00:00
Dominik Madarász 05144764bd
various improvements + release build fix 2022-09-13 10:02:36 +00:00
Dominik Madarász 9f72b44cd0
update readme 2022-09-12 07:44:36 +00:00
Dominik Madarász a95606d21b
fix enum warn 2022-09-12 07:08:22 +00:00
Dominik Madarász 6ce2664d57
web tweaks 2022-09-12 07:00:47 +00:00
Dominik Madarász 356f88f3ba
script improvements 2022-09-12 06:54:59 +00:00
Dominik Madarász 1411fad9eb
improve zooming on web 2022-09-11 20:42:37 +00:00
Dominik Madarász 80df7758cc
hide exit button in web build 2022-09-11 20:29:25 +00:00
Dominik Madarász f97de43881
autofit page 2022-09-11 20:20:35 +00:00
Dominik Madarász f1ac78a461
web build scripts + qol fixes 2022-09-11 19:58:30 +00:00
Dominik Madarász 644fd23a0d
emscripten support 2022-09-11 17:42:06 +00:00
Dominik Madarász 04e257ec61 introduce entity spawndefs 2022-08-13 08:43:15 +02:00
Dominik Madarász 3b0c2e7f19 bulldozer mode 2022-08-11 12:41:36 +02:00
Dominik Madarász 2c3110b63e improve item dragging 2022-08-09 18:11:02 +02:00
Dominik Madarász 079819e8d1 improve mouse picking 2022-08-09 17:54:00 +02:00
Dominik Madarász ca2ded9554 inv: render held items on top 2022-08-09 17:32:58 +02:00
Dominik Madarász a2810b2a18 rend: improve sel item rendering 2022-08-09 17:17:12 +02:00
Dominik Madarász d0d69e7039 code: storage system and mouse picking 2022-08-09 16:46:23 +02:00
Dominik Madarász 4164e62a7b ui: improve inventory code 2022-08-08 13:57:03 +02:00
Dominik Madarász 68b57468a4 ecs: fix demo npc wake 2022-08-08 13:19:12 +02:00
Dominik Madarász 16001c24b9 ent: entity_set_position helper 2022-08-01 11:28:54 +02:00
Dominik Madarász c7d251eb44 pkt: action-based entity stream throttling 2022-08-01 11:19:52 +02:00
Dominik Madarász 28987c36d9 code: enable monitoring 2022-07-31 16:44:54 +02:00
Dominik Madarász 28c07c53c8 code: update flecs to v3 2022-07-31 16:34:47 +02:00
Dominik Madarász ffb8aa80a2 world: send data only to active viewers 2022-07-31 14:21:40 +02:00
Dominik Madarász 5fe4ed2ee8 pkt: log player entity creation info 2022-07-31 12:58:17 +02:00
Dominik Madarász 7b9f2a8de2 code: drop obsolete librg call 2022-07-31 12:58:00 +02:00
Dominik Madarász e655331950 network: fix client despawn 2022-07-31 12:30:41 +02:00
Dominik Madarász a2f76237f8 network: rework view_id 2022-07-31 12:24:31 +02:00
Dominik Madarász 3b40354054 code: fix warnings 2022-07-31 11:35:07 +02:00
Dominik Madarász 5fec9574c8 code: fix macro warning 2022-07-31 11:31:19 +02:00
Dominik Madarász bc88ca1670 game: fix exit on server 2022-07-31 11:30:01 +02:00
Dominik Madarász 5e44976039 ui: remove inv header 2022-07-31 11:21:41 +02:00
Dominik Madarász 6acd8d202a packets: rework encode func 2022-07-31 11:21:27 +02:00
Dominik Madarász df9c45468a code: add an ability to provide host conn details 2022-07-31 10:46:06 +02:00
Vladyslav Hrytsenko d8ae0b0d91 deps: update enet with experimental 2022-07-30 21:32:24 +03:00
Dominik Madarász 7019079020 Merge branch 'master' of github.com:zpl-c/eco2d 2022-07-30 20:28:38 +02:00
Dominik Madarász d15f6ee8ab net: fix client disconnect 2022-07-30 20:28:33 +02:00
Vladyslav Hrytsenko c0915ae648 Revert "code: updated enet dependency"
This reverts commit 947a6992cc.
2022-07-30 20:55:05 +03:00
Dominik Madarász e9dbbf279a Merge branch 'master' of github.com:zpl-c/eco2d 2022-07-30 19:54:20 +02:00
Dominik Madarász 49cd5ac416 code: small fixes 2022-07-30 19:54:16 +02:00
Vladyslav Hrytsenko 947a6992cc code: updated enet dependency 2022-07-30 20:13:13 +03:00
Vladyslav Hrytsenko 1713adb0a3 code: updated librg version 2022-07-30 20:08:27 +03:00
Vladyslav Hrytsenko 937cf4fd18 code: removed tailing lines 2022-07-30 15:11:00 +03:00
Dominik Madarász 80fbb030bd adapt 2D view on window resolution changes 2021-11-29 09:23:08 +01:00
Dominik Madarász cf173f3d50 general improvements and cleanup 2021-11-08 16:54:41 +01:00
Dominik Madarász 242fd9250b decrease anim framerat e 2021-11-07 15:23:12 +01:00
Dominik Madarász 63db7893b4 network stats + tweaks 2021-11-07 14:41:13 +01:00
Dominik Madarász 970334aa7a Fix tracker timing 2021-11-04 16:00:39 +01:00
Dominik Madarász 682b8f5d8f code cleanup and fixes 2021-11-04 15:43:23 +01:00
Dominik Madarász d85919855e animated tiles support 2021-11-04 13:34:15 +01:00
Dominik Madarász 890bc09d1f introduce item_id + cleanup 2021-11-03 19:09:19 +01:00
Dominik Madarász 331ee39672 introduce block_id 2021-11-03 19:04:34 +01:00
Dominik Madarász 16d2b41f3c raise block indexing to 16-bits! 2021-11-03 18:38:32 +01:00
Dominik Madarász 7ecff06ae8 limit block count at compile time 2021-11-03 18:21:10 +01:00
Dominik Madarász 5cf92444e2 validate worldgen data 2021-11-03 18:02:10 +01:00
Dominik Madarász 3ce8df35dc don't build over collidable/essential inner blocks 2021-11-03 17:48:56 +01:00
Dominik Madarász 797c23e8c5 don't replace foreign blocks 2021-11-03 17:17:48 +01:00
Dominik Madarász dcd5f0046a refund block if we replace the same ID 2021-11-03 17:16:35 +01:00
Dominik Madarász 51d60169b3 increase build range 2021-11-03 16:43:15 +01:00
Dominik Madarász 37cbaa4a3c Restrict item overdraw placement 2021-11-03 16:41:42 +01:00
Dominik Madarász 2695bbf32d add remarks for world editing 2021-11-03 16:33:25 +01:00
Dominik Madarász 9d6993d7b1 improve build mode 2021-11-03 16:29:45 +01:00
Dominik Madarász 428e59c69e check for non-item asset 2021-11-03 16:07:07 +01:00
Dominik Madarász f6bc4d3d44 update zpl and fix conveyor belt speed 2021-11-03 15:31:10 +01:00
Dominik Madarász 6405e59117 update zpl 2021-11-03 15:02:30 +01:00
Dominik Madarász 30f34d51e5 various improvements 2021-11-03 14:34:32 +01:00
Dominik Madarász 4ee2524773 build mode straight lines support 2021-11-02 19:14:54 +01:00
Dominik Madarász 42a58ef5fb directional build mode 2021-11-02 18:58:55 +01:00
Dominik Madarász 1a5a550512 improve worldgen + conveyor belts 2021-11-02 18:09:54 +01:00
Dominik Madarász 2130d85edf info: asset_setup.h for quick nav 2021-11-02 13:02:08 +01:00
Dominik Madarász 365b3e8ee3 rewrite block system 2021-11-02 12:49:03 +01:00
Dominik Madarász f8da96b968 make item system depend on assets 2021-11-02 11:48:32 +01:00
Dominik Madarász 9482b41fb9 keystate activators 2021-11-02 10:22:04 +01:00
Dominik Madarász 28c41baa93 Render outer block layer separately 2021-11-01 20:59:30 +01:00
Vladyslav Hrytsenko a7c060660e Merge branch 'master' of github.com:zpl-c/eco2d 2021-11-01 21:34:42 +02:00
Vladyslav Hrytsenko 7c3950cd11 code: updated vehicle steering system 2021-11-01 21:34:38 +02:00
Dominik Madarász dfce2db483 input: check for delta changes 2021-11-01 20:23:54 +01:00
Dominik Madarász 67ca6d4dba CRLF to LF 2021-11-01 19:55:13 +01:00
Vladyslav Hrytsenko 01eff09e49 code: added new steering behavior 2021-11-01 20:37:09 +02:00
Vladyslav Hrytsenko a7b5e0db8a code: commented out fullscreen 2021-11-01 20:36:49 +02:00
Vladyslav Hrytsenko f14f3cdaef code: changed line endings 2021-11-01 20:36:26 +02:00
Dominik Madarász 9fe2c68ef4 fixes 2021-11-01 19:21:06 +01:00
Vladyslav Hrytsenko fbf9129b8a code: fixed minor stuff 2021-11-01 20:20:07 +02:00
Dominik Madarász 028cdb34b2 temp raylib fixes 2021-11-01 19:00:35 +01:00