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
|
45d8b82ab6
|
Additional commit for last revision - didn't selected all files properly
|
2011-01-19 21:51:59 +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
|
96a350e97f
|
On NETGAMES list Bounty mode was not shown since MODE_NAMES define was not adjusted - so in the end introduced GMNames and GMNamesShrt Arrays in multi.c for globally displaying full or short Multiplayer game mode names
|
2011-01-19 19:55:32 +01:00 |
|
zicodxx
|
20cf4c5228
|
Fix for showing bounty target in kill list - was not actually checking if player_num == Bounty_target; When Bounty_target player leaves game host must select a new target so the game can proceed; Made Bounty sound play a bit louder
|
2011-01-19 12:21:59 +01:00 |
|
zicodxx
|
493f1cff34
|
Introducing new BOUNTY Multiplayer game mode by Matt -1360- Vandermeulen <matt1360@gmail.com>; Fit show_HUD_names code to be more similar to D2X - names display still client-decided tho
|
2011-01-19 02:19:15 +01:00 |
|
zicodxx
|
0177a6f2ae
|
Instead of calling object/extras sending every frame, use a delay of 100ms between packet send to not overload the network stack
|
2011-01-19 00:07:06 +01:00 |
|
zicodxx
|
3c744c9b91
|
In net_udp_send_objects() player_num byte was not considered for mode 1 resulting on incorrect object count for this mode
|
2011-01-18 19:43:05 +01:00 |
|
zicodxx
|
b5adb1838a
|
Allowing loading a savestate while being in death sequence and resetting Dead_player_camera correctly in init_player_stats_level() so forther death sequences won't screw up
|
2011-01-18 15:53:26 +01:00 |
|
zicodxx
|
fc92651eb2
|
Fixing memory corruptions produced by the scanline renderer; Dynamically allocate y_pointers to free scanline renderer from resolution limits
|
2011-01-17 21:00:45 +01:00 |
|
zicodxx
|
1eac00e0b5
|
opengles variable in SConstruct could be activated by command-line argument opengl
|
2011-01-17 19:27:54 +01:00 |
|
Chris Taylor
|
45930e9afe
|
Rename ui/window.c to ui/dialog.c to avoid confusion with arch/sdl/window.c, also rename UI_WINDOW to UI_DIALOG, rename all associated functions, constants, parameters, local variables etc too; make a window when making a UI_DIALOG (does nothing yet)
|
2011-01-17 22:41:05 +08: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
|
b4f7151ac8
|
Fix cursor recentering issues - comment out redundant event_toggle_focus(1) calls in kconfig.c and newmenu.c and use event_toggle_focus(0) in ui_mouse_show()
|
2011-01-17 16:09:07 +08:00 |
|
Chris Taylor
|
9f76c83802
|
No referring to non-existent ogl_maxanisotropy for non-OGL build
|
2011-01-17 12:37:04 +08: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
|
f5f7435439
|
Toggle console by KEY_SHIFTED+KEY_ESC again - as it should be
|
2011-01-16 11:55:26 +01:00 |
|
zicodxx
|
8c5f76a2aa
|
Generally use PATH_MAX for filename arrays in titles code
|
2011-01-16 11:38:35 +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 |
|
zicodxx
|
e74f5e60d1
|
Fixed alpha limit for ogl_ulinec(), gr_uricle(), gr_disk()
|
2011-01-15 20:50:22 +01:00 |
|
zicodxx
|
e77fc51656
|
main/game.c: Due to recent changes in event_poll() game_handler() must call ReadControls() for EVENT_MOUSE_MOVED, too; Little fix for FixedStepCalc()
|
2011-01-15 13:51:13 +01:00 |
|
zicodxx
|
ae194bf7a6
|
Fixed some compiler warnings
|
2011-01-15 00:33:10 +01:00 |
|
zicodxx
|
eb1ad2655f
|
Converted console into a window and allow it to show in every part of the game; Fit several poll functions and kmatrix so they won't get interrupted by the console
|
2011-01-14 22:55:55 +01:00 |
|
zicodxx
|
79e57e679a
|
Moved scroll arrow one unit to the left to be not pixel-aligned to possible checkbox; Made newmenu sliders only react to spacebar, backspace, left and right since pageup/down is already taken for menu scrolling and all other previous key assignments will not work on most spread keyboard layouts
|
2011-01-14 21:32:53 +01:00 |
|
zicodxx
|
ce50e7d4e7
|
Added feature to optionally disable friendly fire in Team and Coop games
|
2011-01-14 19:48:36 +01:00 |
|
zicodxx
|
4e5e3fa604
|
Added Descent2 Multiplayer features: Kill goals, Allowed play time; Bright players, Invulnerable when reappearing
|
2011-01-14 17:56:14 +01:00 |
|
zicodxx
|
03fbd12ac9
|
Using timer_query() instead of clock() in InitPlayerPositions(); Also check up distance up to 10 segments
|
2011-01-14 16:38:06 +01:00 |
|
zicodxx
|
c918f54d56
|
In multi_leave_game check for Player_eggs_Dropped before actually dropping to prevent multiple drops in case player quits game after being killed; put console output level of multiplayer powerup cap messagers to CON_VERBOSE; Fixed small compiler warning in gamesave.c due to last commit
|
2011-01-14 15:12:39 +01:00 |
|
zicodxx
|
6e0ea332de
|
Removed D1X implementation of multiplayer powerup capping and added D2X code to replace this (UDP-only); Added a bunch of D2X code for general and multiplayer powerup dropping to make codes more consistent to each other; Removed MULTI_PROTO_D1X_VER and MULTI_PROTO_D1X_MINOR defines since they are not needed anymore
|
2011-01-14 14:29:36 +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
|
010f7fb6d6
|
Fixed Menu setting for AllowedItems which was broken due to changed return value of newmenu_do1
|
2011-01-11 01:25:47 +01: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
|
35570bb2d5
|
Let credits track fade out at the end of text sequence; Fixed usage for RBAPlayTracks - when playing only one track last must be equal first, not 0; In hmp_open changed data from long to int, preventing memory explosion depending on optimisation of the code
|
2011-01-10 20:40:53 +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
|
7305f3d51e
|
Mousebutton assigned to CYCLE SECONADARY was actually calling CYCLE PRIMARY
|
2011-01-09 19:45:09 +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
|
10e4fc3274
|
Fix for rev959: my_pnum must be defined static
|
2011-01-09 17:09:26 +01:00 |
|
zicodxx
|
38df3322e3
|
Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
|
2011-01-09 14:19:00 +01:00 |
|
zicodxx
|
f0d75e5689
|
Draw FlightSim Reticle on Automap display, too
|
2011-01-06 14:56:12 +01:00 |
|
zicodxx
|
28bf026158
|
Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
2011-01-06 12:43:55 +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
|
182fa63ea8
|
More consistency in SConstruct command-line variables; Added automatic Endianess-checker; Set target to 'd1x-rebirth' no matter if OpenGL or not
|
2011-01-03 11:42:50 +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
|
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 |
|
zicodxx
|
80cf3fd308
|
Introduced function key_ismodlck to get the status of modifier keys or sticky keys; Let sticky keys survive flush so we can accurately use their real states; Added key repeating via SDL; Depending on status of KEY_NUMLOCK keypad will either be used as numerical or arrow input in menus
|
2011-01-02 18:07:37 +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 |
|