File: eng_frame.h

package info (click to toggle)
gtkatlantic 0.4.2-3
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 4,236 kB
  • ctags: 745
  • sloc: sh: 8,786; ansic: 8,311; xml: 191; makefile: 40
file content (39 lines) | stat: -rw-r--r-- 1,828 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 *     gtkatlantic - the gtk+ monopd client, enjoy network monopoly games
 *
 *
 *  Copyright (C) 2002-2004 Rochet Sylvain
 *
 *  gtkatlantic 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 2 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, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include <glib.h>

/* -- prototypes for eng_frame.c -- */

void eng_create_frame_all();
void eng_create_frame     (guint16 frame_id);
void pic_get_zone_update  (guint16 frame_id, guint16 pic_id, gint * x1, gint * y1, gint * x2, gint * y2);
void pic_get_zone_old     (guint16 frame_id, guint16 pic_id, gint * x1, gint * y1, gint * x2, gint * y2);
void pic_get_zone_new     (guint16 frame_id, guint16 pic_id, gint * x1, gint * y1, gint * x2, gint * y2);

void eng_update_bufout    (guint16 frame_id, guint16 x1, guint16 y1, guint16 x2, guint16 y2);
void eng_set_bg_bufout    (guint16 frame_id, guint16 x1, guint16 y1, guint16 x2, guint16 y2);

gboolean eng_zone_is_modified(guint16 frame_id, guint16 x1, guint16 y1, guint16 x2, guint16 y2);
gpointer eng_get_zone     (guint16 frame_id, guint16 x1, guint16 y1, guint16 x2, guint16 y2);
gpointer eng_get_next_zone(guint16 frame_id, guint16 * x, guint16 * y, guint16 * width, guint16 * height);

/* -- end of prototypes -- */