b74af78f53add RISCV support on build
Bas M
2023-03-01 16:23:22 -05:00
4e334dddbeRename MatrixMultiply to Q_MatrixMultiply to avoid colliding with SDL_d3dmath.c when statically compiling
Poul Sander
2022-03-19 20:11:57 +01:00
b4989c62a2New CI using Github Actions
Poul Sander
2022-03-13 12:31:33 +01:00
b485a52ccfcode/curl: update ifdef condition for MCST-LCC compiler in mcst-lcc compiler => 1.25 added a new macro definition to determine compiler
r-a-sattarov
2022-03-12 21:59:40 +03:00
b29a883e09Removed the mingw32 reference
sago007
2019-09-29 19:34:30 +02:00
e120f49e66Fix duplicate symbol tvinterlace
sago007
2018-06-16 17:14:50 +02:00
7b621b7f01Attempt to fix a duplicate symbol.
sago007
2018-06-16 17:10:08 +02:00
1e47ea5264Removed MDO for now
sago007
2018-02-12 20:55:54 +01:00
89d67c8c3eA few warnings from Travis. Including an out of bound access
sago007
2018-02-10 17:34:54 +01:00
8dbdaa7704Also remove some clang warnings. Including removing some compiler aguments that are properly only doing things worse now.
sago007
2018-02-10 13:59:47 +01:00
57b2e3c0fdCom compiles without warnings on gcc 7.2.0. Might just test clang too
sago007
2018-02-10 13:43:56 +01:00
a099619f9eReduced the warning count further
sago007
2018-02-06 20:59:19 +01:00
509f7baeedRemoved the numeric array bounds
sago007
2018-02-06 20:33:17 +01:00
8c43d3368fRemoved most warnings except for array bound. Some logic changes has happened where I was certain that there was a bug.
sago007
2018-02-06 20:27:38 +01:00
bf8b294d46Use curl by default. Use Makefile.local to diable it if you need
sago007
2018-02-06 19:40:49 +01:00
3a716d93b4Now creates XDG_DATA_HOME if it is missing. This fixes all known problems.
sago007
2016-12-30 18:24:12 +01:00
05cbf012e3Moved the symlink logic in case of an invalid. Also deleted old outcommented logic.
sago007
2016-12-30 17:39:33 +01:00
d905eba02bWrong logic while creating "homeXdg". Also changed .local/share/openarena to .local/share/OpenArena.
sago007
2016-12-28 16:23:09 +01:00
4209b06c26Started to implement Issue #30. XDG folder structure. All weaknesses from the old system are still there: HOME must be defined: Not a regression Only one level of mkdir: Not a regression (but might be more relevant)
sago007
2016-12-28 15:28:19 +01:00
30bceb68dcTravis uses gcc 4.6.3 and it does not support c11. Trying c99.
sago007
2016-11-27 21:31:03 +01:00
28ad1bc558Specified C version in Makefile.OpenArena. It is specified to "gnu11" at the moment. That is the default in gcc 5+. Travis uses 4.9 (uses gnu90). The exact choice may depend on what fromhell uses for compiling. I prefer going for gnu11. Note that the choices without gnu-extensions are all broken and have always been so.
sago007
2016-11-27 21:21:26 +01:00
e785563a21Significantly simplified S_XMP_CodecReadStream. Based on my understanding of the libxmp 4.4 API documentation.
sago007
2016-11-27 12:34:07 +01:00
dd2ce7ca1aNo longer crashes on Linux 64 bit.
sago007
2016-11-26 21:14:39 +01:00
f62b262b27- "Generic" in vendor string no longer triggers software rasterizer performance workarounds
leilei-
2016-11-16 00:32:08 -05:00
ecb1a7a219- Don't picmip the detail textures. this allows detail to look better in lower detail - try to process generic shoehorned detail textures
leilei-
2016-11-04 04:02:30 -04:00
245fea051eRenderer-based particle system (#25)
leilei-
2016-11-01 03:30:15 -04:00
cc41c5793e- Quick fix to widescreen expansion code so it won't mess with interface refdefs anymore (the old menu logo should be at normal size now, for example) - Don't build opengl1 and softwaare as those are either obsolete or don't make a difference and would only serve to confuse
leilei-
2016-08-20 16:53:55 -04:00
4113d07deeThe engine is now compileable with a MXE environment. Windows version can be compiled with: PLATFORM=mingw32 ARCH=x86 CC=i686-w64-mingw32.static-gcc WINDRES=i686-w64-mingw32.static-windres LD=i686-w64-mingw32.static-ld make USE_CODEC_XMP=0 USE_CURL=1
sago007
2016-07-09 11:09:42 +02:00
05e97b1a7f- fix nasty recursion coming from trace flares, by disabling flares in non-world situations (like interface)
leilei-
2016-06-23 01:08:50 -04:00
cf103f3cb0- Trace checks added to flares (HUGE speedup) - Remove obsolete Quake2-era "gamma" code that shouldn't be there anymore since there's a modern way to gamma correct now
leilei-
2016-06-22 01:19:36 -04:00
6711f046d3- If it's not Windows NT or newer, then startup in 640x480 first, instead of malformed desktop resolutions. This causes 3 less unneccessary initializations on 3dfx
leilei-
2016-06-08 01:07:16 -04:00
3b1646bf1eIntegrated youurayy's input lag fix (which was long overdue)
leilei-
2016-06-02 02:33:07 -04:00
22d8f94415Removing dependency on PSAPI.DLL, and instead, load it when it's needed (and available) just for one EnumProcesses function.
leilei-
2016-06-01 04:09:11 -04:00
ea9bdc0a68Several renderer fixes for 3dfx hardware: - Try to determine which 3dfx card we are using - Use GL_CLAMP for 3dfx instead, fixes dynamic lights/skyboxes/etc. (GL_CLAMP_TO_EDGE becomes GL_REPEAT on older 3dfx drivers) - Support for 3dfx gamma control and overbrights restored - Indexed w/ alpha color is now forced GL_RGBA on Voodoo Graphics (v1) - attempt at silencing the 3dfx splash
leilei-
2016-05-31 04:34:45 -04:00
601a5ec701The "eaarly console" widnow is now back for Windows - can be defined off to windowless behavior - X still doesn't close it - Still some makefile-related and other cleanup/implementation to do. i sleepcoded this :(
leilei-
2016-05-28 08:35:11 -04:00
5c4712f192- added tcMod atlas. Lets you have texture page atlases, and animate them! - Entity alpha can animate them too (for animated compatible replacement smokepuffs for example)
leilei-
2016-05-19 06:57:02 -04:00
d31b9ad6d9changed this from a warning to a devmsg because these *really* spam up the console in OA3 and is generally a useless warning to the player.
leilei-
2016-05-09 04:02:14 -04:00
95dec7a204- Made GLSL features a compiling option...sort of
leilei-
2016-05-09 03:55:16 -04:00
2d555ac662Merge pull request #10 from OpenArena/leifxfix
leilei-
2016-04-23 19:48:34 -04:00
dcd1dcb154Merge pull request #7 from eyesonlyhack/master
leilei-
2016-03-28 15:48:28 -04:00
5117ff1d42Build dependency instructions are incomplete
eyesonlyhack
2016-03-28 19:46:01 +02:00
04a9dab58c- Moved flare quality check. Fixes crash with dynamic lights - Removed some silly recursive call.
leilei-
2016-02-22 01:45:55 -05:00
ed43aa0c02Flare-related speedup: - r_flareDelay - delays the glReadPixels every specified tics to keep the video bus from being congested by excess reads (maps with way too many flares (i.e. pvomit) sohuld not slow down as much as before) - TestFlareFast actually now is working as intended because of it - normal high quality flare functionality moved to r_flareQuality 2. - r_flareQuality default is now 1.
leilei-
2016-02-22 00:47:59 -05:00
444e8bc25fPreliminary MDO model support from revanic
leilei-
2015-09-19 02:27:17 -04:00
de27a72f00Updated travis files. XMP is now disabled on Travis since Travis uses Ubuntu 12.04. Also clang is currently disabled and will be so until: 92b74e58cc is included
sago007
2015-09-06 13:43:23 +02:00
04870d3a20- r_roundImagesDown 2 - nonpowerof2 (NPOT) support. No extension checking added yet; use at your own risk! (intended for buffer effects) - r_parseStageSimple - working towards pcx2 support by loading shader stages with the texture last, to approximate blending functions by processing them into having alpha channels (or not, for opaque surfaces). Because I can. - leifx filter change - indicate number of passes to the shader, so the pixel blurring order can be tweaked to further perfection (ridding the left pixel check as that happens)
leilei-
2015-04-03 05:53:02 -04:00
3597b3cefa- r_tvMode is now r_virtualMode - r_virtualMode now takes the same modes from r_mode, rather than specifically 640x480 and 320x240 - cleaning up a bunch of warnings and general code refactoring - r_lightmapBits - specify color depth of the lightmap - added a few more r_modes - r_iconBits - specify the color depth of icon elements, saves a bit of vram and the loss is questionably perceptable with all those flat colors anyway - r_textureDither - work in progress dither for 16-bit textures - deprecate r_shadeSpecular - safelewd: load from models/player, so we can hit models/playerfs/ directory
leilei-
2015-03-16 02:10:19 -04:00
fd5f8bc4a6- Detail texture forcing; adds detail texture layers to shaders that don't specify for one. Slightly broken and still needs work. - Detail texture scale and layesr also adjust the amplification and density of this effect - Detail mip fade fixed - r_suggestiveThemes 0 properly loads models and shaders and textures from models/player only. speedup a bit - r_suggestiveThemes 2 loads _lewd models, shaders and textures. To keep 'safe' and 'sexy' safe from autodownloaded lewd that respect the prefix. - removing r_anime _cel loading, which conflicts with the above system and i'm going all out shader on that anyway - even more waterimage removal - r_leifx no longer allows trilinear filter. closer to actual real world voodoo behavior
leilei-
2015-03-01 04:57:37 -05:00
f2c082017e- updated shader programs - fixed brightness shader - fixing leifx shaders - r_modelshader - enables the use of a new diffuse fragment shader for enhanced model shading - shadespecular slightly regressed :( - don't do libxmp for travis? - disabled leifx gamma, seems redundant with actual gamma now - more waterimage cruft removal. don't do this waterreflectrefract until we have fbos please
leilei-
2015-01-26 05:01:46 -05:00
05433b5c7e- stupid hack to do leifx texture shaders - some less waterimage stuff
leilei-
2014-12-18 05:22:04 -05:00
1609c8732a- aspect correction for r_tvmode - timedemo finishing writes to cl_timedemoResult (for UI3) - support for screen palletizing shader - Additional placeholder textures (not yet used) - trying to make r_film more dynamic - more model shading crap you should ignore - also, ignore the
leilei-
2014-11-11 06:03:45 -05:00
c18b3f7339- Options to reduce the blinding dynamic light flare effects to not so blinding that it affects the gameplay negatively - Some unfinished hack to try to get tvMode screenshots
leilei-
2014-09-22 06:52:33 -04:00
afa5229e5c- Removing more unused 'crazy' lighting - More r_envmode/shademode removal - LoadTGA warning shouldn't try to load the tga anyway (leading to gray badly loaded textures which may have memory leaks or buffer issues or something)
leilei-
2014-09-11 01:01:45 -04:00
f619c08fd9- Deprecating r_shadeMode and r_envMode - Added lightingSpecularDiffuse which is like diffuse, but clamps and does a specular calc for the overbrights, and this is also disableable with the new r_shadeSpecular cvar - Added tcGen environmentWater which is more suitable for water - Faster bulge code from JK2 - Shutting up TGA loading fatal errors for warnings instead (to hunt down bad TGAs easier)
leilei-
2014-09-06 09:23:10 -04:00
2c07195887- an attempt at sorting and restructuring tr_bloom.c - NTSC filter support - added some rgbGen that has entity colors AND lighting, so colorable players don't have to glow - broken image loading time for imagelist
leilei-
2014-07-24 02:19:26 -04:00
43d6a97c43- Fixed crash for fragment shader effects being loaded for unsupported hardware - unfinished texture dumping mode, r_texdump would save jpegs of any texture that loads....upside down. The purpose of this is to make compact content builds with only the used textures (without bloat) - the eager beginning of a water refraction/reflection buffer - some map texture listing fixes - very unfinished revolution environment maps - very unfinished 'crazy' lighting changes - some pointless whitepsaces added for no reason other than to open file, add something, remove it later, and leave it changed
leilei-
2014-06-14 07:30:15 -04:00
1947afbe2e- Widescreen fixes, should expand on all viewsize values now and leave less refdefs alone - Accumulation buffer motion blur, which should work on shader model 2 hardware with less memory footprint. Pixel shader moved to r_motionblur 3 (will do texture motionblur on 2) - Tried to make r_tvMode 2 half vertical resolution, and failed. - Q3MME's FX scripted particle system files, just dropped in there, because they can't compile at all atm. Procrastinplanning on integrating this to replace my cgame effects
leilei-
2014-06-07 05:07:56 -04:00
5451917a76- r_tvMode - forces 640x480 rendering no matter what res - r_retroAA - old 2000 console style anti-aliasing (if you can call it that) - XMP uses mixer's sample rate.
leilei-
2014-05-31 00:29:57 -04:00
04f656565d- r_suggestiveThemes cvar - loads _safe (for work) models if set to 0, and if they're available. - similarly, r_anime looks for _cel prefixed shaders and loads them instead - r_iconmip - resizes 2D icons (that have nopicmip) to save some inches of video memory/texture cache. - Don't allocate motionblur textures if motionblur is off - Motionblur variable passes hack - remove debug lines from the wip shading mode
leilei-
2014-05-26 01:24:51 -04:00
fc9b91d43cRevert the renderer_oa fallbackShader string objects, it regressed compiling for some platforms :(
leilei-
2014-05-26 01:06:19 -04:00
0f734a2ed2- Eye tracking - GLSL Color control WIP - 'crazy' lighitng WIP - GLSL Motion blur WIP. Currently VRAM heavy - Attempt at fallback shaders, which doesn't work right now.
leilei-
2014-05-18 17:04:26 -04:00
6eaf168ab7Travis needs to know about libxmp-dev
sago007
2014-05-03 20:42:56 +02:00
cab34b45b7- Preparing renderer_software. The theory is to somehow throw things through a TinyGL pixelbuffer with a crapload of compromises. Not there yet but still procrastinplanning on it.
leilei-
2014-04-14 04:19:18 -04:00
c4f5beb32d- Some changes to support the anime glsl/texture map hack i'm doing. Cvar will be r_anime - r_envmode 2 replaced with JK2 envmapping - r_leidebug because I need it
leilei-
2014-04-10 08:47:44 -04:00
ea3b975543- External placeholder shader feature - for wiping the ugly squares off of maps - slight paletted texture cleanup.
leilei-
2014-04-04 05:49:36 -04:00
7c0facdacc- r_leifx cvar that controls the magnitude of faking a certain ubiquitous video card, requires leifx_filter/dither/gamma shaders (not committed yet) - r_slowness, r_slowness_cpu and r_slowness_gpu cvars that sort of fake system bottlenecks. not useful for playing - more r_modes, no standards followed. - some additional but dummied out model shading functions
leilei-
2014-03-28 07:05:56 -04:00
c356889cferemove this hpalette thing i left in there by accident
leilei-
2014-03-19 07:17:31 -04:00
3dcdd64749Detect certain software rasterizing OpenGL ICDs and add some speedups for them also restore the GLHW_ detection stuff that was removed
leilei-
2014-03-19 06:51:10 -04:00