Adam Johnson
aa7df368f1
Cleanup macro-mayhem
...
This converts the VERTBLEND macros to some clever templates. This code
should be much more maintainable.
12 years ago
Adam Johnson
4a189faf36
Remove x87 hack for typical (avatar) use cases
12 years ago
Adam Johnson
342dd5fe14
Aligned point/vector loads
12 years ago
Adam Johnson
48f232c3a0
Aligned matrix loading
12 years ago
Adam Johnson
f27cf09cf5
StringStream means less recursive sprintf...
12 years ago
Adam Johnson
fbe821ab11
OpProgress: only skip space if we drew something
12 years ago
Adam Johnson
38f5e6ea0a
Implement Hor+ FOVs
12 years ago
Adam Johnson
e4e718e243
Bypass ATI Generic fudging with Radeon HD cards
12 years ago
Adam Johnson
f2f1bea345
Non Power-of-Two DynamicCapMaps
...
Epic K'veer floor is now even more epic.
12 years ago
Adam Johnson
3fb5f33517
Add plQuality entry for Shader Model 3
12 years ago
Adam Johnson
2b06708915
Generate mip levels for DynamicTextMaps
...
This changeset introduced a new plBitmap flag `kAutoGenMipmap`, which
trickles through the pipeline and becomes `D3DUSAGE_AUTOGENMIPMAP` in
standard DirectX texture creation. This flag is applied to all
DyanmicTextMaps. The end result is that DynamicTextMaps become fuzzy at a
distance, rather than choppy.
12 years ago
Darryl Pogue
e4af3aff16
time.h -> ctime
12 years ago
Darryl Pogue
29bc092cff
math.h -> cmath
12 years ago
Darryl Pogue
b01aab4a39
Standardize on C++ headers.
...
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
12 years ago
Joseph Davies
e9a861ee1f
Fix typo in plPlate.
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
1ce553ac80
Add plStatusLog to the list of converted interface, in order to fix my log output dir screw-up
12 years ago
Michael Hansen
5fa72a086f
Clean up some miscellaneous non-optimal string uses
12 years ago
Darryl Pogue
c77cb10c20
Move plJPEG into plGImage.
...
This matches what was done for plPNG.
12 years ago
Michael Hansen
abbbfc12d7
Plug some simple leaks detected during startup
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Adam Johnson
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
12 years ago
Christian Walther
e9835eda57
Add more functionality to the bink stubs to make them behave more like the previous implementation did when built without BINK_SDK_AVAILABLE.
...
In particular, the intro movie now exits immediately again rather than staying indefinitely.
The important difference is to send the completion callback in plBinkPlayer::NextFrame(), i.e. act as if we had reached the end of the movie.
Storing the filename is to keep plClient::IHandleMovieMsg() from deleting and recreating the plBinkPlayer on every message.
The changed return values are just to better match the previous behavior and probably don’t matter.
12 years ago
Adam Johnson
5f53ada44d
stub out plClient Bink support
12 years ago
Darryl Pogue
4221b57baa
Fix a whole bunch of clang warnings.
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Adam Johnson
87b441e890
Fix no cursor on window frame and title bar.
...
Remove mouse capture and handle visibility via WM_SETCURSOR messages
instead of window activation events. See
aed7e97d0d
for original implementation
12 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
13 years ago
Joseph Davies
072bf3570c
Fix support in plDXPipeline for SSE using temporary macros.
...
Re-enables FPU/SSE3 code using the FunctionDispatcher and some quick
hacky macros to template out the two nearly-identical functions,
awaiting branan's deep-voodoo template-specialization functor-dispatcher
patch.
13 years ago
Joseph Davies
9ee5c4d040
Remove remaining pre-hsCpuID SSE special-casing.
13 years ago
Adam Johnson
bb47f83cf3
Simple SSE3 skinning algorithm
...
Future direction: do lots of work such that hsMatrix44 and hsScalarTriple
are 16-byte aligned so that we can use faster aligned loads
13 years ago
Michael Hansen
ad66286a17
Fix several errors and warnings from GCC compilation
13 years ago
Darryl Pogue
6654f41dce
Fix a DirectX/VS/MinGW problem.
13 years ago
Darryl Pogue
c815fd8a14
More minGW fixes.
13 years ago
Darryl Pogue
de2b7c3471
Fix plPipeline under minGW.
13 years ago
Darryl Pogue
8416c8ed42
Fixes for MinGW's flawed _WIN32_WINNT stuff.
13 years ago
Michael Hansen
e34414889f
Convert plUoid's object name to a plString
13 years ago
Darryl Pogue
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
13 years ago
Adam Johnson
be26b145df
HeadSpin.h is now the core header.
...
Rearrange some things so such that low-level CoreLib headers aren't quite
so crazy. For higher level stuff, you still need to include the
appropriate header.
13 years ago
Adam Johnson
2f53a10fb6
Convert hsConfig defines to cmake -- fixes #93
13 years ago
Adam Johnson
e020651e4b
Eliminate hsScalar and hsFixed
...
Modern CPUs support floats just fine... hsFixed was crazy.
13 years ago
Adam Johnson
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
13 years ago
Darryl Pogue
5e6eb006b9
Fix some Linux issues in plGImage.
13 years ago
Darryl Pogue
3113150f00
Fix this include, but it doesn't fix linux build.
13 years ago
Joseph Davies
29de5fbc07
Remove unused platform code (MacOS9, PS2, XBox).
13 years ago
Darryl Pogue
de9d463563
Semi-hack to CMake to ignore DirectX on Linux.
13 years ago
Joseph Davies
e462ef04b3
Fix Endian functions names in hsTypes and hsStream.
...
Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading. The names are
now properly descriptive of what they actually do.
13 years ago
CyanWorlds
eb2767a5f7
Open source re-licensing
13 years ago