X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.h;h=c01eeef35b57f1268f5a855659be619235772244;hb=34abe02e0e49c2b73912babf54fc63b5cdc56284;hp=63b7f3ad7ae2a0c577906bd039eb65083dd38b65;hpb=d9e8696a3a67052729b1b783f0f3f1b0d20d9e9a;p=16.git diff --git a/src/lib/types.h b/src/lib/types.h old mode 100644 new mode 100755 index 63b7f3ad..c01eeef3 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -1,33 +1,42 @@ -/* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 - * - * This file is part of Project 16. - * - * Project 16 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; either version 3 of the License, or - * (at your option) any later version. - * - * Project 16 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 , or - * write to the Free Software Foundation, Inc., 51 Franklin Street, - * Fifth Floor, Boston, MA 02110-1301 USA. - * - */ +/* Project 16 Source Code~ + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 + * + * This file is part of Project 16. + * + * Project 16 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; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 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 , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ /* * Just some handy typedefs that make it easier to think about the low * level code */ +#ifndef _TYPE_H_ +#define _TYPE_H_ + typedef unsigned char byte; typedef unsigned short word; typedef unsigned long dword; typedef signed char sbyte; typedef signed short sword; typedef signed long sdword; - + +typedef unsigned int iword; +typedef signed int siword; + +typedef enum {false,true} boolean; + +#endif/*_TYPE_H_*/