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
| #ifdef DEBUG_BUILD | |
| # define DEBUG(x) fprintf(stderr, x) | |
| #else | |
| # define DEBUG(x) do {} while (0) | |
| #endif |
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
| /* | |
| * debug.h | |
| * | |
| * Created on: 5 Marzo 2020 | |
| * Author: Franco | |
| * Description: | |
| * Il debug viene automaticamente creato se DEBUG_PORT o DEBUG_ESP_PORT viene definito con la porta da usare (Es: Serial) | |
| * DEBUG_PORT deve essere definita in compilazione o come #DEFINE. DEBUG_ESP_PORT viene automaticamente settata da | |
| * Arduino IDE dal menù 'strumenti\Debug port' per gli ESP con gli altri parametri di debug per il wifi. | |
| * Se non si usa Arduino IDE può essere definita come per DEBUG_PORT |
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 <iostream> | |
| #include <Windows.h> | |
| #include "SFML/Graphics.hpp" | |
| #include "spdlog/spdlog.h" | |
| #include "spdlog/sinks/stdout_color_sinks.h" | |
| #include "dds.hpp" | |
| #define FALCON_TEXTURE_SHM TEXT("FalconTexturesSharedMemoryArea") |
OlderNewer