Mercurial > hg > dmlib
comparison tools/ppl.c @ 1562:83979ecc6576
Bump version and copyright of PPL/CBP.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 13 May 2018 06:40:11 +0300 |
parents | b6ee934496d1 |
children | d1e2f7a22fb8 |
comparison
equal
deleted
inserted
replaced
1561:b6ee934496d1 | 1562:83979ecc6576 |
---|---|
1 /* | 1 /* |
2 * Cyrbe Pasci Player - A simple SDL-based UI for XM module playing | 2 * Cyrbe Pasci Player - A simple SDL-based UI for XM module playing |
3 * Programmed and designed by Matti 'ccr' Hamalainen | 3 * Programmed and designed by Matti 'ccr' Hamalainen |
4 * (C) Copyright 2012-2015 Tecnic Software productions (TNSP) | 4 * (C) Copyright 2012-2018 Tecnic Software productions (TNSP) |
5 * | 5 * |
6 * Please read file 'COPYING' for information on license and distribution. | 6 * Please read file 'COPYING' for information on license and distribution. |
7 */ | 7 */ |
8 #include "dmlib.h" | 8 #include "dmlib.h" |
9 #include <SDL.h> | 9 #include <SDL.h> |
541 | 541 |
542 engine.optScrWidth = 640; | 542 engine.optScrWidth = 640; |
543 engine.optScrHeight = 480; | 543 engine.optScrHeight = 480; |
544 engine.optScrDepth = 32; | 544 engine.optScrDepth = 32; |
545 | 545 |
546 dmInitProg("CBP", "Cyrbe Basci Player", "0.1", NULL, NULL); | 546 dmInitProg("CBP", "Cyrbe Basci Player", "0.2", NULL, NULL); |
547 | 547 |
548 // Parse arguments | 548 // Parse arguments |
549 if (!dmArgsProcess(argc, argv, optList, optListN, | 549 if (!dmArgsProcess(argc, argv, optList, optListN, |
550 argHandleOpt, argHandleFile, OPTH_BAILOUT)) | 550 argHandleOpt, argHandleFile, OPTH_BAILOUT)) |
551 exit(1); | 551 exit(1); |
849 if (force) | 849 if (force) |
850 { | 850 { |
851 dmClearSurface(engine.screen, col.boxBg); | 851 dmClearSurface(engine.screen, col.boxBg); |
852 | 852 |
853 dmDrawBMTextQ(engine.screen, font, DMD_TRANSPARENT, 5, 5, | 853 dmDrawBMTextQ(engine.screen, font, DMD_TRANSPARENT, 5, 5, |
854 "%s v%s by ccr/TNSP - (c) Copyright 2012-2017 TNSP", | 854 "%s v%s by ccr/TNSP - (c) Copyright 2012-2018 TNSP", |
855 dmProgDesc, dmProgVersion); | 855 dmProgDesc, dmProgVersion); |
856 | 856 |
857 dmDrawBMTextQ(engine.screen, font, DMD_TRANSPARENT, 5, 5 + 12 + 11, | 857 dmDrawBMTextQ(engine.screen, font, DMD_TRANSPARENT, 5, 5 + 12 + 11, |
858 "Song: '%s'", | 858 "Song: '%s'", |
859 engine.mod->moduleName); | 859 engine.mod->moduleName); |