This commit is contained in:
jarod42 2004-06-24 16:18:58 +00:00
parent 87bfbcf25e
commit 107c6b7a9c
3 changed files with 13 additions and 13 deletions

View file

@ -545,7 +545,7 @@ void FireMissile(Unit* unit)
dy = dy * TileSizeY + TileSizeY / 2;
missile = MakeMissile(unit->Type->Missile.Missile, x, y, dx, dy);
//
// Damage of missile
// Damage of missile
//
if (goal) {
missile->TargetUnit = goal;
@ -961,9 +961,9 @@ void MissileHit(Missile* missile)
// The impact generates a new missile.
//
if (missile->Type->ImpactMissile) {
// Missile* mis;
// Missile* mis;
// mis =
// mis =
MakeMissile(missile->Type->ImpactMissile, x, y, x, y);
// Impact missiles didn't generate any damage now.
#if 0
@ -1272,7 +1272,7 @@ static void SaveMissile(const Missile* missile, CLFile* file)
CLprintf(file, " \"damage\", %d,", missile->Damage);
CLprintf(file, " \"ttl\", %d,", missile->TTL);
CLprintf(file, " \"ttl\", %d,", missile->TTL);
if (missile->Hidden) {
CLprintf(file, " \"hidden\", ");
}
@ -1776,7 +1776,7 @@ void MissileActionWhirlwind(Missile* missile)
//
if (!(missile->TTL % 4)) {
n = SelectUnitsOnTile(x, y, table);
for (i = 0; i < n; ++i) {
for (i = 0; i < n; ++i) {
if (table[i]->HP) {
// should be missile damage ?
HitUnit(missile->SourceUnit,table[i], WHIRLWIND_DAMAGE1);

View file

@ -90,7 +90,7 @@ static int CclDefineMissileType(lua_State* l)
free(str);
} else {
mtype = NewMissileTypeSlot(str); // str consumed!
}
}
mtype->NumDirections = 1;
mtype->Flip = 1;

View file

@ -5,12 +5,12 @@
// /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
// \/ \/ \//_____/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// Stratagus - A free fantasy real time strategy game engine
// T H E W A R B E G I N S
// Stratagus - A free fantasy real time strategy game engine
//
/**@name movie.c - Movie playback functions. */
//
// (c) Copyright 2002-2004 by Lutz Sammer
// (c) Copyright 2002-2004 by Lutz Sammer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@ -26,12 +26,12 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
// $Id$
// $Id$
//@{
/*----------------------------------------------------------------------------
-- Includes
-- Includes
----------------------------------------------------------------------------*/
#include <stdio.h>
@ -57,7 +57,7 @@ extern void VPDeInitLibrary(void);
#if defined(USE_SDL) && !defined(USE_OPENGL) /// Only supported with SDL for now
extern SDL_Surface* TheScreen; /// internal screen
extern SDL_Surface* TheScreen; ///< internal screen
/*----------------------------------------------------------------------------
-- Defines
@ -206,7 +206,7 @@ static void MovieCallbackMouse(int dummy_x __attribute__((unused)),
}
/**
** Callback for exit.
** Callback for exit.
*/
static void MovieCallbackExit(void)
{