Changeset 92fd52d7 in mainline for uspace/app/tetris
- Timestamp:
- 2009-04-09T21:16:50Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7afb4a5
- Parents:
- a2c58f6
- Location:
- uspace/app/tetris
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/scores.c
ra2c58f6 r92fd52d7 290 290 /* me = thisuser(); */ 291 291 /* for (i = 0, sp = &scores[0]; i < nscores; i++, sp++) { */ 292 /* if (sp->hs_level != level || str cmp(sp->hs_name, me) != 0) */292 /* if (sp->hs_level != level || str_cmp(sp->hs_name, me) != 0) */ 293 293 /* continue; */ 294 294 /* if (score > sp->hs_score) { */ … … 418 418 /* *\/ */ 419 419 /* for (j = 0, pu = count; j < numnames; j++, pu++) */ 420 /* if (str cmp(sp->hs_name, pu->name) == 0) */420 /* if (str_cmp(sp->hs_name, pu->name) == 0) */ 421 421 /* break; */ 422 422 /* if (j == numnames) { */ … … 555 555 /* sp->hs_level == level && */ 556 556 /* sp->hs_score == score && */ 557 /* str cmp(sp->hs_name, me) == 0) { */557 /* str_cmp(sp->hs_name, me) == 0) { */ 558 558 /* putpad(SOstr); */ 559 559 /* highlight = 1; */ -
uspace/app/tetris/screen.c
ra2c58f6 r92fd52d7 281 281 { 282 282 283 int l = str len(s);283 int l = str_size(s); 284 284 285 285 moveto(Rows - 2, ((Cols - l) >> 1) - 1); -
uspace/app/tetris/tetris.c
ra2c58f6 r92fd52d7 278 278 /* break; */ 279 279 /* case 'k': */ 280 /* if (str len(keys = optarg) != 6) */280 /* if (str_size(keys = optarg) != 6) */ 281 281 /* usage(); */ 282 282 /* break; */
Note:
See TracChangeset
for help on using the changeset viewer.