projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091028-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
Electrons.c
diff --git
a/src/game_sp/Electrons.c
b/src/game_sp/Electrons.c
index 709583cfe6a043c944941d1b3a0ab8c39ee4550d..5f77e738223dac467f88164fe37edcb689e3f94f 100644
(file)
--- a/
src/game_sp/Electrons.c
+++ b/
src/game_sp/Electrons.c
@@
-4,7
+4,8
@@
#include "Electrons.h"
#include "Electrons.h"
-static char *VB_Name = "modElectron";
+// static char *VB_Name = "modElectron";
+
// --- Option Explicit
// ==========================================================================
// SUBROUTINE
// --- Option Explicit
// ==========================================================================
// SUBROUTINE
@@
-101,7
+102,8
@@
int subElectronTurnLeft(int si, int bx)
{
int subElectronTurnLeft;
{
int subElectronTurnLeft;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
ax = (TimerVar & 3);
if (ax != 0)
ax = (TimerVar & 3);
if (ax != 0)
@@
-207,7
+209,8
@@
int subElectronTurnRight(int si, int bx)
{
int subElectronTurnRight;
{
int subElectronTurnRight;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
ax = (TimerVar & 3);
if (ax != 0)
ax = (TimerVar & 3);
if (ax != 0)
@@
-313,7
+316,8
@@
int subElectronFromBelow(int si, int bx)
{
int subElectronFromBelow;
{
int subElectronFromBelow;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
bx = bx - 0xF; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
bx = bx - 0xF; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
@@
-375,7
+379,8
@@
int subElectronFromRight(int si, int bx)
{
int subElectronFromRight;
{
int subElectronFromRight;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
bx = bx - 0x17; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
bx = bx - 0x17; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
@@
-436,7
+441,8
@@
int subElectronFromAbove(int si, int bx)
{
int subElectronFromAbove;
{
int subElectronFromAbove;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
bx = bx - 0x1F; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
bx = bx - 0x1F; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
@@
-497,7
+503,8
@@
int subElectronFromLeft(int si, int bx)
{
int subElectronFromLeft;
{
int subElectronFromLeft;
- int ax, ah, bl, dx, X, Y;
+ // int ax, ah, bl, dx, X, Y;
+ int ax, bl, X, Y;
bx = bx - 0x27; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++
bx = bx - 0x27; // get and increment sequence#
// +++++++++++++++++++++++++++++++++++++++++++++++++++++