Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FakeSegment Struct Reference

Identifies when a whole region of arrows is to be ignored. More...

#include <TimingSegments.h>

Inheritance diagram for FakeSegment:
Inheritance graph
[legend]
Collaboration diagram for FakeSegment:
Collaboration graph
[legend]

Public Member Functions

auto GetType () const -> TimingSegmentType override
 
auto GetEffectType () const -> SegmentEffectType override
 
auto Copy () const -> TimingSegment *override
 
auto IsNotable () const -> bool override
 
void DebugPrint () const override
 
 FakeSegment (int iStartRow, int iLengthRows)
 
 FakeSegment (int iStartRow, float fBeats)
 
 FakeSegment (const FakeSegment &other)
 
auto GetLengthRows () const -> int
 
auto GetLengthBeats () const -> float
 
auto GetLength () const -> float
 
void SetLength (int iRows)
 
void SetLength (float fBeats)
 
void Scale (int start, int length, int newLength) override
 Scales itself.
 
auto ToString (int dec) const -> std::string override
 
auto GetValues () const -> std::vector< float > override
 
auto operator== (const FakeSegment &other) const -> bool
 
auto operator== (const TimingSegment &other) const -> bool override
 
- Public Member Functions inherited from TimingSegment
 TimingSegment (int iRow=ROW_INVALID)
 
 TimingSegment (float fBeat)
 
 TimingSegment (const TimingSegment &other)
 
auto GetRow () const -> int
 
void SetRow (int iRow)
 
auto GetBeat () const -> float
 
void SetBeat (float fBeat)
 
auto operator< (const TimingSegment &other) const -> bool
 
virtual auto operator!= (const TimingSegment &other) const -> bool
 

Additional Inherited Members

- Static Public Attributes inherited from TimingSegment
static const double EPSILON = 1e-6
 

Detailed Description

Identifies when a whole region of arrows is to be ignored.

FakeSegments are similar to the Fake Tap Notes in that the contents inside are neither for nor against the player. They can be useful for mission modes, in conjunction with WarpSegments, or perhaps other uses not thought up at the time of this comment. Unlike the Warp Segments, these are not magically jumped over: instead, these are drawn normally.

These were inspired by the Pump It Up series.

Member Function Documentation

◆ Copy()

auto FakeSegment::Copy ( ) const -> TimingSegment*
inlineoverridevirtual

Implements TimingSegment.

◆ DebugPrint()

void FakeSegment::DebugPrint ( ) const
overridevirtual

Reimplemented from TimingSegment.

◆ GetEffectType()

auto FakeSegment::GetEffectType ( ) const -> SegmentEffectType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ GetType()

auto FakeSegment::GetType ( ) const -> TimingSegmentType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ GetValues()

auto FakeSegment::GetValues ( ) const -> std::vector<float>
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ IsNotable()

auto FakeSegment::IsNotable ( ) const -> bool
inlineoverridevirtual

Implements TimingSegment.

◆ operator==()

auto FakeSegment::operator== ( const TimingSegment other) const -> bool
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ Scale()

void FakeSegment::Scale ( int  start,
int  length,
int  newLength 
)
overridevirtual

Scales itself.

Parameters
startStarting row
lengthLength in rows
newLengthThe new length in rows

Reimplemented from TimingSegment.

◆ ToString()

std::string FakeSegment::ToString ( int  dec) const -> std::string
overridevirtual

Reimplemented from TimingSegment.


The documentation for this struct was generated from the following files: