Difference between revisions of "Performance Problems"

204 bytes added ,  15:53, 9 November 2007
inventory functions faster with OBSE 0013 (beta)
imported>Dev akm
imported>Tibixe
(inventory functions faster with OBSE 0013 (beta))
Line 26: Line 26:
# [[GetNumItems]] (OBSE)
# [[GetNumItems]] (OBSE)
# [[GetInventoryObject]] (OBSE)
# [[GetInventoryObject]] (OBSE)
#*Inventory functions became faster with OBSE 0013 (beta) (it uses an improved algorithm), see also [http://www.bethsoft.com/bgsforums/index.php?showtopic=772701&st=0 this thread]. [[User:Tibixe|Tibixe]]
# [[GetFPS]] (OBSE)
# [[GetFPS]] (OBSE)
#* However, you can run this every few frames without a drop. This is most useful as an alternative to '''GetSecondsPassed''' as ((Number of frames passed) / GetFPS) approximates the amount of time passed.
#* However, you can run this every few frames without a drop. This is most useful as an alternative to '''GetSecondsPassed''' as ((Number of frames passed) / GetFPS) approximates the amount of time passed.
Anonymous user