679f2323a1
GCC 5.1 fix: nullptr != false
2015-07-01 20:27:32 -07:00
639819a0e5
Choose tracks based on language, if possible
2014-10-31 00:08:49 +01:00
a3ae4201a2
Template-ize hsTimer return values.
2014-06-28 18:14:26 -07:00
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
2014-05-28 18:10:24 -07:00
d7fdf10455
Convert ReadSafe(W)String* to the plString variants, and remove the now
...
unneeded _TEMP variants. All safe strings read from hsStreams are
now plStringified :)
2014-01-21 15:21:32 -08:00
e48a4767cf
Fix #365
...
plRegistryKeyList::Read assumed that plUoid object IDs are always
sequential. This is not the case since f664e8b
resulted in all keys
getting an ID. The problem manifested itself here because there were
temporary materials that were being created and thrown away, causing
object ID gaps.
2014-01-05 23:23:04 -05:00
7c0e3e2a61
Merge pull request #373 from Hoikas/linking-perf
...
Low-Hanging Linking Performance
2013-12-21 16:58:34 -08:00
e2b5786988
Fix a bug related to trashed keys.
...
It appears that the hsTArray memory management really sucks for smart
pointers like plKey. The crash mentioned at
http://forum.guildofwriters.org/viewtopic.php?f=117&t=6291 went away
immediately after switching plKeyCollector to an std::set.
2013-12-21 12:28:12 -05:00
366a9a11a4
Fix logic error that causes slow string lookup
...
Recall that plKey object IDs are index-1 (unless they key is fixed, in
which case the ID is always 0), whereas vectors are index-0. JOY TO THE
HAX!
2013-12-20 21:13:59 -05:00
07eab8def4
Fix annoying "Bad static key ID" asserts
2013-12-05 19:23:01 -05:00
063b61161d
Don't ignore possible extensions when localizing object names
2013-11-21 16:53:55 +01:00
0192c7eecd
Fix rename fail
2013-02-02 17:55:01 -05:00
dcacfc8665
Fix export of Emote Anims
...
Bug in the registry key list refactor... We wrote out all the keys in the
key list instead of only the keys with objects. This meant we got a lot of
garbage (empty) objects when exporting [Fem|M]aleWave.
2013-01-28 23:21:13 -05:00
8f67596686
Merge pull request #275 from zrax/file-utils
...
Unify filesystem utilities
2013-01-22 16:27:26 -08:00
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
2013-01-21 14:48:32 -08:00
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
2013-01-21 14:48:28 -08:00
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
2013-01-20 21:12:13 -08:00
f664e8b9f5
Refactor RegistryKeyList
...
This is in preparation for page patching. The old code kept dynamic
(programatically created) and serialized keys separate. This had the
potential to reorder the key list during the application of a patch.
This is separate from the prp-patches branch to facillitate review.
2013-01-19 20:25:47 -05:00
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
2013-01-19 14:21:49 -08:00
bb2146b3a3
Remove Cruft
2013-01-18 17:22:16 -05:00
b4f6ccaa88
Fix the "Crash on Exit" bug
...
We were throwing away the Dispatcher before all the keys (namely, leaked
keys) were unloaded. See the comment in plResManager for more details.
2013-01-18 17:20:13 -05:00
c448d11209
Fix format string here.
2013-01-07 20:30:18 -08:00
9a579d6af7
Fix memory leaks.
2013-01-05 22:46:27 -08:00
cd53cf180d
Fix issues pointed out in code review.
2013-01-05 22:42:55 -08:00
4dd06d1e7e
Convert plRegistryNode stuff to plString.
2013-01-05 20:21:33 -08:00
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
2013-01-01 21:35:11 -08:00
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
2013-01-01 21:35:10 -08:00
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
2013-01-01 21:35:10 -08:00
d40e7a5ca5
Move file stuff back to plFile for gcc.
2013-01-01 21:05:32 -08:00
4221b57baa
Fix a whole bunch of clang warnings.
2012-12-15 16:46:20 -08:00
ca87b47ca8
Fix plResManager stricmp.
2012-12-15 16:08:14 -08:00
c68724765b
Some minor cleanup for readability
2012-11-13 20:05:04 -08:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
2012-11-12 18:31:07 -08:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
cb209c853f
Move these inline to be faster.
2012-04-08 12:48:24 -07:00
5ad311dd97
Use a std::map for faster page lookups.
2012-04-08 00:18:21 -07:00
ec216206dd
Fix StupidSearch
...
This fixes stupid stuff like Phil's Relto linking panel and the Words covers
2012-02-19 18:43:52 -05:00
ad66286a17
Fix several errors and warnings from GCC compilation
2012-02-09 01:09:11 -08:00
bb0ed04a52
Fix some things which got missed from debug builds
2012-01-29 17:00:13 -08:00
c339f947ba
Merge remote-tracking branch 'origin/master' into plString
...
Conflicts:
Sources/Plasma/CoreLib/hsStream.h
Sources/Plasma/FeatureLib/pfAudio/plListener.cpp
Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp
Sources/Plasma/FeatureLib/pfConsole/pfDispatchLog.cpp
Sources/Plasma/FeatureLib/pfJournalBook/pfJournalBook.cpp
Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
Sources/Plasma/FeatureLib/pfPython/cyMisc.h
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp
Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h
Sources/Plasma/FeatureLib/pfPython/pyImage.cpp
Sources/Plasma/FeatureLib/pfPython/pyJournalBook.cpp
Sources/Plasma/FeatureLib/pfPython/pyNetServerSessionInfo.h
Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plKeyImp.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.cpp
Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.h
Sources/Plasma/NucleusLib/pnMessage/plMessage.h
Sources/Plasma/NucleusLib/pnNetCommon/plNetApp.h
Sources/Plasma/PubUtilLib/plAvatar/plCoopCoordinator.cpp
Sources/Plasma/PubUtilLib/plDrawable/plDrawableSpansExport.cpp
Sources/Plasma/PubUtilLib/plDrawable/plDynaDecalMgr.cpp
Sources/Plasma/PubUtilLib/plDrawable/plWaveSet7.cpp
Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.h
Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgr.h
Sources/Plasma/PubUtilLib/plNetCommon/plClientGuid.h
Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp
Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h
Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h
Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp
Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp
Sources/Plasma/PubUtilLib/plPipeline/plPlates.cpp
Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp
Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h
Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp
Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.h
Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp
Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h
Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp
2012-01-28 17:20:01 -08:00
e34414889f
Convert plUoid's object name to a plString
2012-01-28 16:24:20 -08:00
442a733fbb
Add more temporary hack macros to help speed up conversion and testing
2012-01-25 22:43:18 -08:00
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
2012-01-25 16:58:35 -05:00
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.
2012-01-25 16:58:27 -05:00
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
2012-01-25 16:58:18 -05:00
73ec6b4601
Merge pull request #55 from Deledrius/l10n
...
Re-enable Localization.
Fixes #12
2012-01-20 01:54:07 -08:00
3398938d31
Fix a bunch of warnings from clang.
2011-11-27 19:12:18 -08:00
c1deed66c7
Force page stream to stay open during a room load
2011-11-01 00:39:17 -07:00