Skip to content

Changes made to enable compiling in Visual Studio 2013 Professional - #1

Open
BlazesRus wants to merge 18 commits into
figment:masterfrom
BlazesRus:master
Open

Changes made to enable compiling in Visual Studio 2013 Professional#1
BlazesRus wants to merge 18 commits into
figment:masterfrom
BlazesRus:master

Conversation

@BlazesRus

Copy link
Copy Markdown

No description provided.

# niflib
Git clone of niflib.
enum.h:
enum for SkyrimHavokMaterial turned into  : unsigned int enum (to fix
out of int range error)
enum for BSShaderFlags changed into unsigned int enum
enum for SkyrimShaderPropertyFlags2
enum for SkyrimShaderPropertyFlags1 changed into unsigned int enum (to
fix out of int range error)

nif_math.h:
<cstdint> include added to fix error:"uint16_t" is undefined

nifqhull.cpp:
byte definition changed :
Using byte =  unsigned char
(commented out typedef definition since Visual Studio 2013 intellesence
has having problems with redefinition of Byte dispute #ifndef block)

CodeStructure changes from VisualStudio2015 to VisualStudio2013 visual
studio project:
Now makes references to qhull within Solution
Qhull included now
(Since requires QHull and QHull licease requires link.:Changes made to
some QHull project files in order to generate qhull lib in correct
folder;Source can be override if qhull updates just keep the 4 project
files included the same/keep the changes other than extra
source/includes  )

Most changes in Visual Studio 2013 visual studio project assume
directory structure of:
(Assumes using 64 bit build--32 Bit build not tested)(Assumes using
Visual Studio 2013 Professional)
SolutionFolder
-GlobalCode
-niflib
-qhull
-ProjectUsingNiflib
-StaticLibraries
-qhull.lib
-niflib_static_x64.lib
-x64
-v120
-Niflib .obj files generated by Niflib(used during ProjectUsingNiflib
for linking)
Added missing includes/source to VS2010,2012,2013 projects
Changed Intermediate directory of VS2013 project to
$(SolutionDir)NifLibIntermediate\obj\$(Platform)\$(PlatformToolset)\$(Configuration)\
(In order to prevent necessary .obj files from being erased during
subsequent project compiles)
Added missing include/source
Removing unnecessary txt document listing changes
Updated Verbose asString to correctly pass the Verbose flag through
asString Functions
Getting ready StringFunctions for more exact FloatToString outputs
Need to implement my StringFunctions code for Converting FloatToString for more exact output of info to various obj nodes 
Examples of code trying to impliment in commented out section of src/obj/NiAVObject.cpp
StringFunctions code in folder GlobalCode in Files StringFunctions.h and StringFunctions.cpp
removing txt wrap
…ing and updated many objects to use FloatAsString Functions

Fixed StringFunctions::FloatAsString and StringFunctions::DoubleAsString
and updated many objects to use FloatAsString Functions
(Also, used CodeMaid on all files in project)
# Conflicts:
#	GlobalCode/StringFunctions.cpp
#	GlobalCode/StringFunctions.h
#	src/obj/BSTreadTransfInterpolator.cpp
#	src/obj/NiAVObject.cpp
#	src/obj/bhkMalleableConstraint.cpp
#	src/obj/bhkPrismaticConstraint.cpp
Fixed update of changes from 1-2 branches ago
# Conflicts:
#	GlobalCode/StringFunctions.cpp
#	GlobalCode/StringFunctions.h
#	src/obj/BSTreadTransfInterpolator.cpp
#	src/obj/NiAVObject.cpp
#	src/obj/bhkMalleableConstraint.cpp
#	src/obj/bhkPrismaticConstraint.cpp
…Tree, plus others

(Uncompilable until I fix large amount of if's problem in NifNodeTree)
(removed qhull folder for now)
This reverts commit 7d3d0d8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant