Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
7515 566d 20h hendricks266 /source/mact/include/animlib.h Move structs out of animlib.cpp and into animlib.h.

Patch from Striker.
 
6055 1362d 17h hendricks266 /source/mact/include/animlib.h The great repository rearrangement of 2017.

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

You down with CPP?
 
5662 1687d 3h terminx /source/mact/include/animlib.h pragma once for mact headers.  
5540 1749d 22h terminx /source/mact/include/animlib.h 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!  
4766 2160d 22h hendricks266 /source/mact/include/animlib.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4747 2164d 14h terminx /source/mact/include/animlib.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD.  
4541 2289d 18h hendricks266 /source/mact/include/animlib.h 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.
 
3628 2765d 8h helixhorned /source/mact/include/animlib.h 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.
 
3116 2912d 0h hendricks266 /source/mact/include/animlib.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.

Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)
 
2456 3149d 22h hendricks266 /source/mact/include/animlib.h Fix JonoF's email address.  
1618 3875d 19h terminx /source/mact/include/animlib.h  
1614 3878d 16h terminx /source/mact/include/animlib.h  
1454 4127d 0h terminx /source/mact/include/animlib.h Remove dead copy protection and watcom support code, fix structure alignment and packing issues preventing Polymer from working with MSVC, enable link time code generation (whole program optimization) for MSVC builds, fix most warnings showing up in MSVC with /w2, add pulsating dynamic lights when holding the shrinker or expander  
1346 4200d 21h terminx /source/mact/include/animlib.h Remove jmact/types.h in favor of standardized inttypes.h stuff  
349 5090d 0h terminx /source/mact/include/animlib.h More warning fixes  
248 5208d 0h terminx /source/mact/include/animlib.h Formatting fixes for build.c, config.c, engine.c and polymost.c plus some warning fixes from JonoF and some cfg file reading changes for the game  
11 5308d 0h terminx /source/mact/include/animlib.h Misc changes  
5 5309d 6h Plagman /source/mact/include/animlib.h Importing source for great justice