home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- //Borland C++ Builder
- //Copyright (c) 1987 Borland International Inc. All Rights Reserved.
- //----------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- // left to do:
- // 1. get cursors working
- // 2. get GameTime option to work in options dialog
- //---------------------------------------------------------------------------
- USEFORM("swatmain.cpp", SwatForm);
- USEFORM("about.cpp", AboutBox);
- USEFORM("options.cpp", OptionsDlg);
- //---------------------------------------------------------------------
- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
- {
- Application->Initialize();
- Application->Title = "Swat!";
- Application->CreateForm(__classid(TSwatForm), &SwatForm);
- Application->CreateForm(__classid(TAboutBox), &AboutBox);
- Application->CreateForm(__classid(TOptionsDlg), &OptionsDlg);
- Application->Run();
-
- return 0;
- }
- //---------------------------------------------------------------------------
-