X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fsystem.h;h=ebc34e088793b5300c96b29ca730f22bd1e1ba22;hp=0de8d42ef9e216cb22c6d87f371dd5b5361b49a3;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=4a0a2f1f4922d5346c4aee584e7d4a13803bffab diff --git a/src/system.h b/src/system.h index 0de8d42..ebc34e0 100644 --- a/src/system.h +++ b/src/system.h @@ -1,8 +1,31 @@ +/* Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef SYSTEM_H_INCLUDED #define SYSTEM_H_INCLUDED #include "glob.h" +enum { Y_BYTE = 1, Y_WORD, Y_DWORD, Y_STRING, Y_SW_ON, Y_SW_OFF, Y_FILES, Y_KEY }; + +typedef struct cfg_t { + const char *cfg; + void *p; + byte t; +} cfg_t; + typedef struct videomode_size_t { int w, h, r; } videomode_size_t;