mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
More or less standardised separator comments in the code
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
def pbStringToAudioFile(str)
|
||||
if str[/^(.*)\:\s*(\d+)\s*\:\s*(\d+)\s*$/] # Of the format "XXX: ###: ###"
|
||||
file = $1
|
||||
@@ -39,7 +42,8 @@ def pbResolveAudioFile(str, volume = nil, pitch = nil)
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
#
|
||||
#===============================================================================
|
||||
# Plays a BGM file.
|
||||
# param -- Either a string showing the filename
|
||||
# (relative to Audio/BGM/) or an RPG::AudioFile object.
|
||||
@@ -89,7 +93,8 @@ def pbBGMStop(timeInSeconds = 0.0)
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
#
|
||||
#===============================================================================
|
||||
# Plays an ME file.
|
||||
# param -- Either a string showing the filename
|
||||
# (relative to Audio/ME/) or an RPG::AudioFile object.
|
||||
@@ -139,7 +144,8 @@ def pbMEStop(timeInSeconds = 0.0)
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
#
|
||||
#===============================================================================
|
||||
# Plays a BGS file.
|
||||
# param -- Either a string showing the filename
|
||||
# (relative to Audio/BGS/) or an RPG::AudioFile object.
|
||||
@@ -189,7 +195,8 @@ def pbBGSStop(timeInSeconds = 0.0)
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
#
|
||||
#===============================================================================
|
||||
# Plays an SE file.
|
||||
# param -- Either a string showing the filename
|
||||
# (relative to Audio/SE/) or an RPG::AudioFile object.
|
||||
@@ -232,8 +239,6 @@ def pbSEStop(_timeInSeconds = 0.0)
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
# Plays a sound effect that plays when the player moves the cursor.
|
||||
def pbPlayCursorSE
|
||||
if !nil_or_empty?($data_system&.cursor_se&.name)
|
||||
|
||||
Reference in New Issue
Block a user