mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-21 06:48:49 -05:00
Fix comments
This commit is contained in:
parent
955633e900
commit
9ba6a5b8ea
@ -8,7 +8,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
6
game.h
6
game.h
@ -425,7 +425,7 @@ struct
|
|||||||
uint32_t lastItemTakenFrame;
|
uint32_t lastItemTakenFrame;
|
||||||
uint8_t ammo[SFG_AMMO_TOTAL];
|
uint8_t ammo[SFG_AMMO_TOTAL];
|
||||||
uint8_t cards; /**< Lowest 3 bits say which access cards
|
uint8_t cards; /**< Lowest 3 bits say which access cards
|
||||||
have been taken., the next 3 bits say
|
have been taken, the next 3 bits say
|
||||||
which cards should be blinking in the HUD,
|
which cards should be blinking in the HUD,
|
||||||
the last 2 bits are a blink reset counter. */
|
the last 2 bits are a blink reset counter. */
|
||||||
uint8_t justTeleported;
|
uint8_t justTeleported;
|
||||||
@ -442,7 +442,7 @@ struct
|
|||||||
const uint8_t* textures[7]; ///< textures the level is using
|
const uint8_t* textures[7]; ///< textures the level is using
|
||||||
uint32_t timeStart;
|
uint32_t timeStart;
|
||||||
uint32_t frameStart;
|
uint32_t frameStart;
|
||||||
uint32_t completionTime10sOfS; ///< completion time in 10th of second
|
uint32_t completionTime10sOfS; ///< completion time in 10ths of second
|
||||||
uint8_t floorColor;
|
uint8_t floorColor;
|
||||||
uint8_t ceilingColor;
|
uint8_t ceilingColor;
|
||||||
|
|
||||||
@ -1738,7 +1738,7 @@ void SFG_init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds new projectile to the current level, return 1 if added, 0 if not (max
|
Adds new projectile to the current level, returns 1 if added, 0 if not (max
|
||||||
count reached).
|
count reached).
|
||||||
*/
|
*/
|
||||||
uint8_t SFG_createProjectile(SFG_ProjectileRecord projectile)
|
uint8_t SFG_createProjectile(SFG_ProjectileRecord projectile)
|
||||||
|
2
images.h
2
images.h
@ -12,7 +12,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
2
levels.h
2
levels.h
@ -6,7 +6,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
@ -5,9 +5,8 @@
|
|||||||
compile a native executable or a transpiled JS browser version with
|
compile a native executable or a transpiled JS browser version with
|
||||||
emscripten.
|
emscripten.
|
||||||
|
|
||||||
This front end is pretty feature rich, allowing testing etc. A much more
|
This frontend is not strictly minimal, it could be reduced a lot. If you want
|
||||||
minimal could be made. If you want a learning example of front end, look at
|
a learning example of frontend, look at another, simpler one, e.g. terminal.
|
||||||
another, simpler one, e.g. the terminal.
|
|
||||||
|
|
||||||
To compile with emscripten run:
|
To compile with emscripten run:
|
||||||
|
|
||||||
@ -16,7 +15,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
@file main_test.c
|
@file main_test.c
|
||||||
|
|
||||||
This is a front end that serves as a basic automatic test of the game.
|
This is a front end that serves as a basic automatic test of the game. At this
|
||||||
|
point it's very simple and basically just checks if anything really
|
||||||
|
substantial wasn't broken.
|
||||||
|
|
||||||
This fronted tries to play the game and see if it behaves how expected. If you
|
This fronted tries to play the game and see if it behaves how expected. If you
|
||||||
change anything substantial in the game, this test may start to fail and you
|
change anything substantial in the game, this test may start to fail and you
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
2
sounds.h
2
sounds.h
@ -15,7 +15,7 @@
|
|||||||
by Miloslav Ciz (drummyfish), 2019
|
by Miloslav Ciz (drummyfish), 2019
|
||||||
|
|
||||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
plus a waiver of all other intellectual property. The goal of this work is
|
plus a waiver of all other intellectual property. The goal of this work is to
|
||||||
be and remain completely in the public domain forever, available for any use
|
be and remain completely in the public domain forever, available for any use
|
||||||
whatsoever.
|
whatsoever.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user