source: abuse/trunk/src/chat.h @ 489

Last change on this file since 489 was 481, checked in by Sam Hocevar, 10 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
File size: 627 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#ifndef CHAT_HPP_
11#define CHAT_HPP_
12
13#include "console.h"
14
15class chat_console : public console
16{
17
18  public :
19  int chat_event(event &ev) { if (!con_win) return 0; else return con_win==ev.window; }
20  void draw_user(char *st);
21  void put_all(char *st);
22  void clear();
23  chat_console(JCFont *font, int width, int height);
24
25} ;
26
27extern chat_console *chat;
28
29#endif
30
31
Note: See TracBrowser for help on using the repository browser.