source: abuse/trunk/src/human.cpp @ 124

Last change on this file since 124 was 124, checked in by Sam Hocevar, 15 years ago
  • Get rid of ugly tabs and trailing spaces everywhere.
File size: 734 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#include "config.h"
11
12#include "human.hpp"
13#include "game.hpp"
14
15
16void human::do_damage(int amount, game_object *from)
17{
18  game_object::do_damage(amount,from);
19  the_game->show_help("Ouch, that really hurt!");
20
21//  if (!gravity())
22//    set_state(flinch);
23}
24
25
26int human::move(int cx, int cy, int button)
27{
28/*  if (state==hanging)
29  {
30    int y_moveup[15]
31    if (end_of_sequence())
32    {
33      int xv=direction,yv
34
35
36    }*/
37  return game_object::move(cx,cy,button);
38
39
40
41}
42
Note: See TracBrowser for help on using the repository browser.