This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This is a planned HOST-CLIENT code that works barebones * There is a Diagrams folder if you want to see that
- Loading branch information
1 parent
c4b9118
commit e9c1f4a
Showing
79 changed files
with
1,353 additions
and
14,638 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "Lunaris"] | ||
path = Lunaris | ||
url = https://www.github.com/Lohkdesgds/Lunaris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#include <Lunaris/all.h> | ||
|
||
using namespace Lunaris; | ||
|
||
constexpr size_t world_map_width = 32; | ||
constexpr size_t world_map_height = 18; | ||
constexpr double world_delta_update_time_package = 1.0 / 20; | ||
constexpr double user_update_max_rate = 1.0 / 1000; | ||
|
||
constexpr uint32_t max_users_amount = 8; | ||
constexpr size_t username_length_max = 64; | ||
|
||
const std::string default_host_ip = "localhost"; | ||
constexpr u_short default_host_port = 36963; | ||
|
||
#define IABS(X) (X > 0 ? X : -X) | ||
#define TOONESCALE(X) (X > 0 ? 1 : (X < 0 ? -1 : 0)) |
Oops, something went wrong.