Bill Currie
|
0fec378e31
|
view.c needs to be in the main console lib rather than the client plugin
and make view_draw the default draw function for new views
|
2003-05-07 04:24:20 +00:00 |
|
Bill Currie
|
a4abf526e8
|
there's no need to call Con_CheckResize every frame and it's now
detrimental anyway
|
2003-05-06 18:00:03 +00:00 |
|
Bill Currie
|
c397504b74
|
fix menu centering for 320xY
|
2003-05-06 03:19:29 +00:00 |
|
Bill Currie
|
f12f4a8898
|
add view_insert to provide greater control over view order
|
2003-05-06 02:41:37 +00:00 |
|
Bill Currie
|
b2bbcb30c6
|
fix the missing chat input line
|
2003-05-06 02:30:38 +00:00 |
|
Bill Currie
|
56bfc6dc45
|
fix the input line location bug and change enabled to visible due to
enabled meaning something else in UIs
|
2003-05-06 02:25:46 +00:00 |
|
Bill Currie
|
508fb4fb5c
|
new view stuff mostly working. just a few visual bugs to iron out
|
2003-05-06 02:19:13 +00:00 |
|
Bill Currie
|
1bdcd879be
|
initial work on dynamic view support for the console. I'm aware that
QF/view.h vs view.h may cause some confusion, but I'm hoping to eleminate
view.h.
Also put the sample hud.txt into docs so it doesn't get lost.
|
2003-05-05 18:50:14 +00:00 |
|
Bill Currie
|
06608fbf37
|
round the mmap length up to the nearest page size
|
2003-04-30 14:55:58 +00:00 |
|
Bill Currie
|
95ae17acc1
|
I don't know why MAP_SHARED is needed, but it's not compatable with
write-only mode, so make it part of snd_oss_rw
|
2003-04-30 02:52:41 +00:00 |
|
Bill Currie
|
09f3f1ea26
|
mindHog's plugin global symbol handling patch so his python plugin can work
(reloads the plugin with RTLD_GLOBAL if the plugin requests it).
|
2003-04-30 02:14:44 +00:00 |
|
Bill Currie
|
30b25af44b
|
bring back the rw/wo code
|
2003-04-29 03:14:37 +00:00 |
|
Bill Currie
|
62e36ef747
|
make /command work when not using curses
|
2003-04-26 05:12:16 +00:00 |
|
Bill Currie
|
4a73d5dc45
|
this seems to fix the "end of file" issues on streams
|
2003-04-26 04:30:07 +00:00 |
|
Bill Currie
|
3418e904a4
|
mindHog's fix for RemoveCommand being totally borked (oops:)
|
2003-04-25 03:06:34 +00:00 |
|
Bill Currie
|
e16a211e1f
|
PR_SetString doesn't like null pointers, it seems. While fixing
PR_SetString would be a better fix, this is faster code.
|
2003-04-24 04:57:30 +00:00 |
|
Bill Currie
|
f7d806e8d5
|
can now handle > vector sized parameters
|
2003-04-22 20:11:16 +00:00 |
|
Bill Currie
|
e732cf591d
|
remove all references to OFS_* from the C code. only the macros in progs.h
use them now
|
2003-04-22 18:20:15 +00:00 |
|
Bill Currie
|
f842d98964
|
initialize noise1
|
2003-04-22 01:37:13 +00:00 |
|
Bill Currie
|
905f1826eb
|
temporarily remove location support from nq (and location markers from both)
until client code has been cleaned up more
|
2003-04-21 18:26:21 +00:00 |
|
Bill Currie
|
7d06343b2f
|
make the opened sfx name usable
|
2003-04-21 18:09:53 +00:00 |
|
Bill Currie
|
848bb891b3
|
win32 compile fix
|
2003-04-21 17:28:56 +00:00 |
|
Bill Currie
|
b43651685a
|
fix a buffer overrun issue with -game
|
2003-04-21 04:49:02 +00:00 |
|
Bill Currie
|
a8d171ec40
|
replace a warped wheel with a strdup wheel ;)
|
2003-04-21 04:02:58 +00:00 |
|
Bill Currie
|
eac5b83ea5
|
remove some debug info
|
2003-04-21 01:44:55 +00:00 |
|
Bill Currie
|
194c9aa097
|
fix the file handle leak
|
2003-04-21 01:39:07 +00:00 |
|
Bill Currie
|
efe9dd844f
|
fix the segfault on starting a map only to die from file handle starvation :P
|
2003-04-21 01:24:53 +00:00 |
|
Bill Currie
|
714bd341fc
|
'copy' streams on openning. fixes the shared stream issues, though other
problems might arrise (eg, running out of file handles or memory)
|
2003-04-20 07:19:51 +00:00 |
|
Bill Currie
|
52f41f8095
|
make streams work in chunks of 256 samples (won't work so well for non power
of 2 resample rates :/)
|
2003-04-20 03:42:19 +00:00 |
|
Bill Currie
|
e4ba0ad5e5
|
move to static initialization for plugin info
|
2003-04-20 02:05:28 +00:00 |
|
Bill Currie
|
49571b257d
|
crystal clear playback on resampled streams :) (still borked when shared,
though :/)
|
2003-04-17 17:43:21 +00:00 |
|
Bill Currie
|
64d5e4e053
|
mindHog's (mindhog@mindhog.net) plugin command patch
|
2003-04-17 15:18:16 +00:00 |
|
Bill Currie
|
51f7b934d1
|
more headpos resetage
|
2003-04-17 03:58:16 +00:00 |
|
Bill Currie
|
28cc2e24ef
|
headpos needs resetting too at sfx end
|
2003-04-17 03:53:54 +00:00 |
|
Bill Currie
|
fb1a5f67f2
|
kill debug print :P
|
2003-04-17 03:31:45 +00:00 |
|
Bill Currie
|
772b8d5961
|
more triage :P
|
2003-04-17 02:55:26 +00:00 |
|
Bill Currie
|
87025a4598
|
get sound (generally) working again
|
2003-04-17 02:40:17 +00:00 |
|
Bill Currie
|
d566790c0b
|
make the input line scrolling unsigned int clean
|
2003-04-17 02:03:47 +00:00 |
|
Bill Currie
|
9a40bf2956
|
get the fix right
|
2003-04-17 00:25:55 +00:00 |
|
Bill Currie
|
5cb8429f04
|
bah, cleanup for flex versions :P
|
2003-04-17 00:14:13 +00:00 |
|
Bill Currie
|
eb099ae0d3
|
make qf gcc 3.3 clean
|
2003-04-17 00:01:48 +00:00 |
|
Bill Currie
|
589c3e4e49
|
get nq-server working properly
|
2003-04-16 05:06:19 +00:00 |
|
Bill Currie
|
f55bac4c06
|
fix nq-servers non-curses console input so it actually works
|
2003-04-16 04:07:55 +00:00 |
|
Bill Currie
|
63e6ae2869
|
report the name of the stream if reading is truncated
|
2003-04-15 21:11:41 +00:00 |
|
Bill Currie
|
0421c33b85
|
make sure the cbuf is usable when text gets added
|
2003-04-15 19:40:46 +00:00 |
|
Bill Currie
|
37fa93e8e5
|
horrible hack for `fixing' glitchy sound effects when a stream is shared by
more than one object
|
2003-04-15 04:19:33 +00:00 |
|
Bill Currie
|
5505aba316
|
minor cleanups
|
2003-04-15 04:03:02 +00:00 |
|
Bill Currie
|
130a3f4d59
|
fix the -ve reads
|
2003-04-15 03:21:29 +00:00 |
|
Bill Currie
|
da44c783fb
|
get the new sound system mostly working. just getting a bogus read count
in the stream reader at the moment, otherwise it's working wonderfully :)
|
2003-04-15 02:34:17 +00:00 |
|
Bill Currie
|
dfff6bcdb7
|
duplicate the vorbis file info when creating a stream
|
2003-04-14 16:28:20 +00:00 |
|
Bill Currie
|
9fda72c119
|
streamed sounds /almost/ work. sound like crap but no crashes
|
2003-04-14 15:47:08 +00:00 |
|
Bill Currie
|
aab4dcf931
|
getting there with streams. just need to get the painters working, I think.
(streaming currently disabled for anything < 30s :)
|
2003-04-14 06:11:53 +00:00 |
|
Bill Currie
|
38ef81ca78
|
set the buffer length as early as possible for cached sounds
|
2003-04-14 01:40:40 +00:00 |
|
Brian Koropoff
|
11e2f0d16a
|
Added a generic interface for using handles in GIB and made GIB threads
use it.
|
2003-04-14 01:17:55 +00:00 |
|
Brian Koropoff
|
e707e9bb89
|
Moved gib_*.h into include/ and moved the necessary declarations and struct
definitions to QF/gib.h to interface with libQFgib.
|
2003-04-13 22:07:58 +00:00 |
|
Brian Koropoff
|
3b703db4d4
|
Added the beginnings of an interface between Ruamoko and GIB. Although the
API is by no means finalized, it's now possible to write GIB builtins in
Ruamoko that can take arguments and return values to GIB.
|
2003-04-13 20:43:52 +00:00 |
|
Bill Currie
|
1b2d7b79a6
|
streams getting closer, not working yet, though
|
2003-04-13 06:46:24 +00:00 |
|
Brian Koropoff
|
63c3038ad8
|
Added the useful dstring_freeze function to convert a dstring to a
finalized, plain C string.
|
2003-04-13 05:48:28 +00:00 |
|
Bill Currie
|
23278d0706
|
fix looping
|
2003-04-12 00:03:56 +00:00 |
|
Bill Currie
|
4eaeb91cc4
|
disable debug
|
2003-04-11 23:52:18 +00:00 |
|
Bill Currie
|
b7ff08fba4
|
effectively disable streamed oggs for now
|
2003-04-11 23:50:45 +00:00 |
|
Bill Currie
|
e3f8c833ad
|
getting closer. wav's successfully load, but playback is always looped (?).
oggs hang
|
2003-04-11 21:14:38 +00:00 |
|
Bill Currie
|
948c97a6a4
|
cached wav files almost work (seems cached ogg are borked now :/)
|
2003-04-11 18:59:14 +00:00 |
|
Bill Currie
|
5be73df678
|
temporary fix to handle wav files in a pak file
|
2003-04-11 18:28:26 +00:00 |
|
Bill Currie
|
725f1d0595
|
don't compile any vorbis code if it's unavailable
|
2003-04-11 14:38:31 +00:00 |
|
Brian Koropoff
|
f287e78030
|
Optimized the way resetting buffer states occurs and fixed thread::kill so
threads actually die as they are supposed to.
|
2003-04-11 05:58:58 +00:00 |
|
Bill Currie
|
8012a408b8
|
90% there for cache wav support. will likely segfault :)
|
2003-04-11 04:39:51 +00:00 |
|
Brian Koropoff
|
af114732ef
|
Oops, forgot these.
|
2003-04-11 04:37:41 +00:00 |
|
Bill Currie
|
12724f5fa7
|
cached oggs work
|
2003-04-11 02:58:24 +00:00 |
|
Brian Koropoff
|
d8c0f50c11
|
The ultimate GIB bugfix commit, including reworked semantic processing,
a fix for arguments passed to a GIB function run via rcon, and various
other fixes.
|
2003-04-11 02:57:11 +00:00 |
|
Bill Currie
|
21e0e342a0
|
fix the calling of a null pointer (oops:)
|
2003-04-11 02:21:25 +00:00 |
|
Bill Currie
|
ccb56eea39
|
half way though the sfx loader re-write. nothing works :)
|
2003-04-11 01:17:48 +00:00 |
|
Bill Currie
|
e5a23c95dc
|
make riff.c portable
|
2003-04-10 22:52:58 +00:00 |
|
Bill Currie
|
722c55391e
|
read fmt chunks properly
|
2003-04-10 22:03:55 +00:00 |
|
Bill Currie
|
5e98c762ed
|
riff namespace cleanup (sorta, it's ugly:/)
|
2003-04-10 21:45:12 +00:00 |
|
Bill Currie
|
c58dac3ccf
|
don't actually read the main `data' chunks; only refer to them by location.
allows support for huge wav files (eg, cdda.wav)
|
2003-04-10 21:34:51 +00:00 |
|
Bill Currie
|
e1b779502a
|
but the third castle stood!
|
2003-04-10 21:18:53 +00:00 |
|
Bill Currie
|
0045ab7c09
|
implement Qungetc and nuke Qgetpos and Qsetpos
|
2003-04-10 21:11:40 +00:00 |
|
Bill Currie
|
9afc3cf8f6
|
copyright date fixes
|
2003-04-10 16:54:12 +00:00 |
|
Bill Currie
|
e937fecdc1
|
move the riff reading code into libQFutil
|
2003-04-10 16:52:39 +00:00 |
|
Bill Currie
|
39886ebb18
|
handle short files more robustly
|
2003-04-10 16:11:09 +00:00 |
|
Bill Currie
|
ff577f1175
|
add a \n to the grab failed message
|
2003-04-09 16:38:17 +00:00 |
|
Bill Currie
|
c9f0652a95
|
start of split-out wav loader. not done yet (probably doesn't compile) but
easier to keep track of here :)
|
2003-04-09 07:30:49 +00:00 |
|
Bill Currie
|
b80357afda
|
change _FOpenFile to take a dstring for foundname plugging a potential
buffer overflow.
|
2003-04-09 05:55:41 +00:00 |
|
Bill Currie
|
dd297bc12a
|
start work on support for stereo samples
|
2003-04-08 22:23:16 +00:00 |
|
Bill Currie
|
d3b6fcbd61
|
revert the inappropriately complicated event code for the simpler version.
even that's not likely to be final
|
2003-04-08 19:20:48 +00:00 |
|
Bill Currie
|
255a7522bd
|
merge IN_SendKeyEvents and IN_Commands into IN_ProcessEvents
|
2003-04-08 18:45:12 +00:00 |
|
Bill Currie
|
35eb866603
|
kill VID_HandlePause and IN_HandlePause as they never did anything and
IN_ModeChanged as it's a dead prototype
|
2003-04-08 17:55:32 +00:00 |
|
Bill Currie
|
fcc069d216
|
more unused files
|
2003-04-08 17:47:43 +00:00 |
|
Bill Currie
|
40a73ea5c1
|
don't need this
|
2003-04-08 17:32:55 +00:00 |
|
Bill Currie
|
7f31f05684
|
alpha compile fixes
|
2003-04-08 05:33:49 +00:00 |
|
Bill Currie
|
01bff9c79e
|
WildCode's alias model VA prepatory patch
|
2003-04-08 04:13:49 +00:00 |
|
Bill Currie
|
8fc721a2bb
|
plug another overflow
|
2003-04-08 04:01:20 +00:00 |
|
Bill Currie
|
d4a4cde83c
|
fix a buffer overflow (oops, not paying attention)
|
2003-04-08 02:56:36 +00:00 |
|
Bill Currie
|
0b0dfcc38e
|
nuke the string api (never really liked it)
|
2003-04-08 02:35:09 +00:00 |
|
Bill Currie
|
13fd0b8533
|
nuke the string hash api as it's been obsoleted
|
2003-04-07 22:34:39 +00:00 |
|
Bill Currie
|
72036d76b0
|
hmm, forgot a chunk :P
|
2003-04-07 20:15:38 +00:00 |
|
Bill Currie
|
7001f1d851
|
plist api (hope it works:)
|
2003-04-07 20:02:06 +00:00 |
|
Bill Currie
|
d5003f363d
|
make plist arrays unlimited in size
|
2003-04-07 19:29:52 +00:00 |
|
Bill Currie
|
33c9ce0f7b
|
add hash table api
|
2003-04-07 16:38:34 +00:00 |
|
Bill Currie
|
a72d3f6844
|
fix a segfault causing typo :P
|
2003-04-06 01:04:37 +00:00 |
|
Bill Currie
|
e483333bbe
|
beat the skydome bugs to a pulp. no more seam (and probably a bunch faster
on slow cards)
|
2003-04-05 07:59:29 +00:00 |
|
Bill Currie
|
6cc7d43b53
|
make the texture coords in skyvec always 1/2 pixel in from the edge
|
2003-04-04 07:00:51 +00:00 |
|
Bill Currie
|
e00966b319
|
speed up 16 bit vertex lerping by getting GL to do the 1/256 scaling for us
|
2003-04-03 23:09:43 +00:00 |
|
Bill Currie
|
58541b6855
|
support printing a couple more types (especially for edicts)
|
2003-03-26 18:45:44 +00:00 |
|
Bill Currie
|
fafc578440
|
correct a comment and ws
|
2003-03-25 17:40:02 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
8db859b77c
|
Minor bit of neatening, remove CHAIN_SURF alias, so it's clearer what is being used where.
|
2003-03-25 07:25:22 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
6c7701a38b
|
Prevent bad gl_max_size settings from causing buggy drivers to freak out.
|
2003-03-24 20:21:24 +00:00 |
|
Bill Currie
|
bd08b03791
|
don't assuming 32 bpp in setup_pixrow_span
|
2003-03-21 22:18:20 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
91bebf1bfa
|
Don't need LA for greyscale textures, switch to luminance-only.
|
2003-03-21 22:08:46 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
3bfdf0aea3
|
Test for gl errors every frame.
|
2003-03-21 21:28:09 +00:00 |
|
Bill Currie
|
16eac174e6
|
correct the scaling of the 5 bit color map types
|
2003-03-21 16:18:51 +00:00 |
|
Bill Currie
|
fa775c6e30
|
oops, missed a case
|
2003-03-21 06:08:57 +00:00 |
|
Bill Currie
|
7e0ce3d3df
|
skip over any present colormap for non-colormap types
|
2003-03-21 06:08:17 +00:00 |
|
Bill Currie
|
3e349ee52c
|
we now theoreticly support greyscale tga files too :)
|
2003-03-21 05:03:32 +00:00 |
|
Bill Currie
|
6c850c5528
|
seriously clean up LoadTGA by using a decoder table and implement colormap
support (8 bpp only)
|
2003-03-21 04:23:16 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
bf18436ad5
|
Whitespace.
|
2003-03-21 00:51:57 +00:00 |
|
Bill Currie
|
c525bc4925
|
call the correct read functions for 32 bit rle expansion
|
2003-03-20 23:11:58 +00:00 |
|
Bill Currie
|
32257923a5
|
cleanup unused vars
|
2003-03-20 23:02:53 +00:00 |
|
Bill Currie
|
b2bc3f13ea
|
support RLE tga files for all 4 directions
|
2003-03-20 22:54:44 +00:00 |
|
Bill Currie
|
abdb21eadc
|
however, don't need read_rgb and read_rgba
|
2003-03-20 21:25:56 +00:00 |
|
Bill Currie
|
4222c501a0
|
darn, broke the reverse direction and fixing it produces horrid code
|
2003-03-20 21:24:04 +00:00 |
|
Bill Currie
|
1a18044b31
|
merge the forward and reverse blitters/readers using a direction flag which
gets optimized out
|
2003-03-20 21:08:47 +00:00 |
|
Bill Currie
|
a01456f851
|
allocate space for the texture correctly
|
2003-03-20 21:08:04 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
88c2735d9c
|
Make sprite rendering use vertex arrays, as a test for detection of vertex array support (tests only for OpenGL 1.1 or better, at the moment, no driver blacklist yet).
|
2003-03-20 19:58:18 +00:00 |
|
Bill Currie
|
3423ed59d5
|
expand the plist api to make plist creation easier
|
2003-03-18 19:15:31 +00:00 |
|
Bill Currie
|
aa345faf12
|
use the window size for the fullscreen view
|
2003-03-17 05:39:10 +00:00 |
|
Bill Currie
|
a8a8792a76
|
support vid_conwidth cvar (for -conwidth). while present in all targets, it
will only work in gl
|
2003-03-17 05:17:58 +00:00 |
|
Bill Currie
|
548d3b68f8
|
pr_load.c:
PR_RelocateBuiltins must be called before PR_InitRuntime
pr_obj.c:
don't segfault on broken classes
|
2003-03-13 18:45:45 +00:00 |
|
Bill Currie
|
eeb2439eb6
|
need a specific entry for "qw:qw" since servers set the gamedir to "qw"
explicitly
|
2003-03-13 05:43:45 +00:00 |
|
Bill Currie
|
e105198f48
|
ensure the path passed to Sys_DebugLog is expanded
|
2003-03-13 05:41:55 +00:00 |
|
Bill Currie
|
2858bc4922
|
d'oh
|
2003-03-12 22:38:02 +00:00 |
|
Bill Currie
|
71a60717d9
|
make pr_source_path a ; separated list of dirs and make it controllable in
qfprogs
|
2003-03-12 22:31:44 +00:00 |
|
Bill Currie
|
c186266f06
|
whitespace
|
2003-03-12 02:21:51 +00:00 |
|
Bill Currie
|
ff2a40a7c6
|
WildCode's dx cleanups
|
2003-03-11 06:31:30 +00:00 |
|
Bill Currie
|
cf3aeadb42
|
more error checking ala WildCode
|
2003-03-10 21:28:18 +00:00 |
|
Bill Currie
|
cbd2c42178
|
WildCode's win32 sound fixes
|
2003-03-10 21:21:22 +00:00 |
|
Bill Currie
|
72d1343735
|
add some comments about the coordinate systems used in AngleVectors
|
2003-03-10 20:44:50 +00:00 |
|
Bill Currie
|
57a470a88a
|
alpha compile fixes (unused functions)
|
2003-03-08 07:17:32 +00:00 |
|
Bill Currie
|
a8c989969d
|
hopefully better input grabbing state tracking
|
2003-03-07 22:30:15 +00:00 |
|
Bill Currie
|
c731afa957
|
hopefully fix the input grabbing (and evem more hopefully, without driving
Despair to ... um... ;)
|
2003-03-07 03:55:51 +00:00 |
|
Bill Currie
|
bfaef7747b
|
the first fielddef isn't always null (esp with qfcc), so check to see if it
needs printing too
|
2003-03-05 18:18:42 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
f57eb911cc
|
Another little FIXME. (Cleanup I'll do soon, hopefully)
|
2003-03-03 19:32:56 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
2000954a2c
|
Whitespace, and a workaround for show_* misplacement.
|
2003-03-03 19:20:44 +00:00 |
|
Bill Currie
|
beecb5580f
|
use %g instead of %f and the 0s hack
|
2003-03-03 17:52:11 +00:00 |
|
Brian Koropoff
|
3b99b7366f
|
Fixed two bugs in complex variable substitution.
|
2003-03-02 05:11:22 +00:00 |
|
Brian Koropoff
|
cd3fc3569b
|
Fixed a bug on out-of-bounds array access attempts and enhanced the now-
functioning infobot.gib.
|
2003-03-01 07:24:58 +00:00 |
|
Brian Koropoff
|
2be8a851d5
|
Oops, make 'return' GIB builtin actually end the current function.
|
2003-03-01 02:44:58 +00:00 |
|
Bill Currie
|
7f37260a9c
|
this bit shouldn't know about windows
|
2003-02-28 16:22:42 +00:00 |
|
Bill Currie
|
a9a169e820
|
make the more relevant parts of qfs available to progs. bi_file.c will
eventually be moving into bi_qfs.c
|
2003-02-28 05:35:27 +00:00 |
|