~ubuntu-branches/debian/lenny/liquidwar/lenny

« back to all changes in this revision

Viewing changes to src/ticker.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Pineau
  • Date: 2006-10-25 01:17:05 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061025011705-uhpq6sddtyoxjnqr
Tags: 5.6.3-3
* Maintainer upload.
* Acknowledge previous NMU (Closes: #391237). Thanks to Michael Ablassmeier.
* debian/rules
   + Switched to quilt for patch handling.
   + Install .desktop file and icon
* debian/control:
   + Set policy to 3.7.2.2 -- no changes.
   + remove ${misc:Depends} from Liquidwar depends (useless in our case)
   + replace {Source-Version} by {source:Version} for liquidwar-data
   + replace {Source-Version} by {binary:Version} for liquidwar-server
   + Build-depend on quilt.
   
* 010_doc.diff: (new patch from old diff.gz)
   + documentation fixes.
   
* 010_misc.diff: (new patch from old diff.gz) 
   + changed color palette of liquidwar_32x32.xpm

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
/*****************************************************************************/
24
24
/* Liquid War is a multiplayer wargame                                       */
25
 
/* Copyright (C) 1998-2004 Christian Mauduit                                 */
 
25
/* Copyright (C) 1998-2005 Christian Mauduit                                 */
26
26
/*                                                                           */
27
27
/* This program is free software; you can redistribute it and/or modify      */
28
28
/* it under the terms of the GNU General Public License as published by      */
60
60
/* variables globales                                               */
61
61
/*==================================================================*/
62
62
 
63
 
#ifdef ALLEGRO_DOS
 
63
#ifdef DOS
64
64
#define TICKER_STEP 5
65
65
#else
66
66
#define TICKER_STEP 10
90
90
start_ticker (void)
91
91
{
92
92
  int result = 0;
93
 
  //#ifdef ALLEGRO_DOS
 
93
  //#ifdef DOS
94
94
  LOCK_FUNCTION (ticker_handler);
95
95
  LOCK_VARIABLE (TICKER_VALUE);
96
96
 
103
103
void
104
104
stop_ticker (void)
105
105
{
106
 
  //#ifdef ALLEGRO_DOS
 
106
  //#ifdef DOS
107
107
  remove_int (ticker_handler);
108
108
  //#endif
109
109
}
112
112
int
113
113
get_ticker (void)
114
114
{
115
 
  //#ifdef ALLEGRO_DOS
 
115
  //#ifdef DOS
116
116
  return TICKER_VALUE;
117
117
  //#else
118
118
  //return ++TICKER_VALUE;