mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	 5fd55ffac1
			
		
	
	
		5fd55ffac1
		
			
		
	
	
	
		
			
	
		
	
	
		
			Some checks failed
		
		
	
	Build coop / build-linux (push) Has been cancelled
				
			Build coop / build-steamos (push) Has been cancelled
				
			Build coop / build-windows-opengl (push) Has been cancelled
				
			Build coop / build-windows-directx (push) Has been cancelled
				
			Build coop / build-macos-arm (push) Has been cancelled
				
			Build coop / build-macos-intel (push) Has been cancelled
				
			* djui_hud_get_mouse_locked() Adds a total of 1 function: # `bool djui_hud_get_mouse_locked()` Returns the DJUI mouse lock status Tip: This won't return the true state of mouse lock, so make sure to use `get_first_person_enabled()` and `camera_config_is_mouse_look_enabled()` as well --- This also fills in some descriptions left out by Isaac in his viewport/scissor functions * djui_hud_is_mouse_locked() Same as before but is * this is better imo
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef AUDIO_SEQPLAYER_H
 | |
| #define AUDIO_SEQPLAYER_H
 | |
| 
 | |
| #include <PR/ultratypes.h>
 | |
| 
 | |
| #include "internal.h"
 | |
| #include "playback.h"
 | |
| 
 | |
| void seq_channel_layer_disable(struct SequenceChannelLayer *seqPlayer);
 | |
| void sequence_channel_disable(struct SequenceChannel *seqPlayer);
 | |
| void sequence_player_disable(struct SequencePlayer* seqPlayer);
 | |
| void audio_list_push_back(struct AudioListItem *list, struct AudioListItem *item);
 | |
| void *audio_list_pop_back(struct AudioListItem *list);
 | |
| void sequence_channel_set_volume(struct SequenceChannel *seqChannel, u8 volume);
 | |
| void process_sequences(s32 iterationsRemaining);
 | |
| void init_sequence_player(u32 player);
 | |
| void init_sequence_players(void);
 | |
| /* |description|Gets the `tempo` of `player`|descriptionEnd| */
 | |
| u16 sequence_player_get_tempo(u8 player);
 | |
| /* |description|Sets the `tempo` of `player`. Resets when another sequence is played|descriptionEnd| */
 | |
| void sequence_player_set_tempo(u8 player, u16 tempo);
 | |
| /* |description|Gets the `tempoAcc` (tempo accumulation) of `player`|descriptionEnd| */
 | |
| u16 sequence_player_get_tempo_acc(u8 player);
 | |
| /* |description|Sets the `tempoAcc` (tempo accumulation) of `player`. Resets when another sequence is played|descriptionEnd| */
 | |
| void sequence_player_set_tempo_acc(u8 player, u16 tempoAcc);
 | |
| /* |description|Gets the `transposition` (pitch) of `player`|descriptionEnd| */
 | |
| u16 sequence_player_get_transposition(u8 player);
 | |
| /* |description|Sets the `transposition` (pitch) of `player`. Resets when another sequence is played|descriptionEnd| */
 | |
| void sequence_player_set_transposition(u8 player, u16 transposition);
 | |
| /* |description|Gets the volume of `player`|descriptionEnd| */
 | |
| f32 sequence_player_get_volume(u8 player);
 | |
| /* |description|Gets the fade volume of `player`|descriptionEnd| */
 | |
| f32 sequence_player_get_fade_volume(u8 player);
 | |
| /* |description|Gets the mute volume scale of `player`|descriptionEnd| */
 | |
| f32 sequence_player_get_mute_volume_scale(u8 player);
 | |
| 
 | |
| #endif // AUDIO_SEQPLAYER_H
 |