zicodxx
|
37f59aa896
|
in show_framerate do not use gr_get_string_size at all but rather use hardcoded coordinates - less CPU-intense
|
2011-01-22 18:46:08 +01:00 |
|
zicodxx
|
da43cc7d37
|
Added swapping for 64Bit sized integers in case we want to store/read them some day (i.e. new Savegame version storing object instead of object_rw)
|
2011-01-22 18:14:16 +01:00 |
|
zicodxx
|
78569ea1bc
|
Fixed small issue parsing killreactor command in Multiplayer
|
2011-01-22 17:56:25 +01:00 |
|
zicodxx
|
5eb05548c3
|
Added timer_update() to stop/start/reset_time() functions so resumed last_timer_value will be precise; Added new FPS counter which actually does count the frames rendered per second and is less irritating; Added timer_dleay2 call to console to not stress CPU too much; Imporoved placement for show_time(), multi messages, marker messages and orb counts
|
2011-01-22 13:30:20 +01:00 |
|
zicodxx
|
3046fcf7dd
|
Protection for negative array index in find_seg_side was accidentially checking for vv1 != -1 - fixed that
|
2011-01-21 17:45:29 +01:00 |
|
zicodxx
|
33d3b1c6a8
|
Added a simple random function for the Jukebox; Removed one small printf I once added for debugging
|
2011-01-20 12:17:30 +01:00 |
|
zicodxx
|
e60a7e1bca
|
Additional commit for last revision - didn't selected all files properly
|
2011-01-19 21:52:01 +01:00 |
|
zicodxx
|
9f6cbc8c6c
|
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
|
fd53a1264b
|
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:38 +01:00 |
|
zicodxx
|
16f2b23fe2
|
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
|
2011-01-19 12:22:01 +01:00 |
|
zicodxx
|
a1f7da133e
|
Introducing new BOUNTY Multiplayer game mode by Matt -1360- Vandermeulen <matt1360@gmail.com>
|
2011-01-19 02:19:17 +01:00 |
|
zicodxx
|
931d134357
|
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:10 +01:00 |
|
zicodxx
|
3266e8c141
|
Correction for rev1009: Do not need to delete object Dead_player_camera since it's a new level with new objects to begin with
|
2011-01-18 20:02:04 +01:00 |
|
zicodxx
|
9cace92b4e
|
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:07 +01:00 |
|
zicodxx
|
ab79094700
|
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:28 +01:00 |
|
zicodxx
|
c0864b71a9
|
Fixed small bug in net_udp_list_join_poll() which was introduced when I reorganized the events for making console render global
|
2011-01-18 14:37:19 +01:00 |
|
zicodxx
|
59344482e3
|
Fixing memory corruptions produced by the scanline renderer; Dynamically allocate y_pointers to free scanline renderer from resolution limits
|
2011-01-17 21:00:52 +01:00 |
|
zicodxx
|
65aeb5a291
|
opengles variable in SConstruct could be activated by command-line argument opengl
|
2011-01-17 19:27:55 +01:00 |
|
Chris Taylor
|
eca34c30f5
|
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:42:18 +08:00 |
|
zicodxx
|
d5ac0af494
|
Before duplicating last pixel column or row in ogl_filltexbuf, make sure we are still in actual bitmap boundaries; Incrementing defines SHIELD_GAUGE_Y, SHIP_GAUGE_Y for HIRESMODE to fit these gauges pixel-correct in Cockpit mode
|
2011-01-17 15:00:26 +01:00 |
|
Chris Taylor
|
335a99eedc
|
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:11:24 +08:00 |
|
Chris Taylor
|
7651a43b70
|
No referring to non-existent ogl_maxanisotropy for non-OGL build
|
2011-01-17 12:38:32 +08:00 |
|
Chris Taylor
|
b64794e1b4
|
Still send idle events when receiving SDL joystick events, fixing possible joystick issues
|
2011-01-17 12:17:21 +08:00 |
|
zicodxx
|
acb1494124
|
in ogl_filltexbuf add pixel row matching color of bitmap edge to get a clean border when filtering cockpit overlay bitmaps
|
2011-01-16 19:33:41 +01:00 |
|
zicodxx
|
af651ac749
|
Toggle console by KEY_SHIFTED+KEY_ESC again - as it should be
|
2011-01-16 11:55:31 +01:00 |
|
zicodxx
|
a4e07c142b
|
For more consistency to original game, show descent(b).pcx before pilot selection if available; Generally use PATH_MAX for filename arrays in titles code
|
2011-01-16 11:39:46 +01:00 |
|
zicodxx
|
e5fc130b82
|
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:47 +01:00 |
|
zicodxx
|
025a6c3951
|
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
|
2011-01-16 01:50:42 +01:00 |
|
zicodxx
|
a52875f96e
|
Fixed alpha limit for ogl_ulinec(), gr_uricle(), gr_disk()
|
2011-01-15 20:51:17 +01:00 |
|
zicodxx
|
5b899ad0fd
|
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:21 +01:00 |
|
zicodxx
|
c0dfe46173
|
Fixed some compiler warnings
|
2011-01-15 00:33:13 +01:00 |
|
zicodxx
|
0d997ed81a
|
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:56:00 +01:00 |
|
zicodxx
|
3b60012a2d
|
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
|
8a10ec4238
|
Added feature to optionally disable friendly fire in Team and Coop games
|
2011-01-14 19:48:48 +01:00 |
|
zicodxx
|
ba74b14753
|
When displaying kill goals in game rules, value must be multiplied by 5 to show the correct limit
|
2011-01-14 17:54:31 +01:00 |
|
zicodxx
|
2ba4206e15
|
Using timer_query() instead of clock() in InitPlayerPositions(); Also decreasing check value für closest_dist to D1-level to actually make it less likely to start at total random unchecked location where another player could be
|
2011-01-14 17:15:30 +01:00 |
|
zicodxx
|
c8f4140bd6
|
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
|
2011-01-14 15:13:29 +01:00 |
|
zicodxx
|
eeecf4016e
|
Fixing code used for capping powerups in multiplayer - it was not correctly conting 4pack powerups; Cleaned up this code a bit and added more consistent naming convention for functions to maybe make it more understandable; Removed MULTI_PROTO_D2X_VER define as it's not needed
|
2011-01-14 14:29:08 +01:00 |
|
Chris Taylor
|
030aef43e3
|
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-14 17:51:13 +08:00 |
|
zicodxx
|
aca6890bd4
|
Fixed Menu setting for AllowedItems which was broken due to changed return value of newmenu_do1
|
2011-01-11 01:26:14 +01:00 |
|
zicodxx
|
02c5c1bda9
|
Reverted most of the last commit - didn't work well when timer was updated too frequently
|
2011-01-11 00:37:45 +01:00 |
|
zicodxx
|
4026c8a73a
|
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
|
4b008cece1
|
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:55 +01:00 |
|
zicodxx
|
6b165a76ab
|
size was not correctly calculated in show_reticle
|
2011-01-10 17:48:20 +01:00 |
|
zicodxx
|
39e956e2bc
|
Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator and Guided Crosshair; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
|
2011-01-10 16:12:04 +01:00 |
|
zicodxx
|
09da4f9f51
|
Mousebutton assigned to CYCLE SECONADARY was actually calling CYCLE PRIMARY
|
2011-01-09 19:45:14 +01:00 |
|
zicodxx
|
adad856f38
|
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:48 +01:00 |
|
zicodxx
|
eac593a047
|
Fix for rev968: my_pnum must be defined static
|
2011-01-09 17:09:29 +01:00 |
|
zicodxx
|
bea0daf3e8
|
Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
|
2011-01-09 14:19:01 +01:00 |
|
zicodxx
|
cdac541815
|
Fix small bug in vertex_array for ogl_ubitblt_i
|
2011-01-06 20:13:04 +01:00 |
|