Compare commits

..

182 commits

Author SHA1 Message Date
4a76fc88fd
fix(lfs): re-add assets
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Successful in 13s
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Failing after 53s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped
2025-04-21 18:46:37 -04:00
f0ccea2a95
fix(lfs): move assets to Git LFS 2025-04-21 18:44:31 -04:00
d1625af8eb feat(ci): windows build support 2025-04-21 17:52:56 -04:00
a8fb89c4a9 Merge branch 'cicd' (#9)
Closes #6

Reviewed-on: #9
2025-04-21 23:24:47 +02:00
09ad151b5e fix(ci): caching and vulkan builds, add tests 2025-04-21 17:08:22 -04:00
22a61ea824 Merge branch 'sparse-sets' (#5)
Closes #2

Reviewed-on: #5
2025-04-21 00:07:59 +02:00
4c02b4b783 chore: fix typo in function name 2025-04-21 00:05:33 +02:00
a4f3d5b9ef feat(ecs): add rudimentary sparse set impl 2025-04-20 23:54:16 +02:00
1aa2c048b1 fix(ci): remove unneeded -y argument from cargo-install 2025-04-20 15:57:42 -04:00
8e0039c033 fix(ci): use cargo-install instead of cargo-binstall 2025-04-20 15:55:38 -04:00
41dff49da2 fix(ci): correct mismatched cache keys 2025-04-20 15:39:18 -04:00
4678061693 fix(ci): incorrect tar arguments 2025-04-20 15:32:42 -04:00
6a33f76325 fix(ci): use correct link for zig 2025-04-20 15:28:27 -04:00
54ff61804d fix(ci): do not pipe tar when extracting zig 2025-04-20 15:24:14 -04:00
14312e2a09 feat(rendering): add default checkerboard texture 2025-04-20 14:47:30 -04:00
d5c85402a5 Merge branch 'zlog-json' (#1)
Reviewed-on: #1
2025-04-20 20:22:45 +02:00
559368684e fix(zlog): remove unused LogJsonStructure struct 2025-04-19 16:39:49 -04:00
7856664a91 fix: use string logging by default 2025-04-19 16:16:01 -04:00
786ff95853 feat(zlog): add tests 2025-04-19 16:07:04 -04:00
778776e807 feat(zlog)!: JSON logging support 2025-04-19 15:39:21 -04:00
1a35140c12 Revert "feat(ci): use cargo zibuild & xbuild"
This reverts commit 87d810aff3.
2025-04-19 21:12:04 +02:00
d0871bdc15 Revert "fix(ci): ensure node is installed"
This reverts commit cb91bde7f8.
2025-04-19 21:12:03 +02:00
cfd1ed06a2 fix(ci): ensure node is installed 2025-04-19 21:12:01 +02:00
ee70585127 feat(ci): use cargo zibuild & xbuild 2025-04-19 21:11:59 +02:00
13a7170b25 feat(ci): seperate build and setup jobs 2025-04-19 21:11:57 +02:00
6b0fad2509 fix(cicd): remove unneeded docker setup 2025-04-19 21:11:55 +02:00
4704284b2d chore(nix): cleanup and update flake 2025-04-19 21:11:52 +02:00
4f4920bd32 feat: add obj model loading
Co-authored-by: Chance <caznix01@gmail.com>
2025-04-19 21:11:51 +02:00
a5cc577043 fix: LICENSE copyright attribution 2025-04-19 21:11:49 +02:00
98d500a6eb fix(ci): renamed .gitlab to .forgejo, corrected workflow name 2025-04-19 21:11:46 +02:00
1521cad5cd wip(rendering): obj model loading 2025-04-19 21:11:44 +02:00
69cc0b264c fix(rendering): enable alpha blending 2025-04-19 21:11:42 +02:00
f2bb6e235c fix(android): properly destroy windows on suspend 2025-04-19 21:11:38 +02:00
89e4e5e11f feat(android): basic android support via winit native activity 2025-04-19 21:11:37 +02:00
0938c7d5fa feat(rendering): rendering textures with camera
Co-authored-by: BitSyndicate <contact@bitsyndicate.de>
2025-04-19 21:11:35 +02:00
1a9a8d6d3b feat: set max loglevel in logger configuration 2025-04-19 21:11:30 +02:00
2c8b4e8831 feat: add the ability to open and close new windows 2025-04-19 21:11:28 +02:00
4e3b4cd674 fix(ci): add missing vulkan libraries 2025-04-19 21:11:26 +02:00
b7a4befd47 fix: add .vscode to .gitignore 2025-04-19 21:11:20 +02:00
d30b0a2d2a feat: basic triangle rendering 2025-04-19 21:11:18 +02:00
b10568484e feat: event based non-blocking logger 2025-04-19 21:11:16 +02:00
30c11215b6 feat: fix apt not finding gcc in ci/cd 2025-04-19 21:11:13 +02:00
00d9be487d feat: add cross compilation without cargo-cross 2025-04-19 21:11:12 +02:00
8902b1522d feat: make ci/cd pipeline multi-target 2025-04-19 21:11:10 +02:00
196d015d92 feat: simplify ci/cd pipeline 2025-04-19 21:11:07 +02:00
369e54eb60 feat: add a WIP ci/cd pipeline 2025-04-19 21:11:05 +02:00
93da141584 Update .gitlab-ci.yml file 2025-04-19 21:11:03 +02:00
a302f47b2b chore: modify readme to use up to date information 2025-04-19 21:11:00 +02:00
947f6c4cad feat: modify flakenix to include cargo utils 2025-04-19 21:10:59 +02:00
af67d9e589 chore: broaden the support of ci/cd 2025-04-19 21:10:57 +02:00
f0deb7951e feat: push logs to a dedicated buffer 2025-04-19 21:10:37 +02:00
d5890818c6 refactor: A new beginning 2025-04-19 21:10:33 +02:00
b0e682e454 move Cross.toml to engine folder 2025-04-19 21:10:30 +02:00
00488d1791 seperate nested cross commands 2025-04-19 21:10:29 +02:00
cb8ab0afe6 fix: temporarily switch to codeberg-small 2025-04-19 21:10:27 +02:00
258b7374fd fix: configure cross with Cross.toml 2025-04-19 21:10:24 +02:00
f23d50c66a fix: specify docker in docker 2025-04-19 21:10:22 +02:00
ad8828fac0 fix: cross cant find cargo 2025-04-19 21:10:20 +02:00
d3256b70e5 Merge branch 'main' of codeberg.org:Caznix/Zenyx 2025-04-19 21:10:09 +02:00
d50e47ba54 fix:manually set up docker-in-docker 2025-04-19 21:10:06 +02:00
Speedy_Lex
d25ffc6276 Fix getting cache info on aarch64 2025-04-19 21:10:03 +02:00
d105ff745b properly specify artifact uses 2025-04-19 21:10:01 +02:00
2aa5f2157a feat:rework ci/cd to use cargo-cross 2025-04-19 21:10:00 +02:00
655a5607fe build: remove unused .cargo folder 2025-04-19 21:09:58 +02:00
Speedy_Lex
40714a390c Try fix CI artifacts 2025-04-19 21:09:56 +02:00
Speedy_Lex
2be426cb02 Fix windows hanging on main window close 2025-04-19 21:09:54 +02:00
ae5cb17b7d fix: typo in arrch in workflow 2025-04-19 21:09:52 +02:00
3458028064 fix: sudo not intalled on runners 2025-04-19 21:09:50 +02:00
f67211234c fix: specify github source for actions-rs 2025-04-19 21:09:48 +02:00
0b3b91ad19 fix: pkg-config cannot cross compile to different architectures 2025-04-19 21:09:46 +02:00
7d79e13f51 fix: dont use codeberg's broken ci/cd runners 2025-04-19 21:09:44 +02:00
494683c0e8 fix: workflow fails due to long file names 2025-04-19 21:09:42 +02:00
b5ae2a73a5 fix: ci/cd workflow doesnt properly compile wayland 2025-04-19 21:09:40 +02:00
242520098b change github workflow to be forgejo compatible 2025-04-19 21:09:38 +02:00
43e157a3d0 build: remove unused rust-toolchain.toml 2025-04-19 21:09:36 +02:00
00ec1350b7 feat: basic GUI terminal when pressing F12 2025-04-19 21:09:32 +02:00
07871b77f3 chore: run clippy and cargo fmt on pending changes 2025-04-19 21:09:10 +02:00
db3d078935 fix: build script generates dead code warnings if versioning data is not used 2025-04-19 21:08:47 +02:00
71bdff0854 build: remove regex dependency in favor of rust iterators 2025-04-19 21:08:46 +02:00
ead0c12749 fix: running default Nix package doesnt provide runtime libraries 2025-04-19 21:08:44 +02:00
970e9757c9 feat: add more useful debug information to system metadata 2025-04-19 21:08:40 +02:00
ed23402212 update panic handler with system information 2025-04-19 21:08:00 +02:00
ed93baa404 add window icon 2025-04-19 21:07:54 +02:00
81e6b5cc4b fix creating two event loops at once 2025-04-19 21:07:16 +02:00
1413bd213f Merge branch 'main' of codeberg.org:Caznix/Zenyx 2025-04-19 21:06:07 +02:00
42f9c669c8 improve error handling and add metadata 2025-04-19 21:05:05 +02:00
6eae536478 improve error handling 2025-04-19 21:05:03 +02:00
a990d1c9c8 cross compile for windows and macOS 2025-04-19 21:05:01 +02:00
2d4736f12e show dialog on panic 2025-04-19 21:04:59 +02:00
Caznix
43b8e75ad7 Merge pull request 'Improve rendering and reduce rendering related crashes' from error_handling into main 2025-04-19 21:04:50 +02:00
11194e863e formatting 2025-04-19 21:04:46 +02:00
d0d0e7c016 remove unneeded clone 2025-04-19 21:04:43 +02:00
cae3b40541 load arbitrary model data 2025-04-19 21:04:41 +02:00
a853c24bc3 refactor renderer into smaller functions 2025-04-19 21:04:40 +02:00
2d40291d77 include runtime dependencies in default package 2025-04-19 21:04:34 +02:00
6b1b0d30f4 close all windows if the main window is destroyed 2025-04-19 21:04:32 +02:00
ceefdaf46b fix selecting wrong window for key events 2025-04-19 21:04:31 +02:00
Caznix
ce4702ec5f Merge pull request 'multi window support' from rendering into main 2025-04-19 21:04:22 +02:00
Caznix
0992586b54 Merge branch 'main' into rendering 2025-04-19 21:04:16 +02:00
8c6051c79d fix multi window support 2025-04-19 21:04:11 +02:00
883bd7ea69 exit event loop properly 2025-04-19 21:04:09 +02:00
06de4a85e5 convert the vec of windows to a hashmap 2025-04-19 21:04:08 +02:00
8f0c8dbb3d feat: attempt to close winit window (?) 2025-04-19 21:04:02 +02:00
d6806d4dbe feat: handle spawning multiple windows 2025-04-19 21:03:54 +02:00
f147330692 rename build.nix to default.nix 2025-04-19 21:03:51 +02:00
Caznix
75e09747c7 Merge pull request 'input_test' from input_test into main 2025-04-19 21:03:31 +02:00
9aa5079bce Merge branch 'rendering' 2025-04-19 21:03:25 +02:00
49178e89c9 press esc to change bg color 2025-04-19 21:03:21 +02:00
a6fa240e5d format rust and nix files 2025-04-19 21:03:19 +02:00
d694fa1eb9 deprecate and remove zlua 2025-04-19 21:03:17 +02:00
40792592b0 proper 3d projection 2025-04-19 21:03:15 +02:00
852d3f855d Merge pull request from Zenyx-Engine/core_update
core update
2025-04-19 21:03:09 +02:00
15b148df37 Merge branch 'main' into core_update 2025-04-19 21:03:03 +02:00
32a5c46f8c cube 2025-04-19 21:02:42 +02:00
593b9ef119 remove welcome message to save terminal space 2025-04-19 21:02:41 +02:00
5ae67d0162 update workflow to use nightly 2025-04-19 21:02:37 +02:00
487897cdb9 finally fix workflow i hope 2025-04-19 21:02:35 +02:00
c563119c77 remove categories 2025-04-19 21:02:34 +02:00
efd863d444 Merge pull request from Zenyx-Engine/dependabot/cargo/colored-3.0.0
Update colored requirement from 2.2.0 to 3.0.0
2025-04-19 21:02:28 +02:00
dependabot[bot]
6770d28454 Update colored requirement from 2.2.0 to 3.0.0
Updates the requirements on [colored](https://github.com/mackwic/colored) to permit the latest version.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: colored
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-19 21:02:24 +02:00
7093448efe Merge pull request from GhostedGaming/main
Added Lua standard library
2025-04-19 21:02:17 +02:00
9768d8177c Merge pull request from GhostedGaming/main
Added a file for zlua and made a new function
2025-04-19 21:02:08 +02:00
GhostedGaming
96c383cb39 Removed Problems 2025-04-19 21:02:04 +02:00
GhostedGaming
8d6bb42e83 add rudimentary Text editor 2025-04-19 21:01:53 +02:00
GhostedGaming
9e7d8dff13 Added better syntax 2025-04-19 21:01:49 +02:00
GhostedGaming
cb52ce8de0 Imported the whole library and now we have alot more functtions (sorry caz) 2025-04-19 21:01:48 +02:00
GhostedGaming
f39df7d29d Working if statement
partially
2025-04-19 21:01:45 +02:00
GhostedGaming
7e940200c6 Added a file for zlua and made a new function 2025-04-19 21:01:43 +02:00
173da4c14a ZLUA REPL!!!!! (#18) 2025-04-19 21:01:42 +02:00
c57e5c2d49 polish repl (#17)
* add less daunting panic message on release builds
2025-04-19 21:01:37 +02:00
40769ec693 change cargo.toml name (#14)
* 🔥🔥🔥🔥🔥

* make workflow use nightly

* remove code quality checks temporarily

* fix check version i think

* build for windowsARM

* forgot to specify target

* change cargo.toml to zenyx to fix workflow
2025-04-19 21:01:36 +02:00
cc9beed5d5 specify windows arm target (#13)
* 🔥🔥🔥🔥🔥

* make workflow use nightly

* remove code quality checks temporarily

* fix check version i think

* build for windowsARM

* forgot to specify target
2025-04-19 21:01:34 +02:00
7359780b57 windows ARM workflow (#12) 2025-04-19 21:01:31 +02:00
08f090b6fe burn everything to the ground (#11)
🔥🔥🔥🔥🔥
2025-04-19 21:01:29 +02:00
3d87381f55 Improve repl autocorrect and error handling
* Combine comparison algorithims for autocorrect

* clear zephyr functions

* remove redundant comments because co-pilot is stupid and i probably will never try to use it again

* implement basic tab completion

* fix unused items

* Make workflow check code quality

* split code quality into its own file

* make action fail on bad formatting

* change workflow to nightly

* f it, code quality is considered breaking

* fix forgetting to set toolchain back to nightly when rewriting workflow (😔)

* Add condition for too little arguments

* run cargo fmt

* remove unneeded feature directive
2025-04-19 21:01:28 +02:00
3ac4dbddc2 Merge pull request from Zenyx-Engine/improve-repl
Improve repl
2025-04-19 21:01:12 +02:00
2c389c356a apply clippy changes 2025-04-19 21:01:08 +02:00
ae62990e90 fix formatting 2025-04-19 21:01:05 +02:00
c163860c0a fix tokio runtime stack overflow due to recursion 2025-04-19 21:01:04 +02:00
7adf770d54 exec .zenshell files + shell extensions
Co-authored-by: Tristan Poland (Trident_For_U) <tristanpoland@users.noreply.github.com>
2025-04-19 21:01:02 +02:00
acf22483a8 check command similarity 2025-04-19 21:00:59 +02:00
a599ef7df9 change the look of autocompletion 2025-04-19 21:00:57 +02:00
6c1e53ade4 make repl support strings via both double and single quotes 2025-04-19 21:00:56 +02:00
9baae0c875 fix unwrap errors 2025-04-19 21:00:52 +02:00
bab618708f add rust formatting rules 2025-04-19 21:00:50 +02:00
6f264d9278 print logging state upon change 2025-04-19 21:00:49 +02:00
2e026cfc85 Merge pull request from eatmynerds/rustyline-keyevents
Rustyline KeyEvents
2025-04-19 21:00:43 +02:00
eatmynerds
f982c78c5b Control logging using key events 2025-04-19 21:00:39 +02:00
1be431cf6f Merge branch 'main' of https://github.com/Caznix/Zenyx 2025-04-19 21:00:33 +02:00
69410274d7 Add release checking to rust workflow 2025-04-19 21:00:25 +02:00
33e304c68b Create dependabot.yml 2025-04-19 21:00:24 +02:00
c96a8ea2e5 update main readme and add readme for Zephyr 2025-04-19 21:00:22 +02:00
e0b84814f7 add zephyr ECS subcrate 2025-04-19 21:00:19 +02:00
506755d06f Add press kit section 2025-04-19 21:00:17 +02:00
0618d08076 Remove seperate editor and xtask 2025-04-19 21:00:15 +02:00
b7d727d9b5 replace reedline with rustyline 2025-04-19 21:00:10 +02:00
64e08c592d improve formatting 2025-04-19 21:00:08 +02:00
a7690ee3ae bump logo size 2025-04-19 21:00:07 +02:00
44c6f394ec add readme with branding 2025-04-19 21:00:00 +02:00
45fe541093 Merge branch 'main' of https://github.com/Caznix/Zenyx 2025-04-19 20:59:54 +02:00
8efa695ad0 remove --verbose from tests 2025-04-19 20:59:49 +02:00
Jason Spalti
23817b5b95 Refactor logging system to switch between stdout and file logging
* Refactor logging to switch between stdout and file logging

* Use "clear" instead of "tput reset" for unix

* Remove redundant comments
2025-04-19 20:59:48 +02:00
3ad52908e6 Merge pull request from eatmynerds/repl
Add descriptions to commands and improve REPL display formatting
2025-04-19 20:58:56 +02:00
Jason Spalti
aa75aa4157 Add descriptions to commands and improve REPL display formatting 2025-04-19 20:58:50 +02:00
cbc7b3a2e2 draw with wgpu 2025-04-19 20:58:49 +02:00
f9863934d5 WINIT WINDOW!!!! 2025-04-19 20:58:42 +02:00
b777761d54 no windows on arm 😔 2025-04-19 20:58:41 +02:00
abdf457981 test of github actions will actually use aarch64 this time 2025-04-19 20:58:39 +02:00
b1ef40d631 rename output file to bin instead of binary 2025-04-19 20:58:30 +02:00
b6b2eb6176 un seperate them cuz they compile twice? 2025-04-19 20:58:28 +02:00
3f0da1b539 seperate jobs 2025-04-19 20:58:27 +02:00
019ba263a9 run aarch64 in qemu??? im running out of ideas 2025-04-19 20:58:25 +02:00
4a71c4a988 disable fail-fast 2025-04-19 20:58:23 +02:00
2d9ef17fa0 idfk at this point 2025-04-19 20:58:22 +02:00
359bfd94c5 cross tools 2025-04-19 20:58:17 +02:00
fab19db2d7 only include binaries 2025-04-19 20:58:15 +02:00
a040ebd069 nvm 2025-04-19 20:58:14 +02:00
b1bea01210 maybe arm? 2025-04-19 20:58:05 +02:00
f4d934f07a fix cross compilation? 2025-04-19 20:58:04 +02:00
dad45beda2 fix foreign architectures 2025-04-19 20:58:02 +02:00
bd1895a2fb Merge branch 'main' of https://github.com/Caznix/Zenyx 2025-04-19 20:57:41 +02:00
941c91eb0f Rename cargo.toml to Cargo.toml 2024-12-01 18:10:14 -05:00
5 changed files with 8 additions and 19353 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
*.obj filter=lfs diff=lfs merge=lfs -text
*.mtl filter=lfs diff=lfs merge=lfs -text

View file

@ -1,22 +0,0 @@
# Blender 4.2.3 LTS MTL File: 'None'
# www.blender.org
newmtl Material.001
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 1
newmtl Material.003
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 1

19331
Pumpkin.obj

File diff suppressed because it is too large Load diff

BIN
assets/Pumpkin.mtl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/Pumpkin.obj (Stored with Git LFS) Normal file

Binary file not shown.