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
|
a46994a668
|
I thought I was clever, MinGW thought I should eat shit.
git-svn-id: https://svn.eduke32.com/eduke32@4633 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:16:47 +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
|
71bb5e5c8e
|
Gamevar cleanup: drop "register" qualifiers, shuffle a few things around.
git-svn-id: https://svn.eduke32.com/eduke32@4631 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:16:21 +00:00 |
|
terminx
|
c2517d0d99
|
Suppress tile and sound remapping debug output in debug builds when not using -condebug
git-svn-id: https://svn.eduke32.com/eduke32@4630 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:16:06 +00:00 |
|
terminx
|
f553d6ad10
|
Add assertion for memory error handler in debug builds, add .def load time information to log, call Gv_ResetSystemDefaults() at startup to populate fake tilesizx/tilesizy arrays for CON
git-svn-id: https://svn.eduke32.com/eduke32@4629 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:15:53 +00:00 |
|
terminx
|
8e98cbe083
|
Free h_labels table when done compiling CONs
git-svn-id: https://svn.eduke32.com/eduke32@4628 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:15:41 +00:00 |
|
terminx
|
10474ad635
|
CON VM: get rid of extra VM_Execute() calls on CON_LEFTBRACE and get rid of returns on CON_RIGHTBRACE
git-svn-id: https://svn.eduke32.com/eduke32@4627 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:15:29 +00:00 |
|
terminx
|
9839802457
|
Optimize .anm playback; update frames on screen at the .anm's framerate instead of blindly looping as fast as possible
git-svn-id: https://svn.eduke32.com/eduke32@4626 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:15:17 +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
|
31d2f15b24
|
Use option name for menubar title for options that display as a separate menu page with a scrolling list
git-svn-id: https://svn.eduke32.com/eduke32@4624 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:14:35 +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
|
e20f297774
|
r_showfps 2, displaying min and max fps
git-svn-id: https://svn.eduke32.com/eduke32@4622 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:13:14 +00:00 |
|
terminx
|
5d1475b26c
|
Remove some #if 0'd functions from audiolib
git-svn-id: https://svn.eduke32.com/eduke32@4621 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:12:57 +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
|
f8b340de02
|
Next time I'll test with sound enabled when attempting to fix a warning in audiolib ;)
git-svn-id: https://svn.eduke32.com/eduke32@4616 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:09:03 +00:00 |
|
terminx
|
ed703142af
|
Add new headers to VS project
git-svn-id: https://svn.eduke32.com/eduke32@4615 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:08:47 +00:00 |
|
terminx
|
3681d5e553
|
Respect ud.bgstretch when displaying the title screen during netplay
git-svn-id: https://svn.eduke32.com/eduke32@4614 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:08:35 +00:00 |
|
terminx
|
0a62ba1a21
|
On Android, remove the counter that automatically proceeds from the startup screen to the main menu and require a button press instead.
git-svn-id: https://svn.eduke32.com/eduke32@4613 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:08:23 +00:00 |
|
terminx
|
f4a8cdfa28
|
Don't display QUOTE_F1HELP on Android when starting a new game with the shareware version.
git-svn-id: https://svn.eduke32.com/eduke32@4612 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:08:10 +00:00 |
|
terminx
|
c97d01111a
|
Change vid_brightness/contrast/gamma cvars to float vs double and do the same for OSD text scaling
git-svn-id: https://svn.eduke32.com/eduke32@4611 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:07:57 +00:00 |
|
terminx
|
ee82c62afc
|
Allow loading the header from savegames with a different version. This is needed to allow starting a new game on the episode/level/skill saved in an incompatible savegame.
git-svn-id: https://svn.eduke32.com/eduke32@4610 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:07:41 +00:00 |
|
terminx
|
b8c8f153ac
|
WIP menu restructuring and updates. Revolt is in the air...
git-svn-id: https://svn.eduke32.com/eduke32@4609 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:07:29 +00:00 |
|
terminx
|
bd26dd5612
|
Fix a compile warning
git-svn-id: https://svn.eduke32.com/eduke32@4608 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:07:14 +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 |
|
terminx
|
d279344697
|
Extra files to support previous commits. Change hashing stuff to intptr_t so it can be used as a dictionary of pointers, change brightness/gamma/contrast to float instead of double, other misc changes. None of these commits build on their own so don't even bother.
git-svn-id: https://svn.eduke32.com/eduke32@4606 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:06:32 +00:00 |
|
terminx
|
105bc3f413
|
First commit for "Polymost.f", the single precision floating point conversion and optimization of Polymost. This work was primarily done for ARM but it also doubled the framerate on "Clear the Coast" on my i7.
git-svn-id: https://svn.eduke32.com/eduke32@4605 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:06:05 +00:00 |
|
terminx
|
8148ccf3c3
|
Remove a few unused things (tmulscale, etc) from the pragmas.h family of headers
git-svn-id: https://svn.eduke32.com/eduke32@4604 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:05:40 +00:00 |
|
terminx
|
1a286d1e52
|
Default r_osdhightile to 1
git-svn-id: https://svn.eduke32.com/eduke32@4603 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:05:19 +00:00 |
|
terminx
|
599ff50ca0
|
Misc Android changes and fixes, add alternate HUD mode that displays at the top of the screen, add support for replacing the DREALMS tile during startup with a 3dr.anm/3dr.ivf, fix usage of widescreen menu background or status bar tiles, limit - key from actually sizing down the screen (which has decreased performance instead of increasing it for a long, long time). The size can still be set manually from the console for special cases.
git-svn-id: https://svn.eduke32.com/eduke32@4602 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:05:07 +00:00 |
|
terminx
|
361300d3c4
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@4601 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:04:53 +00:00 |
|
terminx
|
683a5eb11f
|
Minor polymer changes... reuse allocated _prplanelist structs to avoid potentially thousands of malloc calls per frame rendered, clean up "searchit == 2" functionality, move sector light invalidation to sector updates instead of wall updates (avoids a ton of unnecessary function calls), other minor changes
git-svn-id: https://svn.eduke32.com/eduke32@4600 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:04:30 +00:00 |
|
terminx
|
514f556a32
|
Update xxhash to r36
git-svn-id: https://svn.eduke32.com/eduke32@4599 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:04:12 +00:00 |
|
terminx
|
76ad1ce07e
|
Move USE_LIBVPX definition to correct location in Makefile.msvc
git-svn-id: https://svn.eduke32.com/eduke32@4598 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:03:54 +00:00 |
|
terminx
|
7afd4c9226
|
JPG overrun fix from 6/10/14 kplib.c found in poly2vox.zip
git-svn-id: https://svn.eduke32.com/eduke32@4597 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:03:44 +00:00 |
|
terminx
|
0d68e1d4a9
|
Allow old version savegames to "load" by just starting a new game on the volume, level and skill written in the savegame header.
git-svn-id: https://svn.eduke32.com/eduke32@4596 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:03:30 +00:00 |
|
terminx
|
cd713abf1e
|
HUD on the top of the screen and extra wide autoaim mode for Android
git-svn-id: https://svn.eduke32.com/eduke32@4595 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 04:03:17 +00:00 |
|
hendricks266
|
45641db803
|
Update the known locations of the addons in a Megaton installation. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4594 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-30 03:53:14 +00:00 |
|
helixhorned
|
c3102f2c89
|
astub.c: fix warnings with CPLUSPLUS=1 related to forgotten TrackerCast().
git-svn-id: https://svn.eduke32.com/eduke32@4593 1a8010ca-5511-0410-912e-c29ae57300e0
|
2014-09-07 18:10:18 +00:00 |
|