Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
a77e03b4
Commit
a77e03b4
authored
Apr 11, 2000
by
Peter Achten
Browse files
(PA) removed C warnings;
include names corrected to _12 convention.
parent
22da7190
Changes
3
Hide whitespace changes
Inline
Side-by-side
libraries/ObjectIO/ObjectIO/OS Windows/Windows_C_12/cGameLib_12.c
View file @
a77e03b4
/* Clean Game Library by Mike Wiering, Nijmegen */
#include
"util.h"
#include
"intrface.h"
#include
"util
_12
.h"
#include
"intrface
_12
.h"
#include
"cGameLib.h"
#include
"cGameLib
_12
.h"
#include
"cOSGameLib.h"
/* OS specific functions */
#include
"cOSGameLib
_12
.h"
/* OS specific functions */
// #define SMART_DRAW
...
...
@@ -211,7 +211,7 @@ static USER_EVENT_INFO *ueiUserEventInfo = NULL;
#define EV_PLAY_SOUND (-1)
ClearUserEvents
()
void
ClearUserEvents
()
{
struct
USER_EVENT_INFO
*
ueiNext
;
...
...
@@ -782,7 +782,6 @@ void RunGame ()
int
fade
;
int
result
;
int
oos
;
iFrameCounter
=
0
;
CorrectView
();
...
...
@@ -1391,7 +1390,7 @@ int ReadBoundMapValue (int x, int y, int options, int bounds, int mccode)
}
Bounce
(
OBJECTREC
*
obj
,
int
bound
)
void
Bounce
(
OBJECTREC
*
obj
,
int
bound
)
{
int
xb
=
obj
->
iXBounce
;
int
yb
=
obj
->
iYBounce
;
...
...
@@ -1602,7 +1601,6 @@ void MoveObjects ()
// int md = obj->iMoveDelay;
int
slx
=
obj
->
iXSlowDown
;
int
sly
=
obj
->
iYSlowDown
;
int
xv
,
yv
;
// save last position
obj
->
iLastXPos
=
obj
->
iXPos
;
...
...
@@ -2374,7 +2372,7 @@ void DrawObjects (int FromLayer, int ToLayer)
SPRITEANIMATION
*
sa
;
RECT
src
,
dst
;
int
flags
,
fx
;
int
fx
;
while
(
obj
)
{
...
...
@@ -2554,7 +2552,7 @@ int DrawLayer (int mapid)
int
curw
,
curh
;
int
mappos
,
mapblock
;
int
bmpx
,
bmpy
;
int
flags
,
bltflags
,
fx
;
int
fx
;
int
maxblock
;
BOOL
mir
,
ups
;
...
...
@@ -2694,7 +2692,6 @@ int DrawLayer (int mapid)
int
NextFrame
(
int
fade
)
{
int
resultcode
;
DDBLTFX
ddbltfx
;
BOOL
clear
;
GAMELAYERMAPINFO
*
glmip
=
glmipGameLayerMapInfo
;
SPRITEANIMATION
*
sa
=
saSprites
;
...
...
libraries/ObjectIO/ObjectIO/OS Windows/Windows_C_12/cGameLib_12.h
View file @
a77e03b4
...
...
@@ -4,7 +4,7 @@
/* Clean Game Library by Mike Wiering, Nijmegen */
#include
"cOSGameLib.h"
/* OS specific functions */
#include
"cOSGameLib
_12
.h"
/* OS specific functions */
/* Nothing value for integer, used with Maybe values */
...
...
libraries/ObjectIO/ObjectIO/OS Windows/Windows_C_12/cOSGameLib_12.c
View file @
a77e03b4
...
...
@@ -3,7 +3,7 @@
/* DirectX implementation of the OS specific functions */
#include
"cOSGameLib.h"
#include
"cOSGameLib
_12
.h"
extern
HWND
ghMainWindow
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment