karajorma
9c5411d900
Adding the network-variable option to SEXP variables. This change will revert variables to the same behaviour they displayed in retail (i.e they don't update for clients) unless a variable is set to be a network-variable.
2006-10-28 21:17:04 +00:00
taylor
28d78bf454
updated/fixed modelanim code
2006-10-27 21:41:22 +00:00
taylor
6cae667430
add the part of the fix which actually did something ;)
2006-10-27 16:31:09 +00:00
Goober5000
195089c7b9
fix error line reporting (Mantis #1120 )
2006-10-27 16:01:49 +00:00
Goober5000
24bf33a443
moved some stuff around in the sexp menus
2006-10-25 01:01:55 +00:00
Goober5000
19faeb6274
make sure to only add the sexp callback once
2006-10-24 23:28:56 +00:00
taylor
1b5d661caa
various bits of cleanup (warning messages, things that Valgrind complained about, etc.)
...
fix an out-of-bounds issue on Sexp_nodes[] which was leading to stack corruption
2006-10-24 13:17:24 +00:00
karajorma
f737ce4352
Fix Int3() with Set primary and Secondary ammo\weapons
2006-10-21 21:57:08 +00:00
wmcoolmon
3f28c45bec
Fix Freecamera forcing HUD draw bug.
2006-10-11 03:10:53 +00:00
Goober5000
79412c0bff
make sexp nodes dynamic
2006-10-09 05:25:18 +00:00
taylor
6ab6cd71ce
fixes for stuff_string() bounds checking
2006-09-11 01:17:07 +00:00
taylor
b41e847f01
fix bug where set-object-speed-* could set speed subjectively if left to default
2006-09-11 01:09:33 +00:00
taylor
9583027ef4
fix for Mantis bug #617 (with a very big assist from Shade who did most of the initial work on this)
2006-09-08 06:10:34 +00:00
taylor
8a9d540c4c
make Species_info[] and Asteroid_info[] dynamic
2006-08-27 18:12:42 +00:00
taylor
5a9f2fd0b4
add font.h since the gr_set_font() function is only available from there now
2006-08-22 05:48:46 +00:00
taylor
0107652287
maybe optimize the (PI/2), (PI*2) and (RAND_MAX/2) stuff a little bit
2006-08-19 04:38:47 +00:00
karajorma
608b302ee8
Doh! Minor fix
2006-08-16 16:47:55 +00:00
karajorma
71c8b03c71
Fixed a silly typo which breaks team-score
2006-08-15 19:24:09 +00:00
Goober5000
8491ae47ee
deprecate change-ship-model
2006-08-06 19:27:13 +00:00
Goober5000
cdf59b05dc
make these consistent (pitch-bank-heading is the established order)
...
--Goober5000
2006-08-06 19:06:42 +00:00
Goober5000
5197a30743
add the multiple background feature
...
--Goober5000
2006-08-06 18:47:29 +00:00
karajorma
8f31264a41
Added new packed to deal with a bug in multiplayer where using end-mission would only end the mission for the server and then force the clients to jump out.
2006-08-03 16:24:23 +00:00
Goober5000
abbb2df243
add a second method for specifying ship copies, plus allow the parser to recognize ship class copy names that aren't consistent with the table
...
--Goober5000
2006-08-03 01:33:56 +00:00
Kazan
f4e8c517aa
small optimization
2006-07-26 15:01:07 +00:00
Goober5000
a031a41223
fix help text
...
--Goober5000
2006-07-21 05:38:41 +00:00
taylor
97a933c789
make glow point banks dynamic
2006-07-17 01:12:52 +00:00
Goober5000
81e673a95e
move WMC's preload stuff into main preloader routine
2006-07-17 00:50:00 +00:00
taylor
2e28cb4907
rest of the map/glow changes
...
- put glowmap activity back on a per-ship basis (via a SF2_* flag) rather than per-model
- same for glowpoints, back on a per-ship basis
- put specmaps and bumpmap back on a LOD0 and LOD1 affect (got changed to LOD0 only recently)
- fix glowmaps for shockwaves again
- add support for animated specmaps (mainly for TBP and Starfox mods)
some minor code cleanup and compiler warning fixes
2006-07-06 21:53:59 +00:00
Goober5000
f2637d6a3e
fix for Mantis #856
...
--Goober5000
2006-07-06 05:35:13 +00:00
Goober5000
2a5b51cd9b
1) complete (almost) changeover to reorganized texture mapping system
...
2) finally fix texture animation; textures now animate at the correct speed
--Goober5000
2006-07-06 04:06:04 +00:00
Goober5000
ab19abcb21
cvs comment tweaks
2006-07-05 23:37:13 +00:00
Goober5000
698af681d9
--in preparation for fixing an annoying animated texture bug, reorganize the various texture structs and glow point structs and clarify several parts of the texture code :P
...
--this breaks animated glow maps, and animated regular maps still aren't fixed, but these will be remedied shortly
--Goober5000
2006-07-04 07:42:50 +00:00
Goober5000
533e63a2e2
fix comment in preparation for code commit
...
--Goober5000
2006-06-27 03:55:22 +00:00
taylor
0b98338e1e
Repeat after me: "Test build before/after commit.", "Test build before/after commit."
...
(there's no reason this should have happened for yet a third time in as many weeks)
2006-06-27 03:10:26 +00:00
wmcoolmon
eadf29ca43
Fix loadTexture; fix subsystem indexing; fix getNum() for weaponbanktype; improve missing function error reporting when using LUA_INDEXER
2006-06-24 20:38:36 +00:00
Goober5000
25f04f4aab
make ai-chase-any-except revert to ai-chase-any
...
(since it never really worked properly in the first place)
--Goober5000
2006-06-24 01:53:53 +00:00
taylor
b53d7081ff
various compiler warning fixes
2006-06-18 16:54:36 +00:00
Goober5000
12f510157e
this is kinda superfluous
2006-06-15 01:36:01 +00:00
wmcoolmon
3749f60447
Hopefully fix compilation
2006-06-14 01:33:37 +00:00
wmcoolmon
1d0ce0d990
Tweak events support; fix a few of Wanderer's bugs; begin model support
2006-06-12 02:33:34 +00:00
karajorma
dea7ded00e
Allow Change-Ship-Class to affect ships which haven't arrived yet (For BHX)
2006-06-07 20:50:56 +00:00
wmcoolmon
b144c7ff60
Fix the getScreenCoords function.
2006-06-07 07:49:43 +00:00
wmcoolmon
fbd02e5fe8
Scripting system prep for 3.6.9
2006-06-07 03:23:15 +00:00
wmcoolmon
ad54fdf805
According to wikipedia, true does not equal false. Hopefully, this doesn't break backwards compatibility :P
2006-06-07 02:28:13 +00:00
Goober5000
8a30768d47
add capability for preloading special arguments
...
NB: it's disabled for now, and it needs to be moved after sexps are parsed to work
--Goober5000
2006-06-04 00:01:48 +00:00
Goober5000
662b6e732b
add karajorma's multi callback
...
--Goober5000
2006-06-03 04:46:39 +00:00
taylor
bdd4913020
update proj/view matrix calls to use new values
2006-05-27 17:21:37 +00:00
Goober5000
4448ef1c47
fix for Mantis #755 , plus make the missionlog #defines uniform
...
--Goober5000
2006-05-20 02:03:01 +00:00
taylor
7a8789e334
OpenGL envmap support
...
newer OpenGL extension support
add GL_ARB_texture_rectangle support for non-power-of-2 textures as interface graphics
add cubemap reading and writing support to DDS loader
fix bug in DDS loader that made compressed images with mipmaps use more memory than they really required
add support for a default envmap named "cubemap.dds"
new mission flag "$Environment Map:" to use a pre-existing envmap
minor cleanup of compiler warning messages
get rid of wasteful math from gr_set_proj_matrix()
remove extra gr_set_*_matrix() calls from starfield.cpp as there was no longer a reason for them to be there
clean up bmpman flags in reguards to cubemaps and render targets
disable D3D envmap code until it can be upgraded to current level of code
remove bumpmap code from OpenGL stuff (sorry but it was getting in the way, if it was more than copy-paste it would be worth keeping)
replace gluPerspective() call with glFrustum() call, it's a lot less math this way and saves the extra function call
2006-05-13 07:29:52 +00:00
taylor
38f72231a9
if in freecamera mode, or the hud is disabled, the don't draw scripted hud elements
...
(this is almost hackish, but the bug never got a comment from WMC, so he can fix it later if this is wrong)
2006-05-09 09:23:05 +00:00