source: abuse/trunk/src/include/chat.hpp @ 56

Last change on this file since 56 was 56, checked in by Sam Hocevar, 14 years ago
  • Add licensing terms to most C / C++ files (Ref #5).
File size: 651 bytes
RevLine 
[56]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
[2]10#ifndef CHAT_HPP_
11#define CHAT_HPP_
12
13#include "console.hpp"
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(window_manager *WM, 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.