Home
last modified time | relevance | path

Searched refs:HighScore (Results 1 – 25 of 103) sorted by relevance

12345

/dports/games/avoision/avoision-1.1/Data/Menus/
H A DHighScore.lua24 HighScore = { }
26 HighScore.count = 4
28 function HighScore.compare(a, b)
40 function HighScore.new(difficulty, name, score)
48 function HighScore.getLowestScore(difficulty)
63 function HighScore.insert(highScore)
68 list:truncate(HighScore.count)
72 function HighScore.save()
94 [Common.difficultyLevel.Easy] = SortedList.new(HighScore.compare),
96 [Common.difficultyLevel.Hard] = SortedList.new(HighScore.compare),
[all …]
/dports/games/fbg2/fbg2-0.4/Data/Menus/
H A DHighScore.lua24 HighScore = { }
26 HighScore.count = 10
28 function HighScore.compare(a, b)
59 function HighScore.getPage(mode, height)
70 function HighScore.getPageName(page)
74 function HighScore.getPageCount()
87 function HighScore.getLowestScore(mode, height)
88 local page = HighScore.getPage(mode, height)
112 list:truncate(HighScore.count)
118 local page = HighScore.getPage(mode, height)
[all …]
/dports/games/cretan-hubris/cretan-hubris-0.2/Data/Menus/
H A DHighScore.lua21 HighScore = { }
23 HighScore.count = 10
25 function HighScore.compare(a, b)
37 function HighScore.new(name, score)
44 function HighScore.getLowestScore()
59 function HighScore.insert(highScore)
64 list:truncate(HighScore.count)
68 function HighScore.save()
83 highScores = SortedList.new(HighScore.compare)
91 HighScore.insert(HighScore.new(highScore[1], highScore[2]))
/dports/games/trackballs/trackballs-1.3.3/src/
H A DhighScore.cc35 static HighScore* highScore = NULL;
37 void* HighScore::load(void* data) { in load()
38 HighScore* highscore = (HighScore*)data; in load()
96 HighScore::HighScore() { in HighScore() function in HighScore
128 scm_with_guile(HighScore::load, (void*)this); in HighScore()
130 HighScore* HighScore::init() { in init()
131 if (!highScore) highScore = new HighScore(); in init()
134 void HighScore::cleanup() { in cleanup()
137 int HighScore::isHighScore(int levelSet, int score) { in isHighScore()
141 void HighScore::addHighScore(int levelSet, int score, char* name) { in addHighScore()
H A DhighScore.h24 class HighScore {
26 HighScore();
28 static HighScore* init();
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/avalanche/
H A Dhighscore.cpp36 HighScore::HighScore(AvalancheEngine *vm) { in HighScore() function in Avalanche::HighScore
40 void HighScore::displayHighScores() { in displayHighScores()
44 void HighScore::saveHighScores() { in saveHighScores()
70 void HighScore::loadHighScroes() { in loadHighScroes()
84 void HighScore::produceDefaultHighScores() { in produceDefaultHighScores()
103 void HighScore::syncHighScores(Common::Serializer &sz) { in syncHighScores()
/dports/games/scummvm/scummvm-2.5.1/engines/avalanche/
H A Dhighscore.cpp36 HighScore::HighScore(AvalancheEngine *vm) { in HighScore() function in Avalanche::HighScore
40 void HighScore::displayHighScores() { in displayHighScores()
44 void HighScore::saveHighScores() { in saveHighScores()
70 void HighScore::loadHighScroes() { in loadHighScroes()
84 void HighScore::produceDefaultHighScores() { in produceDefaultHighScores()
103 void HighScore::syncHighScores(Common::Serializer &sz) { in syncHighScores()
/dports/games/colorcode/ColorCode-0.8.5/
H A Dhighscore.cpp23 HighScore::HighScore() in HighScore() function in HighScore
31 void HighScore::NewGame(int ccnt) in NewGame()
38 int HighScore::GetScore(int rcnt, int t) in GetScore()
45 int HighScore::GetScore() const in GetScore()
/dports/games/xgalaga++/xgalaga++-0.9/
H A Dhighscore.h14 class HighScore {
20 HighScore(int score,
31 inline bool operator<(const HighScore & lhs, const HighScore & rhs)
38 typedef std::map<Coord, std::multiset<HighScore> > MapCoordScore;
56 const std::multiset<HighScore> * Get(Coord window_size, int refresh_rate) const;
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/luainvaders/data/
H A Dhigh_score.rml42 HighScore = HighScore or {}
44 --because we pass it as a plain function in HighScore.OnLoad, we have to pay attention
46 function HighScore.OnRowAdd(_,_,document)
53 function HighScore.OnLoad(window)
56 datagrid:AddEventListener('rowupdate', HighScore.OnRowAdd, false)
59 function HighScore.OnKeyDown(event)
67 …<body template="luawindow" onload="HighScore.OnLoad(document) Game.SubmitHighScore()" onunload="Ga…
/dports/games/ivan/ivan-059/FeLib/Source/
H A Dhscore.cpp104 outputfile HighScore(File.IsEmpty() ? DefaultFile : File); in Save() local
111 HighScore << ushort(HIGH_SCORE_VERSION) << Score in Save()
121 inputfile HighScore(Path, 0, false); in Load() local
123 if(!HighScore.IsOpen()) in Load()
126 HighScore.Get(); in Load()
128 if(HighScore.Eof()) in Load()
132 inputfile HighScore(Path, 0, false); in Load() local
133 HighScore >> Version; in Load()
134 HighScore >> Score >> Entry >> Time >> RandomID >> LastAdd; in Load()
/dports/games/ivan/ivan-059/mihail/Source/
H A Dmihail.cpp97 inputfile HighScore(Filename, 0, false); in DebugDraw() local
99 if(!HighScore.IsOpen()) in DebugDraw()
102 HighScore.Get(); in DebugDraw()
104 if(HighScore.Eof()) in DebugDraw()
107 inputfile HighScore(Filename, 0, false); in DebugDraw() local
109 HighScore >> HVersion; in DebugDraw()
/dports/games/amoebax/amoebax-0.2.1/src/
H A DOptions.cxx110 std::list<HighScore>::iterator
113 std::list<HighScore>::iterator currentScore; in findScorePosition()
132 std::list<HighScore> &
355 HighScore highScore; in loadHighScoreList()
361 HighScore highScore; in loadHighScoreList()
367 HighScore highScore; in loadHighScoreList()
373 HighScore highScore; in loadHighScoreList()
379 HighScore highScore; in loadHighScoreList()
392 std::list<HighScore>::iterator currentScore; in saveHighScoreList()
472 std::list<HighScore>::iterator currentScore = findScorePosition (score); in setHighScore()
[all …]
H A DOptions.h29 typedef std::pair<uint32_t, std::string> HighScore; typedef
95 std::list<HighScore> &getHighScoreList(void);
213 std::list<HighScore>::iterator findScorePosition (uint32_t score);
218 std::list<HighScore> m_HighScore;
/dports/games/bastet/bastet-0.43.2/
H A DConfig.hpp38 struct HighScore{ struct
41 bool operator < (const HighScore &b) const{ in operator <() argument
44 bool operator ==(const HighScore &b) const{ in operator ==() argument
53 …class HighScores: public std::vector<HighScore>{ //a set would not do the right job (think to ties)
/dports/games/viruskiller/viruskiller-1.03/src/
H A DCHighScore.cpp23 HighScore::HighScore() in HighScore() function in HighScore
31 void HighScore::set(const char *name, int score, int kills, int level) in set()
/dports/games/openttd/openttd-12.1/src/
H A Dhighscore.cpp22 HighScore _highscore_table[SP_HIGHSCORE_END][5]; ///< various difficulty-settings; top 5
54 HighScore *hs = _highscore_table[SP_CUSTOM]; in SaveHighScoreValue()
65 memmove(&hs[i + 1], &hs[i], sizeof(HighScore) * (lengthof(_highscore_table[0]) - i - 1)); in SaveHighScoreValue()
106 HighScore *hs = &_highscore_table[SP_MULTIPLAYER][i]; in SaveHighScoreValueNetwork()
130 HighScore *hs; in SaveToHighScore()
160 HighScore *hs; in LoadFromHighScore()
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/docstore/drivertest/
H A Ddrivertest.go1180 type HighScore struct { struct
1194 case *HighScore:
1203 func (h *HighScore) key() string { argument
1214 func (h *HighScore) String() string { argument
1228 var highScores = []*HighScore{
1301 gots := make([]*HighScore, len(highScores))
1414 want: func(h *HighScore) bool {
1424 want: func(h *HighScore) bool {
1477 func filterHighScores(hs []*HighScore, f func(*HighScore) bool) []*HighScore { argument
1478 var res []*HighScore
[all …]
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/docstore/drivertest/
H A Ddrivertest.go1180 type HighScore struct { struct
1194 case *HighScore:
1203 func (h *HighScore) key() string { argument
1214 func (h *HighScore) String() string { argument
1228 var highScores = []*HighScore{
1301 gots := make([]*HighScore, len(highScores))
1414 want: func(h *HighScore) bool {
1424 want: func(h *HighScore) bool {
1477 func filterHighScores(hs []*HighScore, f func(*HighScore) bool) []*HighScore { argument
1478 var res []*HighScore
[all …]
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/docstore/drivertest/
H A Ddrivertest.go1180 type HighScore struct { struct
1194 case *HighScore:
1203 func (h *HighScore) key() string { argument
1214 func (h *HighScore) String() string { argument
1228 var highScores = []*HighScore{
1301 gots := make([]*HighScore, len(highScores))
1414 want: func(h *HighScore) bool {
1424 want: func(h *HighScore) bool {
1477 func filterHighScores(hs []*HighScore, f func(*HighScore) bool) []*HighScore { argument
1478 var res []*HighScore
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/docstore/awsdynamodb/
H A Ddynamo_test.go98 RunQueryFallback: InMemorySortFallback(func() interface{} { return new(drivertest.HighScore) }),
112 func collectHighScores(ctx context.Context, iter driver.DocumentIterator) ([]*drivertest.HighScore,…
113 var hs []*drivertest.HighScore
115 var h drivertest.HighScore
130 hs []*drivertest.HighScore
138 dest, ok := doc.Origin.(*drivertest.HighScore)
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/docstore/awsdynamodb/
H A Ddynamo_test.go98 RunQueryFallback: InMemorySortFallback(func() interface{} { return new(drivertest.HighScore) }),
112 func collectHighScores(ctx context.Context, iter driver.DocumentIterator) ([]*drivertest.HighScore,…
113 var hs []*drivertest.HighScore
115 var h drivertest.HighScore
130 hs []*drivertest.HighScore
138 dest, ok := doc.Origin.(*drivertest.HighScore)
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/docstore/awsdynamodb/
H A Ddynamo_test.go98 RunQueryFallback: InMemorySortFallback(func() interface{} { return new(drivertest.HighScore) }),
112 func collectHighScores(ctx context.Context, iter driver.DocumentIterator) ([]*drivertest.HighScore,…
113 var hs []*drivertest.HighScore
115 var h drivertest.HighScore
130 hs []*drivertest.HighScore
138 dest, ok := doc.Origin.(*drivertest.HighScore)
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/docstore/awsdynamodb/
H A Ddynamo_test.go98 RunQueryFallback: InMemorySortFallback(func() interface{} { return new(drivertest.HighScore) }),
112 func collectHighScores(ctx context.Context, iter driver.DocumentIterator) ([]*drivertest.HighScore,…
113 var hs []*drivertest.HighScore
115 var h drivertest.HighScore
130 hs []*drivertest.HighScore
138 dest, ok := doc.Origin.(*drivertest.HighScore)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/docstore/drivertest/
H A Ddrivertest.go1227 type HighScore struct { struct
1241 case *HighScore:
1250 func (h *HighScore) key() string { argument
1261 func (h *HighScore) String() string { argument
1275 var highScores = []*HighScore{
1348 gots := make([]*HighScore, len(highScores))
1461 want: func(h *HighScore) bool {
1471 want: func(h *HighScore) bool {
1524 func filterHighScores(hs []*HighScore, f func(*HighScore) bool) []*HighScore { argument
1525 var res []*HighScore
[all …]

12345