Permalink
Browse files

Fixed "pure virtual method called"

  • Loading branch information...
1 parent 3a3f5f6 commit 53abeae41595f865974efa706c148effdff4ac54 Steven Fuller committed Dec 9, 2001
View
4 README
@@ -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.
@@ -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
@@ -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
@@ -4514,7 +4514,6 @@ void DisplayVideoModeUnavailableScreen(void)
void CheckForCredits(void)
{
- fprintf(stderr, "CheckForCredits()\n");
#if 0
FILE *fp = fopen("credits.txt","rb");
@@ -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
@@ -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);
@@ -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

0 comments on commit 53abeae

Please sign in to comment.