zicodxx
|
bcdbff0665
|
Avoided variable array initializations which some compilers do not like; Also made sure declarations happen first inside (sub)functions; Fixed set but unused variables
|
2011-09-26 23:00:23 +02:00 |
|
zicodxx
|
7638390173
|
Removed support for IPX protocol and MS-DOS-Multiplayer-compability due to age and lack of real need and to really improve on the Multiplayer without adding too much complexity for backwards-compability
|
2011-09-14 01:15:20 +02:00 |
|
Chris Taylor
|
5e17460eb6
|
Define USE_TRACKER for Mac OS X, remove reference to deleted cfile.h
|
2011-09-13 09:41:08 +08:00 |
|
Chris Taylor
|
3f5506ee72
|
Move EVENT_MOUSE_DOUBLE_CLICKED support from ui/mouse.c to arch/sdl/mouse.c for tidiness and to possibly use it outside the editor
|
2011-09-12 11:02:30 +08:00 |
|
zicodxx
|
23c04c17e1
|
Changed version to 0.57.1; Updated release notes
|
2011-07-16 21:21:11 +02:00 |
|
zicodxx
|
c8b7f65809
|
Fixing Redbook hooks: Initialize last_check_time in RBACheckFinishedHook(); Execute RBACheckFinishedHook() during EVENT_WINDOW_DRAW in standard_handler() as EVENT_IDLE rarely happens if you have a shivering Joystick connected for example
|
2011-07-16 16:02:20 +02:00 |
|
zicodxx
|
77f0edf8ac
|
Bail out of hmp_reset() if midiOutOpen fails and return error with -debug set; execute hmp_reset() before first song plays; renamed digi_win32_stop_current_song() to digi_win32_stop_midi_song() to keep naming convention; Fixed some compiler warnings
|
2011-07-15 10:43:01 +02:00 |
|
zicodxx
|
cf23e6bb24
|
Stability fixes: avoid somfusions with same named variables in one function; Properly sort out players from player list that use too long filenames; Removed call for gr_set_fontcolor in kconfig where no canvas is set, causing crashes when trying to reassign a button, key or axis
|
2011-07-13 23:26:42 +02:00 |
|
zicodxx
|
72073d7ed6
|
Make sure hmp_reset() is only executed if a song was playing
|
2011-07-08 01:46:27 +02:00 |
|
zicodxx
|
dcc964817e
|
Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
|
2011-06-01 09:59:51 +02:00 |
|
zicodxx
|
21082c6db2
|
Added own channel management to SDL_mixer sound interface since the builtin channel management of this lib cannot handle our needs; Little code cleanup
|
2011-05-30 02:17:42 +02:00 |
|
zicodxx
|
b9995f3e34
|
In event_process() if a window closes while being drawn and there isn't a previous window we can get the next from just finish processing for this frame
|
2011-05-26 09:41:26 +02:00 |
|
zicodxx
|
29580f9823
|
Removed key_flush() call from save_screen_shot() - not needed anymore due to new input reading and only screws up ingame controls
|
2011-05-19 23:49:01 +02:00 |
|
zicodxx
|
81f4e63f0c
|
Changed version from 0.56 to 0.57; Added first draft for RELEASE-NOTES.txt; updated docs
|
2011-05-07 02:51:18 +02:00 |
|
zicodxx
|
72dde06f59
|
Enabled Tracker support for Mac OS
|
2011-05-07 00:53:52 +02:00 |
|
zicodxx
|
53d48e005e
|
When reading ingame controls only flush mouse delta timer-based since reading is event-based already, allowing high precision no matter the game speed; Removed Mouse smoothing/filtering as it's now unnecessary due to event-based motion handling
|
2011-04-22 13:02:03 +02:00 |
|
zicodxx
|
a5db1fd476
|
Added SDLK_WORLD_** symbols to keyboard array to enable layout specific keys and make the game more flexible
|
2011-04-21 21:22:44 +02:00 |
|
Chris Taylor
|
6076b7640d
|
Fix broken m3u playlist support (in jukebox_play() path resolving); point to default descent.m3u playlist for Mac OS X (will be included in bundle); better error reporting in mix_play_file(); only make relative Jukebox path in the menu absolute after browsing it - relative paths are more flexible; allow select_file_recursive() to figure out PhysicsFS relative paths passed to it; stop the music if Jukebox is chosen and unavailable (used to just keep playing the last song)
|
2011-04-18 20:30:46 +08:00 |
|
zicodxx
|
6459b6ed8a
|
Smash texture list when switching between window mode and fullscreen prevent invalid textures; Made code to capture Screenshots more similar between OpenGL and OpenGL ES
|
2011-04-10 12:28:19 +02:00 |
|
zicodxx
|
357e1b0144
|
Made lighting code work with actual RGB values and added feature to let certain objects emit colored dynamic light as well as let mine flash red when control center destroyed (OpenGL-only at the moment)
|
2011-04-07 22:32:47 +02:00 |
|
zicodxx
|
85f7be583f
|
Client-side implementation for Tracker support by Matt 1360 Vandermeulen including improvements in udp_dns_filladdr and IPv4/IPv6 compability; Very little adjustments by me, too including IPv6 support for Windows (untested); Actual tracker code will follow later as seperate branch when it's done
|
2011-04-05 02:24:30 +02:00 |
|
zicodxx
|
c8f4008878
|
Fixes for OpenGL ES implementation
|
2011-03-28 01:57:15 +02:00 |
|
zicodxx
|
fe2dd897f7
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:36 +01:00 |
|
zicodxx
|
4c58b43b2d
|
Set zNear for gluPerspective to 0.1 to prevent ugly clipping while passing illusory walls; Set zFar to 5000.0 to prevent disappearing automap in large distance - all still sane enough for Intel chips so my eeePC is safe nyahahaha
|
2011-02-18 00:43:03 +01:00 |
|
zicodxx
|
79e84f8d17
|
Draw laser effects with special blending instead of disabled DepthMask; Added special blending for transparency effects as well to let them kick more ass; Corrections while rendering outside part of endlevel sequence with disabled depth testing and dynamically changing Render_depth to make the mine exit visible again while not rendering the exit tunnel tru the planet terrain
|
2011-02-18 00:17:49 +01:00 |
|
zicodxx
|
e9da5b85b4
|
New approach to handle a bunch of closing windows - removed window_do_close() again, reworked game_leave_menus by checking window_get_front() and closing this window until it's Game_wind, while event_process checking if window still exists after drawing and if not, take next window from previous which should be updated by then
|
2011-02-12 23:58:39 +01:00 |
|
zicodxx
|
53c9fa987f
|
Added secondary weapon indicators to new reticle types; Fixed disks being drawn as circles - whoops
|
2011-02-10 20:53:19 +01:00 |
|
zicodxx
|
6bc439a343
|
Simplified ogl version of gr.c in terms of SDL video flags and fullscreen toggle; Added command-line/INI option to remove borders from windowed program
|
2011-02-10 15:30:05 +01:00 |
|
zicodxx
|
80e9e5893e
|
Fixed memory leak produced by drawing circles and disks
|
2011-02-09 17:18:26 +01:00 |
|
zicodxx
|
2232433860
|
Increased key repeat values to react a little more like the MS-DOS version of the game but a little slower so I can still stop at the correct item; In automap reorganized control_info swapping as well as wiggle state handling to properly work in connection with the new input handling and Multiplayer where game is not paused
|
2011-02-06 14:25:31 +01:00 |
|
zicodxx
|
09debd3e2f
|
Included new window structure flag w_closing_state and let window_close() set this flag - after drawing all windows, check them again and call window_do_close() which then actually closes the window(s) marked to. Solving all sorts of problems when windows close while being drawn (network error messageboxes, game_leave_menus(), etc.)
|
2011-02-03 11:47:54 +01:00 |
|
zicodxx
|
17d0482938
|
After rendering Reboot reticle, reset glLineWidth to default value again
|
2011-02-02 02:12:09 +01:00 |
|
zicodxx
|
5aa0939b73
|
Added event types for all input actions; Rewrote kconfig code to work with events; static defined inputs will not trigger kconfig-mapped inputs anymore; Simplified keyboard, mouse and joystick code a lot due to event-based handling; Added function to toggle SDL key repeats on and off; Put timer_update() to event_process; Removed return when event_poll() is idle to get cursor hiding to work again; Added a small delay between cursoe hiding and re-enabling to cursor will not accidentially enable by SDL event centering cursor while hiding
|
2011-02-02 01:36:43 +01:00 |
|
zicodxx
|
5f096e322a
|
In event_process() check for wind->next before sending EVENT_WINDOW_DRAW in case drawing will free wind
|
2011-01-26 11:55:43 +01:00 |
|
zicodxx
|
c7038983d5
|
Added a simple random function for the Jukebox; Removed one small printf I once added for debugging
|
2011-01-20 12:17:24 +01:00 |
|
zicodxx
|
c124b0883f
|
Retired most of the Assembler code except the generic i386 scanline renderer; Removed all leftovers of Direct3D implementation; On the way make a some code more similar between D1X-Rebirth and D2X-Rebirth
|
2011-01-19 21:35:14 +01:00 |
|
zicodxx
|
587938363e
|
Before duplicating last pixel column or row in ogl_filltexbuf, make sure we are still in actual bitmap boundaries
|
2011-01-17 15:00:13 +01:00 |
|
Chris Taylor
|
11bbae4079
|
Still send idle events when receiving SDL joystick events, fixing possible joystick issues
|
2011-01-17 12:16:05 +08:00 |
|
zicodxx
|
76514d8ba1
|
in ogl_filltexbuf add pixel row matching color of bitmap edge to get a clean border when filtering cockpit overlay bitmaps; Small text correction for sound menu to fit better on screen
|
2011-01-16 19:33:30 +01:00 |
|
zicodxx
|
a8f3f4764f
|
Added feature to enable Anisotropic filtering is supported by hardware or driver; Reworked way of handling texture filtering information so ingame switching is possible again; Little fix for ogl_get_verinfo which was taken out for ordinary OGL code but should for OGLES
|
2011-01-16 01:50:28 +01:00 |
|
zicodxx
|
e74f5e60d1
|
Fixed alpha limit for ogl_ulinec(), gr_uricle(), gr_disk()
|
2011-01-15 20:50:22 +01:00 |
|
zicodxx
|
ae194bf7a6
|
Fixed some compiler warnings
|
2011-01-15 00:33:10 +01:00 |
|
Chris Taylor
|
2bd3385abd
|
For editor, replace use of ui_mega_process() with event_process(), with the editor's own default event handler; add EVENT_MOUSE_MOVED event with event_mouse_get_delta() accessor; add event_key_get() to replace ugly casting; rename mouse_get_button() with event_mouse_get_button() to keep with name convention; only send idle events when there are no input events so editor still works properly (or the same anyway); add and use event_send() function for input events (including idle)
|
2011-01-13 12:36:19 +08:00 |
|
zicodxx
|
340aa84298
|
Reverted most of the last commit - didn't work well when timer was updated too frequently
|
2011-01-11 00:37:38 +01:00 |
|
zicodxx
|
b76daeb8a8
|
In timer_update() use i2f and fixdiv for SDL_GetTicks() to get more accurate values to F64_RunTime; Added rollover check for SDL_GetTicks() to timer_delay2()
|
2011-01-10 22:59:00 +01:00 |
|
zicodxx
|
31d17380ec
|
Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
|
2011-01-10 16:12:00 +01:00 |
|
zicodxx
|
8bda08ed7f
|
Improvement on the HMP track loop feature by TURRICAN; Added small template fix for descent.hmp which is supposed to be activated soon as we have some kind or Checksum function
|
2011-01-09 17:51:45 +01:00 |
|
zicodxx
|
3307f3da07
|
Fix small bug in vertex_array for ogl_ubitblt_i
|
2011-01-06 20:12:45 +01:00 |
|
zicodxx
|
28bf026158
|
Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
2011-01-06 12:43:55 +01:00 |
|
zicodxx
|
919470db2f
|
Added Cycle Primary/Secondary to the config panels for keyboard and joystick like in D2X-Rebirth and store them in the designated key/button arrays; Added Cycle Primary/Secondary for Mouse which makes wheel axis cycling unnecessary and also let Weapon Keys be assigned to a Mouse button; If GameArg.NoStickyKeys do flush these keys so they can be used as normal game keys - otherwise ban them; Fixed crash when reassigning mouse button greater than 3; Joystick/Mouse function taking button as argument now check for sanity of this value so they can safely be used in kconfig code and deal with unassigned key values
|
2011-01-03 01:08:52 +01:00 |
|