diff options
Diffstat (limited to 'old')
-rw-r--r-- | old/Makefile.bak | 90 | ||||
-rw-r--r-- | old/minetest.sln | 20 | ||||
-rw-r--r-- | old/minetest.vcproj | 424 |
3 files changed, 534 insertions, 0 deletions
diff --git a/old/Makefile.bak b/old/Makefile.bak new file mode 100644 index 000000000..8ba03f9bb --- /dev/null +++ b/old/Makefile.bak @@ -0,0 +1,90 @@ +# Makefile for Irrlicht Examples
+# It's usually sufficient to change just the target name and source file list
+# and be sure that CXX is set to a valid compiler
+SOURCE_FILES = porting.cpp guiMessageMenu.cpp materials.cpp guiTextInputMenu.cpp guiInventoryMenu.cpp irrlichtwrapper.cpp guiPauseMenu.cpp defaultsettings.cpp mapnode.cpp tile.cpp voxel.cpp mapblockobject.cpp inventory.cpp debug.cpp serialization.cpp light.cpp filesys.cpp connection.cpp environment.cpp client.cpp server.cpp socket.cpp mapblock.cpp mapsector.cpp heightmap.cpp map.cpp player.cpp utility.cpp main.cpp test.cpp
+
+DEBUG_TARGET = debugtest
+DEBUG_SOURCES = $(addprefix src/, $(SOURCE_FILES))
+DEBUG_BUILD_DIR = debugbuild
+DEBUG_OBJECTS = $(addprefix $(DEBUG_BUILD_DIR)/, $(SOURCE_FILES:.cpp=.o))
+
+FAST_TARGET = fasttest
+FAST_SOURCES = $(addprefix src/, $(SOURCE_FILES))
+FAST_BUILD_DIR = fastbuild
+FAST_OBJECTS = $(addprefix $(FAST_BUILD_DIR)/, $(SOURCE_FILES:.cpp=.o))
+
+SERVER_TARGET = server
+SERVER_SOURCE_FILES = porting.cpp materials.cpp defaultsettings.cpp mapnode.cpp voxel.cpp mapblockobject.cpp inventory.cpp debug.cpp serialization.cpp light.cpp filesys.cpp connection.cpp environment.cpp server.cpp socket.cpp mapblock.cpp mapsector.cpp heightmap.cpp map.cpp player.cpp utility.cpp servermain.cpp test.cpp
+SERVER_SOURCES = $(addprefix src/, $(SERVER_SOURCE_FILES))
+SERVER_BUILD_DIR = serverbuild
+SERVER_OBJECTS = $(addprefix $(SERVER_BUILD_DIR)/, $(SERVER_SOURCE_FILES:.cpp=.o))
+
+IRRLICHTPATH = ../irrlicht/irrlicht-1.7.1
+JTHREADPATH = ../jthread/jthread-1.2.1
+
+
+all: fast
+
+ifeq ($(HOSTTYPE), x86_64)
+LIBSELECT=64
+endif
+
+debug: CXXFLAGS = -Wall -g -O1
+debug: CPPFLAGS = -I$(IRRLICHTPATH)/include -I/usr/X11R6/include -I$(JTHREADPATH)/src -DDEBUG -DRUN_IN_PLACE
+debug: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L$(IRRLICHTPATH)/lib/Linux -L$(JTHREADPATH)/src/.libs -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -ljthread -lz
+
+fast: CXXFLAGS = -O3 -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -mtune=i686
+fast: CPPFLAGS = -I$(IRRLICHTPATH)/include -I/usr/X11R6/include -I$(JTHREADPATH)/src -DUNITTEST_DISABLE -DRUN_IN_PLACE
+fast: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L$(IRRLICHTPATH)/lib/Linux -L$(JTHREADPATH)/src/.libs -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -ljthread -lz
+
+server: CXXFLAGS = -O3 -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -mtune=i686
+server: CPPFLAGS = -I$(IRRLICHTPATH)/include -I/usr/X11R6/include -I$(JTHREADPATH)/src -DSERVER -DUNITTEST_DISABLE -DRUN_IN_PLACE
+server: LDFLAGS = -L$(JTHREADPATH)/src/.libs -ljthread -lz -lpthread
+
+DEBUG_DESTPATH = bin/$(DEBUG_TARGET)
+FAST_DESTPATH = bin/$(FAST_TARGET)
+SERVER_DESTPATH = bin/$(SERVER_TARGET)
+
+# Build commands
+
+debug: $(DEBUG_BUILD_DIR) $(DEBUG_DESTPATH)
+fast: $(FAST_BUILD_DIR) $(FAST_DESTPATH)
+server: $(SERVER_BUILD_DIR) $(SERVER_DESTPATH)
+
+$(DEBUG_BUILD_DIR):
+ mkdir -p $(DEBUG_BUILD_DIR)
+$(FAST_BUILD_DIR):
+ mkdir -p $(FAST_BUILD_DIR)
+$(SERVER_BUILD_DIR):
+ mkdir -p $(SERVER_BUILD_DIR)
+
+$(DEBUG_DESTPATH): $(DEBUG_OBJECTS)
+ $(CXX) -o $@ $(DEBUG_OBJECTS) $(LDFLAGS)
+
+$(FAST_DESTPATH): $(FAST_OBJECTS)
+ $(CXX) -o $@ $(FAST_OBJECTS) $(LDFLAGS)
+
+$(SERVER_DESTPATH): $(SERVER_OBJECTS)
+ $(CXX) -o $@ $(SERVER_OBJECTS) $(LDFLAGS)
+
+$(DEBUG_BUILD_DIR)/%.o: src/%.cpp
+ $(CXX) -c -o $@ $< $(CPPFLAGS) $(CXXFLAGS)
+
+$(FAST_BUILD_DIR)/%.o: src/%.cpp
+ $(CXX) -c -o $@ $< $(CPPFLAGS) $(CXXFLAGS)
+
+$(SERVER_BUILD_DIR)/%.o: src/%.cpp
+ $(CXX) -c -o $@ $< $(CPPFLAGS) $(CXXFLAGS)
+
+clean: clean_debug clean_fast clean_server
+
+clean_debug:
+ @$(RM) $(DEBUG_OBJECTS) $(DEBUG_DESTPATH)
+
+clean_fast:
+ @$(RM) $(FAST_OBJECTS) $(FAST_DESTPATH)
+
+clean_server:
+ @$(RM) $(SERVER_OBJECTS) $(SERVER_DESTPATH)
+
+.PHONY: all all_win32 clean clean_debug clean_win32 clean_fast clean_server
diff --git a/old/minetest.sln b/old/minetest.sln new file mode 100644 index 000000000..d1f144cb7 --- /dev/null +++ b/old/minetest.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual C++ Express 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minetest", "minetest.vcproj", "{AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}.Debug|Win32.Build.0 = Debug|Win32
+ {AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}.Release|Win32.ActiveCfg = Release|Win32
+ {AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/old/minetest.vcproj b/old/minetest.vcproj new file mode 100644 index 000000000..8973c9a2c --- /dev/null +++ b/old/minetest.vcproj @@ -0,0 +1,424 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="minetest"
+ ProjectGUID="{AE3BF173-1D74-4294-AAB8-5A0ACDE9990D}"
+ RootNamespace="minetest"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)\bin"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ UseOfATL="1"
+ ATLMinimizesCRunTimeLibraryUsage="true"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=""C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include";"..\jthread\jthread-1.2.1\src";"..\irrlicht\irrlicht-1.7.1\include";"..\zlib\zlib-1.2.5""
+ PreprocessorDefinitions="WIN32;RUN_IN_PLACE"
+ BufferSecurityCheck="true"
+ EnableEnhancedInstructionSet="1"
+ FloatingPointModel="2"
+ DebugInformationFormat="1"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="wsock32.lib"
+ AdditionalLibraryDirectories=""..\irrlicht\irrlicht-1.7.1\lib\Win32-visualstudio";..\zlib125dll\dll32"
+ IgnoreAllDefaultLibraries="false"
+ GenerateDebugInformation="true"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)\bin"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ UseOfMFC="0"
+ WholeProgramOptimization="3"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="2"
+ EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="1"
+ OmitFramePointers="true"
+ WholeProgramOptimization="true"
+ AdditionalIncludeDirectories=""C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include";"..\jthread\jthread-1.2.1\src";"..\irrlicht\irrlicht-1.7.1\include";"..\zlib\zlib-1.2.5""
+ PreprocessorDefinitions="WIN32;_HAS_ITERATOR_DEBUGGING=0;NDEBUG;_CRT_SECURE_NO_DEPRECATE;RUN_IN_PLACE"
+ ExceptionHandling="2"
+ BufferSecurityCheck="false"
+ EnableEnhancedInstructionSet="1"
+ FloatingPointModel="2"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="wsock32.lib"
+ AdditionalLibraryDirectories=""..\irrlicht\irrlicht-1.7.1\lib\Win32-visualstudio";..\zlib125dll\dll32"
+ IgnoreDefaultLibraryNames="libcmtd.dll"
+ GenerateDebugInformation="false"
+ LinkTimeCodeGeneration="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\src\client.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\connection.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\debug.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\defaultsettings.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\environment.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\filesys.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\guiInventoryMenu.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\guiMainMenu.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\guiMessageMenu.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\guiPauseMenu.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\guiTextInputMenu.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\inventory.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\irrlichtwrapper.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\jthread\win32\jmutex.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\jthread\win32\jthread.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\light.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\main.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\map.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapblock.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapblockobject.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapnode.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapsector.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\materials.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mineral.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\noise.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\player.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\porting.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\serialization.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\server.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\socket.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\test.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\tile.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\utility.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\voxel.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\src\client.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\clientserver.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\common_irrlicht.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\connection.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\constants.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\debug.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\environment.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\exceptions.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\heightmap.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\inventory.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\light.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\loadstatus.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\main.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\map.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapblock.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapnode.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\mapsector.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\player.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\serialization.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\server.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\socket.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\test.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\utility.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|