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

Identifies when a chart is to have a different combo multiplier value. More...

#include <TimingSegments.h>

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

Public Member Functions

auto GetType () const -> TimingSegmentType override
 
auto GetEffectType () const -> SegmentEffectType override
 
auto IsNotable () const -> bool override
 
void DebugPrint () const override
 
auto Copy () const -> TimingSegment *override
 
 ComboSegment (int iStartRow=ROW_INVALID, int iCombo=1, int iMissCombo=1)
 
 ComboSegment (const ComboSegment &other)
 
auto GetCombo () const -> int
 
auto GetMissCombo () const -> int
 
void SetCombo (int iCombo)
 
void SetMissCombo (int iCombo)
 
auto ToString (int dec) const -> std::string override
 
auto GetValues () const -> std::vector< float > override
 
auto operator== (const ComboSegment &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)
 
virtual void Scale (int start, int length, int newLength)
 Scales itself.
 
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 chart is to have a different combo multiplier value.

Admitedly, this would primarily be used for mission mode style charts. However, it can have its place during normal gameplay.

Member Function Documentation

◆ Copy()

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

Implements TimingSegment.

◆ DebugPrint()

void ComboSegment::DebugPrint ( ) const
overridevirtual

Reimplemented from TimingSegment.

◆ GetEffectType()

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

Reimplemented from TimingSegment.

◆ GetType()

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

Reimplemented from TimingSegment.

◆ GetValues()

std::vector< float > ComboSegment::GetValues ( ) const -> std::vector<float>
overridevirtual

Reimplemented from TimingSegment.

◆ IsNotable()

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

Implements TimingSegment.

◆ operator==()

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

Reimplemented from TimingSegment.

◆ ToString()

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

Reimplemented from TimingSegment.


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