Home
last modified time | relevance | path

Searched refs:MAX_RESISTANCE (Results 1 – 13 of 13) sorted by relevance

/dports/emulators/stella/stella-6.6/src/debugger/gui/
H A DPaddleWidget.cxx89 myP0Resistance->setMaxValue(uInt32(Paddles::MAX_RESISTANCE)); in PaddleWidget()
90 myP0Resistance->setStepValue(uInt32(Paddles::MAX_RESISTANCE/100)); in PaddleWidget()
96 myP1Resistance->setMaxValue(uInt32(Paddles::MAX_RESISTANCE)); in PaddleWidget()
97 myP1Resistance->setStepValue(uInt32(Paddles::MAX_RESISTANCE/100)); in PaddleWidget()
111 myP0Resistance->setValue(Int32(Paddles::MAX_RESISTANCE - in loadConfig()
113 myP1Resistance->setValue(Int32(Paddles::MAX_RESISTANCE - in loadConfig()
127 AnalogReadout::connectToVcc(Paddles::MAX_RESISTANCE - myP0Resistance->getValue())); in handleCommand()
131 AnalogReadout::connectToVcc(Paddles::MAX_RESISTANCE - myP1Resistance->getValue())); in handleCommand()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/mapstuff/spawner/
H A DGrainField.java37 private static final int MAX_RESISTANCE = 80; field in GrainField
75 setResistance((getRipeness() + 1) * MAX_RESISTANCE / (RIPE + 1)); in updateResistance()
/dports/cad/cvc/cvc-1.1.0-4-gd172016/src/
H A Dutility.h63 …theBase = ( (long(theBase) + long(theIncrement)) > long(MAX_RESISTANCE) ) ? MAX_RESISTANCE : theBa… in AddResistance()
H A DCParameterMap.cc103 if ( myResistanceStack.front() >= MAX_RESISTANCE ) { in CalculateResistance()
104 return ( MAX_RESISTANCE ); in CalculateResistance()
H A DCVirtualNet.cc72 assert(finalResistance < MAX_RESISTANCE); in operator ()()
H A DCvcTypes.hh49 #define MAX_RESISTANCE ((UINT32_MAX >> 2) - 1) macro
H A DCModel.cc338 if ( theParameterResistanceMap[theParameterText] == MAX_RESISTANCE ) { in FindModel()
344 if ( theParameterResistanceMap[theParameterText] == MAX_RESISTANCE ) { in FindModel()
H A DCCvcDb_utility.cc181 …MinVirtualSourceNet.finalResistance < MAX_RESISTANCE >> 7 && myMaxVirtualSourceNet.finalResistance… in IsAlwaysOnCandidate()
186 …yMinVirtualDrainNet.finalResistance < MAX_RESISTANCE >> 7 && myMaxVirtualDrainNet.finalResistance … in IsAlwaysOnCandidate()
203 return MAX_RESISTANCE; in SimResistance()
H A DCCvcDb.hh536 #define CheckResistorOverflow_(theResistance, theId, theLog) if ( theResistance == MAX_RESISTANCE )…
H A DCCvcDb.cc1151 assert(long(theSourceResistance) + theLastVirtualNet.resistance < MAX_RESISTANCE); in ShiftVirtualNets()
/dports/emulators/stella/stella-6.6/src/emucore/
H A DPaddles.cxx184 …setPin(AnalogPin::Five, AnalogReadout::connectToVcc(MAX_RESISTANCE * (myCharge[1] / double(TRIGMAX… in update()
189 …setPin(AnalogPin::Nine, AnalogReadout::connectToVcc(MAX_RESISTANCE * (myCharge[0] / double(TRIGMAX… in update()
247 return AnalogReadout::connectToVcc(MAX_RESISTANCE * in getReadOut()
H A DPaddles.hxx168 static constexpr uInt32 MAX_RESISTANCE = 1000000; member in Paddles
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/item/
H A DCorpse.java108 private static final int MAX_RESISTANCE = 70; field in Corpse
268 return Math.max(MIN_RESISTANCE, (int) (MAX_RESISTANCE * normalized)); in calculateResistance()