zicodxx
|
df7fa858bc
|
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 16:33:12 +02:00 |
|
zicodxx
|
3db4007d8a
|
for flexibility in terms of modding, allow player ship textures in Multiplayer be <= N_PLAYER_SHIP_TEXTURES and not hit Assert but pull out Eroor if there are more
|
2011-06-04 22:50:37 +02:00 |
|
zicodxx
|
0a4c6eef58
|
Just generally ignore missing sounds in digi_xlat_sound just like D1X-Rebirth - not limit to Shareware
|
2011-06-04 21:31:25 +02:00 |
|
zicodxx
|
144eacb061
|
Correctly handle PC Shareware for start_endlevel_movie() again without the defines but via is_SHAREWARE
|
2011-06-04 12:22:03 +02:00 |
|
zicodxx
|
8fde65eb3c
|
Play SONG_BRIEFING and SONG_ENDGAME on all non-builtin missions if available
|
2011-06-04 11:38:10 +02:00 |
|
zicodxx
|
7b08964f78
|
Don't force AltSounds on PC-Shareware content but still must bail out on missing sounds using a small hack. Still gives a better sound palette than AltSounds
|
2011-06-04 11:35:41 +02:00 |
|
zicodxx
|
6fe5bee78a
|
Since set_dynamic_light() is not necessarily processed each frame, added own counter for delayed precession of vertex-clight calculation; Added possibility to page in a bitmap in case an object which has never been rendered before is supposed to cast light visible by the player
|
2011-06-04 10:04:39 +02:00 |
|
zicodxx
|
a2e5afedf7
|
Added proper colored lighting handling for RT_POWERUP which I not noticed was wrong before ... darn dim glowing powerups
|
2011-06-01 15:49:06 +02:00 |
|
zicodxx
|
dd455389cd
|
Executing timer_update() at the beginning of calc_frame_time in case event_process() taking a significant amount of time to reach the game window and therefor could make FrameTime be inaccurate
|
2011-06-01 15:06:16 +02:00 |
|
zicodxx
|
9f42879473
|
When reaching EL_FLYTHROUGH in do_endlevel_frame() do not check for start_endlevel_movie() anymore but rather it's result so this subfunction does not get called again which does not only save us from executing pointless code and code which screws up flythrough sequence
|
2011-06-01 14:39:23 +02:00 |
|
zicodxx
|
dd991fbf6b
|
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:55 +02:00 |
|
zicodxx
|
d34936d775
|
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:45 +02:00 |
|
zicodxx
|
ea70f3db03
|
Made netgame setup menu more flexible towards (constant or temporary) changes in available game modes
|
2011-05-28 12:07:40 +02:00 |
|
zicodxx
|
54f8868d4e
|
in game_render_frame_mono() call show_netplayerinfo() last so window views do not overlap
|
2011-05-26 15:57:02 +02:00 |
|
zicodxx
|
52a4c9ff59
|
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:28 +02:00 |
|
zicodxx
|
dadb99bdca
|
Added multi_send_data_direct to send multibuf to a specific player (i.e. Host<->Client, not Client<->Client); Overhauled kill sending/receiving and computation to rely in host information about game_mode-related variables (team_vector, Bounty_target) which are vital for consistent kill computation; Added function to send/update game_mode-related variables and solve /move command with this as well instead of workaround via updating lite_info
|
2011-05-25 15:25:13 +02:00 |
|
zicodxx
|
bdeb0a70b4
|
When restoring Coop setting from netgame profile don't forget to fix max players variable
|
2011-05-22 20:04:43 +02:00 |
|
zicodxx
|
23197f52e5
|
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:47 +02:00 |
|
zicodxx
|
8962863723
|
Making D1X- and D2X-Rebirth more similar in behavior of which player limit is needed to start team-based game in both RELEASE and DEBUG builds
|
2011-05-20 16:15:07 +02:00 |
|
zicodxx
|
a1aff93761
|
Made Automap Free Flight controls an optional feature which can be set in MISC OPTIONS
|
2011-05-20 12:23:28 +02:00 |
|
zicodxx
|
2f098796e0
|
Rearranged code to check for netgame-closed flag and refuse-players flag so they are updated correctly if another part of the code changes the menu item without activating it
|
2011-05-20 11:48:20 +02:00 |
|
zicodxx
|
b2bd51d870
|
Updated docs and fixed some typos
|
2011-05-20 00:14:42 +02:00 |
|
zicodxx
|
2a60b32da2
|
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:04 +02:00 |
|
zicodxx
|
270a86da56
|
for fix_illegal_wall_intersection() try using the distance we moved to move out from the wall. Just in case it's a sane value, i.e. > 0 and <= obj->size/2
|
2011-05-19 11:49:49 +02:00 |
|
zicodxx
|
9b17431c45
|
Reset new_Bounty_target after using it and let host add a number on how often Bounty is reassigned. Both additions should help keeping target correct no matter how if multiple packets of the same type are disordered, delayed or both
|
2011-05-19 02:34:14 +02:00 |
|
zicodxx
|
ea850bd8eb
|
Improvement for fix_illegal_wall_interesection(): Move away from wall in right angle - not towards center. This improves the bumping in many situations and prevents ship getting stuck in small segments. Simplified and optimized code as well and removed check for degenerated Segments as not needed with this approach; Fixed some compiler warnings regarding set but unused variables
|
2011-05-19 01:25:38 +02:00 |
|
zicodxx
|
228915c750
|
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:26 +02:00 |
|
zicodxx
|
3de822c306
|
Added more info: M3U-support, GCC 4.6 warnings, more tracker infos
|
2011-05-15 12:15:36 +02:00 |
|
zicodxx
|
ecdeed6228
|
Solved possible issue when setting new Bounty_target via host messing up scores or new target itself - only set if player decided why to unset Bounty_target, keeping code flow and game logic in order; Fixed two compiler warnings regarding set but unused variables
|
2011-05-15 11:59:12 +02:00 |
|
zicodxx
|
aa520e662a
|
Send player position also when multi_send_player_explode() is called so powerups drop at the right spot in case the respawn packet arrives first
|
2011-05-13 22:21:13 +02:00 |
|
zicodxx
|
80ff014743
|
Don't call automap_process_input() if autmap_key_command() returns 1 preventing input mess
|
2011-05-07 13:29:26 +02:00 |
|
zicodxx
|
580ac93b7c
|
Taken out Render_depth reduction of Endlevel sequence in Software rendering build; Fixed two compiler warnings regarding set but unused variables
|
2011-05-07 12:25:05 +02:00 |
|
zicodxx
|
dbd7e83c35
|
Changed version from 0.56 to 0.57; Added first draft for RELEASE-NOTES.txt; updated docs
|
2011-05-07 02:51:21 +02:00 |
|
zicodxx
|
ec3bf88bec
|
Enabled Tracker support for Mac OS
|
2011-05-07 00:53:54 +02:00 |
|
zicodxx
|
47bd048b18
|
Correctly handle light computation of objects with render_type RT_LASER
|
2011-05-05 20:45:24 +02:00 |
|
zicodxx
|
62615d8ccb
|
Update for Debian packaging stuff
|
2011-05-05 01:31:09 +02:00 |
|
zicodxx
|
914555fe81
|
Host can now decide (again) if players are allowed to display enemy names on HUD
|
2011-05-05 00:16:37 +02:00 |
|
zicodxx
|
60e2a8aeb3
|
When doing sorted rendering, also take cloaking walls into account to properly draw objects behind it while cloaking process
|
2011-05-04 23:37:20 +02:00 |
|
zicodxx
|
d59a0c1f1d
|
Due to increased size of MAX_SEGMENTS old savegames became incompatible. To compensate added MAX_SEGMENTS_ORIGINAL with the original segment amount and read certain savegame info with this info when dealing with standard-sized levels and use Highest_segment_index when dealing with larger levels which are incompatible with older versions of the game anyways. Makes savegame site more efficient and still maintain backwards compability
|
2011-05-04 15:07:57 +02:00 |
|
zicodxx
|
0e1de3457b
|
To compensate fewer FVI runs in lower FPS and wall penetration caused by strong forces allowed fix_illegal_wall_intersection() to move an object out of the wall half it's size improving the collisions once more
|
2011-05-04 13:06:30 +02:00 |
|
zicodxx
|
62a7386d2a
|
mipmapping was always on for fonts due to changed filtering code in ogl.c
|
2011-05-04 12:18:25 +02:00 |
|
zicodxx
|
040407cf02
|
Fix crash in multi_maybe_disable_friendly_fire() when killer == NULL; Do not let player join game when gamemode is HOARD or TEAM HOARD and hoard.ham is not available
|
2011-05-04 12:05:59 +02:00 |
|
zicodxx
|
98e3706ada
|
Make sure the big explosion at the end of the escape sequence also uses blending if transparency effects are activated
|
2011-05-04 02:22:18 +02:00 |
|
zicodxx
|
4d2e19a96d
|
Since current approach to improve wall collisions prevented the player to enter segments which basically are too small for the player ship, added simple bumping function via object_intersects_wall(); Also when validating segments check for segment degeneration outside the editor build, too and set flag in segment structure for all different purposes but right now helps us to disable bumping when encountering degenerated segments and not break such levels
|
2011-05-04 02:15:10 +02:00 |
|
Chris Taylor
|
2a682044d6
|
Check if a menu closed in a subfunction before setting it's return value, fixing crash when levels are mismatched in multiplayer; Small tidy up for Xcode project
|
2011-04-24 13:34:59 +08:00 |
|
zicodxx
|
d3601c56e3
|
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:29 +02:00 |
|
zicodxx
|
c6bc3ff0c1
|
Fixes for RLE- and Texture-cache modifcations: Before freeing now must check if bitmap is already allocated
|
2011-04-22 17:10:33 +02:00 |
|
zicodxx
|
4e21bb9cd2
|
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:01:38 +02:00 |
|
zicodxx
|
10aca9a9fe
|
Expanded possibilities for level authors: RLE- and Texture-cache accepts textures bigger than 64x64, only limit being Texture width must be equal height; Increased maximum amount of Segments from 900 to 9000 - not dynamically allocating them, yet
|
2011-04-22 10:33:04 +02:00 |
|
zicodxx
|
89ef310ec6
|
Added SDLK_WORLD_** symbols to keyboard array to enable layout specific keys and make the game more flexible
|
2011-04-21 21:22:46 +02:00 |
|