Commit graph

127 commits

Author SHA1 Message Date
zicodxx 4783d9263d on-screen network error messages 2007-02-07 12:50:08 +00:00
zicodxx b15b093caa removed -gl_transparency debug message 2007-02-02 13:30:31 +00:00
zicodxx c3cd727ff2 don't draw bombs with transparency even if -gl_transparency is enabled 2007-02-02 12:58:59 +00:00
zicodxx d136627b86 let ogl_ubitblt not return alpha channel to ogl_ubitblt_i 2007-02-02 10:26:13 +00:00
zicodxx 226d5140d0 preparations for v0.51 release 2007-01-30 17:58:25 +00:00
zicodxx d636883a64 corrected UDP/IP error output 2007-01-30 00:00:53 +00:00
zicodxx 1bb867d617 added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency 2007-01-29 23:31:20 +00:00
zicodxx 47ae8bc0de added some forgotten includes to avoid warnings 2007-01-25 10:03:55 +00:00
zicodxx db2c91597e read/save Hires fonts/briefings, demos, AddOn missions, screenshots from/to subdirectories 2007-01-25 09:56:05 +00:00
zicodxx 5e8c424b5c fixed PRINTSCREEN key for WINDOWS 2007-01-22 10:52:01 +00:00
zicodxx b4797fb54f in g3_draw_sphere align rad according to canvas so it is always in round shape 2007-01-20 17:18:42 +00:00
zicodxx a63994e594 gr_upixelc now able to scale pixels to current resolution 2007-01-19 19:52:11 +00:00
zicodxx 85e4151534 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory; divide negative light rates of change properly (fix bug #2575) (from D2X CVS); divide negative window x-coordinates properly, fixing random crashes (from D2X CVS); make sscanf look for %i.%i instead of v%i.%i because the 'v' isn't written to file; added missing changelog entries 2007-01-09 01:23:49 +00:00
md2211 10eedf6611 * music volume now properly restored and remembered in D1 and D2, using a static int
* removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
2006-12-12 21:47:17 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx ade9407122 merged SDL keyboard functions from D2X 2006-11-17 01:34:40 +00:00
zicodxx 9a30b3608f improved joystick code for more buttons 2006-11-02 13:35:18 +00:00
zicodxx 8a173d3454 command-line to set glScissor off if needed 2006-11-02 01:23:47 +00:00
md2211 f147939913 Another fix for crash on -nosound 2006-10-27 17:53:22 +00:00
md2211 a65fd40487 Fix for crash with -nosound and looped sound volume adjustment 2006-10-24 16:18:50 +00:00
zicodxx a97cd507e1 made lines width scale to resolution; fixed compiler warnings 2006-10-20 23:17:48 +00:00
zicodxx 5548fc7fc4 introducing draw_wbu_border to draw rounded weapon boxes with glScissor 2006-10-20 16:37:47 +00:00
zicodxx 9842dfe1b6 removed fullscreen menu toggle - does not work on any arch and hasn't since we have toggle in resolution menu 2006-10-20 14:53:41 +00:00
md2211 f1706cf2ec * Addition of forgotten HMP-MIDI conversion
* SConstruct fix: unnecessary dependency on said conversion code
* Music playback from internal Descent files
2006-10-18 17:08:59 +00:00
md2211 74f4d94349 * SConstruct enhancements
* Work in progress: SDL_mixer backend for sound
2006-10-17 20:52:09 +00:00
md2211 c5d137adac Fix for inherent limitation in pow2ize() and wrong description thereof 2006-10-17 18:14:56 +00:00
zicodxx 16dbe4f797 improved SDL Joystick axes recognition; fixing mem corruptions while closing joysticks; removed Joystick calibration which should be unnecessary with SDL; fixing printf format in gr.c 2006-10-16 23:21:53 +00:00
zicodxx 4f153cf8b1 re-activated Weapon Keys menu - aka D1X keys 2006-10-15 23:42:14 +00:00
zicodxx 92cc2a38a8 once again better restricion for glClear while screen change 2006-10-13 09:58:18 +00:00
zicodxx 3273f13a94 switching SDL gammaramp off by default because uses too much CPU 2006-10-12 09:55:18 +00:00
zicodxx 1364ea9f89 menu-related fixes 2006-10-11 19:08:15 +00:00
zicodxx 7c76b5f57e added SDL_SetGammaRamp; removed FSAA because no function on all platforms; fixed offscreen render; fixed sharepath in SConstruct 2006-10-10 23:41:12 +00:00
zicodxx b101ce41c7 windows-related ogl code cleanups 2006-10-10 14:56:40 +00:00
zicodxx 0b2b1dd4dc if player is deleted also delete PLX file; removed D1X_DATE, not necessary; corrected Menu_special 2006-10-10 09:53:25 +00:00
zicodxx 21486244ee introduced FSAA; re-enabled fullscreen toggle in menus again and fixed glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; restored font.c (oops) 2006-10-09 21:44:02 +00:00
zicodxx ca9d4217ed don't give GL extensions on release build, code cleanup 2006-10-08 23:18:07 +00:00
zicodxx ef95ad95b0 corrected demo-related font positions; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf 2006-10-08 15:56:03 +00:00
zicodxx 2591bc436b added new control type: Joystick & Mouse (Thanks to The_Lion) 2006-10-07 01:09:41 +00:00
zicodxx 5922475e89 implemented sound code of d2x 2006-10-06 16:34:53 +00:00
zicodxx d64c3d1023 change byte to sbyte 2006-10-06 14:41:31 +00:00
zicodxx 2badf8fcde added z-axis for mouse; made mouse movement (x,y) independent of fps; code cleanup and reformatting 2006-10-06 11:23:43 +00:00
zicodxx 7d1c6107a5 compiler related changes (thanks to Chris Taylor) 2006-10-02 14:36:10 +00:00
zicodxx 83adda4224 added mouse in menus - part 2 2006-09-30 23:36:09 +00:00
zicodxx 669eed87ce fixed joystick deadzone feature and moved it and sensitivity to controls sub-menu 2006-09-29 21:42:06 +00:00
zicodxx aec4c6ea28 adjusted position of strings in hud and cockpit; made fadings work in OGL; made radar scale in cockpit mode; mede normal reticle default again and scaled it to current resolution for OGL; reformatted code to make it A BIT MORE readable 2006-09-08 23:31:06 +00:00
zicodxx 8778e9c012 some fixes for menus and automap; new aspect code; improved code to scale window for cockpits; introducing new variable in playsave.c to store game resolution and saving Game_window_h/h again properly - fixes bugs with screwed resolutions; making menus in game-resolution as default and re-activating old command-line arg '-menu<X>x<Y>' to scale menus 2006-08-30 18:11:16 +00:00
zicodxx 3d3aed73d0 new code for ogl_offscreen_render, used it to reduce flickering in credits and spinning robots, improved way to regognize hires briefing images 2006-08-21 23:59:24 +00:00
zicodxx e78c94a13f made fonts scalable, added command-line to enable fixed fonts, added command-line to enable hires fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. still need to rewrite credits code and make hud ready. will follow later. 2006-08-13 15:52:49 +00:00
zicodxx 1b67c1054f automap code from d2x, show borders in SDL and OGL, optimized and cleaned 2006-08-07 00:26:03 +00:00
zicodxx 951067dcac ogl_smash_texture_list_internal() should applay on windows in window mode as well to prevent texture problems 2006-07-28 14:47:39 +00:00
zicodxx 78dad5631f building with more SDL code, added lots of D2X SDL related code, windows build does not need DirectX anymore; implemented SCons build system; provisoric hacks to build editor; changed contents of readme and compile text files 2006-07-27 09:46:44 +00:00
zicodxx 7f44011e13 disabled GL_CULL_FACE at ogl_end_frame to avoid problems with menus after player's death 2006-07-16 15:54:30 +00:00
zicodxx 69ceb2ac78 improved use of Depth Test, added experimental hack for 4D levels; removed two Asserts which fail with 4D levels 2006-07-11 16:13:47 +00:00
zicodxx f4804fa6a1 added bool transp to ogl_filltexbuf and following functions to show bitmaps without transparent pixels if returning 0. fixes unwanted transparency in briefing images; removed gr_clear_canvas in titles.c which was used as workaround for this bug 2006-06-26 13:10:08 +00:00
zicodxx 90d4cdbc91 restored max_distance multiplication; using 0 instead of MIN_VOLUME to fix loud sound on fade-in functions 2006-05-07 16:10:04 +00:00
zicodxx a15ae0ec08 added variable aspect function, changed cmd-help, changed ini file 2006-05-06 09:44:21 +00:00
zicodxx 6a9c15ac25 code cleanups 2006-05-05 14:14:55 +00:00
zicodxx 5f7dab24d2 added GL functions, changed g3_draw_poly in d2x style to fix the portal-bug; added exception boolean value tempNoDepthTest to render endlevel correctly; code reformatting 2006-05-05 13:23:53 +00:00
zicodxx 2f0d130d8c improved cut_trough() to make misic sound better by limiting incrementation of j 2006-04-27 20:49:24 +00:00
zicodxx bac13df2ef added cut_trough(), a clone of stop_all that is called to flush notes while playing a song to improve song switching; added rephmi integer to see if song should repeat, acts together with a check of csec to send send_ip(s) if endlevel song is finished 2006-04-27 20:34:44 +00:00
zicodxx d9f8677827 deactivated max_distance multiplication to prevent back coupling 2006-04-21 11:27:13 +00:00
zicodxx d5fdf68832 removed fullok hack for fullscreen changing, added set_screen_mode call to prevent black screen at fullscreen toggle in windows build 2006-04-14 20:28:12 +00:00
zicodxx 47e2ce9c98 added 16to10 support 2006-04-08 18:54:15 +00:00
zicodxx 2656081efa added widescreen aspect with command-line option for SDL and OGL build 2006-04-03 21:16:17 +00:00
michaelstather bf918bb9fd The new build system for d1x (icon removed) 2006-04-03 20:00:46 +00:00
michaelstather 76069dab59 The new build system for d1x (readme changed) 2006-04-03 19:55:55 +00:00
michaelstather ac72626126 The new build system for d1x 2006-04-03 18:09:40 +00:00
michaelstather d65e26f713 The new build system for d1x 2006-04-03 17:51:13 +00:00
michaelstather bf476e1dae The new build system for d1x 2006-04-03 17:36:27 +00:00
michaelstather 67819a155e The new build system for d1x 2006-04-03 17:35:12 +00:00
michaelstather 27a39f1539 The new build system for d1x 2006-04-03 17:34:30 +00:00
michaelstather 03c6ba5770 The new build system for d1x 2006-04-03 17:32:39 +00:00
michaelstather 1dbf0c290c The new build system for d1x 2006-04-03 17:14:45 +00:00
michaelstather 5a6b8b9f45 The new build system for d1x 2006-04-03 17:09:48 +00:00
michaelstather 75aa90795e The new build system for d1x 2006-04-03 17:07:02 +00:00
michaelstather e38a363fa6 The new build system for d1x 2006-04-03 16:58:08 +00:00
zicodxx cde0244a09 initial import 2006-03-20 16:43:15 +00:00