Wei Mingzhi 11 years ago
parent
commit
d70187aec1
57 changed files with 57 additions and 46 deletions
  1. 1 0
      battle.c
  2. 1 0
      battle.h
  3. 1 0
      ending.c
  4. 1 0
      ending.h
  5. 1 0
      fight.c
  6. 1 0
      fight.h
  7. 1 0
      font.c
  8. 1 0
      font.h
  9. 1 0
      game.c
  10. 1 0
      game.h
  11. 1 0
      getopt.c
  12. 1 0
      getopt.h
  13. 1 0
      global.c
  14. 1 0
      global.h
  15. 1 0
      input.c
  16. 1 0
      input.h
  17. 1 0
      input_PSP.c
  18. 1 0
      itemmenu.c
  19. 1 0
      itemmenu.h
  20. 1 0
      magicmenu.c
  21. 1 0
      magicmenu.h
  22. 1 0
      main.c
  23. 1 0
      main.h
  24. 2 1
      main_PSP.h
  25. 1 0
      map.c
  26. 1 0
      map.h
  27. 1 0
      midi.c
  28. 1 0
      midi.h
  29. 0 45
      pal_s60-10.cpp
  30. 1 0
      palcommon.c
  31. 1 0
      palcommon.h
  32. 1 0
      palette.c
  33. 1 0
      palette.h
  34. 1 0
      play.c
  35. 1 0
      play.h
  36. 1 0
      res.c
  37. 1 0
      res.h
  38. 1 0
      rixplay.cpp
  39. 1 0
      rixplay.h
  40. 1 0
      rngplay.c
  41. 1 0
      rngplay.h
  42. 1 0
      scene.c
  43. 1 0
      scene.h
  44. 1 0
      script.c
  45. 1 0
      script.h
  46. 1 0
      sound.c
  47. 1 0
      sound.h
  48. 1 0
      text.c
  49. 1 0
      text.h
  50. 1 0
      ui.c
  51. 1 0
      ui.h
  52. 1 0
      uibattle.c
  53. 1 0
      uibattle.h
  54. 1 0
      uigame.c
  55. 1 0
      uigame.h
  56. 1 0
      util.c
  57. 1 0
      util.h

+ 1 - 0
battle.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
battle.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
ending.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
ending.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
fight.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
fight.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
font.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
font.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
game.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
game.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
getopt.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 1987, 1993, 1994
 //   The Regents of the University of California. All rights reserved.

+ 1 - 0
getopt.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 1987, 1993, 1994
 //   The Regents of the University of California. All rights reserved.

+ 1 - 0
global.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
global.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
input.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // Portions Copyright (c) 2009, netwan.

+ 1 - 0
input.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
input_PSP.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Pal_Bazzi.
 //

+ 1 - 0
itemmenu.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
itemmenu.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
magicmenu.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
magicmenu.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
main.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
main.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 2 - 1
main_PSP.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Pal_Bazzi.
 //
@@ -112,4 +113,4 @@ void sdlpal_psp_init(void)
 
    // set PSP CPU clock
    scePowerSetClockFrequency(333 , 333 , 166);
-}
+}

+ 1 - 0
map.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
map.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
midi.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2011, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
midi.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2011, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 0 - 45
pal_s60-10.cpp

@@ -1,45 +0,0 @@
-//
-// Copyright (c) 2009, netwan. All rights reserved.
-//
-// This file is part of SDLPAL.
-//
-// SDLPAL 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.
-//
-// This program 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 <http://www.gnu.org/licenses/>.
-//
-
-#ifdef __SYMBIAN32__
-
-#include <eikstart.h>
-#include <sdlmain.h>
-#include <sdlepocapi.h>
-
-/*
-This file demonstrates how to change CSDL when using sdlexe.lib - i.e. if default flags are not
-ok  - you dont have to use CSDL API directly, you can write this file add add it in to your S60 SDL
-compilation. Then you dont statically link  sdlmain.lib or  sdlmaint.lib libraries
-*/
-
-GLREF_C TInt E32Main()
-    {
-#ifdef __S60_5X__
-    return SDLEnv::SetMain(SDL_main,CSDL::EEnableFocusStop
-                    | CSDL::EAutoOrientation /*| CSDL::EAllowImageResizeKeepRatio | CSDL::EDrawModeGdi*/,
-             NULL/*, SDLEnv::EParamQuery | SDLEnv::EEnableVirtualMouseMoveEvents*/);
-#else
-    return SDLEnv::SetMain(SDL_main,CSDL::EEnableFocusStop
-                | CSDL::EAutoOrientation | CSDL::EAllowImageResizeKeepRatio /*| CSDL::EDrawModeGdi*/,
-         NULL, /*SDLEnv::EParamQuery |*/ SDLEnv::EEnableVirtualMouseMoveEvents);
-#endif
-    }
-
-#endif

+ 1 - 0
palcommon.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
palcommon.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
palette.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
palette.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
play.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2008, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
play.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
res.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
res.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
rixplay.cpp

@@ -1,3 +1,4 @@
+/* -*- mode: c++; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2008, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
rixplay.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
rngplay.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
rngplay.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
scene.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
scene.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
script.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
script.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
sound.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
sound.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
text.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2008, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
text.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
ui.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
ui.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
uibattle.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
uibattle.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
uigame.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
uigame.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.

+ 1 - 0
util.c

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // Portions Copyright (c) 2004, Pierre-Marie Baty.

+ 1 - 0
util.h

@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
 //
 // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
 // All rights reserved.