home *** CD-ROM | disk | FTP | other *** search
/ hobbes.nmsu.edu 2008 / 2008-06-02_hobbes.nmsu.edu.zip / new / scummc-0.2.0-os2.zip / ScummC / examples / openquest / titlescreen.scc < prev    next >
Encoding:
Text File  |  2008-04-06  |  1.1 KB  |  43 lines

  1. /* ScummC
  2.  * Copyright (C) 2008  Alban Bedel, Gerrit Karius
  3.  *
  4.  * This program is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU General Public License
  6.  * as published by the Free Software Foundation; either version 2
  7.  * of the License, or (at your option) any later version.
  8.  
  9.  * This program is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  * GNU General Public License for more details.
  13.  
  14.  * You should have received a copy of the GNU General Public License
  15.  * along with this program; if not, write to the Free Software
  16.  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  17.  *
  18.  */
  19.  
  20.  
  21. #include <scummVars6.s>
  22. #include "common.sch"
  23. #include "skyline.scc"
  24.  
  25.  
  26. room TitleScreen {
  27.  
  28.     image = "graphics/rooms/titlescreen_small.bmp";
  29.  
  30.     script proceed( int area, int cmd, int btn ) {
  31.  
  32.         VAR_VERB_SCRIPT = ResRoom::inputHandler;
  33.         screenEffect(0x8787);
  34.         startRoom(Skyline);
  35.     }
  36.     
  37.     local script entry() {
  38.  
  39.         VAR_VERB_SCRIPT = proceed;
  40.     }
  41.  
  42. }
  43.