source: abuse/trunk/src/chat.hpp @ 57

Last change on this file since 57 was 57, checked in by Sam Hocevar, 11 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 651 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.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.