Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8081 773d 0h terminx /source/mact/src/animlib.cpp Fix obscure animlib bug  
7515 925d 18h hendricks266 /source/mact/src/animlib.cpp Move structs out of animlib.cpp and into animlib.h.

Patch from Striker.
7359 963d 16h hendricks266 /source/mact/src/animlib.cpp Add buildvfs, abstraction layer for file I/O.

Currently it passes calls through to the system libraries as before.

Also adds an incomplete implementation on PhysFS.
6691 1332d 23h hendricks266 /source/mact/src/animlib.cpp animlib: Editorialize the code style a bit more.  
6690 1332d 23h hendricks266 /source/mact/src/animlib.cpp animlib: Make some weird code easier to read.  
6055 1721d 15h 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 1879d 23h terminx /source/mact/src/animlib.cpp Use size_t or ssize_t in for loops where possible  
5768 1962d 20h hendricks266 /source/mact/src/animlib.cpp Remove trailing whitespace from anything we don't need to rebase from an upstream.  
5540 2108d 19h 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 2218d 7h 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 2218d 7h hendricks266 /source/mact/src/animlib.cpp Internally, work with 24-bit palettes instead of 18-bit.  
5174 2361d 17h 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 2648d 16h 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.

4491 2700d 0h 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 *('
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

3628 3124d 6h 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 3260d 10h 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 3260d 10h helixhorned /source/mact/src/animlib.cpp Revert "Fix the warnings when building with C++, add MSVC C++ build support."

This reverts r3159..r3161.

(Handled so that r3163's changes are kept applied.)
3159 3261d 1h 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 3458d 12h 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 3508d 20h hendricks266 /source/mact/src/animlib.cpp Fix JonoF's email address.  

Show All