Skip to content

Commit

Permalink
Add draft of spawn and world rendering implementation (#10)
Browse files Browse the repository at this point in the history
* WIP: fancy send implementation

* WIP: more types in fancy send

* Use a single return in fancy_send

* Use more descriptive error names

* WIP: add fancy_send remaining cases except Struct and Union

* Remove old sending code

* Add union types to new sender implementation

* Reduce name fanciness

* WIP: Add struct sending

* Remove unused code

* Add first assets

* Add draft of spawning in the world

* Add spawn function with initial world

* Add first draft of new asset loading functions

* UnFP asset loading implementation

* Update asset loading functions to deallocate strings

* Use std functions for string manipulation and extension checking

* Fix send_pointer's treatment of C pointers

* Receive data in the new format on the server

* Add self PID to payload

* Connect to localhost for now

* Prepare to ignore stuff from 0.13

* Uncomment test step

* Improve erlang message sending interface

* Undelete sender.zig

* Tighten up Erlang interface

* Be profound and indulge in self-discovery

* Rename main entry point of Erlang interface

* update view with upsert clause on func

* Don't switch from strings to binaries just yet

* Revision tweaks

* Save server process ID in client

* sql: make trigger use the proper schema

* sql: minor fix on functions and triggers

* sql: use a proper map in the comment

* Add rotation and movement physics to in game character

* Finish pinging server when moving character within the map

* Remove unused imports

* Address comments

* Fix typos

---------

Co-authored-by: Marinho <marinho.pinotti@gmail.com>
Co-authored-by: Marcos Magueta <maguetamarcos@gmail.com>
Co-authored-by: Marcos Benevides <marcos.schonfinkel@gmail.com>
  • Loading branch information
4 people committed Aug 20, 2024
1 parent d2624b4 commit 5d1025a
Show file tree
Hide file tree
Showing 29 changed files with 116,192 additions and 326 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rebar3.crashdump

# Zig
zig-cache/
.zig-cache/
zig-out/
/release/
/debug/
Expand All @@ -35,4 +36,4 @@ result
.devenv

# Mac
src/.DS_Store
src/.DS_Store
Binary file added client/assets/Ancient_jar_diffuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5d1025a

Please sign in to comment.