home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / SWAT.CPP < prev    next >
C/C++ Source or Header  |  1997-01-16  |  1KB  |  28 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++ Builder
  3. //Copyright (c) 1987 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. // left to do:
  9. // 1. get cursors working
  10. // 2. get GameTime option to work in options dialog
  11. //---------------------------------------------------------------------------
  12. USEFORM("swatmain.cpp", SwatForm);
  13. USEFORM("about.cpp", AboutBox);
  14. USEFORM("options.cpp", OptionsDlg);
  15. //---------------------------------------------------------------------
  16. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  17. {
  18.     Application->Initialize();
  19.     Application->Title = "Swat!";
  20.     Application->CreateForm(__classid(TSwatForm), &SwatForm);
  21.     Application->CreateForm(__classid(TAboutBox), &AboutBox);
  22.     Application->CreateForm(__classid(TOptionsDlg), &OptionsDlg);
  23.     Application->Run();
  24.  
  25.     return 0;
  26. }
  27. //---------------------------------------------------------------------------
  28.