Commit graph

3222 commits

Author SHA1 Message Date
Spoike
5bb7c56c1a MSVC doesn't even warn about that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 23:44:13 +00:00
Spoike
0e3193a3ef Broken more stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 23:40:06 +00:00
Spoike
6147a2dcd3 That should fix bigfoot's shift.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 21:32:54 +00:00
Spoike
699104d667 Notify text should no longer be in the middle of the screen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 20:00:19 +00:00
Spoike
cfadc8e717 Now works properly with larger multi-surface md5 models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:35:15 +00:00
Spoike
c021324009 Fixed non-square dds images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:34:07 +00:00
Mark Olsen
670b45edd9 Now builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 13:36:16 +00:00
Mark Olsen
632cba0618 No, Spike, you're not programming C++. Besides, b was already declared once.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 13:33:12 +00:00
Spoike
e1ab049608 Attempting to fix recent breakages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 07:45:46 +00:00
Spoike
4767b7215d Blame the monkey.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 06:09:49 +00:00
Spoike
7ddd50b854 frames keyword is now supported in externalanim files.
it inserts an entire anim into a sequential series of frames.
there's no control over starting/ending frame numbers. so you need to change frame indexes if any frames are added/removed in any md5anim files that are expanded in this way.
void(float modidx, string framename) frameforname = #276 should be usable for this, but its not tested yet - expanded frame names are eg: path/blah.md5anim0

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:44:26 +00:00
Spoike
18b617f4a1 vweps.
added builtin float(float modidx, float framenum) getframeduration = #277; to both csqc and ssqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:20:20 +00:00
Spoike
3b8c5d74bc I wonder how many more bugs there are left for Blub to find.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 21:44:17 +00:00
Spoike
a80214290d Oh noes! Everything is broken!
Rewrote much of the console code. Should be no obvious differences.
Nearly all conchar parsing goes via a single function. Still some left in the dedicated server code.
Added the ability to parse utf-8 text, disabled by default.
Added the ability to input unicode chars using whatever keymap the user has set up in windows (not enabled by default).
Reworked vbo stuff to be a little more versatile.
Added toggle console command.
Added freetype2 support (not compiled by default).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 18:45:53 +00:00
Spoike
5206c1a0c8 Fixed a couple of bugs regarding normals. Welded verts together that share coords, compensated for angle of triangle, skeletal fat bastards (erm), added clampgroups to possibly freeze an animation at its end.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-04 16:53:01 +00:00
Spoike
2b58210060 Bugfixes courtesy of Blub:
Fixed new line counting in multi-line comments.
Fixed unary operators to favour a single term, except for the unary not operator.
Added:
Unary not operator warns whenever it consumes more than a single term.
Added more ways to optimise logic (a+0 = a).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-03 19:02:42 +00:00
Spoike
2f848fa7b0 Should now calculate and animate vertex normals on skeletal models, and apply that for the q1-style lighting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-30 22:05:18 +00:00
Spoike
ca7a6224a4 Fixed flickering entities bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-28 19:57:09 +00:00
Spoike
06b20185b5 cmd efpslist now shows incoming/outgoing packet rates per client, too (expressed in bytes per second - same as rates).
Semi-colon can now be bound properly in the menus.
Fixed a bug with one of my more recent commits.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-23 21:49:44 +00:00
Spoike
b2429e478a I'm too lazy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-22 06:38:38 +00:00
Spoike
2d8dba797a Gcc is more fussy than msvc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-22 06:07:33 +00:00
Spoike
f2cce499f6 Multiple minor cleanups. Chunks of dead code removed.
Added com_parseutf8.
Z_EXT_VWEAP is supposedly supported serverside, but not clientside. It is not advertised, and not used, yet.
Fixed csqc mouse issues in linux, supposedly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-21 17:45:33 +00:00
Spoike
8260a0d206 Doesn't look like indexes are actually needed first here (this should fix the issues with the md5s that electro has).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-17 21:57:45 +00:00
Lance
17512cc406 Changed all instances of -lwsock32 to -lws2_32, "apparently wsock32 is old and shouldn't be used (since win95..)"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-14 13:51:13 +00:00
TimeServ
cefc6d187a fix makefile for qclib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-14 01:15:00 +00:00
Spoike
82f3ae2102 Looks like someone forgot a file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 20:52:43 +00:00
Spoike
1c985c65d2 and a bit more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 12:25:39 +00:00
Spoike
b3b885c122 Trying to clean up qclib a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 11:57:52 +00:00
Spoike
bd51fb8e9d Fixed unproject to work as originally intended. Rather than just being a steaming pile of poo (it was the matrix inversion routine that was broken).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-11 21:09:39 +00:00
Spoike
ff4eaa2ea0 I wrote this ages ago. I might as well make it available. I've no idea how out of date it is.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-10 23:50:51 +00:00
Spoike
d62acc7608 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3217 fc73d0e0-1445-4013-8a0c-d673dee63da5 2009-06-10 23:50:07 +00:00
Spoike
c66ff953b5 Fixes up tcpconnect a bit (based on bigfoot's patch). Should now work a little better than it ever did.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-10 22:36:53 +00:00
Lance
226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Spoike
e9c0883937 I messed up with the WORKINDP thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 23:42:55 +00:00
Spoike
54f6c830de movevars and pmove are obsolete. Bit of a code cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 15:46:12 +00:00
Lance
691f57ee80 Changed path to a SDL header, only affects mingw32 + SDL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 13:25:02 +00:00
Lance
a028aca503 r3120 take 2. Applied a parentwindow fix to the Windows SDL binary, now exits gracefully instead of a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:13:55 +00:00
Lance
183461a428 Crossbuilt MinGW32 SDL binaries working again, applied a parentwindow
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:09:35 +00:00
Spoike
f472410ad2 Fixes the angle clamping issue in q3. The cgame is meant to clamp, not the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-31 11:46:57 +00:00
Spoike
f3970ede24 Hopefully fixes the recent +gamedir failures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:54:41 +00:00
Spoike
d010181ff7 Work around for mvdsv's latest incompatibilities.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:48:18 +00:00
Mark Olsen
b5106b68a4 Now builds and works again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 21:14:31 +00:00
Spoike
6b21ccabee ATI suck almost as much as I do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-25 14:05:35 +00:00
TimeServ
740f4a09f9 actually apply fteqcc intrinsics patch http://stud4.tuwien.ac.at/~e0725517/patches/fteqcc_fix_intrinsics.diff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 18:56:05 +00:00
Spoike
6d3e1b7188 Fixing up some custom build assembler commands. They were missing quotes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 15:00:31 +00:00
Spoike
95a26340ac Added the fs_win32.c file to the 2005 projects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 14:47:11 +00:00
Spoike
bd22b975d0 Attempt 2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:24:57 +00:00
Spoike
252face9c5 Should fix my breakage of morphos builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:20:21 +00:00
Spoike
9a20ae8fa2 Fixed linux sw building.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:51:01 +00:00
Spoike
dcefeaa8fa Fixed the makefile so qcc builds again by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:49:21 +00:00