Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
0a4d0ecc
Commit
0a4d0ecc
authored
5 years ago
by
toaster
Browse files
Options
Downloads
Patches
Plain Diff
Better comments for musicdef struct
parent
5f8671b1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/s_sound.h
+8
-3
8 additions, 3 deletions
src/s_sound.h
with
8 additions
and
3 deletions
src/s_sound.h
+
8
−
3
View file @
0a4d0ecc
...
@@ -188,15 +188,20 @@ boolean S_MusicExists(const char *mname, boolean checkMIDI, boolean checkDigi);
...
@@ -188,15 +188,20 @@ boolean S_MusicExists(const char *mname, boolean checkMIDI, boolean checkDigi);
// Set Speed of Music
// Set Speed of Music
boolean
S_SpeedMusic
(
float
speed
);
boolean
S_SpeedMusic
(
float
speed
);
// Music
credit
s
// Music
definition
s
typedef
struct
musicdef_s
typedef
struct
musicdef_s
{
{
char
name
[
7
];
char
name
[
7
];
char
title
[
32
];
char
title
[
32
];
char
alttitle
[
64
];
char
alttitle
[
64
];
//char usage[256]; -- probably never going to be relevant to vanilla but was in kart's struct
//char source[256]; -- ditto
char
authors
[
256
];
char
authors
[
256
];
//char usage[256]; -- probably never going to be relevant to vanilla
/*
the trouble here is that kart combines what we call "title"
and "authors" into one string. we need to split it for sound
test reasons. they might split it later like we did, but...
*/
//char source[256];
UINT8
soundtestpage
;
UINT8
soundtestpage
;
INT16
soundtestcond
;
// +ve for map, -ve for conditionset, 0 for already here
INT16
soundtestcond
;
// +ve for map, -ve for conditionset, 0 for already here
tic_t
stoppingtics
;
tic_t
stoppingtics
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment