terminx
|
384aec522a
|
Fix a couple of clang warnings. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4697 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:05:15 +00:00 |
|
terminx
|
eed56532a8
|
Unify spritesx/spritesy/spritez into a single vec3_t spritesxyz. It still has a stupid name like "spritesxyz" because I wanted references to it to remain easy to find in case of problems.
git-svn-id: https://svn.eduke32.com/eduke32@4696 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:04:43 +00:00 |
|
terminx
|
021d1241eb
|
Get rid of all the static arrays with sizes based on MAXXDIM and MAXYDIM
git-svn-id: https://svn.eduke32.com/eduke32@4695 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:04:28 +00:00 |
|
terminx
|
ca3dc4d629
|
Minor additional pragma cleanup
git-svn-id: https://svn.eduke32.com/eduke32@4692 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:03:29 +00:00 |
|
terminx
|
59278b5398
|
Add missing "inline" to const TrackedType()
git-svn-id: https://svn.eduke32.com/eduke32@4691 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:03:06 +00:00 |
|
terminx
|
aa7e3e0c25
|
Fix a couple warnings, and something I fucked up after reading a loop wrong. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4690 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-29 17:02:50 +00:00 |
|
hendricks266
|
b4ef2d43e8
|
Improve fine-grained GCC and clang version detection, fixing recently introduced build issues. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4685 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 10:17:35 +00:00 |
|
hendricks266
|
0f62db298c
|
Remove Wii-specific ASM for scale(). Libdivide is likely faster; tests on a real Wii pending. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4683 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 10:17:04 +00:00 |
|
terminx
|
e087ffabfc
|
Re-apply part of r4647. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4681 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:36:50 +00:00 |
|
terminx
|
8934226bb2
|
Another 5000 lines of pain and tears. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4680 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:36:34 +00:00 |
|
terminx
|
de1d236366
|
Minor OSD_Exec() tweaks that got lost when chopping up a larger set of changes
git-svn-id: https://svn.eduke32.com/eduke32@4678 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:35:05 +00:00 |
|
terminx
|
0e78bf1eb5
|
Minor engine optimizations, worth a couple fps
git-svn-id: https://svn.eduke32.com/eduke32@4675 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:34:25 +00:00 |
|
terminx
|
ea929c7e43
|
Fix warning in dxtfilter
git-svn-id: https://svn.eduke32.com/eduke32@4674 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:34:08 +00:00 |
|
terminx
|
9ca0e4ccc4
|
vec2f_t drawpoly()
git-svn-id: https://svn.eduke32.com/eduke32@4671 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:33:26 +00:00 |
|
terminx
|
0393b0b015
|
kplib warning fix. I admit to not testing this, because fuck .gif files.
git-svn-id: https://svn.eduke32.com/eduke32@4670 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:33:11 +00:00 |
|
terminx
|
ecb11010ef
|
Fix warnings in texcache
git-svn-id: https://svn.eduke32.com/eduke32@4669 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:32:57 +00:00 |
|
terminx
|
c8ea7baf72
|
set_globalpos(), updates both integer (globalposx/y/z) and float (fglobalposx/y/z) representations of the current camera view position. Storing the float representation pre-converted saves us from the delay incurred on ARM when converting an integer and transferring it to the FPU, though this delay is mostly negated already by using the hardfp ABI.
git-svn-id: https://svn.eduke32.com/eduke32@4667 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:32:26 +00:00 |
|
terminx
|
5897c844d2
|
Minor texcache cleanup. Nukes the hilarious MAXTILES<<1 sized array of pointers in the global texcache struct.
git-svn-id: https://svn.eduke32.com/eduke32@4666 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:32:01 +00:00 |
|
terminx
|
0cf527914f
|
Minor optimizations (loop unrolling) to LZW functions in cache1d, improves throughput ~20% on my i7
git-svn-id: https://svn.eduke32.com/eduke32@4665 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:31:41 +00:00 |
|
terminx
|
d74a6a7e5d
|
Fix some dumbass warnings I caused
git-svn-id: https://svn.eduke32.com/eduke32@4664 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:31:27 +00:00 |
|
terminx
|
683a4fb728
|
Nuke unused lzwnew.c/h
git-svn-id: https://svn.eduke32.com/eduke32@4663 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:31:12 +00:00 |
|
terminx
|
cbe91be9ff
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@4661 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:30:38 +00:00 |
|
terminx
|
019315dd59
|
Rewrite OSD_Exec() to allow executing a .cfg that lives in a .grp or .zip. Use _IOLBF instead of _IONBF for the log in release builds.
git-svn-id: https://svn.eduke32.com/eduke32@4660 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:29:53 +00:00 |
|
terminx
|
6c6b68d534
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@4658 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:29:21 +00:00 |
|
terminx
|
020dc85fd0
|
Additional Polymost cleanup, attempt to fix enemy shadows (they are still not right)
git-svn-id: https://svn.eduke32.com/eduke32@4656 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:27:35 +00:00 |
|
terminx
|
3a60abfb94
|
Nuke MFLAGS_NOCONV, hoist a few conditions out of loops in Polymost model drawing
git-svn-id: https://svn.eduke32.com/eduke32@4653 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:26:46 +00:00 |
|
terminx
|
73ecabaff9
|
Fix z fighting issues with wall and floor sprites. This isn't perfect, and somebody like Plgman or Helixhorned who better understands how the depth buffer positions are calculated will be able to do a much better determination of how much to offset the glDepthRange values based on distance to the sprite.
git-svn-id: https://svn.eduke32.com/eduke32@4652 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:26:31 +00:00 |
|
terminx
|
dedadcb76e
|
That's one hell of a typo
git-svn-id: https://svn.eduke32.com/eduke32@4651 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:26:13 +00:00 |
|
terminx
|
57cc3fe82a
|
Clean up GL background tinting a little bit. Remove access to glRectd in favor of glRecti.
git-svn-id: https://svn.eduke32.com/eduke32@4649 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-25 03:25:35 +00:00 |
|
hendricks266
|
62b37ddb68
|
Further work on the Xcode project.
git-svn-id: https://svn.eduke32.com/eduke32@4648 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-20 07:37:29 +00:00 |
|
hendricks266
|
8771614f87
|
Fix the Wii build and clean up remaining warnings. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4647 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-19 00:44:23 +00:00 |
|
hendricks266
|
6ff363a049
|
OS X: Add a preliminary Xcode project. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4646 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-18 04:50:47 +00:00 |
|
hendricks266
|
295cf82323
|
Clean up warnings and build issues when building under OS X 10.9. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4644 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-16 21:03:24 +00:00 |
|
terminx
|
706aec5527
|
Rename crc32() to Bcrc32() to avoid conflicts with the crc32() function in libpng/libz. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4642 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-01 17:09:54 +00:00 |
|
terminx
|
81e9761e50
|
Set SDL_GL_ACCELERATED_VISUAL to 1
git-svn-id: https://svn.eduke32.com/eduke32@4641 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-10-01 17:09:24 +00:00 |
|
terminx
|
9a04065b5e
|
I'm retarded. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4640 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 18:18:15 +00:00 |
|
terminx
|
4263626f97
|
Misc additional optimizations, mostly to polymost/mdsprite. Also separate voxmodel into its own source file and object. This commit is pretty large because I was hitting the limit of what could realistically be carved up into smaller patches. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4639 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:18:43 +00:00 |
|
terminx
|
2631da8822
|
Fix usage of uninitialized value
git-svn-id: https://svn.eduke32.com/eduke32@4638 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:18:07 +00:00 |
|
terminx
|
cb02cdc571
|
Re-use temporary buffer for tilefromtexture true color -> paletted conversion and free when finished with the .def instead of freeing and re-allocating for every tile
git-svn-id: https://svn.eduke32.com/eduke32@4637 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:17:53 +00:00 |
|
terminx
|
ff74aa613e
|
polymost_invsqrt(), reorganize pthtyp for better member alignment
git-svn-id: https://svn.eduke32.com/eduke32@4636 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:17:37 +00:00 |
|
terminx
|
0f5be25a68
|
Faster C versions of ksgn() and klabs()
git-svn-id: https://svn.eduke32.com/eduke32@4635 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:17:22 +00:00 |
|
terminx
|
2d0c76e1a9
|
kplib optimizations and cleanup; faster versions of some functions, #ifdef out support for a couple of useless formats
git-svn-id: https://svn.eduke32.com/eduke32@4634 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:17:06 +00:00 |
|
terminx
|
7c79d2ce80
|
Blrintf
git-svn-id: https://svn.eduke32.com/eduke32@4632 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:16:35 +00:00 |
|
terminx
|
423b87a707
|
Faster CRC32 implementation (slicing-by-4 for 32-bit platforms and slicing-by-8 for 64-bit)
git-svn-id: https://svn.eduke32.com/eduke32@4625 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:15:04 +00:00 |
|
terminx
|
144a4798ce
|
More Polymost cleanup, also consolidate tilesizx and tilesizy into a single tilesiz vec2_t to ensure both x and y are always in the same cache line. I may add a new vec2_16t later. Still need to take care of emulating the old flat array for the sake of CON access.
git-svn-id: https://svn.eduke32.com/eduke32@4623 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:14:21 +00:00 |
|
terminx
|
deb196f8a6
|
Fix build error
git-svn-id: https://svn.eduke32.com/eduke32@4620 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:12:41 +00:00 |
|
terminx
|
3623645815
|
Clean up the "X" variants of malloc and friends to avoid unncessary function calls and parameter passing
git-svn-id: https://svn.eduke32.com/eduke32@4619 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:12:27 +00:00 |
|
terminx
|
53ed4c619c
|
Make glColor3f() available as bglColor3f()
git-svn-id: https://svn.eduke32.com/eduke32@4618 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:12:09 +00:00 |
|
terminx
|
c5835ef741
|
Remove "volatile" qualifier from mouse related variables, no longer required after the long ago removal of the hack that polled mouse input in a separate thread
git-svn-id: https://svn.eduke32.com/eduke32@4617 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:11:50 +00:00 |
|
terminx
|
598876e411
|
Extra files for previous commits
git-svn-id: https://svn.eduke32.com/eduke32@4607 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:06:57 +00:00 |
|