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
8094 775d 2h hendricks266 /source/build/src/screenshot.cpp Add Voidwrap, by Striker and NY00123. Heavily reorganized by me.  
7705 852d 14h terminx /source/build/src/screenshot.cpp Added Xfree() function to accompany the Xmalloc() family of functions and change all uses of Bfree() to Xfree()

This was necessary because everything is already allocated with the Xmalloc() functions, but a future commit will make blocks allocated with those functions no longer compatible with the system implementation of free(), which Bfree() wraps.
 
7673 889d 22h terminx /source/build/src/screenshot.cpp Convert loops using unsigned integers as iterators to use regular signed ints instead

https://kristerw.blogspot.com/2016/02/how-undefined-signed-overflow-enables.html

Doing this as cleanly as possible involved demoting several function parameters concerning object sizes and counts from size_t to int--I'm fine with this change as the functions in question are not actually capable of handling input with sizes larger than what can be stored in a signed 32-bit integer, making the use of size_t here misleading at best.
 
7359 968d 17h hendricks266 /source/build/src/screenshot.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.
 
6831 1291d 5h terminx /source/build/src/screenshot.cpp Function names  
6829 1291d 5h terminx /source/build/src/screenshot.cpp Continuing the quest for clearer function names  
6828 1291d 5h terminx /source/build/src/screenshot.cpp Engine function name cleanup round 2  
6656 1346d 19h pogokeen /source/build/src/screenshot.cpp Moved to GLAD for dynamic GL/WGL and extension loading.
Refactored extension usage that became core in GL2, and adjusted some types for GL2 compatibility.
 
6532 1423d 19h hendricks266 /source/build/src/screenshot.cpp Remix screencapture_begin into OutputFileCounter.  
6400 1548d 5h hendricks266 /source/build/src/screenshot.cpp Yet another round of trailing whitespace.  
6365 1559d 5h terminx /source/build/src/screenshot.cpp Drop libpng and zlib in favor of a custom < 100 line .png writer and a drop-in zlib replacement called miniz.  
6074 1702d 17h hendricks266 /source/build/src/screenshot.cpp Route all inclusion of libc headers and most of POSIX headers through compat.h.  
6061 1722d 5h hendricks266 /source/build/src/screenshot.cpp Abolish all " ={ " when assigning a struct. DONT_BUILD.  
6055 1726d 16h hendricks266 /source/build/src/screenshot.cpp The great repository rearrangement of 2017.

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

You down with CPP?
 
5867 1864d 4h hendricks266 /source/build/src/screenshot.cpp Loop optimizations in screencapture  
5866 1864d 4h hendricks266 /source/build/src/screenshot.cpp Address warning: variable might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]  
5803 1952d 1h terminx /source/build/src/screenshot.cpp "return" is not a function.  
5792 1952d 1h terminx /source/build/src/screenshot.cpp Relocate maphack related code into mhk.c.

This commit also relocates clipping related code into clip.c and makes a few other minor changes, because I fucked up and merged the commits together. God damn it.
 
5791 1952d 1h terminx /source/build/src/screenshot.cpp Separate screen capture code from engine.c into screenshot.c