#include "gamedata.h"
#include "Buzz_inc.h"
#include "externs.h"
#include "macros.h"
#include "av.h"
#include "mmfile.h"
#include "logging.h"
Go to the source code of this file.
Data Structures | |
| struct | rNews |
Defines | |
| #define | BUFFR_FRAMES 1 |
| #define | FIRST_FRAME 0 |
| #define | PHYS_PAGE_OFFSET 0x4000 |
| #define | TOMS_BUGFIX 69 |
Enumerations | |
| enum | news_type { NEWS_ANGLE, NEWS_OPENING, NEWS_CLOSING } |
Functions | |
| void | AIEvent (char plr) |
| void | Breakgrp (char plr) |
| void | DispNews (char plr, char *src, char *dest) |
| static void | DrawBottomNewsBox (int player) |
| void | DrawNews (char plr) |
| void | DrawNText (char plr, char got) |
| static void | DrawTopNewsBox (int player) |
| void | GoNews (char plr) |
| mm_file * | LoadNewsAnim (int plr, int bw, int type, int Mode, mm_file *fp) |
| void | News (char plr) |
| void | NFrame (int x1, int y1, int x2, int y2) |
| void | OpenNews (char plr, char *buf, int bud) |
| int | PlayNewsAnim (mm_file *fp) |
| char | ResolveEvent (char plr) |
| void | ShowEvt (char plr, char crd) |
Variables | |
| static int | AnimIndex = 255 |
| static int | bufsize |
| int | evflag |
| static int | Frame |
| double | load_news_anim_start |
| static int | LOAD_SV = 0 |
| static int | LOAD_US = 0 |
| static int | MaxFrame |
| static int | news_index [2][2][3] |
| static char * | news_shots [] = { "angle", "opening", "closing" } |
| char | Option |
| SimpleHdr | table [99] |
| #define FIRST_FRAME 0 |
| #define TOMS_BUGFIX 69 |
| enum news_type |
| void AIEvent | ( | char | plr | ) |
| void DispNews | ( | char | plr, | |
| char * | src, | |||
| char * | dest | |||
| ) |
| static void DrawBottomNewsBox | ( | int | player | ) | [static] |
Definition at line 958 of file news.c.
References DNArrow(), DrawNText(), InBox(), RectFill(), ShBox(), and UPArrow().
Referenced by LoadNewsAnim().
| void DrawNText | ( | char | plr, | |
| char | got | |||
| ) |
| static void DrawTopNewsBox | ( | int | player | ) | [static] |
Definition at line 941 of file news.c.
References av_need_update_xy(), Box(), grSetColor(), InBox(), IOBox(), OutBox(), PrintAt(), RectFill(), and ShBox().
Referenced by LoadNewsAnim(), and ShowEvt().
| void News | ( | char | plr | ) |
| void OpenNews | ( | char | plr, | |
| char * | buf, | |||
| int | bud | |||
| ) |
| char ResolveEvent | ( | char | plr | ) |
int AnimIndex = 255 [static] |
int bufsize [static] |
int Frame [static] |
| double load_news_anim_start |
int MaxFrame [static] |
int news_index[2][2][3] [static] |
Initial value:
{
{
{ 9, 1, 3 },
{ 8, 0, 2 },
},
{
{ 10, 4, 6 },
{ 11, 5, 7 },
},
}
Definition at line 63 of file news.c.
Referenced by LoadNewsAnim().
char* news_shots[] = { "angle", "opening", "closing" } [static] |
1.5.3