Commit graph

1153 commits

Author SHA1 Message Date
Spoike
7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
0378f937bb Error checking...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:07:09 +00:00
Mark Olsen
c43ca67df6 Only include glquake.h if we're actually building a GL renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 22:35:11 +00:00
Mark Olsen
5e3d74c8f9 Removed unused cachedir variable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 21:48:18 +00:00
Mark Olsen
d8ab904c22 Endian fix for ROQ sound output.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 18:07:58 +00:00
Mark Olsen
091aa86c94 Some MorphOS plugin stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 13:21:43 +00:00
Spoike
e8e35a4a19 Why do compilers have to be so fussy ?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:55:42 +00:00
Spoike
16ca2a1cc8 Small, easy fix for a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:51:12 +00:00
Mark Olsen
758c4b1880 Fixed out of bounds read access in ED_NewString(). Also fixed the creation of an
unterminated string in some cases.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:40:23 +00:00
Mark Olsen
84c13a9a5b And another dead function removed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 15:17:10 +00:00
Mark Olsen
7bdacbbaa3 Cleanup, removal of dead code, cosmetics, etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 15:08:05 +00:00
Mark Olsen
625f6b8527 Added the MorphOS platform.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 14:21:46 +00:00
Mark Olsen
b171e40621 Stuffing some MorphOS code on CVS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 14:17:27 +00:00
Spoike
63ff3fd453 Small bugfix, bug reported by Moodles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 12:35:16 +00:00
TimeServ
14f9beab23 replace _fastcall
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 03:22:36 +00:00
TimeServ
a23de78d86 NULL function crash fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-31 00:12:09 +00:00
Mark Olsen
3113fcad9e Fixed some NQ protocol related endian problems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 22:26:43 +00:00
Mark Olsen
fdec86754c Oh well, Z_Malloc() cannot return 0. Shame on me.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 18:48:55 +00:00
TimeServ
ea9c3b0360 software transtable rewrite, sw additive support for sprites/blob particles/line particles (no models yet), AddBlend/Trans functions need optimization
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 01:12:09 +00:00
Mark Olsen
c5c278da85 origional -> original.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:52:31 +00:00
Mark Olsen
46c05df0ea allways -> always.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +00:00
Mark Olsen
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
Mark Olsen
a58cf9c17a Introducing a new concept to Unix and Windows coders worldwide: Error checking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 14:33:18 +00:00
TimeServ
f75b31bd6d multiple world beam entities
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 04:11:38 +00:00
Spoike
aa85907fa0 Prevents a[b] = c(d) from becoming a[d] = c(d);
Also added support for constant expressions (rather than single constants) inside array definitions (note that this may cause other problems, and requires the preevaluate constants optimisation).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 02:36:39 +00:00
Spoike
5537bb29b6 And... with correct spelling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:45:41 +00:00
Spoike
c11e10b693 Added full particle effect number range checking. This'll stop crashes with beams not registered in advance.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:42:26 +00:00
TimeServ
b43869f191 fix to q1 model loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:13:06 +00:00
TimeServ
49282bafa2 small fix to beams for trailstate delink
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:11:42 +00:00
Spoike
b628439038 Make sure strzone is always freed when the mod is closed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-26 21:01:26 +00:00
Mark Olsen
59246c341d Use -p for mkdir to avoid spam when typing make :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:37:57 +00:00
Mark Olsen
093c37edbb Make the help message for mvdrecord print mvdrecord instead of record.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:36:42 +00:00
Mark Olsen
20880b07be Fix use of uninitialised variable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:35:14 +00:00
Mark Olsen
b5d6325fe3 Redid COM_StripExtension to only strip from the first dot after the last slash in a filename.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:23:42 +00:00
TimeServ
e9b8f7899f cl_demospeed should work (screws up other timing values somewhere along the lines?)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-24 23:09:57 +00:00
TimeServ
2e5ad38a00 r_part_sparks*/r_part_beams*, gives control over rendering different particle types
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-24 21:44:37 +00:00
Spoike
ce28a040f8 Thanks to bigfoot for pointing that one out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1155 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-20 21:39:17 +00:00
Mark Olsen
1455020790 Added newline at end of file to shut up GCC.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-20 20:21:10 +00:00
TimeServ
ea22198a52 [ 1227382 ] r_explosionlight
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-20 08:04:46 +00:00
Spoike
4fad5d02bc work, dammit!!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 17:04:36 +00:00
Spoike
8cd2855713 forgot to add gl_alias.c to the dedicated server - which uses the same loading/tags code as the client version. Ideally these would be split up properly, but I'm too lazy for that today.
This adds MOVE_HITMODEL support and tags.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1147 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 14:37:38 +00:00
Spoike
50a59ff11f rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
A couple of minor bugs fixed too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike
f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Mark Olsen
c428a29469 More endian fixes, Q3 maps work on big endian machines now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 17:14:55 +00:00
Mark Olsen
78390adbfa Some byteswapping for Q3 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 16:36:26 +00:00
Spoike
83bf982654 Small tweeks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 15:47:20 +00:00
Spoike
badc9d1934 msvc7/.net project files.
the vc6 ones are still the main working copy, and these will be updated less frequently.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 16:49:53 +00:00
Spoike
2e65de8d84 Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 16:48:23 +00:00
Spoike
891d732cac Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 16:48:08 +00:00
Spoike
86b651132e Annother day of hacking finished.
Time for bed.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 00:37:52 +00:00