This file contains hidden or 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
| pub struct LoggerActiveObject { | |
| channel: &'static Channel<LoggerMessage, 4>, | |
| } | |
| impl LoggerActiveObject { | |
| pub fn new( | |
| channel: &'static Channel<LoggerMessage, 4>, | |
| ) -> Self { | |
| LoggerActiveObject { | |
| channel, |
This file contains hidden or 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
| #include <array> | |
| #include <concepts> | |
| #include <coroutine> | |
| #include <cstdlib> | |
| #include <exception> | |
| #include <iostream> | |
| #include <source_location> | |
| #include <string> | |
| #include <utility> |
This file contains hidden or 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
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <zephyr/kernel.h> | |
| ////////////////// deferr.h ////////////////// | |
| struct deferr_t | |
| { | |
| struct k_sem sem; |
This file contains hidden or 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
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <zephyr/kernel.h> | |
| ////////////////// future_and_promise.h ////////////////// | |
| struct future_t | |
| { | |
| void *value; |
This file contains hidden or 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
| #pragma once | |
| #include <cassert> | |
| #include <utility> | |
| enum Errors | |
| { | |
| no_error = 0, | |
| error1 = 1, | |
| error2 = 2, | |
| not_populated, |
This file contains hidden or 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
| #include "raylib.h" | |
| #define GRID_SIZE 100 | |
| #define TILE_SIZE 50 | |
| typedef struct Player { | |
| Vector2 position; | |
| float speed; | |
| float size; | |
| } Player; |