Revert Fogball to a scripted class

This commit is contained in:
nashmuhandes 2023-11-20 01:25:45 +08:00 committed by Magnus Norddahl
commit 72e3c01449
5 changed files with 1 additions and 65 deletions

View file

@ -861,7 +861,6 @@ set (PCH_SOURCES
playsim/mapthinkers/dsectoreffect.cpp
playsim/a_pickups.cpp
playsim/a_action.cpp
playsim/a_fogball.cpp
playsim/a_decals.cpp
playsim/a_dynlight.cpp
playsim/a_flashfader.cpp

View file

@ -1,30 +0,0 @@
/*
** Volumetric fog spheres AKA fogballs
** Copyright (c) 2023 Nash Muhandes, Magnus Norddahl
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for any purpose,
** including commercial applications, and to alter it and redistribute it
** freely, subject to the following restrictions:
**
** 1. The origin of this software must not be misrepresented; you must not
** claim that you wrote the original software. If you use this software
** in a product, an acknowledgment in the product documentation would be
** appreciated but is not required.
** 2. Altered source versions must be plainly marked as such, and must not be
** misrepresented as being the original software.
** 3. This notice may not be removed or altered from any source distribution.
*/
#include "actor.h"
#include "a_fogball.h"
IMPLEMENT_CLASS(AFogball, false, false)
void AFogball::Tick()
{
Super::Tick();
}

View file

@ -1,32 +0,0 @@
/*
** Volumetric fog spheres AKA fogballs
** Copyright (c) 2023 Nash Muhandes, Magnus Norddahl
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for any purpose,
** including commercial applications, and to alter it and redistribute it
** freely, subject to the following restrictions:
**
** 1. The origin of this software must not be misrepresented; you must not
** claim that you wrote the original software. If you use this software
** in a product, an acknowledgment in the product documentation would be
** appreciated but is not required.
** 2. Altered source versions must be plainly marked as such, and must not be
** misrepresented as being the original software.
** 3. This notice may not be removed or altered from any source distribution.
*/
#pragma once
#include "actor.h"
class AFogball : public AActor
{
DECLARE_CLASS(AFogball, AActor)
public:
void Tick();
};

View file

@ -33,7 +33,6 @@
#include "r_sky.h"
#include "r_utility.h"
#include "a_pickups.h"
#include "a_fogball.h"
#include "d_player.h"
#include "g_levellocals.h"
#include "events.h"

View file

@ -1,4 +1,4 @@
class Fogball : Actor native
class Fogball : Actor
{
Default
{