Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (date == 0)
- {
- struct tm tm;
- memset(&tm, 0, sizeof(tm));
- tm.tm_year = 100;
- tm.tm_mday = 1;
- tm.tm_isdst = -1;
- date = mktime(&tm);
- was = (clock >= date);
- }
- if (!was && clock >= date)
- {
- int j, k;
- be_a_pig = was = -1;
- memset (time_digits, -1, sizeof(time_digits));
- for (i = 0; i < sizeof(base_frames)/sizeof(*base_frames); i++)
- for (j = 0; j < character_height; j++)
- for (k = 0; k < MAX_SEGS_PER_LINE; k++)
- {
- # define SHIFT(x) x=character_width-x
- SHIFT(base_frames[i]->scanlines[j].left[k]);
- SHIFT(base_frames[i]->scanlines[j].right[k]);
- # undef SHIFT
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment