View | Details | Raw Unified
Collapse All | Expand All

(-) avp.orig/avp/win95/gadgets/trepgadg.hpp (-2 / +2 lines)
 Lines 56-67    Link Here 
			int FixP_Alpha
			int FixP_Alpha
		);
		);
		struct r2pos TextReportGadget :: GetPos_Rel
		struct r2pos GetPos_Rel
		(
		(
			const struct r2rect& R2Rect_Parent
			const struct r2rect& R2Rect_Parent
		) const;
		) const;
		r2size TextReportGadget :: GetSize
		r2size GetSize
		(
		(
			const struct r2rect& R2Rect_Parent
			const struct r2rect& R2Rect_Parent
		) const;
		) const;
(-) avp.orig/avp/win95/projload.hpp (+2 lines)
 Lines 54-59    Link Here 
struct hierarchy_variant_data;
struct hierarchy_variant_data;
};
};
class File_Chunk;
class Global_Hierarchy_Store
class Global_Hierarchy_Store
{
{
(-) avp.orig/Makefile (-4 / +4 lines)
 Lines 2-9    Link Here 
CXX = g++
CXX = g++
NASM = nasm
NASM = nasm
#CFLAGS = -g -Wall -pipe
CFLAGS ?= -g -pipe -O2
CFLAGS = -g -Wall -pipe -O2
CFLAGS += -Wall
#CFLAGS = -DNDEBUG -Wall -pipe -O6 -ffast-math -fomit-frame-pointer -march=pentium -mcpu=pentiumpro
#CFLAGS = -DNDEBUG -Wall -pipe -O6 -ffast-math -fomit-frame-pointer -march=pentium -mcpu=pentiumpro
CFLAGS += -DLINUX
CFLAGS += -DLINUX
 Lines 12-18    Link Here 
CFLAGS += $(shell sdl-config --cflags)
CFLAGS += $(shell sdl-config --cflags)
CXXFLAGS = $(CFLAGS)
CXXFLAGS = $(CFLAGS)
LDLIBS = $(shell sdl-config --libs) -lopenal
LDFLAGS += $(shell sdl-config --libs) $(shell openal-config --libdir)/libopenal.a
AFLAGS = -g -w+macro-params -w+orphan-labels -w+number-overflow
AFLAGS = -g -w+macro-params -w+orphan-labels -w+number-overflow
 Lines 56-62    Link Here 
all: AvP
all: AvP
AvP: $(OBJ) # depend $(OBJ)
AvP: $(OBJ) # depend $(OBJ)
	$(CXX) -o AvP $(OBJ) $(LDLIBS)
	$(CXX) -o AvP $(OBJ) $(LDFLAGS)
compile: $(OBJ)
compile: $(OBJ)
(-) avp.orig/openal.c (-1 lines)
 Lines 5-11    Link Here 
#include <AL/al.h>
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alc.h>
#include <AL/alut.h>
#include <SDL/SDL_audio.h> // For a few defines (AUDIO_*)
#include <SDL/SDL_audio.h> // For a few defines (AUDIO_*)
(-) avp.orig/win95/chnkload.hpp (+2 lines)
 Lines 41-46    Link Here 
							const ChunkObject* object=0	  //object used so that conversion from float to int can be done in world coordinates
							const ChunkObject* object=0	  //object used so that conversion from float to int can be done in world coordinates
							);
							);
							
							
class Sprite_Header_Chunk;
extern BOOL copy_sprite_to_shapeheader (RIFFHANDLE, SHAPEHEADER *& shphd,Sprite_Header_Chunk* shc, int listpos = GLS_NOTINLIST);
extern BOOL copy_sprite_to_shapeheader (RIFFHANDLE, SHAPEHEADER *& shphd,Sprite_Header_Chunk* shc, int listpos = GLS_NOTINLIST);
(-) avp.orig/win95/chunk.hpp (-1 / +1 lines)
 Lines 365-371    Link Here 
	virtual void fill_data_block_for_process(char * data_start);	
	virtual void fill_data_block_for_process(char * data_start);	
	Chunk* Chunk_With_Children::DynCreate(const char* data);
	Chunk* DynCreate(const char* data);
protected:
protected:
(-) avp.orig/win95/chunkpal.hpp (-1 / +1 lines)
 Lines 549-555    Link Here 
class Environment_Game_Mode_Chunk;
class Environment_Game_Mode_Chunk;
class Environment_Game_Mode_Header_Chunk;
class Environment_Game_Mode_Header_Chunk;
class Environment_Data_Chunk;
class Environment_Game_Mode_Chunk : public Chunk_With_Children
class Environment_Game_Mode_Chunk : public Chunk_With_Children
{
{
(-) avp.orig/win95/hash_tem.hpp (-1 / +6 lines)
 Lines 231-238    Link Here 
// HashFunction(unsigned), HashFunction(void const *), HashFunction(char const *)
// HashFunction(unsigned), HashFunction(void const *), HashFunction(char const *)
// you can disable the default hash functions by defining HT_NODEFAULTFNS
// you can disable the default hash functions by defining HT_NODEFAULTFNS
namespace IFF {
class RegEntry;
};
#ifndef HT_NODEFAULTFNS
#ifndef HT_NODEFAULTFNS
	// a hash function for integral (unsigned) values
	// a hash function for integral (unsigned) values
    inline unsigned int HashFunction(const IFF::RegEntry& rEntry);
	inline unsigned HashFunction(unsigned const _i)
	inline unsigned HashFunction(unsigned const _i)
	{
	{
		return _i ^ _i>>4 ^ _i>>9 ^ _i>>15 ^ _i>>22;
		return _i ^ _i>>4 ^ _i>>9 ^ _i>>15 ^ _i>>22;
 Lines 418-424    Link Here 
		};
		};
		// a _base_HashTable non-const iterator - can remove entry pointed to
		// a _base_HashTable non-const iterator - can remove entry pointed to
		class Iterator : public ConstIterator
		class Iterator : public _base_HashTable::ConstIterator
		{
		{
				// Nested class functions apparently have to be declared here for MSVC compatability
				// Nested class functions apparently have to be declared here for MSVC compatability
			public:
			public:
(-) avp.orig/win95/iff.cpp (-1 / +1 lines)
 Lines 219-225    Link Here 
} // namespace IFF
} // namespace IFF
inline unsigned HashFunction(IFF::RegEntry const & rEntry)
inline unsigned int HashFunction(const IFF::RegEntry& rEntry)
{
{
	return HashFunction(rEntry.m_idChunk.m_nID);
	return HashFunction(rEntry.m_idChunk.m_nID);
}
}