Commit graph

256 commits

Author SHA1 Message Date
zicodxx ca9d4217ed don't give GL extensions on release build, code cleanup 2006-10-08 23:18:07 +00:00
zicodxx f9801f9b0d cleaned up options menu and removed 'd1x options' because not really necessary anymore 2006-10-08 17:53:50 +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 2dd1153e28 better handling for hires briefings; fixing some memleaks; code cleanup 2006-10-07 21:43:55 +00:00
zicodxx d8750fb831 windows fixes: using SDL_ShowCursor for windows; adding alloca.h for MinGW environment 2006-10-07 11:56:30 +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 8837456a2f fixing crash when playing sounds in lowmem 2006-10-06 14:56:25 +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 f8c1990621 making sure canvas is free if a new buffer is created 2006-10-06 00:39:15 +00:00
zicodxx 7df6125ebe removing unnecessary stuff from game_init_render_buffers; better resolution handling; making shareware version using registered save/restore features; storing resolution stuff in PLX file and making compability to other D1X versions; cleaning up the code a bit; implemented SHAREWARE build in SCons and some fixes for SHAREWARE build (Thanks to Hans de Goede) 2006-10-06 00:12:16 +00:00
zicodxx 3c11e4430e getting rid of inferno sound hacks because they were just a result of obsolete windows code 2006-10-02 17:51:45 +00:00
zicodxx d373f13038 re-implemented D1X ONLY GAME option to server menu and set it always true on UDP/IP to fix compability issues. making use of alloca instead of malloc in ipx_ip_SendPacket 2006-10-02 17:48:30 +00:00
zicodxx fb98bda91b compiler related changes (thanks to Chris Taylor) -part2: correction for scale_line 2006-10-02 14:44:11 +00:00
zicodxx 7d1c6107a5 compiler related changes (thanks to Chris Taylor) 2006-10-02 14:36:10 +00:00
zicodxx aa82be1f22 move order form showing to titles.c (d2x-cvs takeover) 2006-10-02 13:50:22 +00:00
zicodxx 928d6c1373 fix error when building editor with RELEASE 2006-10-02 13:05:23 +00:00
zicodxx 2a0e38a4ef remove diskfree hack in newdemo.c and always return 999999999 until we find a better solution and a reason for solving this after all 2006-10-02 12:37:20 +00:00
zicodxx a68fb4249e Added command-line arg for SCons to specify Sharepath. Save config files, players etc. in home directory. Patch by Hans de Goede - THANKS 2006-10-02 10:52:51 +00:00
zicodxx 83adda4224 added mouse in menus - part 2 2006-09-30 23:36:09 +00:00
zicodxx 44586c2aff added mouse in menus 2006-09-30 23:33:47 +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 2fff0b4ef5 since we removed Game_window_* definitions from game_init_render_buffers we define both in init_cockpit if 0; corrected FONTSCALE_* for SDL mode 2006-09-29 13:40:50 +00:00
zicodxx c5e0bf60e7 removed recharge-hack and fixed recharge bug according to d2x code 2006-09-29 01:16:21 +00:00
zicodxx 434e0fa70f corrections and improvements for scalable HUD and cockpits, cleaner code, fixes to get SDL renderer working again 2006-09-29 00:49:28 +00:00
zicodxx 632b0273bc increased MAX_Y_POINTERS to allow higher resolutions in SDL 2006-09-29 00:47:04 +00:00
zicodxx ba1d179848 corrected mouseaxis_text 2006-09-29 00:45:06 +00:00
zicodxx aa30ffa16c small correction in weapon box height 2006-09-09 15:54:49 +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 1b11900e30 new fixes for scalable menus. let's hope it's the last one (scalable menus patches in rev 100,102,103,104,105,110) 2006-09-04 22:22:54 +00:00
zicodxx 22d32c1e83 small fix to CM_FULL_SCREEN so it does not show letterbox after the game has been left in CM_STATUSBAR 2006-08-31 18:07:00 +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 8ad9cc8156 some fixes for fixedfont 2006-08-22 22:16:42 +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 d4a78a5794 fixed compile-time errors on windows 2006-08-21 23:56:04 +00:00
zicodxx cd229e0029 re-enabled string bg and scaled correctly. otherwise problems with redraw of menu elements 2006-08-16 21:13:23 +00:00
zicodxx 006f089a07 adjusted position of strings in show_boxed_message. increasing MAX_TEXT_WIDTH. all this should already be there in rev. 100 - however nobody's perfect 2006-08-15 10:39:05 +00:00
zicodxx 11571ae4c8 adjusted position of D1X-Rebirth version string in main menu 2006-08-14 09:27:38 +00:00
zicodxx c1240348a2 restore background correctly after PREPARE FOR DESCENT. should already have been applied in rev. 99 2006-08-13 23:17:08 +00:00
zicodxx 9c3dd81aaa removed OGL unwanted ogl_init.h include to fix sdl_only compilation 2006-08-13 16:23:43 +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 d3aed0a52f removed unwanted stop_time() in set_screen_mode(), that broke pause states and control stuff 2006-07-30 09:05:07 +00:00
zicodxx f1da9f06fb added profiler support to SConstruct and merged debug and no_release 2006-07-28 19:23:59 +00:00
zicodxx a4e94d4307 wrong place for the [windows only] tag corrected 2006-07-28 15:31:10 +00:00
zicodxx 4970518c1e changed mousegrab calls because of new use in windows as well 2006-07-28 15:22:07 +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 27f8c6fcc9 asm fix in SConstruct 2006-07-27 20:38:37 +00:00
zicodxx 54a4571f05 hudlogstdout as default 2006-07-27 14:16:33 +00:00