Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5073 2131d 8h terminx /polymer/eduke32/build/include/pragmas.h int64_t -> uint64_t in swap64bit(). DONT_BUILD.  
5009 2165d 17h helixhorned /polymer/eduke32/build/include/pragmas.h Fix swapbufreverse(), adding precondition of count >= 4.

Also, in premap.c:G_CacheMapData(), comment out what was supposedly
intended as a debugging message ("percentage ...").
4766 2249d 4h hendricks266 /polymer/eduke32/build/include/pragmas.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4747 2252d 20h terminx /polymer/eduke32/build/include/pragmas.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.  
4715 2273d 3h terminx /polymer/eduke32/build/include/pragmas.h clang-format a couple of pragma headers. DONT_BUILD.  
4692 2276d 16h terminx /polymer/eduke32/build/include/pragmas.h Minor additional pragma cleanup  
4661 2281d 6h terminx /polymer/eduke32/build/include/pragmas.h Additional engine cleanups and optimizations. About as generic as it sounds. Also changes internal dummytile/tilefromtexture behavior so that the LZ4 compressed version of a texture is kept and the cache1d entries associated with the tiles can expire, like any other tile.  
4658 2281d 6h terminx /polymer/eduke32/build/include/pragmas.h Various additional optimizations: add CLASSIC_SLICE_BY_4 mode to unroll some of the loops in a-c, replace integer divisions by a divisor unknown at compile time with usage of libdivide, clean up pragmas further by removing more old stuff that wasn't used anywhere. This is another one of those nasty commits that make people cry. DONT_BUILD.  
4635 2306d 5h terminx /polymer/eduke32/build/include/pragmas.h Faster C versions of ksgn() and klabs()  
4604 2306d 5h terminx /polymer/eduke32/build/include/pragmas.h Remove a few unused things (tmulscale, etc) from the pragmas.h family of headers  
4601 2306d 5h terminx /polymer/eduke32/build/include/pragmas.h pragmas.h cleanup part 1: separate into pragmas.h, pragmas_arm.h, pragmas_ppc.h, pragmas_x86_gcc.h and pragmas_x86_msvc.h.

Remove "boundmulscale" as it was unused.
4577 2343d 23h helixhorned /polymer/eduke32/build/include/pragmas.h pragmas.h: introduce preprocessor switch USE_ASM_DIVSCALE, for testing only.  
4364 2514d 12h helixhorned /polymer/eduke32/build/include/pragmas.h Classic: implement screen tilting by 180 degrees without quality loss.

3116 3000d 6h hendricks266 /polymer/eduke32/build/include/pragmas.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.)
2986 3063d 19h helixhorned /polymer/eduke32/build/include/pragmas.h Some [U]INT_MAX --> [U]INT32_MAX.  
2645 3182d 13h helixhorned /polymer/eduke32/build/include/pragmas.h A couple of misc. Wii changes.

- Make MAXXDIM and MAXYDIM macros be 860 and 490, respectively. tueidj says
max. screen size is 848x480, but there are oob access bugs in the classic
renderer when running with the maximum possible resolution
- don't allocate additional sector/wall storage for Mapster (saves ~16k)
- Add ud.config.UseJoystick = 1 in config.c, but make it conditional on Wii
- remove one comment I no longer believe true, add one TODO comment
2621 3187d 20h helixhorned /polymer/eduke32/build/include/pragmas.h Patch adding Wii support by tueidj, part 1: assembly pragmas

The original patch was communicated to me by Hendricks, but since it didn't
apply cleanly (it's based on r2182) I took the liberty of slightly messing
with it for inclusion into EDuke32.


This first part (which wasn't changed from the original patch) implements
scaling arithmetic and miscellaneous pragmas, some in PPC assembly and a part
of them in C. Of some interest is the fact that the Wii processor apparently
lacks support for 64-bit integers, so divscale() uses floating-point math.
2456 3238d 4h hendricks266 /polymer/eduke32/build/include/pragmas.h Fix JonoF's email address.  
2361 3260d 11h helixhorned /polymer/eduke32/build/include/pragmas.h constify various cache1d and pragmas functions, some copybuf* -> memcpy/move.

The following functions have const qualifiers attached for the 'destination'
arguments: kdfwrite, dfwrite in cache1d.c and copybuf{byte,reverse,} in the
pragmas source or headers. A couple uses of the latter ones were replaced
with calls to standard library functions.
1624 3924d 4h plagman /polymer/eduke32/build/include/pragmas.h %esi gets modified by swapchar2 but isn't listed as an output operand for the GCC extended assembly version. This causes the compiler to fail to restore it after swapchar2 executes, causing crashes if used in a loop. This change fixes the security camera crash when using GCC 4.4.x or 4.5.0.  

Show All