game2.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* $Id$
  2. * MegaZeux
  3. *
  4. * Copyright (C) 1996 Greg Janson
  5. * Copyright (C) 1998 Matthew D. Williams - dbwilli@scsn.net
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21. // Include file for GAME2.ASM
  22. #ifndef __GAME2_H
  23. #define __GAME2_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. void update_screen(void);
  28. void _shoot_lazer_c(int x,int y,int dir,int len,int color);
  29. void _shoot_c(int x,int y,int dir,int type);
  30. void _shoot_fire_c(int x,int y,int dir);
  31. void _shoot_seeker_c(int x,int y,int dir);
  32. void _shoot_missile_c(int x,int y,int dir);
  33. char _move(int x,int y,int dir,unsigned int flags);
  34. char _push(int x,int y,int dir,char checking);
  35. char _transport(int x,int y,int dir,int id,int param,int color,char can_push);
  36. int parsedir(int dir,int x,int y,int flow,int bln,int bls,int ble,
  37. int blw);
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif