Commit Graph
1572 Commits
Author SHA1 Message Date
taylor fc56aaebff I think I deserve a medal or something for that one :) 2005-03-25 01:10:51 +00:00
taylor 95719b2742 s/gr_ogl_/gr_opengl_/g
add empty gr_opengl_draw_line_list() so that it's not a NULL pointer
make gr_opengl_draw_htl_sphere() just use GLU so we don't need yet another friggin API
2005-03-24 23:42:21 +00:00
taylor ba1527d474 make sure we don't go one over the number of message avis 2005-03-24 23:38:49 +00:00
taylor c45c29ea5b fix GCC building 2005-03-24 23:37:25 +00:00
taylor b399461826 fix compiler warnings with mismatched types and unused variables
cleanup some debug messages so they can be turned off if needed
get rid of extra strstr() check for thrusters since it should never get that far anyway
page_in/page_out of model glows should be better now
removed a bunch of unneeded casts and get type specific math functions right
2005-03-24 23:36:14 +00:00
taylor c0ca55e591 make sounds.tbl dynamic
"filename" will never be larger than 33 chars so having it 260 is a waste (freespace.cpp)
2005-03-24 23:31:46 +00:00
taylor 476a96e47e (re)move some uneeded variables to fix compiler warnings 2005-03-24 23:29:33 +00:00
taylor c253042a4a make sounds.tbl dynamic
have snd_time_remaining() be less stupid
some OpenAL error fixerage
be able to turn off some typically useless debug messages
2005-03-24 23:27:26 +00:00
taylor 58741be76d use SWARM_MISSILE_DELAY again so that it's easier to keep up with
fix compiler warnings
2005-03-24 23:24:01 +00:00
taylor 0e018dc3a2 make sure we will get the right error message 2005-03-24 23:22:59 +00:00
wmcoolmon 5419b484f6 no more MSVC compiler warning 2005-03-24 05:50:07 +00:00
phreak 638894b53a Starfield bitmaps should now draw in non-htl mode 2005-03-23 20:09:23 +00:00
phreak b25d1ebed9 Some specular values in g3_draw_perspective_bitmap() were being incorrectly set. fixed that 2005-03-23 20:08:33 +00:00
taylor eb653d20d5 fix version check for drivers that support OpenGL 2.0+ 2005-03-22 00:36:48 +00:00
phreak ad698f1810 Orb correctly displays in 640x480 2005-03-21 23:19:55 +00:00
phreak 819bacd7e2 Add a function to check whether any duplicate jumpnode names exist 2005-03-20 21:07:10 +00:00
phreak e14f198169 export the functions that deal with the creation and destruction of the starfield buffer.
FRED needs them
2005-03-20 20:02:29 +00:00
phreak ba4b720a99 draw paths and docking points using HTL 2005-03-20 20:01:15 +00:00
phreak 99ac5020d2 lol forgot to commit the function pointer stuff 2005-03-20 18:05:04 +00:00
phreak a5388d9a88 high-level implementation for gr_draw_htl_line and gr_draw_htl_sphere 2005-03-20 00:11:27 +00:00
phreak 76abb99cb8 Added gr_draw_htl_line and gr_draw_htl sphere
There still needs to be D3D versions implemented, but OGL is done.
Follow that or ask phreak about how its implemented/
2005-03-20 00:09:07 +00:00
wmcoolmon 00528726ee OpenGL display lists 2005-03-19 21:03:54 +00:00
Goober5000 b7fa7d42cb corrected misinformation in comment about surface shields (implicit surface
shields were removed for meshed ships)
--Goober5000
2005-03-19 20:45:23 +00:00
wmcoolmon 2a73780770 small bool fix 2005-03-19 20:35:45 +00:00
bobboau 0064937b9b adding d3d state block files 2005-03-19 18:18:04 +00:00
bobboau b46d8e28c7 added new graphic functions for state blocks
also added a class formanageing a new effect
2005-03-19 18:02:35 +00:00
bobboau e0907340c1 added a geometry batcher and implemented it in sevral places
namely: lasers, thrusters, and particles,
these have been the primary botle necks for some time,
and this seems to have smoothed them out quite a bit.
2005-03-16 01:35:59 +00:00
phreak 1548988f5e properly handle using the old method of selecting primary weapons.
i forgot a return statement so the new method was used instead
2005-03-16 00:37:42 +00:00
wmcoolmon 3c1fc73f57 Commited placeholder turret funcs. 2005-03-16 00:18:31 +00:00
taylor fcc1669388 make sure w,h,bpp are useable before trying to assign values to them 2005-03-15 17:10:58 +00:00
Goober5000 e9a07354b6 *fixed some sexp declaration formatting
*implemented string comparison sexps
*simplified numeric comparison sexps
*fixed numeric comparison (especially equals) sexps to actually work on all their arguments like they were designed to
--Goober5000
2005-03-15 07:26:52 +00:00
phreak fe6f36720a Awesome 2-for-1 deal!!!
Firstly, the Colossus should now warp out correctly.  No more warphole forming inside of it
Secondly, muzzleflashes now are generated at the gunmounts of the firing ship.
2005-03-15 01:40:07 +00:00
Goober5000 28e6ae723e properly fixed the out-of-bounds error, as well as a few other errors of the same kind
--Goober5000
2005-03-14 23:34:59 +00:00
Goober5000 cf34ddd94d rolled back Phreak's commit
--Goober5000
2005-03-14 23:33:22 +00:00
wmcoolmon 13772825dc Hopefully this will fixx0r Num_sounds 2005-03-14 23:31:54 +00:00
wmcoolmon 4840896a10 Whoops, this isn't needed. 2005-03-14 06:38:31 +00:00
wmcoolmon fde469cba1 Commented out now-unneccessary Int3() 2005-03-14 06:38:06 +00:00
wmcoolmon c177d1389c Added memory display thingy to loading screen, if command line is specified and build is a debug build. Also made screenshots go up to 9999 2005-03-14 06:36:30 +00:00
wmcoolmon eaa70ac0b1 Made sounds dynamically allocated 2005-03-14 06:33:38 +00:00
taylor 0033bdc59b fix for mouse cursor problem when running in a window 2005-03-14 03:38:54 +00:00
taylor b7338aa82e speedup grow/shrink time for the warp to avoid the big size skips 2005-03-14 03:24:25 +00:00
phreak 42f0d01eb0 Got rid of the stealth check that only applied to cloaked ships. This should
fix some errorneous behavior that caused the ai to target the player
2005-03-14 02:52:58 +00:00
taylor 350aba83ad enable 32-bit to 16-bit TGA conversion with -tga16 cmdline option (experimental)
fix crash when upgrading from original campaign stats file to current
2005-03-13 23:07:36 +00:00
wmcoolmon a11ba63e5d Squashed compiler warnings 2005-03-13 08:44:10 +00:00
wmcoolmon e0311d0993 Commented out unneeded variables 2005-03-13 08:38:05 +00:00
wmcoolmon 362a30ece3 Might as well sync this 2005-03-13 08:37:01 +00:00
taylor 666cd6349b gotta use MIN/MAX and not min/max now 2005-03-13 08:33:55 +00:00
wmcoolmon 2775baaed0 Hud fixing goodness. I also removed some obsolete code for displaying HUD weapons. 2005-03-13 08:32:28 +00:00
taylor dff6838110 fix various compiler warning messages
make sure screenshot count doesn't get too high
fix movies playing twice in redalert missions
reset time compression for redalert missions and cmdbriefings, just in case
2005-03-13 08:04:43 +00:00
phreak 2f5adb9e46 extra checks in find_parent_rotating_submodel() 2005-03-12 23:53:27 +00:00