Subversion Repositories eduke32

Rev

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

Filtering Options

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

Patch from Striker.
 
6055 1724d 6h 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 2048d 16h terminx /source/mact/include/animlib.h pragma once for mact headers.  
5540 2111d 11h 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 2522d 12h 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 2526d 4h 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 2651d 7h 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 3126d 21h 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 3273d 13h 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 3511d 11h hendricks266 /source/mact/include/animlib.h Fix JonoF's email address.  
1618 4237d 9h terminx /source/mact/include/animlib.h  
1614 4240d 5h terminx /source/mact/include/animlib.h  
1454 4488d 14h 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 4562d 10h terminx /source/mact/include/animlib.h Remove jmact/types.h in favor of standardized inttypes.h stuff  
349 5451d 13h terminx /source/mact/include/animlib.h More warning fixes  
248 5569d 13h 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 5669d 13h terminx /source/mact/include/animlib.h Misc changes  
5 5670d 19h Plagman /source/mact/include/animlib.h Importing source for great justice