2011-06-17 07:02:43 -06:00
|
|
|
/*
|
|
|
|
https://github.com/peterix/dfhack
|
2012-09-29 20:03:37 -06:00
|
|
|
Copyright (c) 2009-2012 Petr Mrázek (peterix@gmail.com)
|
2011-06-17 07:02:43 -06:00
|
|
|
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
|
|
warranty. In no event will the authors be held liable for any
|
|
|
|
damages arising from the use of this software.
|
|
|
|
|
|
|
|
Permission is granted to anyone to use this software for any
|
|
|
|
purpose, including commercial applications, and to alter it and
|
|
|
|
redistribute it freely, subject to the following restrictions:
|
|
|
|
|
|
|
|
1. The origin of this software must not be misrepresented; you must
|
|
|
|
not claim that you wrote the original software. If you use this
|
|
|
|
software in a product, an acknowledgment in the product documentation
|
|
|
|
would be appreciated but is not required.
|
|
|
|
|
|
|
|
2. Altered source versions must be plainly marked as such, and
|
|
|
|
must not be misrepresented as being the original software.
|
|
|
|
|
|
|
|
3. This notice may not be removed or altered from any source
|
|
|
|
distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-05-22 16:07:19 -06:00
|
|
|
union SDL_Event;
|
2022-12-23 20:05:00 -07:00
|
|
|
|
|
|
|
DFhackCExport void dfhooks_init();
|
|
|
|
DFhackCExport void dfhooks_shutdown();
|
|
|
|
DFhackCExport void dfhooks_update();
|
|
|
|
DFhackCExport void dfhooks_prerender();
|
2023-05-22 16:07:19 -06:00
|
|
|
DFhackCExport bool dfhooks_sdl_event(SDL_Event* event);
|
2022-12-23 20:05:00 -07:00
|
|
|
DFhackCExport bool dfhooks_ncurses_key(int key);
|