This file is indexed.

/usr/share/games/angrydd/wipes.py is in angrydd 1.0.1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# wipes.py - a set of simple screen wipes (in and out)
# Copyright 2004 Joe Wreschnig <piman@sacredchao.net>
# Released under the terms of the GNU GPL v2.
__revision__ = "$Id: wipes.py 286 2004-09-04 03:51:59Z piman $"

import random
from pygame import display, draw, time, Rect, Surface
from itertools import chain

c = time.Clock()

def line_out_l2r():
    screen = display.get_surface()
    w, h = screen.get_size()
    for x in chain(xrange(0, w, 2), xrange(w - 1, 0, -2)):
        display.update(draw.line(screen, [0, 0, 0], [x, 0], [x, h]))
        c.tick(700)

def line_out_r2l():
    screen = display.get_surface()
    w, h = screen.get_size()
    for x in chain(xrange(w - 1, 0, -2), xrange(0, w, 2)):
        display.update(draw.line(screen, [0, 0, 0], [x, 0], [x, h]))
        c.tick(700)

def line_out_t2b():
    screen = display.get_surface()
    w, h = screen.get_size()
    for y in chain(xrange(0, h, 2), xrange(h - 1, 0, -2)):
        display.update(draw.line(screen, [0, 0, 0], [0, y], [w, y]))
        c.tick(700)

def line_out_b2t():
    screen = display.get_surface()
    w, h = screen.get_size()
    for y in chain(xrange(h - 1, 0, -2), xrange(0, h, 2)):
        display.update(draw.line(screen, [0, 0, 0], [0, y], [w, y]))
        c.tick(700)

def line_in_l2r(surf):
    screen = display.get_surface()
    w, h = screen.get_size()
    for x in chain(xrange(0, w, 2), xrange(w - 1, 0, -2)):
        display.update(screen.blit(surf, [x, 0, 1, h], [x, 0, 1, h]))
        c.tick(700)

def line_in_r2l(surf):
    screen = display.get_surface()
    w, h = screen.get_size()
    for x in chain(xrange(w - 1, 0, -2), xrange(0, w, 2)):
        display.update(screen.blit(surf, [x, 0, 1, h], [x, 0, 1, h]))
        c.tick(700)

def line_in_t2b(surf):
    screen = display.get_surface()
    w, h = screen.get_size()
    for y in chain(xrange(0, h, 2), xrange(h - 1, 0, -2)):
        display.update(screen.blit(surf, [0, y, w, 1], [0, y, w, 1]))
        c.tick(700)

def line_in_b2t(surf):
    screen = display.get_surface()
    w, h = screen.get_size()
    for y in chain(xrange(h - 1, 0, -2), xrange(0, h, 2)):
        display.update(screen.blit(surf, [0, y, w, 1], [0, y, w, 1]))
        c.tick(700)

OUTS = [line_out_l2r, line_out_r2l, line_out_b2t, line_out_t2b]
INS = [line_in_l2r, line_in_r2l, line_in_b2t, line_in_t2b]

def wipe_out(): random.choice(OUTS)()
def wipe_in(s): random.choice(INS)(s)