Update of /cvsroot/lapetus/lapetus/tests/regtest
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26695
Added Files:
vdp1.c vdp1.h
Log Message:
-Initial add
--- NEW FILE: vdp1.c ---
/* Copyright 2008 Theo Berkau
This file is part of Lapetus.
Lapetus 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 2 of the License, or
(at your option) any later version.
Lapetus 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 Lapetus; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <lapetus.h>
#include "intfac.h"
#include "tests.h"
#include "vdp1.h"
//////////////////////////////////////////////////////////////////////////////
void vdp1test()
{
int choice;
MENUITEMSTRUCT vdp1menu[] = {
{ "Draw commands" , &vdp1drawtest, },
{ "Clip commands" , &vdp1cliptest, },
{ "Misc" , &vdp1misctest, },
{ "Go back to main menu", NULL },
{ "\0", NULL }
};
for (;;)
{
choice = DoMenu(vdp1menu, 8, 14, "VDP1 Tests");
ClearScr();
if (choice == ((sizeof(vdp1menu) / sizeof(MENUITEMSTRUCT)) - 2))
break;
}
}
//////////////////////////////////////////////////////////////////////////////
void vdp1drawtest()
{
}
//////////////////////////////////////////////////////////////////////////////
void vdp1cliptest()
{
}
//////////////////////////////////////////////////////////////////////////////
void vdp1misctest()
{
}
//////////////////////////////////////////////////////////////////////////////
--- NEW FILE: vdp1.h ---
/* Copyright 2008 Theo Berkau
This file is part of Lapetus.
Lapetus 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 2 of the License, or
(at your option) any later version.
Lapetus 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 Lapetus; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef VDP1H
#define VDP1H
void vdp1test();
void vdp1drawtest();
void vdp1cliptest();
void vdp1misctest();
#endif
|