Commit graph

11 commits

Author SHA1 Message Date
Erik Ogenvik
271cf8024f More compiler warnings and use "external".
Put all external code under "external".
We can't use too many warnings though since there's a lot of code we
don't control.
2019-09-22 01:23:55 +02:00
Erik Ogenvik
66cd3ad4b5 Remove unused imports. Thanks CLion.
This should improve compilation times.
2017-03-11 00:37:13 +01:00
Peter Szücs
49e0d2d4ef new should never return nullptr.
The OS should kill other resources or freeze the process
until there is enough RAM. Ember would crash somewhere
anyways in such situation.
2014-01-08 22:49:44 +01:00
Erik Hjortsberg
77865feb4f Since the built in Atlas xml decoder can't handle empty single nodes we
need to hack this to instead write empty nodes with both a start and end
tag. A better solution would be to instead provide a better xml decoder,
perhaps using tinyxml.
2008-10-18 15:54:53 +02:00
Alexey Torkhov
b1ae127d7f Fix patch on tinyxml to make it compilable. 2008-05-22 18:22:36 +04:00
Erik Hjortsberg
0270cb756d 2007-03-25 Erik Hjortsberg <erik.hjortsberg@iteam.se>
* src/framework/tinyxml/tinystr.cpp, src/framework/tinyxml/tinystr.h, src/framework/tinyxml/tinyxml.cpp, src/framework/tinyxml/tinyxml.h, src/framework/tinyxml/tinyxmlerror.cpp, src/framework/tinyxml/tinyxmlparser.cpp, src/framework/tinyxml/readme.txt: upgraded to newer version
2007-03-25 00:17:09 +00:00
Erik Hjortsberg
7470f794b9 2007-01-08 Erik Hjortsberg <erik@katastrof.nu>
* src/framework/tinyxml/tinyxml.cpp: streamlined the code a bit, pleasing valgrind
2007-01-08 21:46:39 +00:00
Erik Hjortsberg
527a49c150 2005-09-24 Erik Hjortsberg <erik@katastrof.nu>
* src/framework/tinyxml/tinyxml.cpp, src/framework/tinyxml/tinystr.cpp, src/framework/tinyxml/tinyxmlerror.cpp, src/framework/tinyxml/tinyxmlparser.cpp: made various adjustements which makes it compile on MSVC
	* src/framework/float_cast.h: provides lrint functionality on platforms with outdated C libs, such as win32. Thanks to Erik de Castro Lopo
	* src/framework/osdir.h: provides platform independent directory browsing support. It works, but isn't that full-featured. And it's a shame it doesn't use the STL syntax for iteration. Thanks Bart Vanhauwaert
2005-09-23 23:01:11 +00:00
Erik Hjortsberg
febc1740af 2005-06-07 Erik Hjortsberg <erik@katastrof.nu>
* src/framework/tinyxml/*, src/components/ogre/model/XMLModelDefinitionSerializer.*
		* moved the tinyxml classes into the Ember namespace to avoid collisions with other implementations
2005-06-07 20:49:46 +00:00
Erik Hjortsberg
7b3cdd90dd 2005-05-31 Erik Hjortsberg <erik@katastrof.nu>
* src/framework/tinyxml/tinyxml.cpp: bugfix for not being able to load data from Ogre's DataStream in chunks. We now read it all at once.
2005-05-31 20:05:09 +00:00
Erik Hjortsberg
79c36890e7 2005-05-23 Erik Hjortsberg <erik@katastrof.nu>
* src/framework/tinyxml
		* Oops, forgot to add files to cvs. Sorry Miguel!
2005-05-23 21:57:23 +00:00