Chris Taylor
|
05722dec97
|
Remove all remaining uses of Function_mode, checking for the existence of EditorWindow where necessary instead
|
2012-03-19 14:08:25 +08:00 |
|
Chris Taylor
|
15a6a81176
|
The editor now falls back to the main event loop in inferno.c, File->Exit now works as intended and get closer to making the editor and game work together
|
2012-03-19 13:48:35 +08:00 |
|
zicodxx
|
aafc5ec877
|
Gave throttle it's own sensitivity and deadzone settings; Added patch by Hans de Goede to let Slide-On and Bank-On settings use invert settings from Slide- and Bank-axes
|
2011-09-26 20:22:35 +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 |
|
zicodxx
|
a2bdb63149
|
Added Polygon model viewer and GameBitmaps viewer in non-Release build for debugging, messing around, DXX-Redrawn, etc.
|
2011-07-20 14:44:46 +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
|
96c6458eb8
|
For all filename strings use PATH_MAX as size, make sure they are inited correctly and only fill them with snprintf instead of sprintf
|
2011-06-06 21:17:16 +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
|
6fe57317cc
|
Like in BigEndian builds do netmisc_calc_checksum() only with expected items of segment/side struct to prevent different checksums in case these structs change; Fixed several issues when building with editor; Fixed compiler warning regarding set but unused variable
|
2011-05-22 19:54:44 +02:00 |
|
zicodxx
|
06c0311a7a
|
Made Automap Free Flight controls an optional feature which can be set in MISC OPTIONS; Fixed possible path string issue in plyr_read_stats_v() and fixed compiler warning regarding set but unused variable
|
2011-05-20 12:23:22 +02:00 |
|
zicodxx
|
4a99054425
|
for debug build ignore player Highest_level_index when starting a mission, making *Load Level* entry in main menu obsolete; Fixed two compiler warnings regarding set but unused variables
|
2011-05-16 01:46:23 +02:00 |
|
zicodxx
|
defdf0090f
|
Remember previously set up netgame variables in pilot-related file with extension ngp - due to feature consistency for UDP only
|
2011-04-22 17:14:27 +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 |
|
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
|
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
|
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
|
c1e4e9c3d7
|
Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu
|
2011-02-14 22:27:02 +01:00 |
|
zicodxx
|
eb0d876b9c
|
Reintroduced Savegames for Coop games using the original Descent2 implementation but correctly handling player slots in their pre-loading state preventing accidential player shifting which never really worked in the original game and we do not want with UDP anyways - was all tested but still might need a fix or two; Added some missing initializations for saving players and AI stuff; Completely ripped out remnants of saving between levels code
|
2011-02-09 12:58:28 +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 |
|
Chris Taylor
|
9f76c83802
|
No referring to non-existent ogl_maxanisotropy for non-OGL build
|
2011-01-17 12:37:04 +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
|
ee3a1b6189
|
When changing resolutions and Game_wind is present, send EVENT_WINDOW_ACTIVATE shortly so it's canvase will align to the new resolution seamlessly
|
2011-01-16 02:09:45 +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 |
|
Chris Taylor
|
80597ad64f
|
Fix compile errors introduced when merging
|
2011-01-14 17:49:33 +08: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
|
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
|
6d665fbb10
|
Introduced FlightSim control scheme for mouse which adds delta values to absolute position to behave like a Joystick; Added Deadzone slider for FlightSim as well as an optional Reticle display to show the positional data on screen; Removed old Mouselook hack in favor of this new feature
|
2011-01-04 11:43:30 +01:00 |
|
zicodxx
|
8c75bd0957
|
Added feature to disable D2-style Prox. Bomb Gauge; Moved NoRedundancy and MultiMessages toggles from GameArg to PlayerCfg to be set via Misc Options
|
2011-01-03 02:01:09 +01:00 |
|
zicodxx
|
70bf7e8694
|
Mouse wheel now can scroll through menu/listbox items; Right mouse button closes a menu (without the need of these ugly close boxes); Also added mouse-closing capabilities to credits, scores and kconfig menus; While being in UDP Netgames list, override keycode at PAGEUP/DOWN keypress to only flip pages without modifying citem also added messagebox showing TXT_INVALID_CHOICE when invalid netgame was chosen
|
2011-01-02 12:25:43 +01:00 |
|
zicodxx
|
21adec7f5c
|
Fixed glitch in scroll arrow position; Added newmenu_scroll which can scroll through all kind is menu structures including automatically handling NM_TYPE_TEXT items as well as automatically updating scroll_offset; PageUp/Down now scrolls by 10 items, Home/end will select first/last/items of menu creating consistency to listbox behaviour; Fit text for GrabInput to be more understandable
|
2010-12-30 23:36:35 +01:00 |
|
zicodxx
|
05236e9c45
|
Added Sensitivity/Deadzone menu with sliders for each movement based action seperated for joystick and mouse to support all kinds of configuration - regardless the amount of joystick axes and whatnot; SDL_WM_GrabInput does not only capture mouse but also focus keyboard input - changed code to respect this fact and made grabbing a menu option which is enabled by default
|
2010-12-28 19:11:06 +01:00 |
|
Chris Taylor
|
0557c8bb43
|
Copy lots of editor stuff from d2x-rebirth to d1x-rebirth, getting it to work on Mac OS X
|
2010-12-24 12:26:24 +08:00 |
|
zicodxx
|
ffc73ed4f2
|
Introduced new data type fix64 to be used for new timers which can last 4462756 years instead of 9 hours; Introduced new timer functions to update and query program time; Used new timer all over the program except GameTime (which comes next)
|
2010-12-11 00:18:03 +01:00 |
|
zicodxx
|
5cd011214f
|
Created function PHYSFSX_isNewPath to check wether given path has already been added to Searchpath or not; Used PHYSFSX_isNewPath for menu browsing code instead it's own implementation; Using PHYSFSX_isNewPath for Jukebox directory, too to make sure Jukebox will not accidentially remove Game content depending on user selection; Also only keep Jukebox directory added until files are stored to prevent any other file present in this path can override or add anything to the game
|
2010-11-21 12:55:08 +01:00 |
|
zicodxx
|
a6312c8397
|
Text string for level music was made smaller some time ago so BROWSE_TXT_SHRT basically became obsolete - removed it now and show BROWSE_TXT instead
|
2010-10-30 01:29:44 +02:00 |
|
Chris Taylor
|
541e422611
|
Fix errors for Mac OS 9, Mac OS X 'd1x' target builds again
|
2010-10-16 18:53:05 +08:00 |
|
zicodxx
|
4c7879b740
|
Added format arguments to all printf, sprintf and snprintf calls missing them to prevent warnings/errors with some distributions of gcc
|
2010-10-14 16:45:58 +02:00 |
|
zicodxx
|
aa68347028
|
Fixed compilation of menu.c when USE_SDLMIXER is not defined
|
2010-10-14 11:49:37 +02:00 |
|
Chris Taylor
|
499c8e3799
|
Fix errors for Mac OS 9, Mac OS X 'd1x' target builds again
|
2010-10-10 18:42:53 +08:00 |
|
kreatordxx
|
704a4e7be5
|
Add support for M3U playlists, tweak 'Jukebox playing' message so it shows the end of the path when truncating
|
2010-09-26 13:15:20 +00:00 |
|
kreatordxx
|
c1a7ffa66d
|
Put in a note that a restart is required when changing the texture filter level (remove later when it isn't)
|
2010-09-17 11:06:48 +00:00 |
|
zicodxx
|
5e3be36c39
|
Using PHYSFSX_findFiles to make sure random demo playback will only find actual demo files and not quit autodemo; added DEMO_EXT for an universal definition of demo file extension
|
2010-09-02 13:58:06 +00:00 |
|
zicodxx
|
445fc76554
|
Added feature to let select_file_reursive() change drive on _WIN32 via CTRL-D; Removed second definition of MEM_K accidentially happened due to bad communication
|
2010-08-31 13:25:45 +00:00 |
|
kreatordxx
|
5f026dfb55
|
In select_file_recursive handle paths relative to the current write directory correctly
|
2010-08-28 02:46:54 +00:00 |
|
zicodxx
|
6d475ad6b8
|
In list_dir_el make sure PHYSFS_getRealDir won't give NULL to strcmp which will happen for files located in a Windows root directory
|
2010-08-27 21:16:43 +00:00 |
|
zicodxx
|
067d54f8e3
|
In select_file_handler properly initialize newpath preventing memory errors and crashes
|
2010-08-27 20:32:05 +00:00 |
|
zicodxx
|
887e8ed22c
|
Moving upwards definition of MEM_K so it's not restricted to \!NDEBUG; Initialized **i in list_dir_el properly to silence gcc when compiling
|
2010-08-27 15:43:24 +00:00 |
|
kreatordxx
|
72c62df583
|
Add path browsing feature to make song file/directory selection easier
|
2010-08-27 14:09:19 +00:00 |
|
zicodxx
|
745ce38a4d
|
Renamed MUSIC TYPE options BUILT-IN MUSIC to BUILT-IN/ADDON MUSIC and CUSTOM MUSIC to JUKEBOX; Removed LEVEL-DEPENDENT play order for Jukebox as this is now mainly covered by AddOn packs and future M3U-support
|
2010-08-17 14:59:57 +00:00 |
|