ASYLUM: Major overhaul of data casting. Converted all uint32 member variables and fields to int32 (and uint16 to int16) and update the associated reads. There may be regressions as a result, but so far everything seems to be working as expected.

Also combed through the source and silenced 99% of the warnings that GCC was generating.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@404 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
Alex Bevilacqua 2009-12-04 03:14:07 +00:00 committed by Eugene Sandulenko
parent 9e2855fd81
commit cc43cc88a3
No known key found for this signature in database
GPG key ID: 014D387312D34F08
38 changed files with 955 additions and 957 deletions

View file

@ -31,7 +31,7 @@ ResourcePack::ResourcePack(const char *resourceFile) {
init(resourceFile);
}
ResourcePack::ResourcePack(int resourceIndex) {
ResourcePack::ResourcePack(int32 resourceIndex) {
// We don't use the file number part of resource IDs
//uint32 fileNum = (resourceID >> 16) & 0x7FFF;
char filename[20];