Home
last modified time | relevance | path

Searched refs:highscore (Results 1 – 25 of 791) sorted by relevance

12345678910>>...32

/dports/games/ctris/ctris-0.42.1/
H A Dhighscore.c9 highscore->entry[i].score = 0; in init_highscore()
10 highscore->entry[i].name[0] = '\0'; in init_highscore()
11 highscore->entry[i].time = 0; in init_highscore()
20 init_highscore(highscore); in read_highscore()
45 max = highscore->entry[n].score; in sort_entries()
60 sort_entries(highscore); in write_highscore()
72 struct highscore_struct highscore; in add_to_highscore() local
77 read_highscore(&highscore); in add_to_highscore()
78 highscore.entry[9].score = score; in add_to_highscore()
81 write_highscore(&highscore); in add_to_highscore()
[all …]
/dports/games/xdigger/xdigger-1.0.10/
H A Dhighscore.c42 ScoreEntry highscore[20]; variable
71 n = fread(highscore, sizeof(highscore), 1, filehandle); in LoadHighScore()
76 highscore[0].score = 10000; strcpy(highscore[0].name, "--------------"); in LoadHighScore()
77 highscore[1].score = 9000; strcpy(highscore[1].name, "XDigger"); in LoadHighScore()
78 highscore[2].score = 8000; strcpy(highscore[2].name, "(c) 1988-99 by"); in LoadHighScore()
79 highscore[3].score = 7000; strcpy(highscore[3].name, "Alexander Lang"); in LoadHighScore()
80 highscore[4].score = 6000; strcpy(highscore[4].name, "--------------"); in LoadHighScore()
105 n = fwrite(highscore, sizeof(highscore), 1, filehandle); in SaveHighScore()
148 highscore[j].score = highscore[j-1].score; in InsertScore()
149 strcpy(highscore[j].name, highscore[j-1].name); in InsertScore()
[all …]
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/scenario/
H A DScenarioRepository.cpp119 SafeFree(highscore->fileName); in scenario_highscore_free()
120 SafeFree(highscore->name); in scenario_highscore_free()
121 SafeDelete(highscore); in scenario_highscore_free()
262 entry.highscore = nullptr; in CreateNewScenarioEntry()
438 scenario_highscore_entry* highscore = scenario->highscore; in TryRecordHighscore() local
439 if (highscore == nullptr || companyValue > highscore->company_value in TryRecordHighscore()
440 … || (String::IsNullOrEmpty(highscore->name) && companyValue == highscore->company_value)) in TryRecordHighscore()
442 if (highscore == nullptr) in TryRecordHighscore()
446 scenario->highscore = highscore; in TryRecordHighscore()
710 return highscore; in InsertHighscore()
[all …]
/dports/games/moon-buggy/moon-buggy-1.0.51/
H A Dhighscore.c139 highscore[n].level = 1; in randomize_entry()
142 highscore[n].new = 0; in randomize_entry()
209 highscore[i].new = 0; in read_version2_data()
243 highscore[i].new = 0; in read_version3_data()
311 highscore[i].score, highscore[i].level, date, in write_data()
312 highscore[i].name); in write_data()
522 i+1, highscore[i].score, highscore[i].level, date, expire, in show_highscores()
523 highscore[i].name); in show_highscores()
578 if (highscore[i].new) { in print_scores()
595 i+1, highscore[i].score, highscore[i].level, date, expire, in print_scores()
[all …]
/dports/games/ivan/ivan-059/FeLib/Source/
H A Dhscore.cpp24 long highscore::GetSize() const { return Entry.size(); } in GetSize()
26 highscore::highscore(cfestring& File) : LastAdd(0xFF), Version(HIGH_SCORE_VERSION), DefaultFile(Fil… in highscore() function in highscore
28 truth highscore::Add(long NewScore, cfestring& NewEntry, in Add()
67 void highscore::Draw() const in Draw()
102 void highscore::Save(cfestring& File) const in Save()
116 void highscore::Load(cfestring& File) in Load()
137 truth highscore::MergeToFile(highscore* To) const in MergeToFile()
159 int highscore::Find(long AScore, cfestring& AEntry, in Find()
172 truth highscore::LastAddFailed() const in LastAddFailed()
175 void highscore::Clear() in Clear()
[all …]
/dports/games/palomino/palomino/tests/base/src/
H A Dtest_conf_bin.cc38 int highscore; in Test1() local
62 if ( config.Read( "highscore", highscore ) && highscore == right_highscore ) in Test1()
63 { CDEBUG << "(ok) highscore = " << highscore << std::endl; } in Test1()
95 int highscore; in Test2() local
100 if ( config.Read( "highscore", highscore ) && highscore == right_highscore ) in Test2()
134 int highscore; in Test3() local
143 if ( ! config.Read( key_highscore, highscore ) || highscore != right_highscore ) in Test3()
153 if ( ! config.Read( key_highscore, highscore ) || highscore != right_highscore ) in Test3()
163 if ( ! config.Read( key_highscore, highscore ) || highscore != right_highscore ) in Test3()
186 int highscore; in Test4() local
[all …]
/dports/games/sol/sol-1.0.8/
H A Dscore.c133 scoreFree(highscore[n]); in scoreDelete()
135 highscore[q] = highscore[q + 1]; in scoreDelete()
151 highscore[q] = highscore[q - 1]; in scoreInsert()
152 highscore[n] = hs; in scoreInsert()
233 scoreFree(highscore[numHighscores]); in scoreReadScoreLines()
234 highscore[numHighscores] = hs; in scoreReadScoreLines()
248 hs = highscore[q]; in scoreWriteScoreLines()
286 if (highscore[q]->score > hs->score) in scorePossiblyAddEntry()
326 highscore[q] = scoreNew(); in scoreInit()
338 scoreFree(highscore[q]); in scoreFinish()
[all …]
/dports/games/rockdodger/rockdodger-1.1.4/
H A Dhighscore_io.c12 struct highscore high[MAXIMUM_HIGH_SCORE_ENTRIES] = {
52 const struct highscore *x = xptr; in compare_highscore()
53 const struct highscore *y = yptr; in compare_highscore()
86 long int highscore; in read_high_score_table() local
92 scanret = fscanf(f, "%ld %1023[^\n]", &highscore, s); in read_high_score_table()
94 printf("i=%d scanret=%d pos=%04lX highscore=%5ld '%s'\n", i, scanret, ftell(f), highscore, s); in read_high_score_table()
105 high[i].score = highscore; in read_high_score_table()
110 high[i].score = highscore; in read_high_score_table()
119 qsort(high, MAXIMUM_HIGH_SCORE_ENTRIES, sizeof(struct highscore), compare_highscore); in read_high_score_table()
/dports/games/lugaru/lugaru-c7b99378439735c60f84869b05c6ebde53083667/Source/User/
H A DAccount.hpp31 int highscore; member
38 highscore = 0; in CampaignProgress()
91 if (s > campaignProgress[currentCampaign].highscore) { in setCampaignScore()
92 campaignProgress[currentCampaign].highscore = s; in setCampaignScore()
112 return campaignProgress[currentCampaign].highscore; in getCampaignHighScore()
116 return highscore[i]; in getHighScore()
142 int highscore[50]; member in Account
H A DAccount.cpp44 memset(highscore, 0, sizeof(highscore)); in Account()
74 campaignProgress[campaignName].highscore = fhighscore; in Account()
100 highscore[i] = fscore; in Account()
132 fpackf(tfile, "Bf", float(it->second.highscore)); in save()
146 fpackf(tfile, "Bf", float(highscore[j])); in save()
232 if (score > highscore[level]) { in winLevel()
233 highscore[level] = score; in winLevel()
/dports/irc/atheme-services/atheme-7.2.9/modules/chanfix/
H A Dfix.c101 unsigned int highscore = 0; in chanfix_get_highscore() local
110 if (score > highscore) in chanfix_get_highscore()
111 highscore = score; in chanfix_get_highscore()
114 return highscore; in chanfix_get_highscore()
119 unsigned int highscore, t, threshold; in chanfix_get_threshold() local
121 highscore = chanfix_get_highscore(chan); in chanfix_get_threshold()
345 unsigned int highscore; in chanfix_cmd_fix() local
374 if (highscore < CHANFIX_MIN_FIX_SCORE) in chanfix_cmd_fix()
462 unsigned int highscore = 0; in chanfix_cmd_info() local
631 unsigned int highscore, score; in chanfix_can_register() local
[all …]
/dports/games/bsdtris/bsdtris-1.1_2/
H A Dscores.c78 static struct highscore scores[NUMSPOTS];
80 static int checkscores(struct highscore *, int);
83 static void printem(int, int, struct highscore *, int, const char *);
156 struct highscore *sp;
250 const struct highscore *a, *b;
278 struct highscore *hs; in checkscores()
281 struct highscore *sp;
354 struct highscore *sp;
409 struct highscore *hs;
413 struct highscore *sp;
/dports/games/libretro-o2em/libretro-o2em-f874a75/src/
H A Dscore.c101 void save_highscore(int highscore, char *scorefile) in save_highscore() argument
105 highscore = highscore==app_data.default_highscore?0:highscore; in save_highscore()
113 if (fprintf(fn,"%i",highscore)<=0) in save_highscore()
/dports/games/ivan/ivan-059/FeLib/Include/
H A Dhscore.h31 class highscore
34 highscore(cfestring&);
40 void AddToFile(highscore*) const;
41 truth MergeToFile(highscore*) const;
/dports/games/typespeed/typespeed-0.6.5/rules/
H A Dtemplate24 # You can adjust your highscore file with these values. highscore can
26 # no - do not create a highscore entry
27 # yes - allow highscore entries
30 # in your highscore. Without this barrier, a player could enter one
31 # word correct and flood your highscore (much easier).
33 highscore = yes
/dports/biology/fasta3/fasta-36.3.8/src/
H A Dtatstats.c297 …newtat->probs = (double *) calloc(f_str->tatprobs[index]->highscore - f_str->tatprobs[index]->lows… in calc_tatusov()
304 (f_str->tatprobs[index]->highscore - f_str->tatprobs[index]->lowscore + 1) * sizeof(double)); in calc_tatusov()
362 is = i = newtat->highscore - newtat->lowscore; in calc_tatusov()
410 int i, j, k, l, m, n, N, highscore, lowscore; in generate_tatprobs() local
439 highscore = lowscore = 0; in generate_tatprobs()
441 highscore = oldtat->highscore; in generate_tatprobs()
449 highscore = in generate_tatprobs()
450 (highrange[i] = highscore + max_score(pam2[query[begin + i]], nsq)); in generate_tatprobs()
475 N = highscore - lowscore; in generate_tatprobs()
497 (oldtat->highscore - oldtat->lowscore + 1) * sizeof(double)); in generate_tatprobs()
[all …]
/dports/games/libkdegames/libkdegames-21.12.3/src/highscore/
H A DINSTALL1 Installation notes for the highscore files ; this is only relevant if you
2 configured libkdegames with option --enable-highscore-dir=DIR (usually DIR is
3 /var/games) for using system-wide highscore files.
5 For each game using the highscore system :
H A Dconfig-highscore.h.in1 /* config-highscore.h. Generated by cmake from config-highscore.h.cmake */
3 /* The system-wide highscore directory - TODO */
/dports/games/glsfcave/glsfcave/
H A Dmain.c48 unsigned int score,highscore,state; variable
203 len=snprintf(buf,SCOREBUFSIZE, "HS: %u",highscore); in drawScore()
205 len=snprintf(buf,SCOREBUFSIZE, "%u (HS: %u)",score,highscore); in drawScore()
256 highscore=MAX(highscore,score); in syncHS()
273 highscore=MAX(recordedHS,highscore); in syncHS()
274 if(highscore!=recordedHS) in syncHS()
280 fprintf(fh,"%u\n",highscore); in syncHS()
435 highscore=0;
/dports/www/ilias6/ILIAS-6.14/Modules/LTIConsumer/classes/
H A Dclass.ilLTIConsumerSettingsFormGUI.php167 …$highscore = new ilCheckboxInputGUI($DIC->language()->txt("highscore_enabled"), "highscore_enabled…
168 $highscore->setValue(1);
169 $highscore->setChecked($this->object->getHighscoreEnabled());
170 $highscore->setInfo($DIC->language()->txt("highscore_description"));
183 $highscore->addSubItem($highscore_tables);
191 $highscore->addSubItem($highscore_top_num);
196 $highscore->addSubItem($highscore_achieved_ts);
201 $highscore->addSubItem($highscore_percentage);
206 $highscore->addSubItem($highscore_wtime);
208 $item->addSubItem($highscore);
/dports/biology/wise/wise2.4.1/src/HMMer2/
H A Dhistogram.c72 h->highscore = INT_MIN; in AllocHistogram()
171 if (score > h->highscore) h->highscore = score; in AddToHistogram()
254 for (i = h->lowscore; i <= h->highscore; i++) in PrintASCIIHistogram()
274 else if (i == highbound && i != h->highscore) in PrintASCIIHistogram()
371 for (sc = h->lowscore; sc <= h->highscore; sc++) in PrintXMGRHistogram()
507 hsize = h->highscore - h->lowscore + 1; in EVDBasicFit()
518 for (sc = h->lowscore; sc <= h->highscore; sc++) in EVDBasicFit()
530 for (sc = h->lowscore; sc < h->highscore; sc++) in EVDBasicFit()
603 highbound = MIN(high_hint, h->highscore); in ExtremeValueFitHistogram()
799 for (sc = h->lowscore; sc <= h->highscore; sc++) in GaussianFitHistogram()
[all …]
/dports/games/blackshadeselite/blackshadeselite/Source/
H A DConfig.cpp64 highscore = 0; in Config()
175 ipstream >> highscore; in ReadHighScore()
187 if(!ipstream || score > highscore) { in WriteHighScore()
189 highscore = score; in WriteHighScore()
190 opstream << highscore; in WriteHighScore()
/dports/games/libkdegames/libkdegames-21.12.3/po/ml/
H A Dlibkdegames5.po20 #: highscore/khighscore.cpp:148
25 #: highscore/khighscore.cpp:149
32 #: highscore/kscoredialog.cpp:35
42 #: highscore/kscoredialog.cpp:108
47 #: highscore/kscoredialog.cpp:110
52 #: highscore/kscoredialog.cpp:112
57 #: highscore/kscoredialog.cpp:114
62 #: highscore/kscoredialog.cpp:276
67 #: highscore/kscoredialog.cpp:299
73 #: highscore/kscoredialog.cpp:565
[all …]
/dports/games/openbubbles/openbubbles-1.2/src/
H A Dhighscores.h64 class highscore
67 highscore(string name,int score);
76 extern vector<highscore> high_scores;
/dports/games/ivan/ivan-059/mihail/Source/
H A Dmihail.cpp32 highscore Input(argv[2]); in main()
62 highscore Input(argv[1]); in main()
70 highscore Output(argv[2]); in main()
116 highscore Input(InputFilename); in OutputHTML()

12345678910>>...32