2443 Commits

Author SHA1 Message Date
02a2e94a89 ある日、私はこの世界に幻想郷を持ち込むことができるでしょう
Some checks failed
Build / build (push) Has been cancelled
2025-07-08 14:35:03 -03:00
leilei-
513c538fba A bunch of things
- s_interrupt - allows sounds to be interrupted by the same sound or entity channel
- new dynamic light calculation for vertex lighting, affecting vertex color (no projected dlight textures)
- rgbGen material for allowing calculation for diffuse, specular, emmissive vertex colors by hex values
- rgbMod shader command allowing new vertex color effects
- removed deprecated R_ParseStageSimple, it never worked as intended
- r_slowness gone. Use llvmpipe, PCem, or a slow computer instead.
- Spring cleaning of old deprecated/broken post-process GLSL experiments
- r_anime broke in 2015
- r_tvMode - well, shaderglass exists now
- r_motionblur - Bad technique, too much memory
- t_pslettize - slow, relies on shader's lookup of a vector table
- r_film - bad on well-lit maps
- r_retroAA - this broke early too. also looked bad. would rather implement FSAA 4x
- cl_consoleScale : makes the console more 640x480 sized on any higher res. Also affects notify messages, so you can read chat easier
- cl_consoleColor also affects the line at the bottom. Also new default colors
- If consoleShader can't load (which will happen with some mods), it will fallback to a flat-colored console.
- Generic'd the red/blue team names.  We will not be having missionpack clans.
- SDL2: Clicking the red X now does something: you can leave!!! If it sucks.... hit da bricks!! real winners quit
- s_xmp_startPattern - makes the tracker song play a different pattern (for use with sub-songs)
- fixed xmp playback as xmp explicitly requires a length of the module now. Fixes issue #96
- suppress the warning about non-22khz music, as mods are playing at the mixer's rate always, and this warning regards a much earlier (1999) unstable sound mixer.
- deprecating r_modelshader because the shader got stale, old, buggy, and amd hates it now
- r_shadeMethod will be something else (and not shader-based)
- r_lightmapColorNorm : Make normalization of bright luxels an option, default is 1 (q3 behavior).
- r_lightmapColorNorm 0 = no normalization, straight clamp, like Nightdive's vision of Quake2
- r_lightmapColorNorm 2 = experiment: normalize, but add some luminance on while maintaining the hue by normalizing again. This tries to restore more range on fully saturated colors
- dropped SHADER_MAX_VERTEXES back to 1000 because raising it causes various unexpected issues, so dialing it down for now
- raise MAX_IMAGE_ANIMATIONS to 16 because I've got a cool water shader using it and 8 is too choppy
- Crash fix for older (<=2001) mods by trimming the string shared with ui module, so no overflow for them
- jettisoning old proposed mme particle system that was never ever hooked up properly.
- other small warning cleanup
- r_shadeMethod : 0/1 = q3 behavior, 2 = ue1-ish behavior, 3 = mix of 1 and 2, -1 = one uniform color, 150-666 = a lod range to change between the 3
- r_monolightmaps : refactor - goes to the light data instead of the calculations and images
- removed r_greyscale because this is a data-modifying novelty that would complicate support for loading compressed texture formats. This is better off as a post-process shader
- environment mapping refactor, rewrite and cleanup
- removed a lot of deprecated rgbGens
- removed r_texdump (it never worked)
- remove a few leftover broken postprocess things
- Internal GLSL brightness shader, so gamma control can work without the glsl/brightness_fp.glsl file when r_ext_vertex_shader is 1 and r_alternateBrightness is 2.
- r_skyTess - an attempt to make the complexity of skydomes an option so it could use less polygons. Has no effect on skyboxes
2025-05-20 06:30:51 -04:00
Poul Sander
74046d7a5c Merge pull request #86 from mystuffs/master
Update README to use https protocol instead of the git protocol
2023-11-07 19:13:58 +01:00
rilysh
683e52ff8e readme: use https protocol instead of git 2023-11-06 00:04:11 -05:00
Poul Sander
075cb860a4 Merge pull request #80 from Opvolger/add_riscv_support
add RISCV support on build
2023-03-02 21:36:40 +01:00
Bas M
b74af78f53 add RISCV support on build 2023-03-01 16:23:22 -05:00
Poul Sander
4e334dddbe Rename MatrixMultiply to Q_MatrixMultiply to avoid colliding with SDL_d3dmath.c when statically compiling 2022-03-19 20:11:57 +01:00
Poul Sander
7666af68b1 Merge pull request #64 from Opvolger/aarch64
add aarch64 as platform
2022-03-19 11:25:09 +01:00
Poul Sander
0b2dc71715 Merge pull request #74 from r-a-sattarov/master
code/curl: update ifdef condition for MCST-LCC compiler
2022-03-13 21:04:28 +01:00
Poul Sander
b4989c62a2 New CI using Github Actions 2022-03-13 12:33:16 +01:00
r-a-sattarov
b485a52ccf code/curl: update ifdef condition for MCST-LCC compiler
in mcst-lcc compiler => 1.25 added a new macro definition to determine compiler
2022-03-12 21:59:40 +03:00
Poul Sander
c220f4b9e8 Merge pull request #68 from oitzujoey/master
SDL2
2022-03-12 10:37:03 +01:00
Joey Herguth
0026cad1c3 Add SDL2.0.12 headers and Win32 libs 2021-08-25 19:16:19 -07:00
Joey Herguth
c2250b7fca Add SDL2 compile option.
This sets SDL2 as the default as well.
2021-08-25 18:51:53 -07:00
Bas M
0d975d5d4d add aarch64 as platform 2020-06-04 20:37:49 +02:00
Poul Sander
f507a7a87a Merge pull request #63 from r-a-sattarov/master
E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option
2019-11-16 16:27:28 +01:00
r-a-sattarov
78e222e7e3 E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option 2019-11-09 11:36:27 +03:00
r-a-sattarov
bf4f0d1ec5 E2K: added initial support for MCST Elbrus CPU 2019-09-29 20:17:52 +02:00
r-a-sattarov
142e4d32cf Readme description updated 2019-09-29 20:17:43 +02:00
sago007
b29a883e09 Removed the mingw32 reference 2019-09-29 19:34:30 +02:00
sago007
e120f49e66 Fix duplicate symbol tvinterlace 2018-06-16 17:14:50 +02:00
sago007
7b621b7f01 Attempt to fix a duplicate symbol.
Prevents compiling on Mac OS X
2018-06-16 17:10:08 +02:00
sago007
1e47ea5264 Removed MDO for now 2018-02-12 20:55:54 +01:00
sago007
89d67c8c3e A few warnings from Travis. Including an out of bound access 2018-02-10 17:34:54 +01:00
sago007
8dbdaa7704 Also remove some clang warnings. Including removing some compiler aguments that are properly only doing things worse now. 2018-02-10 13:59:47 +01:00
sago007
57b2e3c0fd Com compiles without warnings on gcc 7.2.0. Might just test clang too 2018-02-10 13:43:56 +01:00
sago007
a099619f9e Reduced the warning count further 2018-02-06 20:59:19 +01:00
sago007
509f7baeed Removed the numeric array bounds 2018-02-06 20:33:17 +01:00
sago007
8c43d3368f Removed most warnings except for array bound.
Some logic changes has happened where I was certain that there was a bug.
2018-02-06 20:27:38 +01:00
sago007
bf8b294d46 Use curl by default. Use Makefile.local to diable it if you need 2018-02-06 19:40:49 +01:00
Poul Sander
19b9d3d3bd Merge pull request #31 from OpenArena/xdg_home
This closes Issue #30
2017-01-01 11:27:59 +01:00
sago007
c7798a862b Small whitespace fix 2016-12-30 19:19:40 +01:00
sago007
3a716d93b4 Now creates XDG_DATA_HOME if it is missing. This fixes all known problems. 2016-12-30 18:24:12 +01:00
sago007
05cbf012e3 Moved the symlink logic in case of an invalid. Also deleted old outcommented logic. 2016-12-30 17:39:33 +01:00
sago007
d905eba02b Wrong logic while creating "homeXdg".
Also changed .local/share/openarena to .local/share/OpenArena.

com_homepath will properly be permanently broken as it cannot handle two different home names.
2016-12-28 16:23:09 +01:00
sago007
4209b06c26 Started 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)

com_homepath is not fully implemented and it will need to be set to "openarena" instead of ".openarena". But that just makes it like Mac.
2016-12-28 15:28:19 +01:00
Poul Sander
6aab9a0fb6 Merge pull request #29 from OpenArena/sago_anit_crash
Sago anti crash
2016-11-28 21:16:06 +01:00
sago007
30bceb68dc Travis uses gcc 4.6.3 and it does not support c11. Trying c99. 2016-11-27 21:31:03 +01:00
sago007
28ad1bc558 Specified 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.
2016-11-27 21:21:26 +01:00
sago007
e785563a21 Significantly simplified S_XMP_CodecReadStream. Based on my understanding of the libxmp 4.4 API documentation. 2016-11-27 12:34:07 +01:00
sago007
976ce69b41 Small corrections 2016-11-27 12:25:51 +01:00
sago007
c0c6bbb0ef Pure formatting changes 2016-11-27 11:55:46 +01:00
sago007
e90e80eb92 Some incompatible pointer types 2016-11-27 11:54:01 +01:00
sago007
8a0c6dd04b Formatting changes 2016-11-27 11:46:04 +01:00
sago007
f5c2b2d71b Hard an brutal reformatting to make it easier to see my changes 2016-11-27 11:40:54 +01:00
sago007
217a26e3c6 Different proactive changes to prevent problems... or make them A LOT more visible. 2016-11-27 11:25:39 +01:00
Poul Sander
6688bf3269 Merge pull request #28 from OpenArena/sago_particles_anti_crash2
Slightly smaller fix. Now with carrige return
2016-11-27 11:13:06 +01:00
sago007
dd2ce7ca1a No longer crashes on Linux 64 bit.
I did not know why "cg_leiEnhancement 1" caused the game to crash.

Before I started debugging I just ran through tr_particles.c and fixed a lot of warnings. This also fixed my problem.
I think the critical part was:
```
-int reallyactive;
+particle_t* reallyactive;
```

The diff makes it a bit hard but another change was:
```
else if (p->colortype = P_INDEXED)
```
to
```
else if (p->colortype == P_INDEXED)
```
and:
```
-vec3_t		color;
+vec4_t		color;
```
2016-11-27 10:34:14 +01:00
leilei-
f62b262b27 - "Generic" in vendor string no longer triggers software rasterizer performance workarounds 2016-11-16 00:32:08 -05:00
leilei-
ecb1a7a219 - Don't picmip the detail textures. this allows detail to look better in lower detail
- try to process generic shoehorned detail textures
2016-11-04 04:02:30 -04:00