• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

pixmaps/H03-May-2022-

ImakefileH A D03-May-20221.4 KiB4935

MakefileH A D03-Oct-19955.5 KiB222186

Makefile.HP-UXH A D03-Oct-19955.5 KiB222186

Makefile.LinuxH A D03-Oct-19955.5 KiB222186

READMEH A D03-Oct-19953.8 KiB8567

arcs.CH A D07-Aug-19954.7 KiB205148

arcs.hH A D07-Aug-19953.6 KiB15081

ball.CH A D07-Aug-199513.2 KiB599449

ball.hH A D07-Aug-19953.9 KiB13579

billard.CH A D07-Aug-19955.7 KiB211167

billard.hH A D07-Aug-19951.7 KiB7960

bugs.hH A D07-Aug-19954.2 KiB14990

cannon.CH A D07-Aug-19951.9 KiB8465

cannon.hH A D07-Aug-1995684 4332

carrom.CH A D03-May-202211.4 KiB426340

carrom.hH A D07-Aug-19953.3 KiB153116

curling.CH A D07-Aug-19954.1 KiB173132

curling.hH A D07-Aug-19951.7 KiB9067

cursor.hH A D07-Aug-1995327 98

dynobj.CH A D07-Aug-19952.7 KiB10577

dynobj.hH A D07-Aug-19952.4 KiB8949

flying.catH A D03-Oct-199514.7 KiB463266

flying.manH A D18-Jul-199510.6 KiB291276

game.CH A D07-Aug-19954.9 KiB226182

game.hH A D07-Aug-19952.2 KiB10074

global-d.hH A D07-Aug-19956 KiB208110

global-e.hH A D07-Aug-19955.8 KiB203112

global.CH A D07-Aug-199511.3 KiB384330

global.hH A D07-Aug-19956.3 KiB224121

goal.CH A D07-Aug-1995682 4432

goal.hH A D07-Aug-1995319 2415

graph.CH A D07-Aug-19955.4 KiB217189

graph.hH A D07-Aug-19953.4 KiB129102

hockey.CH A D07-Aug-19957 KiB248193

hockey.hH A D07-Aug-19952 KiB10880

keeper.CH A D07-Aug-19954.6 KiB186148

keeper.hH A D07-Aug-19951.3 KiB7251

logfile.CH A D07-Aug-19952 KiB9675

logfile.hH A D03-Oct-19957.6 KiB2145

main.CH A D03-May-202213.6 KiB481418

matrix.CH A D07-Aug-19955.5 KiB297235

matrix.hH A D07-Aug-19952.8 KiB13196

matrix_x.CH A D07-Aug-1995489 3521

mover.CH A D07-Aug-19952.4 KiB138105

mover.hH A D07-Aug-19952.4 KiB10659

object.CH A D07-Aug-19951.8 KiB9375

object.hH A D07-Aug-19952 KiB8847

objtab.CH A D07-Aug-1995523 3831

objtab.hH A D07-Aug-19952.1 KiB8163

pball.CH A D03-Oct-199513.9 KiB668555

pball.hH A D07-Aug-19954.1 KiB155115

pcon.CH A D07-Aug-19954.1 KiB15597

pcon.hH A D07-Aug-1995620 3628

pocket.CH A D07-Aug-19951,023 5442

pocket.hH A D07-Aug-1995334 2518

pointer.hH A D07-Aug-1995332 98

pool.CH A D07-Aug-19954.3 KiB177135

pool.hH A D07-Aug-19951.3 KiB6951

pool8.CH A D03-May-20229 KiB374308

pool8.hH A D07-Aug-19951.6 KiB8161

real.CH A D07-Aug-1995883 5339

real.hH A D08-Aug-19955.9 KiB193147

rgb.CH A D08-Aug-19953.5 KiB148133

rgb.hH A D07-Aug-1995370 2316

snooker.CH A D07-Aug-19955.6 KiB246201

snooker.hH A D07-Aug-19951.3 KiB6850

stdinc.hH A D07-Aug-19955.4 KiB21098

stipple.hH A D07-Aug-1995284 76

vec2.CH A D07-Aug-19952.8 KiB12589

vec2.hH A D07-Aug-19955.1 KiB210154

vec3.CH A D07-Aug-19952.4 KiB11190

vec3.hH A D07-Aug-19956.6 KiB272201

vector.CH A D07-Aug-19953.4 KiB189157

vector.hH A D07-Aug-19953 KiB141106

wall.CH A D07-Aug-19955.9 KiB257181

wall.hH A D07-Aug-19951.5 KiB6437

xbench.CH A D08-Aug-199513 KiB460325

xcannonH A D01-Jan-19700

xcarromH A D01-Jan-19700

xcurlingH A D01-Jan-19700

xgraph.CH A D03-May-202223 KiB942743

xgraph.hH A D07-Aug-19951.1 KiB6147

xhockeyH A D01-Jan-19700

xmover.CH A D03-May-202232.7 KiB1,3211,037

xmover.hH A D07-Aug-19957 KiB252184

xpball.CH A D03-Oct-199513.7 KiB526398

xpball.hH A D07-Aug-19951.9 KiB7248

xpoolH A D01-Jan-19700

xsnookerH A D01-Jan-19700

xsound.CH A D26-Sep-19953.2 KiB162126

xsound.hH A D07-Aug-1995169 96

README

1     ______      _
2    / __/ /_  __(_)___  ____ _
3   / /_/ / / / / / __ \/ __ `/            original source available at
4  / __/ / /_/ / / / / / /_/ /             ftp.x.org:/contrib/games/multiplayer
5 /_/ /_/\__, /_/_/ /_/\__, /  V6.20
6       /____/        /____/
7
8
9 To create the executable, you can either use one of the supplied makefiles
10 or the Imakefile. You should take a look at the beginning of the Imakefile,
11 if you need to change one of the parameters.
12
13 After linking, you should be able to just use it as the manual page says.
14 But if you want to install it to be use by more persons or if you're just
15 curious, you might want to know a bit more about internals.
16
17
18 Since the main purpose for me was not directly writing a game, but more to
19 experiment with some algorithms, many things are configurable in the program.
20 All the parameters that would change the executable are to be set in the file
21 'global.h'. One important thing is to name a directory, where the program can
22 later on read and write data-files for the pixmap-data, that is needed for the
23 smooth ball animation in the deluxe-version of pool. If the data-files are not
24 accessible, the program has to recompute it, which might take a lot of time.
25 (For information, on my 1280 pixel wide screen, I need 37x37=1369 bitmaps for
26  half balls and 75x37=2775 bitmaps for full balls in the default size. When
27  too many bitmaps will get neccessary you might get memory problems, e.g.
28  on X-Terminals.)
29
30 An interresting thing to experiment with might be the Real-Class. Real is
31 usually defined as float or double. But there is also a complete inline-class
32 available for it. Unfortunately using the class isn't too fast, but this
33 probably depends on the smartness of the compiler. (Anyway, does anybody have
34 a similar Real-Class implemented by using integer? I could really use it on
35 my slow 386).
36
37 There is also the main DEBUG-flag, which enables debugging switches all over
38 the source and should usually be unset, even so the switch don't consume too
39 much time.
40
41 Constant game parameters like object size and friction are all defined in
42 'global.C'. But for not always re-compiling the program when changing them
43 they can also be set dynamically in the file 'presets.txt'. The correct syntax
44 and the current value can be seen with the option -presets when starting the
45 game.
46
47
48 After installation, I would be pleased if you send me a short note
49 just for curiosity and tell me:
50 - if there were any problems and what they were
51 - if you like it and what you think is missing
52 The more notes I get, the higher the chances that I will spend
53 more time on that packages.
54
55
56 Have fun.
57
58        __  __     __                __     __  __                 _
59       / / / /__  / /___ ___  __  __/ /_   / / / /___  ___  ____  (_)___ _
60      / /_/ / _ \/ / __ `__ \/ / / / __/  / /_/ / __ \/ _ \/ __ \/ / __ `/
61     / __  /  __/ / / / / / / /_/ / /_   / __  / /_/ /  __/ / / / / /_/ /
62  _ /_/ /_/\___/_/_/ /_/ /_/\__,_/\__/  /_/ /_/\____/\___/_/ /_/_/\__, /
63 /__________________________________e-mail: Helmut.Hoenig@hub.de______/
64
65
66
67 History:
68 ========
69
70 V6.3  - just a few includes were changed to make the program more portable.
71       - a SOLARIS switch was added
72 V6.9  - new background colors / new balls / includes Xos.h /
73         improved color handling / less ANSI C
74 V6.11 - new flags: -nohints, -red, -green, -blue
75         minor corrections
76 V6.15 - enhanced (much faster on X-Terminals) ball animation
77         waits with select(..) to reduce CPU-usage in idle periods
78         interpixel-motion for fine adjustment of cursor
79 V6.18 - corrections in setting up colors (fvwm now loses the colormap struggle :-)
80         enhanced reset feature
81         pool9-class
82 V6.19 - update for gcc-2.7.0
83 V6.20 - removement of the 64bit limitation?
84       - Imakefile supplied
85