Home
last modified time | relevance | path

Searched refs:updateFps (Results 1 – 25 of 59) sorted by relevance

123

/dports/games/glest/glest_source_3.2.2/source/glest_game/menu/
H A Dmenu_background.cpp67 rps->setSpeed(12.f/GameConstants::updateFps); in MenuBackground()
69 rps->setWind(-90.f, 4.f/GameConstants::updateFps); in MenuBackground()
136 raindropStates[i]+= 1.f / GameConstants::updateFps; in update()
144 t+= ((0.01f+(1.f-t)/10.f)/20.f)*(60.f/GameConstants::updateFps); in update()
161 fade+= 0.6f/GameConstants::updateFps; in update()
168 anim+=(0.6f/GameConstants::updateFps)/5+random.randRange(0.f, (0.6f/GameConstants::updateFps)/5.f); in update()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/menu/
H A Dmenu_background.cpp154 rps->setSpeed(12.f/GameConstants::updateFps); in createRainParticleSystem()
156 rps->setWind(-90.f, 4.f/GameConstants::updateFps); in createRainParticleSystem()
187 raindropStates[i]+= 1.f / GameConstants::updateFps; in update()
201 t+= ((0.01f+(1.f-t)/10.f)/20.f)*(60.f/GameConstants::updateFps); in update()
218 fade+= 0.6f/GameConstants::updateFps; in update()
225 anim+=(0.6f/GameConstants::updateFps)/5+random.randRange(0.f, (0.6f/GameConstants::updateFps)/5.f); in update()
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/sources/util/
H A Dconversion.cpp218 string getTimeDuationString(int frames, int updateFps) { in getTimeDuationString() argument
220 int hours = (int)((int) frames / (float)updateFps / 3600.0f); in getTimeDuationString()
221 framesleft = framesleft - hours * 3600 * updateFps; in getTimeDuationString()
222 int minutes = (int)((int) framesleft / (float)updateFps / 60.0f); in getTimeDuationString()
223 framesleft = framesleft - minutes * 60 * updateFps; in getTimeDuationString()
224 int seconds = (int)((int) framesleft / (float)updateFps); in getTimeDuationString()
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/
H A Dfadeanimation.cpp19 FadeAnimation::FadeAnimation(int updateFps) in FadeAnimation() argument
20 : m_updateFps(updateFps) in FadeAnimation()
24 m_timer.setInterval(1000 / updateFps); in FadeAnimation()
H A Dfadeanimation.hpp27 explicit FadeAnimation(int updateFps = 60);
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/
H A Dwater_effects.cpp49 anim+= 0.5f/GameConstants::updateFps; in update()
54 waterSplashes[i].update(1.f/GameConstants::updateFps); in update()
H A Dtime_flow.cpp34 timeInc= 24.f*(1.f/config.getFloat("DayTime"))/GameConstants::updateFps; in init()
H A Dworld.cpp140 if(rt->getClass()==rcConsumable && frameCount % (rt->getInterval()*GameConstants::updateFps)==0){ in update()
149 float fogFactor= static_cast<float>(frameCount%GameConstants::updateFps)/GameConstants::updateFps; in update()
154 if(frameCount%GameConstants::updateFps==0){ in update()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/world/
H A Dwater_effects.cpp50 anim+= 0.5f/GameConstants::updateFps; in update()
55 waterSplashes[i].update(speed/GameConstants::updateFps); in update()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/main/
H A Dintro.cpp562 if(timer > introTime * GameConstants::updateFps / 1000){ in update()
579 t+= ((0.01f+(1.f-t)/10.f)/20.f)*(60.f/GameConstants::updateFps); in update()
596 fade += 0.6f / GameConstants::updateFps; in update()
608 …xSpeed / GameConstants::updateFps) / 5 + random.randRange(minSpeed, max(minSpeed + 0.0001f, (maxSp… in update()
621 int difTime= 1000 * timer / GameConstants::updateFps - modelShowTime; in renderModelBackground()
687 int difTime= 1000 * timer / GameConstants::updateFps - text->getTime(); in render()
754 int difTime= 1000 * timer / GameConstants::updateFps; in render()
/dports/games/glest/glest_source_3.2.2/source/glest_game/game/
H A Dgame.cpp51 updateFps=0; in Game()
158 weatherParticleSystem->setSpeed(12.f/GameConstants::updateFps); in init()
165 weatherParticleSystem->setSpeed(1.5f/GameConstants::updateFps); in init()
212 updateFps++; in update()
281 lastUpdateFps= updateFps; in tick()
283 updateFps= 0; in tick()
848 return updateFps % 2 == 0? 1: 0; in getUpdateLoops()
H A Dgame_constants.h33 static const int updateFps= 40; variable
H A Dconsole.cpp51 timeElapsed+= 1.f/GameConstants::updateFps; in update()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/
H A Dmainview.cpp131 updateFps(); in fps()
219 updateFps(); in paintEvent()
325 void MainView::updateFps() in updateFps() function in MainView
H A Dmainview.h92 void updateFps();
/dports/games/glest/glest_source_3.2.2/source/glest_game/graphics/
H A Dparticle_type.cpp103 speed= speedNode->getAttribute("value")->getFloatValue()/GameConstants::updateFps; in load()
107 gravity= gravityNode->getAttribute("value")->getFloatValue()/GameConstants::updateFps; in load()
157 …ajectorySpeed= tajectorySpeedNode->getAttribute("value")->getFloatValue()/GameConstants::updateFps; in load()
/dports/games/glest/glest_source_3.2.2/source/glest_game/main/
H A Dintro.cpp76 if(timer>introTime*GameConstants::updateFps/1000){ in update()
94 difTime= 1000*timer/GameConstants::updateFps-text->getTime(); in render()
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/dialogs/
H A Dflipbook.h50 void updateFps(int newFps);
H A Dflipbook.cpp47 connect(m_ui->fps, QOverload<int>::of(&QSpinBox::valueChanged), this, &Flipbook::updateFps); in Flipbook()
107 void Flipbook::updateFps(int newFps) in updateFps() function in dialogs::Flipbook
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/include/util/
H A Dconversion.h46 string getTimeDuationString(int frames, int updateFps);
/dports/multimedia/smplayer/smplayer-21.10.0/src/
H A Dvideolayerrender.cpp88 connect(fps_timer, SIGNAL(timeout()), this, SLOT(updateFps())); in VideoLayerRender()
209 void VideoLayerRender::updateFps() { in updateFps() function in VideoLayerRender
H A Dvideolayerrender.h100 void updateFps();
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qt3d/examples/qt3d/planets-qml/
H A DFpsDisplay.qml66 fpsDisplay.updateFps()
78 function updateFps() {
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/type_instances/
H A Dobject.cpp151 highlight -= 1.f / (Game::highlightTime * GameConstants::updateFps); in updateHighlight()
164 float speedDenominator = (speedDivider * GameConstants::updateFps); in update()
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/project/dialogs/
H A Dprofilewidget.cpp94 auto updateFps = [&]() { in ProfileWidget() local
100 …nect(m_fpsFilt, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), updateFps); in ProfileWidget()

123