Zack Middleton
1db2124a65
Moved dpi variable inside BUILD_FREETYPE ifdef.
2012-04-07 16:34:21 +00:00
Zack Middleton
a55a059abc
Fixed some issues found using clang static analyzer.
2012-04-07 02:53:42 +00:00
Zack Middleton
b211b35853
Use FreeType include macros instead of filenames directly (per the API docs), patch by Radegast.
2012-04-02 17:23:46 +00:00
Zack Middleton
de1360f268
Fixed up warning messages in tr_font.c
2012-03-29 06:35:33 +00:00
Zack Middleton
c8e790e4af
Use tabs in tr_font.c
2012-03-29 05:42:30 +00:00
Zack Middleton
5e9c7f5b37
Removed set but not used variable 'satLevels' from tr_font.c.
2012-03-29 05:31:18 +00:00
Zack Middleton
4b7a623cc0
Make sure font glyph shader names are null-terminated.
2012-03-29 05:28:09 +00:00
Zack Middleton
94fb80f021
Fixed possibly placing a font glyph (at the beginning of a row) past the bottom of a font cache image.
2012-03-29 05:15:46 +00:00
Zack Middleton
f15a3cca21
Fixed writing pre-rendered font TGAs, needed to flip image.
2012-03-29 04:49:36 +00:00
Zack Middleton
ea0102d403
- Added support for enabling FreeType Support (make USE_FREETYPE=1).
...
- Fixed compiling tr_font.c for dynamic renderer.
2012-03-29 04:05:13 +00:00
Thilo Schulz
dfd3245c38
Fix build for new modular renderer on MacOSX
2011-12-15 21:12:38 +00:00
Zack Middleton
34b22e9119
Reverted r2209...
2011-12-08 23:34:51 +00:00
Zack Middleton
93d1d0f83e
Show warning when renderer cannot load model after checking all supported formats, instead of after each format.
2011-12-08 23:17:37 +00:00
Thilo Schulz
3ecd92ed91
Add color combination green-magenta for anaglyph
2011-11-18 12:47:42 +00:00
Zack Middleton
0724458818
Fixed usage of various entity defines.
2011-11-05 01:02:35 +00:00
Zack Middleton
4e59ef714b
Print developer message when renderer runs out of free entities.
2011-11-05 00:56:26 +00:00
Tim Angus
fd986dae06
* Fix various warnings with GCC and clang
2011-10-27 21:32:28 +00:00
Tim Angus
675e7a641a
* clang support
2011-10-21 22:48:53 +00:00
Thilo Schulz
bc3e989967
Bug 5199 - IQM joint matrices wrong, patch by James Canete
2011-09-19 22:15:24 +00:00
Zack Middleton
1469df546e
Reverted r2145 per Timbo's suggestion.
2011-08-11 20:57:39 +00:00
Zack Middleton
1609d1c42b
- Added r_mode -2 for using display resolution.
...
- Changed q3_ui's very high video settings use display resolution.
2011-08-11 05:14:42 +00:00
Thilo Schulz
8ab91bde8e
- Fix already defined command warnings for minimize
...
- Fix recursive CL_Shutdown warning and "command already defined" warnings when quitting while playing on a server that changed the gamedir.
2011-08-01 10:16:40 +00:00
Thilo Schulz
5a1449bd51
Add forgotten file for last rev
2011-08-01 01:30:54 +00:00
Thilo Schulz
40dfcee06e
Modular rendering system. Patch by use.less01
...
This might break MSVC builds. I'll take care of it later
2011-08-01 01:19:55 +00:00
Thilo Schulz
23f6fd1633
Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
2011-07-29 12:27:00 +00:00
Thilo Schulz
1ea7ab1f42
Fix menu corruption on IRIX ( #5097 ), patch by Rainer Canavan
2011-07-29 11:42:57 +00:00
Thilo Schulz
66f0777552
- Bug 5083 - Cross compiling for 64bit is missing libcurl.a
...
- Fix a compiler warning for cross compile
2011-07-18 16:32:36 +00:00
Thilo Schulz
9dc32d55e2
Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2011-07-18 14:56:57 +00:00
Thilo Schulz
c52bfbd5a8
All patches by Zack Middleton:
...
- Bug 5057 - Two weapon number range checks allows invalid number
- Bug 5058 - Railgun explosion cannot be colorized
- Bug 5059 - Client's railgun does not glow in third person and mirror
- Bug 5060 - Warning in RAVENMD4 R_GetAnimTag cross compiling with amd64-mingw32
2011-06-27 23:53:40 +00:00
Thilo Schulz
dc24d7649c
patch by Zack Middleton ( #5044 )
...
- Fix a few comments in tr_local.h
- A bit of refactoring of the cpp macros
2011-06-16 22:28:13 +00:00
Thilo Schulz
9219cde4e8
- Small change to search path order - local files not in .pk3s take precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3
...
- Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path
- Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
2011-06-15 22:09:26 +00:00
Thilo Schulz
03201aff22
- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
...
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms
2011-06-13 09:56:39 +00:00
Thilo Schulz
c2b7f5173f
Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton
2011-06-11 20:20:30 +00:00
Thilo Schulz
b96c1c8279
Fixes to IQM support, by Zack Middleton
...
- Bug 5029 - IQM skin support for upper case surface names
- Bug 5030 - IQM version 2 support
- Bug 5031 - Animated IQMs cause segfault
- Bug 5032 - IQM does not setup tag axis/origin correctly
- Bug 5033 - IQM bounds swap and segfault issues
2011-06-11 15:16:25 +00:00
Thilo Schulz
4b9ab42c2c
Remove newlines from Com_Error calls, patch by DevHC
2011-05-14 14:32:43 +00:00
Thilo Schulz
5f63ab9160
Choose better alignment for heavy-duty rendering structures, patch by Matt Turner ( #4981 )
2011-05-09 23:39:40 +00:00
Thilo Schulz
2ae1bf3dcd
IQM skin support and print limit info, make other limit info consistent, patch by Zack Middleton ( #4978 )
2011-05-06 11:43:07 +00:00
Thilo Schulz
45824008d9
Remove C99 code constructs from IQM code, patch by gimhael ( #4974 )
2011-05-05 13:33:43 +00:00
Thilo Schulz
bd2f6dbf05
[23:59:05] <ZTurtleMan> Thilo: altName (created using va) does not point to model filename in developer-only printf as va is used to load images before the printf. http://pastebin.com/1KCjz6Ct
2011-05-02 22:01:39 +00:00
Thilo Schulz
d37b2da593
- Add licence headers to new files
...
- Add patch from Zack Middleton which fixes a few issues still
2011-05-02 20:30:14 +00:00
Thilo Schulz
bd9485f597
Do not retry image loader for image that failed, patch by Zack Middleton ( #4968 )
2011-05-02 15:53:20 +00:00
Thilo Schulz
c5e2654b54
- Add Inter-Quake Model (IQM) Format support, patch by gimhael with minor modifications by myself ( #4965 )
...
- Changed model_t::md4 to model_t::modelData
- Fix R_ModelBounds for MD4, MDR and IQM models (#4966 )
- Support Model format fallback similar to image formats in tr_image.c, patch by Zack Middleton (#4967 )
2011-05-02 15:50:19 +00:00
Thilo Schulz
06d12f6085
Replace a few numeric constants with already defined macros, patch by ZTurtleMan
2011-04-26 09:48:40 +00:00
Thilo Schulz
6a203bc8e9
- Fix data alignment issue with glReadPixel call, reported by Guillaume Bougard ( #4954 )
...
- Fix data alignment issue in raw AVI recording for weird resolutions (like 1366x768)
2011-04-18 16:06:10 +00:00
Thilo Schulz
e5c210236c
Fix a few comments ( #4591 )
2011-04-13 23:42:55 +00:00
Thilo Schulz
16b99e354b
Fix JPEG compression for screenshots and mjpeg video recording with new JPG library
2011-03-17 16:00:45 +00:00
Thilo Schulz
c1d8a260ae
Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx
2011-03-14 17:25:20 +00:00
Thilo Schulz
0c10adaf92
- Migrate to jpeg-8c
...
- Add possibility to link against system libjpeg
2011-03-12 16:45:15 +00:00
Thilo Schulz
fef4d12d68
Refactoring patch by DevHC
2011-03-05 19:20:37 +00:00
Thilo Schulz
2c57226d9f
JPEG quality control patch, by Zack Middleton ( #4673 )
2011-02-10 21:18:31 +00:00