Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wolf3d
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
wolf3d
Commits
a6613573
Commit
a6613573
authored
Nov 23, 2009
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86_64 fixes.
parent
9c428361
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
id_ca.c
src/id_ca.c
+2
-2
sd_comm.h
src/sd_comm.h
+1
-1
sd_null.c
src/sd_null.c
+1
-1
sd_oss.c
src/sd_oss.c
+1
-1
wl_def.h
src/wl_def.h
+2
-2
No files found.
src/id_ca.c
View file @
a6613573
...
@@ -33,8 +33,8 @@ char extension[5];
...
@@ -33,8 +33,8 @@ char extension[5];
#define afilename "audiot."
#define afilename "audiot."
#define pfilename "vswap."
#define pfilename "vswap."
static
long
*
grstarts
;
/* array of offsets in vgagraph */
static
int32_t
*
grstarts
;
/* array of offsets in vgagraph */
static
long
*
audiostarts
;
/* array of offsets in audiot */
static
int32_t
*
audiostarts
;
/* array of offsets in audiot */
static
huffnode
grhuffman
[
256
];
static
huffnode
grhuffman
[
256
];
...
...
src/sd_comm.h
View file @
a6613573
...
@@ -34,7 +34,7 @@ extern word SD_SoundPlaying();
...
@@ -34,7 +34,7 @@ extern word SD_SoundPlaying();
extern
void
SD_SetDigiDevice
(
SDSMode
);
extern
void
SD_SetDigiDevice
(
SDSMode
);
void
PlaySoundLocGlobal
(
word
s
,
int
id
,
fixed
gx
,
fixed
gy
);
void
PlaySoundLocGlobal
(
word
s
,
int
ptr_t
id
,
fixed
gx
,
fixed
gy
);
void
UpdateSoundLoc
(
fixed
x
,
fixed
y
,
int
angle
);
void
UpdateSoundLoc
(
fixed
x
,
fixed
y
,
int
angle
);
...
...
src/sd_null.c
View file @
a6613573
...
@@ -129,7 +129,7 @@ void SD_StartMusic(int music)
...
@@ -129,7 +129,7 @@ void SD_StartMusic(int music)
SD_MusicOff
();
SD_MusicOff
();
}
}
void
PlaySoundLocGlobal
(
word
s
,
int
id
,
fixed
gx
,
fixed
gy
)
void
PlaySoundLocGlobal
(
word
s
,
int
ptr_t
id
,
fixed
gx
,
fixed
gy
)
{
{
SD_PlaySound
(
s
);
SD_PlaySound
(
s
);
}
}
...
...
src/sd_oss.c
View file @
a6613573
...
@@ -552,7 +552,7 @@ static void SetSoundLoc(fixed gx, fixed gy)
...
@@ -552,7 +552,7 @@ static void SetSoundLoc(fixed gx, fixed gy)
==========================
==========================
*/
*/
void
PlaySoundLocGlobal
(
word
s
,
int
id
,
fixed
gx
,
fixed
gy
)
void
PlaySoundLocGlobal
(
word
s
,
int
ptr_t
id
,
fixed
gx
,
fixed
gy
)
{
{
SetSoundLoc
(
gx
,
gy
);
SetSoundLoc
(
gx
,
gy
);
...
...
src/wl_def.h
View file @
a6613573
...
@@ -741,8 +741,8 @@ void DrawPlayBorder();
...
@@ -741,8 +741,8 @@ void DrawPlayBorder();
void
DrawPlayBorderSides
();
void
DrawPlayBorderSides
();
void
DrawStatusBar
();
void
DrawStatusBar
();
#define PlaySoundLocTile(s,tx,ty) PlaySoundLocGlobal(s,(int)((tx<<6)|(ty)), (tx << TILESHIFT) + (1 << (TILESHIFT - 1)), (ty << TILESHIFT) + (1L << (TILESHIFT - 1)))
#define PlaySoundLocTile(s,tx,ty) PlaySoundLocGlobal(s,(int
ptr_t
)((tx<<6)|(ty)), (tx << TILESHIFT) + (1 << (TILESHIFT - 1)), (ty << TILESHIFT) + (1L << (TILESHIFT - 1)))
#define PlaySoundLocActor(s,ob) PlaySoundLocGlobal(s,(int)ob,(ob)->x,(ob)->y)
#define PlaySoundLocActor(s,ob) PlaySoundLocGlobal(s,(int
ptr_t
)ob,(ob)->x,(ob)->y)
/*
/*
=============================================================================
=============================================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment