Fixed "pure virtual method called"

This commit is contained in:
Steven Fuller 2001-12-09 01:21:49 +00:00 committed by Patryk Obara
parent aff53cc9ba
commit 783657fac7
7 changed files with 6 additions and 44 deletions

4
README
View file

@ -55,8 +55,8 @@ http://www.icculus.org/avp/english.txt.gz, extract it, and rename it
language.txt (Regular Ed.) or aenglish.txt (Alien Demo).
If you get "Aborted" after starting a new game the second time or so,
try recompiling with gcc-3.0.2. It seems to have fixed it for me, but I'll
try to find a workaround that works with gcc-2.95.
try recompiling with gcc-3.0.2. This problem should be fixed now; if not,
let me know.
If you have Debian, the Debian SDL package, and an NVIDIA card, you will
have to uncomment a LDLIBS line in the Makefile.

View file

@ -15,9 +15,6 @@
#include "daemon.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Version settings *****************************************************/
@ -71,9 +68,4 @@
/* End of the header ****************************************************/
#ifdef __cplusplus
};
#endif
#endif

View file

@ -11,10 +11,6 @@
#include "daemon.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Version settings *****************************************************/
/* Macros ***************************************************************/
@ -95,9 +91,4 @@
/* End of the header ****************************************************/
#ifdef __cplusplus
};
#endif
#endif

View file

@ -4514,7 +4514,6 @@ void DisplayVideoModeUnavailableScreen(void)
void CheckForCredits(void)
{
fprintf(stderr, "CheckForCredits()\n");
#if 0
FILE *fp = fopen("credits.txt","rb");

View file

@ -7,10 +7,6 @@
#ifndef _t_ingadg_hpp
#define _t_ingadg_hpp 1
#if ( defined( __WATCOMC__ ) || defined( _MSC_VER ) )
#pragma once
#endif
#ifndef _gadget
#include "gadget.h"
#endif
@ -25,10 +21,6 @@
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Version settings *****************************************************/
/* Constants ***********************************************************/
@ -150,8 +142,4 @@
/* End of the header ****************************************************/
#ifdef __cplusplus
};
#endif
#endif

View file

@ -10,6 +10,7 @@
/* Includes ********************************************************/
#include "3dc.h"
#include "daemon.h"
#include "trepgadg.hpp"
#include "teletype.hpp"
#include "coordstr.hpp"
@ -485,13 +486,13 @@ void TextReportGadget :: ClearQueue(void)
{
// clears the queue of buffered messages; could be handy if you've
// started a listing of 300 module names
int NumKilled = RefList_SCString_ToAppear . NumEntries();
RefList_SCString_ToAppear . EmptyYourself();
#if 0
{
int NumKilled = RefList_SCString_ToAppear . NumEntries();
SCString* pSCString_Temp1 = new SCString("CLEARED MESSAGE DISPLAY QUEUE; NUM LINES=");
// LOCALISEME()
SCString* pSCString_Temp2 = new SCString(NumKilled);

View file

@ -27,10 +27,6 @@
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Version settings *****************************************************/
/* Constants ***********************************************************/
@ -155,9 +151,4 @@
/* End of the header ****************************************************/
#ifdef __cplusplus
};
#endif
#endif