Commit graph

316 commits

Author SHA1 Message Date
zicodxx c006b42939 using gr_flip() with title screens 2007-06-29 19:57:18 +00:00
zicodxx 5726d030fe fixing compiler warning, show up HOARD textures in demo playback 2007-06-28 14:34:12 +00:00
zicodxx 0aa3fc1acf adjusted size of Inputbox; code cleanup for saving/restoring state; also display savegame thumbnail when saving game 2007-06-16 08:14:00 +00:00
zicodxx cf14254e01 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx 37b563d4cd complete removal of hmiplay-code usage 2007-06-15 08:10:19 +00:00
zicodxx b5a5352a41 fixed axis direction for vertical and sideways thrust time; fixed y-Offset for mouse selection in kconfig_sub; removed (useless) Shrink/Grow window feature to clean code a bit; improved grabmouse so mouse is always released in non-SCREEN_GAME modes 2007-06-14 20:52:14 +00:00
zicodxx ee7448eeac using size_t when it comes to integer to pointer conversions 2007-06-14 12:32:18 +00:00
zicodxx b7f02568c0 fixed more compiler warnings 2007-06-11 15:54:09 +00:00
zicodxx e22e079b56 fixed a bunch of compiler warnings 2007-06-11 09:06:14 +00:00
zicodxx 5bcb0e1ed5 introduced new bitmap flag to draw cockpit bitmap with transparency; draw transparent cockpit bitmap over gauges to make it more pixel-correct; code cleanups 2007-06-10 16:21:53 +00:00
kreatordxx 82a39224b9 fix more Mac errors for new UDP/IP 2007-06-10 04:52:39 +00:00
kreatordxx 4f0ab045ff fix Mac errors involving use of 'VERSION' 2007-06-10 02:27:12 +00:00
zicodxx 5f26019972 improved pixel-correct (almost) scaling of menus; new Netgame info screen which can show up necessary game rules 2007-05-31 22:30:18 +00:00
zicodxx f1134f0bc3 Removed old UDP/IP and MCAST4 code; Implemented online-capable UDP/IP interface 2007-05-30 14:16:49 +00:00
kreatordxx ed025f3779 close add-on hog when loading another mission, so the add-on hog's custom MIDI music isn't played when playing the built-in mission 2007-05-27 05:48:16 +00:00
kreatordxx 657e71fc93 look for music files in "Music" dir, store MIDI's in "Music/<hogfile>" to better support custom MIDI music 2007-05-27 05:27:17 +00:00
kreatordxx 5c7f38f8e2 add add_to_end parameter to cfile_init, allowing custom MIDI music to be found in an add-on hog 2007-05-27 02:24:00 +00:00
kreatordxx 0de587cadf make sure gl functions are not called before OpenGL is initialised, when fullscreen switching 2007-05-23 11:34:53 +00:00
kreatordxx 8348ed9bac make sure the right slot is saved to, and it shows the save screen if appropriate, when using fast save (F6) 2007-05-22 11:06:19 +00:00
xatmes 0cfd37f0c9 SConstruct: Added conditions to add compiler/linker flags from user's environemn
t if they have any set.
2007-05-22 01:20:06 +00:00
kreatordxx fd8471138f add use_players_dir argument, which puts player files and saved games in Players subdirectory, like original Mac D2 folder layout 2007-05-21 11:24:27 +00:00
kreatordxx 1a404cb1f5 use new 3 argument mouse_get_delta to avoid compiler errors 2007-05-21 10:55:43 +00:00
kreatordxx c6ceb43507 allow built-in data files to go in the 'Data' directory, like original Mac D2 folder layout 2007-05-20 02:01:35 +00:00
kreatordxx 977eaf742d allow built-in data files to go in the 'Data' directory, like original Mac D2 folder layout 2007-05-20 02:00:57 +00:00
zicodxx c2270758ef free grabbed mouse in Demo Playback; improved Player-files deletion 2007-05-16 11:26:34 +00:00
zicodxx 90ee584b28 make sure Game_window_w/h is always set to a valid value in every cockpit mode 2007-05-14 14:02:12 +00:00
zicodxx 046b534f3a fixed speeding bug in homing system 2007-05-14 13:45:11 +00:00
zicodxx f20ec1e42e Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning 2007-05-14 13:38:44 +00:00
xatmes 373524ae14 main/endlevel.c: Changed RAND_MAX to D_RAND_MAX in vector multipler so that resu
lting scale equals something logical.  Fixes explosions/attached sound when chas
ing player during endlevel tunnel exit
main/switch.c: Added condition so that sounds keep playing through exit sequence
 when exiting a D1 level
2007-05-13 01:57:04 +00:00
zicodxx 5741e093c4 if movielib isn't found in requested resolution, do NOT select other version, since the game is unable to determinate to switch correctly - instead skip playback in that case 2007-05-11 09:23:47 +00:00
zicodxx e03925096d read -pilot arg with and without filename extension 2007-05-10 09:34:27 +00:00
zicodxx 0bc374acf9 moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL 2007-05-10 08:53:35 +00:00
zicodxx 6c0a00ac07 fixed Assembler Compile Build error 2007-05-09 09:53:36 +00:00
zicodxx d758d1bda6 update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
zicodxx 9c7b97dfe7 removed unnecessary gr_set_mode() call causing annoying resolution change (hopefully) 2007-05-05 23:25:32 +00:00
zicodxx e9017c4a02 fixed broken Textures for Custom levels caused by load_palette() call 2007-05-05 09:36:33 +00:00
zicodxx 146ada52d3 Version-Tag 0.52 2007-05-03 19:01:28 +00:00
zicodxx f496f380e2 updated docs 2007-05-03 15:44:52 +00:00
zicodxx 49eaa12468 removed deprecated Makefile stuff 2007-05-03 15:16:27 +00:00
zicodxx 0a198ccc62 rev432 revisited - do not send multi De-Cloak packet in Demo Playback 2007-05-02 18:42:46 +00:00
zicodxx 392f0209ad resolved some overlapping HUD elements 2007-05-01 22:57:31 +00:00
zicodxx 8b023aa928 re-added RealFrameTime assignment, lost in last revision (503). Should be removed some day however 2007-04-29 17:55:58 +00:00
zicodxx 236160666b removed FrameTime limiter since it is only messing if 150FPS or more is reached 2007-04-29 11:51:08 +00:00
kreatordxx 8067b11be7 add Mac OS X support to SConstruct 2007-04-25 02:39:10 +00:00
zicodxx 8541d2d403 prevent string placeholders in HUD Messages which may crash the game 2007-04-21 08:27:21 +00:00
zicodxx d568b27777 increased offset to detect movement on Joystick axis for mapping function 2007-04-20 07:25:23 +00:00
zicodxx 082950e742 made smart blobs easier to dodge 2007-04-19 22:17:46 +00:00
zicodxx 9a7a7932ef forbid % to read into multi messages to not mess up the string 2007-04-15 16:33:04 +00:00
zicodxx f1d191f665 removed -nocdrom argument, only use Redbook audio if specified with -redbook 2007-04-15 11:02:55 +00:00
zicodxx 5ba9f82e76 only draw copyright stuff if there is really the menu background (not being changed by draw_stars()) 2007-04-15 06:51:35 +00:00