Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
6055 1259d 10h hendricks266 /source/mact/src/animlib.cpp The great repository rearrangement of 2017.

Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?
 
5829 1417d 18h terminx /source/mact/src/animlib.cpp Use size_t or ssize_t in for loops where possible  
5768 1500d 15h hendricks266 /source/mact/src/animlib.cpp Remove trailing whitespace from anything we don't need to rebase from an upstream.  
5540 1646d 15h terminx /source/mact/src/animlib.cpp Fix quite a few issues with casting away const and volatile qualifiers, found with -Wcast-qual. If we're going to use const everywhere, we should really mean it!  
5352 1756d 2h hendricks266 /source/mact/src/animlib.cpp Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros.  
5349 1756d 2h hendricks266 /source/mact/src/animlib.cpp Internally, work with 24-bit palettes instead of 18-bit.  
5174 1899d 13h hendricks266 /source/mact/src/animlib.cpp Replace most instances of casting byte arrays to wider integral types with the B_(UN)BUF functions in compat.h that were previously used only in the netcode.

I have commented out the versions of these functions that perform bitmasks and shifts and replaced them with versions that cast to and from integral types, pending performance and compatibility research across platforms.
 
4541 2186d 11h hendricks266 /source/mact/src/animlib.cpp Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

DONT_BUILD.
 
4491 2237d 20h helixhorned /source/mact/src/animlib.cpp Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
and
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

BUILD_LUNATIC.
 
3628 2662d 1h helixhorned /source/mact/src/animlib.cpp Add rudimentary sanity checks when playing ANM files.

- Don't attempt to play an ANM file if it is empty (warn) or too short (error).
- If failing to read IVF file header or initializing VPX codec, don't play ANM.
- Return early from gltexapplyprops() if not in GL modes.
 
3176 2798d 6h helixhorned /source/mact/src/animlib.cpp Split r3159..r3161, part 10: add explicit casts to *alloc return values.

NOTE: changes such as these are best viewed with something like
git diff (...) --color-words='[a-zA-Z0-9_]+|[^[:space:]]'
 
3165 2798d 6h helixhorned /source/mact/src/animlib.cpp Revert "Fix the warnings when building with C++, add MSVC C++ build support."

This reverts r3159..r3161.

Conflicts:
eduke32/build/include/compat.h
(Handled so that r3163's changes are kept applied.)
 
3159 2798d 20h terminx /source/mact/src/animlib.cpp Fix the warnings when building with C++, add MSVC C++ build support. This also changes the internal type of lotags, hitags and cstat type fields to uint16_t instead of int16_t to clean up some dubious behavior wherein the code was using a value of 32768 as a flag in these fields for certain types of things, like invisible sprites (using the value as if it was uint16_t) where it was elsewhere checking if the value was < 0 (using the value as if it was int16_t). This change may break a few specific effects if any part of the relevant code was missed when looking for areas that needed to be addressed.

I think there's also a fix for the CON precache system breakage in here (lost it in my local tree when I started getting the C++ build working in MSVC, sorry!)
 
2631 2996d 7h helixhorned /source/mact/src/animlib.cpp Patch adding Wii support by tueidj, part 11: miscellaneous changes

- BIGX -> BIGX_, likely again because of a name clash
- make a loop in animlib.c iterate in forward direction
 
2456 3046d 15h hendricks266 /source/mact/src/animlib.cpp Fix JonoF's email address.  
1932 3289d 3h helixhorned /source/mact/src/animlib.cpp Make smostcnt an int32 to prevent overflow (and subsequent crash) with too many saved positions; In Mapster, make it possible to bunch-join an extended with a non-extended floor inner to the first one, so that inner sectors created out of loops can be deleted by joining the sectors then.  
1903 3317d 9h helixhorned /source/mact/src/animlib.cpp A couple of OSX fixes: one 64-bit cleanup, compilation fix on ppc (is that ever used?), nasm command line fix for x86  
1672 3648d 5h terminx /source/mact/src/animlib.cpp mostly multiplayer fixes among other things  
1618 3772d 12h terminx /source/mact/src/animlib.cpp  
1617 3774d 20h terminx /source/mact/src/animlib.cpp further animlib improvements... like the previous commits, this probably speeds up playback of giant .anm files on very slow systems (handhelds like the Dingoo, etc)  

Show All