doompanning/src/doomlib.hpp
oxmox b3d54ff160 add doomlib which includes doomdef.h to fill out dp_doom_event_t structures
Those dp_doom_event_t structs are doom even_t structs...
2023-02-23 21:57:17 +01:00

10 lines
221 B
C++

#ifndef SRC_DOOMLIB_HPP
#define SRC_DOOMLIB_HPP
#include <optional>
#include <SDL.h>
#include "dp_common.h"
std::optional<dp_doom_event_t> doomevent_from_sdlevent(const SDL_Event &sdl_event);
#endif // SRC_DOOMLIB_HPP