Ignore:
Timestamp:
Apr 29, 2012, 11:55:32 PM (9 years ago)
Author:
sam
Message:

core: tick methods now use seconds, like any sane system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.h

    r1030 r1310  
    22// Monsterz
    33//
    4 // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2005-2012 Sam Hocevar <sam@hocevar.net>
    55//   This program is free software; you can redistribute it and/or
    66//   modify it under the terms of the Do What The Fuck You Want To
     
    5656static int const MAX_PIECES = 12;
    5757
    58 /* Time step of the eagle, in milliseconds per pixel */
    59 static int const STEP_EAGLE = 10;
     58/* Time step of the eagle, in seconds per pixel */
     59static float const STEP_EAGLE = 0.01f;
    6060/* Number of clouds on screen */
    6161static int const MAX_CLOUDS = 10;
    6262
    6363/* Minimal duration of the idle loop */
    64 static int const DELAY_IDLE = 300;
     64static float const DELAY_IDLE = 0.3f;
    6565/* Minimal delay before a blink */
    66 static int const DELAY_BLINK = 10000;
     66static float const DELAY_BLINK = 10.f;
    6767/* Duration of a blink */
    68 static int const DURATION_BLINK = 200;
     68static float const DURATION_BLINK = 0.2f;
    6969/* Wait time until the next whip sound is allowed */
    70 static int const DELAY_WHIP = 300;
     70static float const DELAY_WHIP = 0.3f;
    7171/* Delay between a monster's surprise face and its explosion */
    72 static int const DELAY_DUH = 200;
     72static float const DELAY_DUH = 0.2f;
    7373/* Duration of the explosion */
    74 static int const DELAY_POP = 500;
     74static float const DELAY_POP = 0.5f;
    7575
    7676#endif // __MONSTERZ_MONSTERZ_H__
Note: See TracChangeset for help on using the changeset viewer.