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). language.txt (Regular Ed.) or aenglish.txt (Alien Demo).
If you get "Aborted" after starting a new game the second time or so, 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 recompiling with gcc-3.0.2. This problem should be fixed now; if not,
try to find a workaround that works with gcc-2.95. let me know.
If you have Debian, the Debian SDL package, and an NVIDIA card, you will If you have Debian, the Debian SDL package, and an NVIDIA card, you will
have to uncomment a LDLIBS line in the Makefile. have to uncomment a LDLIBS line in the Makefile.

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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