From cfbafe853355ed08af06a5a6658c792fa798f0af Mon Sep 17 00:00:00 2001 From: Jeff Harris Date: Tue, 29 Oct 2019 17:17:46 -0700 Subject: [PATCH] move to src --- .gitignore | 1 + Makefile | 30 + README.md | 2 + parse_watcom_dump.py | 34 +- {BRSRC13 => src/BRSRC13}/CORE/DOSIO/eventq.c | 0 {BRSRC13 => src/BRSRC13}/CORE/DOSIO/eventq.h | 0 {BRSRC13 => src/BRSRC13}/CORE/DOSIO/readmse.c | 0 {BRSRC13 => src/BRSRC13}/CORE/DOSIO/readmse.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/assocarr.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/assocarr.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brbegin.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brbegin.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brbhook.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brbhook.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brlists.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brlists.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brqsort.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/brqsort.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/bswap.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/bswap.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/datafile.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/datafile.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/devlist.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/devlist.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/devsetup.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/devsetup.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/diag.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/diag.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/error.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/error.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/file.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/file.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/fwsetup.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/fwsetup.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/genfile.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/genfile.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/image.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/image.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/lexer.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/lexer.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/loader.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/loader.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/mem.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/mem.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/object.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/object.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/objectc.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/objectc.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/pattern.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/pattern.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/printf.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/printf.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/register.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/register.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/resource.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/resource.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/resreg.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/resreg.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/scratch.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/scratch.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/sys_conf.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/sys_conf.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/token.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/token.h | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/tokenval.c | 0 {BRSRC13 => src/BRSRC13}/CORE/FW/tokenval.h | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/himage.c | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/himage.h | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hook.c | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hook.h | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hostcfg.c | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hostcfg.h | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hstsetup.c | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/hstsetup.h | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/memmgmt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/HOST/memmgmt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/angles.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/angles.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix23.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix23.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix34.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix34.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix4.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix4.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/plane.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/plane.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/quat.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/quat.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/transfrm.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/transfrm.h | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/vector.c | 0 {BRSRC13 => src/BRSRC13}/CORE/MATH/vector.h | 0 .../BRSRC13}/CORE/PIXELMAP/fontptrs.c | 0 .../BRSRC13}/CORE/PIXELMAP/fontptrs.h | 0 .../BRSRC13}/CORE/PIXELMAP/genclip.c | 0 .../BRSRC13}/CORE/PIXELMAP/genclip.h | 0 .../BRSRC13}/CORE/PIXELMAP/gencopy.c | 0 .../BRSRC13}/CORE/PIXELMAP/gencopy.h | 0 .../BRSRC13}/CORE/PIXELMAP/pixelmap.c | 0 .../BRSRC13}/CORE/PIXELMAP/pixelmap.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmdsptch.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmdsptch.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmfile.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmfile.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmgen.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmgen.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmmem.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmmem.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmnull.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmnull.h | 0 .../BRSRC13}/CORE/PIXELMAP/pmsetup.c | 0 .../BRSRC13}/CORE/PIXELMAP/pmsetup.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/brexcept.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/brexcept.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/logwrite.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/logwrite.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/math.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/math.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stddiag.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stddiag.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdfile.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdfile.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdlib.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdlib.h | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdmem.c | 0 {BRSRC13 => src/BRSRC13}/CORE/STD/stdmem.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/actsupt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/actsupt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/custsupt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/custsupt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/dbsetup.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/dbsetup.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mat.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mat.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mdl.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mdl.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_otab.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_otab.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/enables.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/enables.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/matsupt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/matsupt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/modrend.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/modrend.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/modsupt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/modsupt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/otable.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/otable.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmap.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmap.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmatl.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmatl.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmesh.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmesh.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/preptab.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/preptab.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/regsupt.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/regsupt.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/render.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/render.h | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/v1dbfile.c | 0 {BRSRC13 => src/BRSRC13}/CORE/V1DB/v1dbfile.h | 0 .../DETHRACE}/source/common/brucetrk.c | 0 .../DETHRACE}/source/common/brucetrk.h | 0 .../DETHRACE}/source/common/car.c | 0 .../DETHRACE}/source/common/car.h | 0 .../DETHRACE}/source/common/controls.c | 0 .../DETHRACE}/source/common/controls.h | 0 .../DETHRACE}/source/common/crush.c | 0 .../DETHRACE}/source/common/crush.h | 0 .../DETHRACE}/source/common/cutscene.c | 0 .../DETHRACE}/source/common/cutscene.h | 0 .../DETHRACE}/source/common/demo.c | 0 .../DETHRACE}/source/common/demo.h | 0 .../DETHRACE}/source/common/depth.c | 0 .../DETHRACE}/source/common/depth.h | 0 .../DETHRACE}/source/common/displays.c | 0 .../DETHRACE}/source/common/displays.h | 0 .../DETHRACE}/source/common/drfile.c | 0 .../DETHRACE}/source/common/drfile.h | 0 .../DETHRACE}/source/common/drmem.c | 0 .../DETHRACE}/source/common/drmem.h | 0 .../DETHRACE}/source/common/errors.c | 0 .../DETHRACE}/source/common/errors.h | 0 .../DETHRACE}/source/common/finteray.c | 0 .../DETHRACE}/source/common/finteray.h | 0 .../DETHRACE}/source/common/flicplay.c | 0 .../DETHRACE}/source/common/flicplay.h | 0 .../DETHRACE}/source/common/globvars.c | 0 .../DETHRACE}/source/common/globvars.h | 0 .../DETHRACE}/source/common/globvrbm.c | 0 .../DETHRACE}/source/common/globvrbm.h | 0 .../DETHRACE}/source/common/globvrkm.c | 0 .../DETHRACE}/source/common/globvrkm.h | 0 .../DETHRACE}/source/common/globvrme.c | 0 .../DETHRACE}/source/common/globvrme.h | 0 .../DETHRACE}/source/common/globvrpb.c | 0 .../DETHRACE}/source/common/globvrpb.h | 0 .../DETHRACE}/source/common/grafdata.c | 0 .../DETHRACE}/source/common/grafdata.h | 0 .../DETHRACE}/source/common/graphics.c | 0 .../DETHRACE}/source/common/graphics.h | 0 .../DETHRACE}/source/common/init.c | 0 .../DETHRACE}/source/common/init.h | 0 .../DETHRACE}/source/common/input.c | 0 .../DETHRACE}/source/common/input.h | 0 .../DETHRACE}/source/common/intrface.c | 0 .../DETHRACE}/source/common/intrface.h | 0 .../DETHRACE}/source/common/loading.c | 0 .../DETHRACE}/source/common/loading.h | 0 .../DETHRACE}/source/common/loadsave.c | 0 .../DETHRACE}/source/common/loadsave.h | 0 .../DETHRACE}/source/common/main.c | 0 .../DETHRACE}/source/common/main.h | 0 .../DETHRACE}/source/common/mainloop.c | 0 .../DETHRACE}/source/common/mainloop.h | 0 .../DETHRACE}/source/common/mainmenu.c | 0 .../DETHRACE}/source/common/mainmenu.h | 0 .../DETHRACE}/source/common/netgame.c | 0 .../DETHRACE}/source/common/netgame.h | 0 .../DETHRACE}/source/common/network.c | 0 .../DETHRACE}/source/common/network.h | 0 .../DETHRACE}/source/common/newgame.c | 0 .../DETHRACE}/source/common/newgame.h | 0 .../DETHRACE}/source/common/oil.c | 0 .../DETHRACE}/source/common/oil.h | 0 .../DETHRACE}/source/common/oppocar.c | 0 .../DETHRACE}/source/common/oppocar.h | 0 .../DETHRACE}/source/common/opponent.c | 0 .../DETHRACE}/source/common/opponent.h | 0 .../DETHRACE}/source/common/oppoproc.c | 0 .../DETHRACE}/source/common/oppoproc.h | 0 .../DETHRACE}/source/common/options.c | 0 .../DETHRACE}/source/common/options.h | 0 .../DETHRACE}/source/common/pedestrn.c | 0 .../DETHRACE}/source/common/pedestrn.h | 0 .../DETHRACE}/source/common/piping.c | 0 .../DETHRACE}/source/common/piping.h | 0 .../DETHRACE}/source/common/powerup.c | 0 .../DETHRACE}/source/common/powerup.h | 0 .../DETHRACE}/source/common/pratcam.c | 0 .../DETHRACE}/source/common/pratcam.h | 0 .../DETHRACE}/source/common/racestrt.c | 0 .../DETHRACE}/source/common/racestrt.h | 0 .../DETHRACE}/source/common/racesumm.c | 0 .../DETHRACE}/source/common/racesumm.h | 0 .../DETHRACE}/source/common/raycast.c | 0 .../DETHRACE}/source/common/raycast.h | 0 .../DETHRACE}/source/common/replay.c | 0 .../DETHRACE}/source/common/replay.h | 0 .../DETHRACE}/source/common/skidmark.c | 0 .../DETHRACE}/source/common/skidmark.h | 0 .../DETHRACE}/source/common/sound.c | 0 .../DETHRACE}/source/common/sound.h | 0 .../DETHRACE}/source/common/spark.c | 0 .../DETHRACE}/source/common/spark.h | 0 .../DETHRACE}/source/common/structur.c | 0 .../DETHRACE}/source/common/structur.h | 0 .../DETHRACE}/source/common/trig.c | 0 .../DETHRACE}/source/common/trig.h | 0 .../DETHRACE}/source/common/utility.c | 0 .../DETHRACE}/source/common/utility.h | 0 .../DETHRACE}/source/common/world.c | 0 .../DETHRACE}/source/common/world.h | 0 .../DETHRACE}/source/pc-dos/dosnet.c | 0 .../DETHRACE}/source/pc-dos/dosnet.h | 0 .../DETHRACE}/source/pc-dos/dossys.c | 0 .../DETHRACE}/source/pc-dos/dossys.h | 0 src/types/br_types.h | 2308 ++ src/types/dr_types.h | 4846 +++ types/br_types.h | 5854 --- types/dr_types.h | 30945 ---------------- 272 files changed, 7202 insertions(+), 36818 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile rename {BRSRC13 => src/BRSRC13}/CORE/DOSIO/eventq.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/DOSIO/eventq.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/DOSIO/readmse.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/DOSIO/readmse.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/assocarr.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/assocarr.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brbegin.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brbegin.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brbhook.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brbhook.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brlists.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brlists.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brqsort.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/brqsort.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/bswap.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/bswap.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/datafile.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/datafile.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/devlist.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/devlist.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/devsetup.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/devsetup.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/diag.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/diag.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/error.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/error.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/file.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/file.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/fwsetup.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/fwsetup.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/genfile.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/genfile.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/image.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/image.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/lexer.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/lexer.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/loader.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/loader.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/mem.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/mem.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/object.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/object.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/objectc.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/objectc.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/pattern.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/pattern.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/printf.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/printf.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/register.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/register.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/resource.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/resource.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/resreg.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/resreg.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/scratch.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/scratch.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/sys_conf.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/sys_conf.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/token.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/token.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/tokenval.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/FW/tokenval.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/himage.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/himage.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hook.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hook.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hostcfg.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hostcfg.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hstsetup.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/hstsetup.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/memmgmt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/HOST/memmgmt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/angles.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/angles.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix23.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix23.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix34.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix34.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix4.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/matrix4.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/plane.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/plane.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/quat.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/quat.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/transfrm.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/transfrm.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/vector.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/MATH/vector.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/fontptrs.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/fontptrs.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/genclip.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/genclip.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/gencopy.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/gencopy.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pixelmap.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pixelmap.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmdsptch.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmdsptch.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmfile.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmfile.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmgen.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmgen.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmmem.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmmem.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmnull.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmnull.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmsetup.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/PIXELMAP/pmsetup.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/brexcept.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/brexcept.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/logwrite.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/logwrite.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/math.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/math.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stddiag.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stddiag.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdfile.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdfile.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdlib.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdlib.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdmem.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/STD/stdmem.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/actsupt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/actsupt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/custsupt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/custsupt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/dbsetup.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/dbsetup.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mat.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mat.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mdl.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_mdl.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_otab.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/def_otab.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/enables.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/enables.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/matsupt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/matsupt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/modrend.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/modrend.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/modsupt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/modsupt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/otable.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/otable.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmap.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmap.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmatl.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmatl.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmesh.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/prepmesh.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/preptab.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/preptab.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/regsupt.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/regsupt.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/render.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/render.h (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/v1dbfile.c (100%) rename {BRSRC13 => src/BRSRC13}/CORE/V1DB/v1dbfile.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/brucetrk.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/brucetrk.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/car.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/car.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/controls.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/controls.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/crush.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/crush.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/cutscene.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/cutscene.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/demo.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/demo.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/depth.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/depth.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/displays.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/displays.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/drfile.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/drfile.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/drmem.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/drmem.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/errors.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/errors.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/finteray.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/finteray.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/flicplay.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/flicplay.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvars.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvars.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrbm.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrbm.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrkm.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrkm.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrme.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrme.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrpb.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/globvrpb.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/grafdata.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/grafdata.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/graphics.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/graphics.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/init.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/init.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/input.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/input.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/intrface.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/intrface.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/loading.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/loading.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/loadsave.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/loadsave.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/main.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/main.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/mainloop.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/mainloop.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/mainmenu.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/mainmenu.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/netgame.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/netgame.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/network.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/network.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/newgame.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/newgame.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/oil.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/oil.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/oppocar.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/oppocar.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/opponent.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/opponent.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/oppoproc.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/oppoproc.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/options.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/options.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/pedestrn.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/pedestrn.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/piping.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/piping.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/powerup.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/powerup.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/pratcam.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/pratcam.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/racestrt.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/racestrt.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/racesumm.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/racesumm.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/raycast.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/raycast.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/replay.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/replay.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/skidmark.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/skidmark.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/sound.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/sound.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/spark.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/spark.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/structur.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/structur.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/trig.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/trig.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/utility.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/utility.h (100%) rename {DETHRACE => src/DETHRACE}/source/common/world.c (100%) rename {DETHRACE => src/DETHRACE}/source/common/world.h (100%) rename {DETHRACE => src/DETHRACE}/source/pc-dos/dosnet.c (100%) rename {DETHRACE => src/DETHRACE}/source/pc-dos/dosnet.h (100%) rename {DETHRACE => src/DETHRACE}/source/pc-dos/dossys.c (100%) rename {DETHRACE => src/DETHRACE}/source/pc-dos/dossys.h (100%) create mode 100644 src/types/br_types.h create mode 100644 src/types/dr_types.h delete mode 100644 types/br_types.h delete mode 100644 types/dr_types.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..378eac25 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..0e32f0ad --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +TARGET_EXEC ?= a.out + +BUILD_DIR ?= ./build +SRC_DIRS ?= ./src + +SRCS := $(shell find $(SRC_DIRS) -name *.c) +OBJS := $(SRCS:%=$(BUILD_DIR)/%.o) +DEPS := $(OBJS:.o=.d) + +INC_DIRS := $(shell find $(SRC_DIRS) -type d) +INC_FLAGS := $(addprefix -I,$(INC_DIRS)) + +CPPFLAGS ?= $(INC_FLAGS) -MMD -MP + +$(BUILD_DIR)/$(TARGET_EXEC): $(OBJS) + $(CC) $(OBJS) -o $@ $(LDFLAGS) + +# c source +$(BUILD_DIR)/%.c.o: %.c + $(MKDIR_P) $(dir $@) + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + +.PHONY: clean + +clean: + $(RM) -r $(BUILD_DIR) + +-include $(DEPS) + +MKDIR_P ?= mkdir -p diff --git a/README.md b/README.md index 2e4ccac4..943bf731 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ # dethrace + +[Discord channel](https://discord.gg/f5StsuP) diff --git a/parse_watcom_dump.py b/parse_watcom_dump.py index 9b7a5de0..84ebdb0c 100755 --- a/parse_watcom_dump.py +++ b/parse_watcom_dump.py @@ -368,6 +368,8 @@ def resolve_type_str(module, type_idx, var_name, decl=True): else: if indirections != '': indirections = ' ' + indirections + else: + indirections = ' ' return t['value'] + indirections + var_name + bounds else: t2 = get_child_reference(module, type_idx) @@ -578,10 +580,10 @@ def generate_c_skeleton(): global dr_types_file global br_types_file - mkdir_p('generated/types') + mkdir_p('src/types') - dr_types_file = open('generated/types/dr_types.h', 'w') - br_types_file = open('generated/types/br_types.h', 'w') + dr_types_file = open('src/types/dr_types.h', 'w') + br_types_file = open('src/types/br_types.h', 'w') dr_types_file.write("#ifndef DR_TYPES_H\n") dr_types_file.write("#define DR_TYPES_H\n\n") @@ -604,7 +606,7 @@ def generate_c_skeleton(): dr_types_file.write("\n#endif") def generate_h_file(module): - filename = 'generated/' + module['name'][3:].replace('\\', '/').replace('.c', '.h') + filename = 'src/' + module['name'][3:].replace('\\', '/').replace('.c', '.h') dir = os.path.dirname(filename) mkdir_p(dir) @@ -618,7 +620,7 @@ def generate_h_file(module): h_file.write('\n\n') def generate_c_file(module): - filename = 'generated/' + module['name'][3:].replace('\\', '/') + filename = 'src/' + module['name'][3:].replace('\\', '/') c_file = open(filename, 'w') c_file.write('#include \"') @@ -683,11 +685,19 @@ def generate_types_header(module): continue + if type_name == 'br_value_tag': + print ('!!br_value_tag', type_name in generated_type_names) + if type_name == 'br_value': + print ('!!br_value', type_name in generated_type_names) + + # get type that this name references t = module['types'][t['type_idx']] if t is None: continue + generated_type_names[type_name] = 1 + if t['type'] == 'ENUM_LIST': s = '\ntypedef enum {} {{'.format(type_name) first_elem = True @@ -719,20 +729,6 @@ def generate_types_header(module): print ('got empty s') else: print('ignoring type', type_name, t) - continue - - # if type_name.startswith("br"): - # if s.startswith('typedef'): - # br_forward_decl.append(s) - # else: - # br_decl.append(s) - # else: - # if s.startswith('typedef'): - # dr_forward_decl.append(s) - # else: - # dr_decl.append(s) - - generated_type_names[type_name] = 1 for type_name, s in typedefs.items(): if 'br' in type_name: diff --git a/BRSRC13/CORE/DOSIO/eventq.c b/src/BRSRC13/CORE/DOSIO/eventq.c similarity index 100% rename from BRSRC13/CORE/DOSIO/eventq.c rename to src/BRSRC13/CORE/DOSIO/eventq.c diff --git a/BRSRC13/CORE/DOSIO/eventq.h b/src/BRSRC13/CORE/DOSIO/eventq.h similarity index 100% rename from BRSRC13/CORE/DOSIO/eventq.h rename to src/BRSRC13/CORE/DOSIO/eventq.h diff --git a/BRSRC13/CORE/DOSIO/readmse.c b/src/BRSRC13/CORE/DOSIO/readmse.c similarity index 100% rename from BRSRC13/CORE/DOSIO/readmse.c rename to src/BRSRC13/CORE/DOSIO/readmse.c diff --git a/BRSRC13/CORE/DOSIO/readmse.h b/src/BRSRC13/CORE/DOSIO/readmse.h similarity index 100% rename from BRSRC13/CORE/DOSIO/readmse.h rename to src/BRSRC13/CORE/DOSIO/readmse.h diff --git a/BRSRC13/CORE/FW/assocarr.c b/src/BRSRC13/CORE/FW/assocarr.c similarity index 100% rename from BRSRC13/CORE/FW/assocarr.c rename to src/BRSRC13/CORE/FW/assocarr.c diff --git a/BRSRC13/CORE/FW/assocarr.h b/src/BRSRC13/CORE/FW/assocarr.h similarity index 100% rename from BRSRC13/CORE/FW/assocarr.h rename to src/BRSRC13/CORE/FW/assocarr.h diff --git a/BRSRC13/CORE/FW/brbegin.c b/src/BRSRC13/CORE/FW/brbegin.c similarity index 100% rename from BRSRC13/CORE/FW/brbegin.c rename to src/BRSRC13/CORE/FW/brbegin.c diff --git a/BRSRC13/CORE/FW/brbegin.h b/src/BRSRC13/CORE/FW/brbegin.h similarity index 100% rename from BRSRC13/CORE/FW/brbegin.h rename to src/BRSRC13/CORE/FW/brbegin.h diff --git a/BRSRC13/CORE/FW/brbhook.c b/src/BRSRC13/CORE/FW/brbhook.c similarity index 100% rename from BRSRC13/CORE/FW/brbhook.c rename to src/BRSRC13/CORE/FW/brbhook.c diff --git a/BRSRC13/CORE/FW/brbhook.h b/src/BRSRC13/CORE/FW/brbhook.h similarity index 100% rename from BRSRC13/CORE/FW/brbhook.h rename to src/BRSRC13/CORE/FW/brbhook.h diff --git a/BRSRC13/CORE/FW/brlists.c b/src/BRSRC13/CORE/FW/brlists.c similarity index 100% rename from BRSRC13/CORE/FW/brlists.c rename to src/BRSRC13/CORE/FW/brlists.c diff --git a/BRSRC13/CORE/FW/brlists.h b/src/BRSRC13/CORE/FW/brlists.h similarity index 100% rename from BRSRC13/CORE/FW/brlists.h rename to src/BRSRC13/CORE/FW/brlists.h diff --git a/BRSRC13/CORE/FW/brqsort.c b/src/BRSRC13/CORE/FW/brqsort.c similarity index 100% rename from BRSRC13/CORE/FW/brqsort.c rename to src/BRSRC13/CORE/FW/brqsort.c diff --git a/BRSRC13/CORE/FW/brqsort.h b/src/BRSRC13/CORE/FW/brqsort.h similarity index 100% rename from BRSRC13/CORE/FW/brqsort.h rename to src/BRSRC13/CORE/FW/brqsort.h diff --git a/BRSRC13/CORE/FW/bswap.c b/src/BRSRC13/CORE/FW/bswap.c similarity index 100% rename from BRSRC13/CORE/FW/bswap.c rename to src/BRSRC13/CORE/FW/bswap.c diff --git a/BRSRC13/CORE/FW/bswap.h b/src/BRSRC13/CORE/FW/bswap.h similarity index 100% rename from BRSRC13/CORE/FW/bswap.h rename to src/BRSRC13/CORE/FW/bswap.h diff --git a/BRSRC13/CORE/FW/datafile.c b/src/BRSRC13/CORE/FW/datafile.c similarity index 100% rename from BRSRC13/CORE/FW/datafile.c rename to src/BRSRC13/CORE/FW/datafile.c diff --git a/BRSRC13/CORE/FW/datafile.h b/src/BRSRC13/CORE/FW/datafile.h similarity index 100% rename from BRSRC13/CORE/FW/datafile.h rename to src/BRSRC13/CORE/FW/datafile.h diff --git a/BRSRC13/CORE/FW/devlist.c b/src/BRSRC13/CORE/FW/devlist.c similarity index 100% rename from BRSRC13/CORE/FW/devlist.c rename to src/BRSRC13/CORE/FW/devlist.c diff --git a/BRSRC13/CORE/FW/devlist.h b/src/BRSRC13/CORE/FW/devlist.h similarity index 100% rename from BRSRC13/CORE/FW/devlist.h rename to src/BRSRC13/CORE/FW/devlist.h diff --git a/BRSRC13/CORE/FW/devsetup.c b/src/BRSRC13/CORE/FW/devsetup.c similarity index 100% rename from BRSRC13/CORE/FW/devsetup.c rename to src/BRSRC13/CORE/FW/devsetup.c diff --git a/BRSRC13/CORE/FW/devsetup.h b/src/BRSRC13/CORE/FW/devsetup.h similarity index 100% rename from BRSRC13/CORE/FW/devsetup.h rename to src/BRSRC13/CORE/FW/devsetup.h diff --git a/BRSRC13/CORE/FW/diag.c b/src/BRSRC13/CORE/FW/diag.c similarity index 100% rename from BRSRC13/CORE/FW/diag.c rename to src/BRSRC13/CORE/FW/diag.c diff --git a/BRSRC13/CORE/FW/diag.h b/src/BRSRC13/CORE/FW/diag.h similarity index 100% rename from BRSRC13/CORE/FW/diag.h rename to src/BRSRC13/CORE/FW/diag.h diff --git a/BRSRC13/CORE/FW/error.c b/src/BRSRC13/CORE/FW/error.c similarity index 100% rename from BRSRC13/CORE/FW/error.c rename to src/BRSRC13/CORE/FW/error.c diff --git a/BRSRC13/CORE/FW/error.h b/src/BRSRC13/CORE/FW/error.h similarity index 100% rename from BRSRC13/CORE/FW/error.h rename to src/BRSRC13/CORE/FW/error.h diff --git a/BRSRC13/CORE/FW/file.c b/src/BRSRC13/CORE/FW/file.c similarity index 100% rename from BRSRC13/CORE/FW/file.c rename to src/BRSRC13/CORE/FW/file.c diff --git a/BRSRC13/CORE/FW/file.h b/src/BRSRC13/CORE/FW/file.h similarity index 100% rename from BRSRC13/CORE/FW/file.h rename to src/BRSRC13/CORE/FW/file.h diff --git a/BRSRC13/CORE/FW/fwsetup.c b/src/BRSRC13/CORE/FW/fwsetup.c similarity index 100% rename from BRSRC13/CORE/FW/fwsetup.c rename to src/BRSRC13/CORE/FW/fwsetup.c diff --git a/BRSRC13/CORE/FW/fwsetup.h b/src/BRSRC13/CORE/FW/fwsetup.h similarity index 100% rename from BRSRC13/CORE/FW/fwsetup.h rename to src/BRSRC13/CORE/FW/fwsetup.h diff --git a/BRSRC13/CORE/FW/genfile.c b/src/BRSRC13/CORE/FW/genfile.c similarity index 100% rename from BRSRC13/CORE/FW/genfile.c rename to src/BRSRC13/CORE/FW/genfile.c diff --git a/BRSRC13/CORE/FW/genfile.h b/src/BRSRC13/CORE/FW/genfile.h similarity index 100% rename from BRSRC13/CORE/FW/genfile.h rename to src/BRSRC13/CORE/FW/genfile.h diff --git a/BRSRC13/CORE/FW/image.c b/src/BRSRC13/CORE/FW/image.c similarity index 100% rename from BRSRC13/CORE/FW/image.c rename to src/BRSRC13/CORE/FW/image.c diff --git a/BRSRC13/CORE/FW/image.h b/src/BRSRC13/CORE/FW/image.h similarity index 100% rename from BRSRC13/CORE/FW/image.h rename to src/BRSRC13/CORE/FW/image.h diff --git a/BRSRC13/CORE/FW/lexer.c b/src/BRSRC13/CORE/FW/lexer.c similarity index 100% rename from BRSRC13/CORE/FW/lexer.c rename to src/BRSRC13/CORE/FW/lexer.c diff --git a/BRSRC13/CORE/FW/lexer.h b/src/BRSRC13/CORE/FW/lexer.h similarity index 100% rename from BRSRC13/CORE/FW/lexer.h rename to src/BRSRC13/CORE/FW/lexer.h diff --git a/BRSRC13/CORE/FW/loader.c b/src/BRSRC13/CORE/FW/loader.c similarity index 100% rename from BRSRC13/CORE/FW/loader.c rename to src/BRSRC13/CORE/FW/loader.c diff --git a/BRSRC13/CORE/FW/loader.h b/src/BRSRC13/CORE/FW/loader.h similarity index 100% rename from BRSRC13/CORE/FW/loader.h rename to src/BRSRC13/CORE/FW/loader.h diff --git a/BRSRC13/CORE/FW/mem.c b/src/BRSRC13/CORE/FW/mem.c similarity index 100% rename from BRSRC13/CORE/FW/mem.c rename to src/BRSRC13/CORE/FW/mem.c diff --git a/BRSRC13/CORE/FW/mem.h b/src/BRSRC13/CORE/FW/mem.h similarity index 100% rename from BRSRC13/CORE/FW/mem.h rename to src/BRSRC13/CORE/FW/mem.h diff --git a/BRSRC13/CORE/FW/object.c b/src/BRSRC13/CORE/FW/object.c similarity index 100% rename from BRSRC13/CORE/FW/object.c rename to src/BRSRC13/CORE/FW/object.c diff --git a/BRSRC13/CORE/FW/object.h b/src/BRSRC13/CORE/FW/object.h similarity index 100% rename from BRSRC13/CORE/FW/object.h rename to src/BRSRC13/CORE/FW/object.h diff --git a/BRSRC13/CORE/FW/objectc.c b/src/BRSRC13/CORE/FW/objectc.c similarity index 100% rename from BRSRC13/CORE/FW/objectc.c rename to src/BRSRC13/CORE/FW/objectc.c diff --git a/BRSRC13/CORE/FW/objectc.h b/src/BRSRC13/CORE/FW/objectc.h similarity index 100% rename from BRSRC13/CORE/FW/objectc.h rename to src/BRSRC13/CORE/FW/objectc.h diff --git a/BRSRC13/CORE/FW/pattern.c b/src/BRSRC13/CORE/FW/pattern.c similarity index 100% rename from BRSRC13/CORE/FW/pattern.c rename to src/BRSRC13/CORE/FW/pattern.c diff --git a/BRSRC13/CORE/FW/pattern.h b/src/BRSRC13/CORE/FW/pattern.h similarity index 100% rename from BRSRC13/CORE/FW/pattern.h rename to src/BRSRC13/CORE/FW/pattern.h diff --git a/BRSRC13/CORE/FW/printf.c b/src/BRSRC13/CORE/FW/printf.c similarity index 100% rename from BRSRC13/CORE/FW/printf.c rename to src/BRSRC13/CORE/FW/printf.c diff --git a/BRSRC13/CORE/FW/printf.h b/src/BRSRC13/CORE/FW/printf.h similarity index 100% rename from BRSRC13/CORE/FW/printf.h rename to src/BRSRC13/CORE/FW/printf.h diff --git a/BRSRC13/CORE/FW/register.c b/src/BRSRC13/CORE/FW/register.c similarity index 100% rename from BRSRC13/CORE/FW/register.c rename to src/BRSRC13/CORE/FW/register.c diff --git a/BRSRC13/CORE/FW/register.h b/src/BRSRC13/CORE/FW/register.h similarity index 100% rename from BRSRC13/CORE/FW/register.h rename to src/BRSRC13/CORE/FW/register.h diff --git a/BRSRC13/CORE/FW/resource.c b/src/BRSRC13/CORE/FW/resource.c similarity index 100% rename from BRSRC13/CORE/FW/resource.c rename to src/BRSRC13/CORE/FW/resource.c diff --git a/BRSRC13/CORE/FW/resource.h b/src/BRSRC13/CORE/FW/resource.h similarity index 100% rename from BRSRC13/CORE/FW/resource.h rename to src/BRSRC13/CORE/FW/resource.h diff --git a/BRSRC13/CORE/FW/resreg.c b/src/BRSRC13/CORE/FW/resreg.c similarity index 100% rename from BRSRC13/CORE/FW/resreg.c rename to src/BRSRC13/CORE/FW/resreg.c diff --git a/BRSRC13/CORE/FW/resreg.h b/src/BRSRC13/CORE/FW/resreg.h similarity index 100% rename from BRSRC13/CORE/FW/resreg.h rename to src/BRSRC13/CORE/FW/resreg.h diff --git a/BRSRC13/CORE/FW/scratch.c b/src/BRSRC13/CORE/FW/scratch.c similarity index 100% rename from BRSRC13/CORE/FW/scratch.c rename to src/BRSRC13/CORE/FW/scratch.c diff --git a/BRSRC13/CORE/FW/scratch.h b/src/BRSRC13/CORE/FW/scratch.h similarity index 100% rename from BRSRC13/CORE/FW/scratch.h rename to src/BRSRC13/CORE/FW/scratch.h diff --git a/BRSRC13/CORE/FW/sys_conf.c b/src/BRSRC13/CORE/FW/sys_conf.c similarity index 100% rename from BRSRC13/CORE/FW/sys_conf.c rename to src/BRSRC13/CORE/FW/sys_conf.c diff --git a/BRSRC13/CORE/FW/sys_conf.h b/src/BRSRC13/CORE/FW/sys_conf.h similarity index 100% rename from BRSRC13/CORE/FW/sys_conf.h rename to src/BRSRC13/CORE/FW/sys_conf.h diff --git a/BRSRC13/CORE/FW/token.c b/src/BRSRC13/CORE/FW/token.c similarity index 100% rename from BRSRC13/CORE/FW/token.c rename to src/BRSRC13/CORE/FW/token.c diff --git a/BRSRC13/CORE/FW/token.h b/src/BRSRC13/CORE/FW/token.h similarity index 100% rename from BRSRC13/CORE/FW/token.h rename to src/BRSRC13/CORE/FW/token.h diff --git a/BRSRC13/CORE/FW/tokenval.c b/src/BRSRC13/CORE/FW/tokenval.c similarity index 100% rename from BRSRC13/CORE/FW/tokenval.c rename to src/BRSRC13/CORE/FW/tokenval.c diff --git a/BRSRC13/CORE/FW/tokenval.h b/src/BRSRC13/CORE/FW/tokenval.h similarity index 100% rename from BRSRC13/CORE/FW/tokenval.h rename to src/BRSRC13/CORE/FW/tokenval.h diff --git a/BRSRC13/CORE/HOST/himage.c b/src/BRSRC13/CORE/HOST/himage.c similarity index 100% rename from BRSRC13/CORE/HOST/himage.c rename to src/BRSRC13/CORE/HOST/himage.c diff --git a/BRSRC13/CORE/HOST/himage.h b/src/BRSRC13/CORE/HOST/himage.h similarity index 100% rename from BRSRC13/CORE/HOST/himage.h rename to src/BRSRC13/CORE/HOST/himage.h diff --git a/BRSRC13/CORE/HOST/hook.c b/src/BRSRC13/CORE/HOST/hook.c similarity index 100% rename from BRSRC13/CORE/HOST/hook.c rename to src/BRSRC13/CORE/HOST/hook.c diff --git a/BRSRC13/CORE/HOST/hook.h b/src/BRSRC13/CORE/HOST/hook.h similarity index 100% rename from BRSRC13/CORE/HOST/hook.h rename to src/BRSRC13/CORE/HOST/hook.h diff --git a/BRSRC13/CORE/HOST/hostcfg.c b/src/BRSRC13/CORE/HOST/hostcfg.c similarity index 100% rename from BRSRC13/CORE/HOST/hostcfg.c rename to src/BRSRC13/CORE/HOST/hostcfg.c diff --git a/BRSRC13/CORE/HOST/hostcfg.h b/src/BRSRC13/CORE/HOST/hostcfg.h similarity index 100% rename from BRSRC13/CORE/HOST/hostcfg.h rename to src/BRSRC13/CORE/HOST/hostcfg.h diff --git a/BRSRC13/CORE/HOST/hstsetup.c b/src/BRSRC13/CORE/HOST/hstsetup.c similarity index 100% rename from BRSRC13/CORE/HOST/hstsetup.c rename to src/BRSRC13/CORE/HOST/hstsetup.c diff --git a/BRSRC13/CORE/HOST/hstsetup.h b/src/BRSRC13/CORE/HOST/hstsetup.h similarity index 100% rename from BRSRC13/CORE/HOST/hstsetup.h rename to src/BRSRC13/CORE/HOST/hstsetup.h diff --git a/BRSRC13/CORE/HOST/memmgmt.c b/src/BRSRC13/CORE/HOST/memmgmt.c similarity index 100% rename from BRSRC13/CORE/HOST/memmgmt.c rename to src/BRSRC13/CORE/HOST/memmgmt.c diff --git a/BRSRC13/CORE/HOST/memmgmt.h b/src/BRSRC13/CORE/HOST/memmgmt.h similarity index 100% rename from BRSRC13/CORE/HOST/memmgmt.h rename to src/BRSRC13/CORE/HOST/memmgmt.h diff --git a/BRSRC13/CORE/MATH/angles.c b/src/BRSRC13/CORE/MATH/angles.c similarity index 100% rename from BRSRC13/CORE/MATH/angles.c rename to src/BRSRC13/CORE/MATH/angles.c diff --git a/BRSRC13/CORE/MATH/angles.h b/src/BRSRC13/CORE/MATH/angles.h similarity index 100% rename from BRSRC13/CORE/MATH/angles.h rename to src/BRSRC13/CORE/MATH/angles.h diff --git a/BRSRC13/CORE/MATH/matrix23.c b/src/BRSRC13/CORE/MATH/matrix23.c similarity index 100% rename from BRSRC13/CORE/MATH/matrix23.c rename to src/BRSRC13/CORE/MATH/matrix23.c diff --git a/BRSRC13/CORE/MATH/matrix23.h b/src/BRSRC13/CORE/MATH/matrix23.h similarity index 100% rename from BRSRC13/CORE/MATH/matrix23.h rename to src/BRSRC13/CORE/MATH/matrix23.h diff --git a/BRSRC13/CORE/MATH/matrix34.c b/src/BRSRC13/CORE/MATH/matrix34.c similarity index 100% rename from BRSRC13/CORE/MATH/matrix34.c rename to src/BRSRC13/CORE/MATH/matrix34.c diff --git a/BRSRC13/CORE/MATH/matrix34.h b/src/BRSRC13/CORE/MATH/matrix34.h similarity index 100% rename from BRSRC13/CORE/MATH/matrix34.h rename to src/BRSRC13/CORE/MATH/matrix34.h diff --git a/BRSRC13/CORE/MATH/matrix4.c b/src/BRSRC13/CORE/MATH/matrix4.c similarity index 100% rename from BRSRC13/CORE/MATH/matrix4.c rename to src/BRSRC13/CORE/MATH/matrix4.c diff --git a/BRSRC13/CORE/MATH/matrix4.h b/src/BRSRC13/CORE/MATH/matrix4.h similarity index 100% rename from BRSRC13/CORE/MATH/matrix4.h rename to src/BRSRC13/CORE/MATH/matrix4.h diff --git a/BRSRC13/CORE/MATH/plane.c b/src/BRSRC13/CORE/MATH/plane.c similarity index 100% rename from BRSRC13/CORE/MATH/plane.c rename to src/BRSRC13/CORE/MATH/plane.c diff --git a/BRSRC13/CORE/MATH/plane.h b/src/BRSRC13/CORE/MATH/plane.h similarity index 100% rename from BRSRC13/CORE/MATH/plane.h rename to src/BRSRC13/CORE/MATH/plane.h diff --git a/BRSRC13/CORE/MATH/quat.c b/src/BRSRC13/CORE/MATH/quat.c similarity index 100% rename from BRSRC13/CORE/MATH/quat.c rename to src/BRSRC13/CORE/MATH/quat.c diff --git a/BRSRC13/CORE/MATH/quat.h b/src/BRSRC13/CORE/MATH/quat.h similarity index 100% rename from BRSRC13/CORE/MATH/quat.h rename to src/BRSRC13/CORE/MATH/quat.h diff --git a/BRSRC13/CORE/MATH/transfrm.c b/src/BRSRC13/CORE/MATH/transfrm.c similarity index 100% rename from BRSRC13/CORE/MATH/transfrm.c rename to src/BRSRC13/CORE/MATH/transfrm.c diff --git a/BRSRC13/CORE/MATH/transfrm.h b/src/BRSRC13/CORE/MATH/transfrm.h similarity index 100% rename from BRSRC13/CORE/MATH/transfrm.h rename to src/BRSRC13/CORE/MATH/transfrm.h diff --git a/BRSRC13/CORE/MATH/vector.c b/src/BRSRC13/CORE/MATH/vector.c similarity index 100% rename from BRSRC13/CORE/MATH/vector.c rename to src/BRSRC13/CORE/MATH/vector.c diff --git a/BRSRC13/CORE/MATH/vector.h b/src/BRSRC13/CORE/MATH/vector.h similarity index 100% rename from BRSRC13/CORE/MATH/vector.h rename to src/BRSRC13/CORE/MATH/vector.h diff --git a/BRSRC13/CORE/PIXELMAP/fontptrs.c b/src/BRSRC13/CORE/PIXELMAP/fontptrs.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/fontptrs.c rename to src/BRSRC13/CORE/PIXELMAP/fontptrs.c diff --git a/BRSRC13/CORE/PIXELMAP/fontptrs.h b/src/BRSRC13/CORE/PIXELMAP/fontptrs.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/fontptrs.h rename to src/BRSRC13/CORE/PIXELMAP/fontptrs.h diff --git a/BRSRC13/CORE/PIXELMAP/genclip.c b/src/BRSRC13/CORE/PIXELMAP/genclip.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/genclip.c rename to src/BRSRC13/CORE/PIXELMAP/genclip.c diff --git a/BRSRC13/CORE/PIXELMAP/genclip.h b/src/BRSRC13/CORE/PIXELMAP/genclip.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/genclip.h rename to src/BRSRC13/CORE/PIXELMAP/genclip.h diff --git a/BRSRC13/CORE/PIXELMAP/gencopy.c b/src/BRSRC13/CORE/PIXELMAP/gencopy.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/gencopy.c rename to src/BRSRC13/CORE/PIXELMAP/gencopy.c diff --git a/BRSRC13/CORE/PIXELMAP/gencopy.h b/src/BRSRC13/CORE/PIXELMAP/gencopy.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/gencopy.h rename to src/BRSRC13/CORE/PIXELMAP/gencopy.h diff --git a/BRSRC13/CORE/PIXELMAP/pixelmap.c b/src/BRSRC13/CORE/PIXELMAP/pixelmap.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pixelmap.c rename to src/BRSRC13/CORE/PIXELMAP/pixelmap.c diff --git a/BRSRC13/CORE/PIXELMAP/pixelmap.h b/src/BRSRC13/CORE/PIXELMAP/pixelmap.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pixelmap.h rename to src/BRSRC13/CORE/PIXELMAP/pixelmap.h diff --git a/BRSRC13/CORE/PIXELMAP/pmdsptch.c b/src/BRSRC13/CORE/PIXELMAP/pmdsptch.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmdsptch.c rename to src/BRSRC13/CORE/PIXELMAP/pmdsptch.c diff --git a/BRSRC13/CORE/PIXELMAP/pmdsptch.h b/src/BRSRC13/CORE/PIXELMAP/pmdsptch.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmdsptch.h rename to src/BRSRC13/CORE/PIXELMAP/pmdsptch.h diff --git a/BRSRC13/CORE/PIXELMAP/pmfile.c b/src/BRSRC13/CORE/PIXELMAP/pmfile.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmfile.c rename to src/BRSRC13/CORE/PIXELMAP/pmfile.c diff --git a/BRSRC13/CORE/PIXELMAP/pmfile.h b/src/BRSRC13/CORE/PIXELMAP/pmfile.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmfile.h rename to src/BRSRC13/CORE/PIXELMAP/pmfile.h diff --git a/BRSRC13/CORE/PIXELMAP/pmgen.c b/src/BRSRC13/CORE/PIXELMAP/pmgen.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmgen.c rename to src/BRSRC13/CORE/PIXELMAP/pmgen.c diff --git a/BRSRC13/CORE/PIXELMAP/pmgen.h b/src/BRSRC13/CORE/PIXELMAP/pmgen.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmgen.h rename to src/BRSRC13/CORE/PIXELMAP/pmgen.h diff --git a/BRSRC13/CORE/PIXELMAP/pmmem.c b/src/BRSRC13/CORE/PIXELMAP/pmmem.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmmem.c rename to src/BRSRC13/CORE/PIXELMAP/pmmem.c diff --git a/BRSRC13/CORE/PIXELMAP/pmmem.h b/src/BRSRC13/CORE/PIXELMAP/pmmem.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmmem.h rename to src/BRSRC13/CORE/PIXELMAP/pmmem.h diff --git a/BRSRC13/CORE/PIXELMAP/pmnull.c b/src/BRSRC13/CORE/PIXELMAP/pmnull.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmnull.c rename to src/BRSRC13/CORE/PIXELMAP/pmnull.c diff --git a/BRSRC13/CORE/PIXELMAP/pmnull.h b/src/BRSRC13/CORE/PIXELMAP/pmnull.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmnull.h rename to src/BRSRC13/CORE/PIXELMAP/pmnull.h diff --git a/BRSRC13/CORE/PIXELMAP/pmsetup.c b/src/BRSRC13/CORE/PIXELMAP/pmsetup.c similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmsetup.c rename to src/BRSRC13/CORE/PIXELMAP/pmsetup.c diff --git a/BRSRC13/CORE/PIXELMAP/pmsetup.h b/src/BRSRC13/CORE/PIXELMAP/pmsetup.h similarity index 100% rename from BRSRC13/CORE/PIXELMAP/pmsetup.h rename to src/BRSRC13/CORE/PIXELMAP/pmsetup.h diff --git a/BRSRC13/CORE/STD/brexcept.c b/src/BRSRC13/CORE/STD/brexcept.c similarity index 100% rename from BRSRC13/CORE/STD/brexcept.c rename to src/BRSRC13/CORE/STD/brexcept.c diff --git a/BRSRC13/CORE/STD/brexcept.h b/src/BRSRC13/CORE/STD/brexcept.h similarity index 100% rename from BRSRC13/CORE/STD/brexcept.h rename to src/BRSRC13/CORE/STD/brexcept.h diff --git a/BRSRC13/CORE/STD/logwrite.c b/src/BRSRC13/CORE/STD/logwrite.c similarity index 100% rename from BRSRC13/CORE/STD/logwrite.c rename to src/BRSRC13/CORE/STD/logwrite.c diff --git a/BRSRC13/CORE/STD/logwrite.h b/src/BRSRC13/CORE/STD/logwrite.h similarity index 100% rename from BRSRC13/CORE/STD/logwrite.h rename to src/BRSRC13/CORE/STD/logwrite.h diff --git a/BRSRC13/CORE/STD/math.c b/src/BRSRC13/CORE/STD/math.c similarity index 100% rename from BRSRC13/CORE/STD/math.c rename to src/BRSRC13/CORE/STD/math.c diff --git a/BRSRC13/CORE/STD/math.h b/src/BRSRC13/CORE/STD/math.h similarity index 100% rename from BRSRC13/CORE/STD/math.h rename to src/BRSRC13/CORE/STD/math.h diff --git a/BRSRC13/CORE/STD/stddiag.c b/src/BRSRC13/CORE/STD/stddiag.c similarity index 100% rename from BRSRC13/CORE/STD/stddiag.c rename to src/BRSRC13/CORE/STD/stddiag.c diff --git a/BRSRC13/CORE/STD/stddiag.h b/src/BRSRC13/CORE/STD/stddiag.h similarity index 100% rename from BRSRC13/CORE/STD/stddiag.h rename to src/BRSRC13/CORE/STD/stddiag.h diff --git a/BRSRC13/CORE/STD/stdfile.c b/src/BRSRC13/CORE/STD/stdfile.c similarity index 100% rename from BRSRC13/CORE/STD/stdfile.c rename to src/BRSRC13/CORE/STD/stdfile.c diff --git a/BRSRC13/CORE/STD/stdfile.h b/src/BRSRC13/CORE/STD/stdfile.h similarity index 100% rename from BRSRC13/CORE/STD/stdfile.h rename to src/BRSRC13/CORE/STD/stdfile.h diff --git a/BRSRC13/CORE/STD/stdlib.c b/src/BRSRC13/CORE/STD/stdlib.c similarity index 100% rename from BRSRC13/CORE/STD/stdlib.c rename to src/BRSRC13/CORE/STD/stdlib.c diff --git a/BRSRC13/CORE/STD/stdlib.h b/src/BRSRC13/CORE/STD/stdlib.h similarity index 100% rename from BRSRC13/CORE/STD/stdlib.h rename to src/BRSRC13/CORE/STD/stdlib.h diff --git a/BRSRC13/CORE/STD/stdmem.c b/src/BRSRC13/CORE/STD/stdmem.c similarity index 100% rename from BRSRC13/CORE/STD/stdmem.c rename to src/BRSRC13/CORE/STD/stdmem.c diff --git a/BRSRC13/CORE/STD/stdmem.h b/src/BRSRC13/CORE/STD/stdmem.h similarity index 100% rename from BRSRC13/CORE/STD/stdmem.h rename to src/BRSRC13/CORE/STD/stdmem.h diff --git a/BRSRC13/CORE/V1DB/actsupt.c b/src/BRSRC13/CORE/V1DB/actsupt.c similarity index 100% rename from BRSRC13/CORE/V1DB/actsupt.c rename to src/BRSRC13/CORE/V1DB/actsupt.c diff --git a/BRSRC13/CORE/V1DB/actsupt.h b/src/BRSRC13/CORE/V1DB/actsupt.h similarity index 100% rename from BRSRC13/CORE/V1DB/actsupt.h rename to src/BRSRC13/CORE/V1DB/actsupt.h diff --git a/BRSRC13/CORE/V1DB/custsupt.c b/src/BRSRC13/CORE/V1DB/custsupt.c similarity index 100% rename from BRSRC13/CORE/V1DB/custsupt.c rename to src/BRSRC13/CORE/V1DB/custsupt.c diff --git a/BRSRC13/CORE/V1DB/custsupt.h b/src/BRSRC13/CORE/V1DB/custsupt.h similarity index 100% rename from BRSRC13/CORE/V1DB/custsupt.h rename to src/BRSRC13/CORE/V1DB/custsupt.h diff --git a/BRSRC13/CORE/V1DB/dbsetup.c b/src/BRSRC13/CORE/V1DB/dbsetup.c similarity index 100% rename from BRSRC13/CORE/V1DB/dbsetup.c rename to src/BRSRC13/CORE/V1DB/dbsetup.c diff --git a/BRSRC13/CORE/V1DB/dbsetup.h b/src/BRSRC13/CORE/V1DB/dbsetup.h similarity index 100% rename from BRSRC13/CORE/V1DB/dbsetup.h rename to src/BRSRC13/CORE/V1DB/dbsetup.h diff --git a/BRSRC13/CORE/V1DB/def_mat.c b/src/BRSRC13/CORE/V1DB/def_mat.c similarity index 100% rename from BRSRC13/CORE/V1DB/def_mat.c rename to src/BRSRC13/CORE/V1DB/def_mat.c diff --git a/BRSRC13/CORE/V1DB/def_mat.h b/src/BRSRC13/CORE/V1DB/def_mat.h similarity index 100% rename from BRSRC13/CORE/V1DB/def_mat.h rename to src/BRSRC13/CORE/V1DB/def_mat.h diff --git a/BRSRC13/CORE/V1DB/def_mdl.c b/src/BRSRC13/CORE/V1DB/def_mdl.c similarity index 100% rename from BRSRC13/CORE/V1DB/def_mdl.c rename to src/BRSRC13/CORE/V1DB/def_mdl.c diff --git a/BRSRC13/CORE/V1DB/def_mdl.h b/src/BRSRC13/CORE/V1DB/def_mdl.h similarity index 100% rename from BRSRC13/CORE/V1DB/def_mdl.h rename to src/BRSRC13/CORE/V1DB/def_mdl.h diff --git a/BRSRC13/CORE/V1DB/def_otab.c b/src/BRSRC13/CORE/V1DB/def_otab.c similarity index 100% rename from BRSRC13/CORE/V1DB/def_otab.c rename to src/BRSRC13/CORE/V1DB/def_otab.c diff --git a/BRSRC13/CORE/V1DB/def_otab.h b/src/BRSRC13/CORE/V1DB/def_otab.h similarity index 100% rename from BRSRC13/CORE/V1DB/def_otab.h rename to src/BRSRC13/CORE/V1DB/def_otab.h diff --git a/BRSRC13/CORE/V1DB/enables.c b/src/BRSRC13/CORE/V1DB/enables.c similarity index 100% rename from BRSRC13/CORE/V1DB/enables.c rename to src/BRSRC13/CORE/V1DB/enables.c diff --git a/BRSRC13/CORE/V1DB/enables.h b/src/BRSRC13/CORE/V1DB/enables.h similarity index 100% rename from BRSRC13/CORE/V1DB/enables.h rename to src/BRSRC13/CORE/V1DB/enables.h diff --git a/BRSRC13/CORE/V1DB/matsupt.c b/src/BRSRC13/CORE/V1DB/matsupt.c similarity index 100% rename from BRSRC13/CORE/V1DB/matsupt.c rename to src/BRSRC13/CORE/V1DB/matsupt.c diff --git a/BRSRC13/CORE/V1DB/matsupt.h b/src/BRSRC13/CORE/V1DB/matsupt.h similarity index 100% rename from BRSRC13/CORE/V1DB/matsupt.h rename to src/BRSRC13/CORE/V1DB/matsupt.h diff --git a/BRSRC13/CORE/V1DB/modrend.c b/src/BRSRC13/CORE/V1DB/modrend.c similarity index 100% rename from BRSRC13/CORE/V1DB/modrend.c rename to src/BRSRC13/CORE/V1DB/modrend.c diff --git a/BRSRC13/CORE/V1DB/modrend.h b/src/BRSRC13/CORE/V1DB/modrend.h similarity index 100% rename from BRSRC13/CORE/V1DB/modrend.h rename to src/BRSRC13/CORE/V1DB/modrend.h diff --git a/BRSRC13/CORE/V1DB/modsupt.c b/src/BRSRC13/CORE/V1DB/modsupt.c similarity index 100% rename from BRSRC13/CORE/V1DB/modsupt.c rename to src/BRSRC13/CORE/V1DB/modsupt.c diff --git a/BRSRC13/CORE/V1DB/modsupt.h b/src/BRSRC13/CORE/V1DB/modsupt.h similarity index 100% rename from BRSRC13/CORE/V1DB/modsupt.h rename to src/BRSRC13/CORE/V1DB/modsupt.h diff --git a/BRSRC13/CORE/V1DB/otable.c b/src/BRSRC13/CORE/V1DB/otable.c similarity index 100% rename from BRSRC13/CORE/V1DB/otable.c rename to src/BRSRC13/CORE/V1DB/otable.c diff --git a/BRSRC13/CORE/V1DB/otable.h b/src/BRSRC13/CORE/V1DB/otable.h similarity index 100% rename from BRSRC13/CORE/V1DB/otable.h rename to src/BRSRC13/CORE/V1DB/otable.h diff --git a/BRSRC13/CORE/V1DB/prepmap.c b/src/BRSRC13/CORE/V1DB/prepmap.c similarity index 100% rename from BRSRC13/CORE/V1DB/prepmap.c rename to src/BRSRC13/CORE/V1DB/prepmap.c diff --git a/BRSRC13/CORE/V1DB/prepmap.h b/src/BRSRC13/CORE/V1DB/prepmap.h similarity index 100% rename from BRSRC13/CORE/V1DB/prepmap.h rename to src/BRSRC13/CORE/V1DB/prepmap.h diff --git a/BRSRC13/CORE/V1DB/prepmatl.c b/src/BRSRC13/CORE/V1DB/prepmatl.c similarity index 100% rename from BRSRC13/CORE/V1DB/prepmatl.c rename to src/BRSRC13/CORE/V1DB/prepmatl.c diff --git a/BRSRC13/CORE/V1DB/prepmatl.h b/src/BRSRC13/CORE/V1DB/prepmatl.h similarity index 100% rename from BRSRC13/CORE/V1DB/prepmatl.h rename to src/BRSRC13/CORE/V1DB/prepmatl.h diff --git a/BRSRC13/CORE/V1DB/prepmesh.c b/src/BRSRC13/CORE/V1DB/prepmesh.c similarity index 100% rename from BRSRC13/CORE/V1DB/prepmesh.c rename to src/BRSRC13/CORE/V1DB/prepmesh.c diff --git a/BRSRC13/CORE/V1DB/prepmesh.h b/src/BRSRC13/CORE/V1DB/prepmesh.h similarity index 100% rename from BRSRC13/CORE/V1DB/prepmesh.h rename to src/BRSRC13/CORE/V1DB/prepmesh.h diff --git a/BRSRC13/CORE/V1DB/preptab.c b/src/BRSRC13/CORE/V1DB/preptab.c similarity index 100% rename from BRSRC13/CORE/V1DB/preptab.c rename to src/BRSRC13/CORE/V1DB/preptab.c diff --git a/BRSRC13/CORE/V1DB/preptab.h b/src/BRSRC13/CORE/V1DB/preptab.h similarity index 100% rename from BRSRC13/CORE/V1DB/preptab.h rename to src/BRSRC13/CORE/V1DB/preptab.h diff --git a/BRSRC13/CORE/V1DB/regsupt.c b/src/BRSRC13/CORE/V1DB/regsupt.c similarity index 100% rename from BRSRC13/CORE/V1DB/regsupt.c rename to src/BRSRC13/CORE/V1DB/regsupt.c diff --git a/BRSRC13/CORE/V1DB/regsupt.h b/src/BRSRC13/CORE/V1DB/regsupt.h similarity index 100% rename from BRSRC13/CORE/V1DB/regsupt.h rename to src/BRSRC13/CORE/V1DB/regsupt.h diff --git a/BRSRC13/CORE/V1DB/render.c b/src/BRSRC13/CORE/V1DB/render.c similarity index 100% rename from BRSRC13/CORE/V1DB/render.c rename to src/BRSRC13/CORE/V1DB/render.c diff --git a/BRSRC13/CORE/V1DB/render.h b/src/BRSRC13/CORE/V1DB/render.h similarity index 100% rename from BRSRC13/CORE/V1DB/render.h rename to src/BRSRC13/CORE/V1DB/render.h diff --git a/BRSRC13/CORE/V1DB/v1dbfile.c b/src/BRSRC13/CORE/V1DB/v1dbfile.c similarity index 100% rename from BRSRC13/CORE/V1DB/v1dbfile.c rename to src/BRSRC13/CORE/V1DB/v1dbfile.c diff --git a/BRSRC13/CORE/V1DB/v1dbfile.h b/src/BRSRC13/CORE/V1DB/v1dbfile.h similarity index 100% rename from BRSRC13/CORE/V1DB/v1dbfile.h rename to src/BRSRC13/CORE/V1DB/v1dbfile.h diff --git a/DETHRACE/source/common/brucetrk.c b/src/DETHRACE/source/common/brucetrk.c similarity index 100% rename from DETHRACE/source/common/brucetrk.c rename to src/DETHRACE/source/common/brucetrk.c diff --git a/DETHRACE/source/common/brucetrk.h b/src/DETHRACE/source/common/brucetrk.h similarity index 100% rename from DETHRACE/source/common/brucetrk.h rename to src/DETHRACE/source/common/brucetrk.h diff --git a/DETHRACE/source/common/car.c b/src/DETHRACE/source/common/car.c similarity index 100% rename from DETHRACE/source/common/car.c rename to src/DETHRACE/source/common/car.c diff --git a/DETHRACE/source/common/car.h b/src/DETHRACE/source/common/car.h similarity index 100% rename from DETHRACE/source/common/car.h rename to src/DETHRACE/source/common/car.h diff --git a/DETHRACE/source/common/controls.c b/src/DETHRACE/source/common/controls.c similarity index 100% rename from DETHRACE/source/common/controls.c rename to src/DETHRACE/source/common/controls.c diff --git a/DETHRACE/source/common/controls.h b/src/DETHRACE/source/common/controls.h similarity index 100% rename from DETHRACE/source/common/controls.h rename to src/DETHRACE/source/common/controls.h diff --git a/DETHRACE/source/common/crush.c b/src/DETHRACE/source/common/crush.c similarity index 100% rename from DETHRACE/source/common/crush.c rename to src/DETHRACE/source/common/crush.c diff --git a/DETHRACE/source/common/crush.h b/src/DETHRACE/source/common/crush.h similarity index 100% rename from DETHRACE/source/common/crush.h rename to src/DETHRACE/source/common/crush.h diff --git a/DETHRACE/source/common/cutscene.c b/src/DETHRACE/source/common/cutscene.c similarity index 100% rename from DETHRACE/source/common/cutscene.c rename to src/DETHRACE/source/common/cutscene.c diff --git a/DETHRACE/source/common/cutscene.h b/src/DETHRACE/source/common/cutscene.h similarity index 100% rename from DETHRACE/source/common/cutscene.h rename to src/DETHRACE/source/common/cutscene.h diff --git a/DETHRACE/source/common/demo.c b/src/DETHRACE/source/common/demo.c similarity index 100% rename from DETHRACE/source/common/demo.c rename to src/DETHRACE/source/common/demo.c diff --git a/DETHRACE/source/common/demo.h b/src/DETHRACE/source/common/demo.h similarity index 100% rename from DETHRACE/source/common/demo.h rename to src/DETHRACE/source/common/demo.h diff --git a/DETHRACE/source/common/depth.c b/src/DETHRACE/source/common/depth.c similarity index 100% rename from DETHRACE/source/common/depth.c rename to src/DETHRACE/source/common/depth.c diff --git a/DETHRACE/source/common/depth.h b/src/DETHRACE/source/common/depth.h similarity index 100% rename from DETHRACE/source/common/depth.h rename to src/DETHRACE/source/common/depth.h diff --git a/DETHRACE/source/common/displays.c b/src/DETHRACE/source/common/displays.c similarity index 100% rename from DETHRACE/source/common/displays.c rename to src/DETHRACE/source/common/displays.c diff --git a/DETHRACE/source/common/displays.h b/src/DETHRACE/source/common/displays.h similarity index 100% rename from DETHRACE/source/common/displays.h rename to src/DETHRACE/source/common/displays.h diff --git a/DETHRACE/source/common/drfile.c b/src/DETHRACE/source/common/drfile.c similarity index 100% rename from DETHRACE/source/common/drfile.c rename to src/DETHRACE/source/common/drfile.c diff --git a/DETHRACE/source/common/drfile.h b/src/DETHRACE/source/common/drfile.h similarity index 100% rename from DETHRACE/source/common/drfile.h rename to src/DETHRACE/source/common/drfile.h diff --git a/DETHRACE/source/common/drmem.c b/src/DETHRACE/source/common/drmem.c similarity index 100% rename from DETHRACE/source/common/drmem.c rename to src/DETHRACE/source/common/drmem.c diff --git a/DETHRACE/source/common/drmem.h b/src/DETHRACE/source/common/drmem.h similarity index 100% rename from DETHRACE/source/common/drmem.h rename to src/DETHRACE/source/common/drmem.h diff --git a/DETHRACE/source/common/errors.c b/src/DETHRACE/source/common/errors.c similarity index 100% rename from DETHRACE/source/common/errors.c rename to src/DETHRACE/source/common/errors.c diff --git a/DETHRACE/source/common/errors.h b/src/DETHRACE/source/common/errors.h similarity index 100% rename from DETHRACE/source/common/errors.h rename to src/DETHRACE/source/common/errors.h diff --git a/DETHRACE/source/common/finteray.c b/src/DETHRACE/source/common/finteray.c similarity index 100% rename from DETHRACE/source/common/finteray.c rename to src/DETHRACE/source/common/finteray.c diff --git a/DETHRACE/source/common/finteray.h b/src/DETHRACE/source/common/finteray.h similarity index 100% rename from DETHRACE/source/common/finteray.h rename to src/DETHRACE/source/common/finteray.h diff --git a/DETHRACE/source/common/flicplay.c b/src/DETHRACE/source/common/flicplay.c similarity index 100% rename from DETHRACE/source/common/flicplay.c rename to src/DETHRACE/source/common/flicplay.c diff --git a/DETHRACE/source/common/flicplay.h b/src/DETHRACE/source/common/flicplay.h similarity index 100% rename from DETHRACE/source/common/flicplay.h rename to src/DETHRACE/source/common/flicplay.h diff --git a/DETHRACE/source/common/globvars.c b/src/DETHRACE/source/common/globvars.c similarity index 100% rename from DETHRACE/source/common/globvars.c rename to src/DETHRACE/source/common/globvars.c diff --git a/DETHRACE/source/common/globvars.h b/src/DETHRACE/source/common/globvars.h similarity index 100% rename from DETHRACE/source/common/globvars.h rename to src/DETHRACE/source/common/globvars.h diff --git a/DETHRACE/source/common/globvrbm.c b/src/DETHRACE/source/common/globvrbm.c similarity index 100% rename from DETHRACE/source/common/globvrbm.c rename to src/DETHRACE/source/common/globvrbm.c diff --git a/DETHRACE/source/common/globvrbm.h b/src/DETHRACE/source/common/globvrbm.h similarity index 100% rename from DETHRACE/source/common/globvrbm.h rename to src/DETHRACE/source/common/globvrbm.h diff --git a/DETHRACE/source/common/globvrkm.c b/src/DETHRACE/source/common/globvrkm.c similarity index 100% rename from DETHRACE/source/common/globvrkm.c rename to src/DETHRACE/source/common/globvrkm.c diff --git a/DETHRACE/source/common/globvrkm.h b/src/DETHRACE/source/common/globvrkm.h similarity index 100% rename from DETHRACE/source/common/globvrkm.h rename to src/DETHRACE/source/common/globvrkm.h diff --git a/DETHRACE/source/common/globvrme.c b/src/DETHRACE/source/common/globvrme.c similarity index 100% rename from DETHRACE/source/common/globvrme.c rename to src/DETHRACE/source/common/globvrme.c diff --git a/DETHRACE/source/common/globvrme.h b/src/DETHRACE/source/common/globvrme.h similarity index 100% rename from DETHRACE/source/common/globvrme.h rename to src/DETHRACE/source/common/globvrme.h diff --git a/DETHRACE/source/common/globvrpb.c b/src/DETHRACE/source/common/globvrpb.c similarity index 100% rename from DETHRACE/source/common/globvrpb.c rename to src/DETHRACE/source/common/globvrpb.c diff --git a/DETHRACE/source/common/globvrpb.h b/src/DETHRACE/source/common/globvrpb.h similarity index 100% rename from DETHRACE/source/common/globvrpb.h rename to src/DETHRACE/source/common/globvrpb.h diff --git a/DETHRACE/source/common/grafdata.c b/src/DETHRACE/source/common/grafdata.c similarity index 100% rename from DETHRACE/source/common/grafdata.c rename to src/DETHRACE/source/common/grafdata.c diff --git a/DETHRACE/source/common/grafdata.h b/src/DETHRACE/source/common/grafdata.h similarity index 100% rename from DETHRACE/source/common/grafdata.h rename to src/DETHRACE/source/common/grafdata.h diff --git a/DETHRACE/source/common/graphics.c b/src/DETHRACE/source/common/graphics.c similarity index 100% rename from DETHRACE/source/common/graphics.c rename to src/DETHRACE/source/common/graphics.c diff --git a/DETHRACE/source/common/graphics.h b/src/DETHRACE/source/common/graphics.h similarity index 100% rename from DETHRACE/source/common/graphics.h rename to src/DETHRACE/source/common/graphics.h diff --git a/DETHRACE/source/common/init.c b/src/DETHRACE/source/common/init.c similarity index 100% rename from DETHRACE/source/common/init.c rename to src/DETHRACE/source/common/init.c diff --git a/DETHRACE/source/common/init.h b/src/DETHRACE/source/common/init.h similarity index 100% rename from DETHRACE/source/common/init.h rename to src/DETHRACE/source/common/init.h diff --git a/DETHRACE/source/common/input.c b/src/DETHRACE/source/common/input.c similarity index 100% rename from DETHRACE/source/common/input.c rename to src/DETHRACE/source/common/input.c diff --git a/DETHRACE/source/common/input.h b/src/DETHRACE/source/common/input.h similarity index 100% rename from DETHRACE/source/common/input.h rename to src/DETHRACE/source/common/input.h diff --git a/DETHRACE/source/common/intrface.c b/src/DETHRACE/source/common/intrface.c similarity index 100% rename from DETHRACE/source/common/intrface.c rename to src/DETHRACE/source/common/intrface.c diff --git a/DETHRACE/source/common/intrface.h b/src/DETHRACE/source/common/intrface.h similarity index 100% rename from DETHRACE/source/common/intrface.h rename to src/DETHRACE/source/common/intrface.h diff --git a/DETHRACE/source/common/loading.c b/src/DETHRACE/source/common/loading.c similarity index 100% rename from DETHRACE/source/common/loading.c rename to src/DETHRACE/source/common/loading.c diff --git a/DETHRACE/source/common/loading.h b/src/DETHRACE/source/common/loading.h similarity index 100% rename from DETHRACE/source/common/loading.h rename to src/DETHRACE/source/common/loading.h diff --git a/DETHRACE/source/common/loadsave.c b/src/DETHRACE/source/common/loadsave.c similarity index 100% rename from DETHRACE/source/common/loadsave.c rename to src/DETHRACE/source/common/loadsave.c diff --git a/DETHRACE/source/common/loadsave.h b/src/DETHRACE/source/common/loadsave.h similarity index 100% rename from DETHRACE/source/common/loadsave.h rename to src/DETHRACE/source/common/loadsave.h diff --git a/DETHRACE/source/common/main.c b/src/DETHRACE/source/common/main.c similarity index 100% rename from DETHRACE/source/common/main.c rename to src/DETHRACE/source/common/main.c diff --git a/DETHRACE/source/common/main.h b/src/DETHRACE/source/common/main.h similarity index 100% rename from DETHRACE/source/common/main.h rename to src/DETHRACE/source/common/main.h diff --git a/DETHRACE/source/common/mainloop.c b/src/DETHRACE/source/common/mainloop.c similarity index 100% rename from DETHRACE/source/common/mainloop.c rename to src/DETHRACE/source/common/mainloop.c diff --git a/DETHRACE/source/common/mainloop.h b/src/DETHRACE/source/common/mainloop.h similarity index 100% rename from DETHRACE/source/common/mainloop.h rename to src/DETHRACE/source/common/mainloop.h diff --git a/DETHRACE/source/common/mainmenu.c b/src/DETHRACE/source/common/mainmenu.c similarity index 100% rename from DETHRACE/source/common/mainmenu.c rename to src/DETHRACE/source/common/mainmenu.c diff --git a/DETHRACE/source/common/mainmenu.h b/src/DETHRACE/source/common/mainmenu.h similarity index 100% rename from DETHRACE/source/common/mainmenu.h rename to src/DETHRACE/source/common/mainmenu.h diff --git a/DETHRACE/source/common/netgame.c b/src/DETHRACE/source/common/netgame.c similarity index 100% rename from DETHRACE/source/common/netgame.c rename to src/DETHRACE/source/common/netgame.c diff --git a/DETHRACE/source/common/netgame.h b/src/DETHRACE/source/common/netgame.h similarity index 100% rename from DETHRACE/source/common/netgame.h rename to src/DETHRACE/source/common/netgame.h diff --git a/DETHRACE/source/common/network.c b/src/DETHRACE/source/common/network.c similarity index 100% rename from DETHRACE/source/common/network.c rename to src/DETHRACE/source/common/network.c diff --git a/DETHRACE/source/common/network.h b/src/DETHRACE/source/common/network.h similarity index 100% rename from DETHRACE/source/common/network.h rename to src/DETHRACE/source/common/network.h diff --git a/DETHRACE/source/common/newgame.c b/src/DETHRACE/source/common/newgame.c similarity index 100% rename from DETHRACE/source/common/newgame.c rename to src/DETHRACE/source/common/newgame.c diff --git a/DETHRACE/source/common/newgame.h b/src/DETHRACE/source/common/newgame.h similarity index 100% rename from DETHRACE/source/common/newgame.h rename to src/DETHRACE/source/common/newgame.h diff --git a/DETHRACE/source/common/oil.c b/src/DETHRACE/source/common/oil.c similarity index 100% rename from DETHRACE/source/common/oil.c rename to src/DETHRACE/source/common/oil.c diff --git a/DETHRACE/source/common/oil.h b/src/DETHRACE/source/common/oil.h similarity index 100% rename from DETHRACE/source/common/oil.h rename to src/DETHRACE/source/common/oil.h diff --git a/DETHRACE/source/common/oppocar.c b/src/DETHRACE/source/common/oppocar.c similarity index 100% rename from DETHRACE/source/common/oppocar.c rename to src/DETHRACE/source/common/oppocar.c diff --git a/DETHRACE/source/common/oppocar.h b/src/DETHRACE/source/common/oppocar.h similarity index 100% rename from DETHRACE/source/common/oppocar.h rename to src/DETHRACE/source/common/oppocar.h diff --git a/DETHRACE/source/common/opponent.c b/src/DETHRACE/source/common/opponent.c similarity index 100% rename from DETHRACE/source/common/opponent.c rename to src/DETHRACE/source/common/opponent.c diff --git a/DETHRACE/source/common/opponent.h b/src/DETHRACE/source/common/opponent.h similarity index 100% rename from DETHRACE/source/common/opponent.h rename to src/DETHRACE/source/common/opponent.h diff --git a/DETHRACE/source/common/oppoproc.c b/src/DETHRACE/source/common/oppoproc.c similarity index 100% rename from DETHRACE/source/common/oppoproc.c rename to src/DETHRACE/source/common/oppoproc.c diff --git a/DETHRACE/source/common/oppoproc.h b/src/DETHRACE/source/common/oppoproc.h similarity index 100% rename from DETHRACE/source/common/oppoproc.h rename to src/DETHRACE/source/common/oppoproc.h diff --git a/DETHRACE/source/common/options.c b/src/DETHRACE/source/common/options.c similarity index 100% rename from DETHRACE/source/common/options.c rename to src/DETHRACE/source/common/options.c diff --git a/DETHRACE/source/common/options.h b/src/DETHRACE/source/common/options.h similarity index 100% rename from DETHRACE/source/common/options.h rename to src/DETHRACE/source/common/options.h diff --git a/DETHRACE/source/common/pedestrn.c b/src/DETHRACE/source/common/pedestrn.c similarity index 100% rename from DETHRACE/source/common/pedestrn.c rename to src/DETHRACE/source/common/pedestrn.c diff --git a/DETHRACE/source/common/pedestrn.h b/src/DETHRACE/source/common/pedestrn.h similarity index 100% rename from DETHRACE/source/common/pedestrn.h rename to src/DETHRACE/source/common/pedestrn.h diff --git a/DETHRACE/source/common/piping.c b/src/DETHRACE/source/common/piping.c similarity index 100% rename from DETHRACE/source/common/piping.c rename to src/DETHRACE/source/common/piping.c diff --git a/DETHRACE/source/common/piping.h b/src/DETHRACE/source/common/piping.h similarity index 100% rename from DETHRACE/source/common/piping.h rename to src/DETHRACE/source/common/piping.h diff --git a/DETHRACE/source/common/powerup.c b/src/DETHRACE/source/common/powerup.c similarity index 100% rename from DETHRACE/source/common/powerup.c rename to src/DETHRACE/source/common/powerup.c diff --git a/DETHRACE/source/common/powerup.h b/src/DETHRACE/source/common/powerup.h similarity index 100% rename from DETHRACE/source/common/powerup.h rename to src/DETHRACE/source/common/powerup.h diff --git a/DETHRACE/source/common/pratcam.c b/src/DETHRACE/source/common/pratcam.c similarity index 100% rename from DETHRACE/source/common/pratcam.c rename to src/DETHRACE/source/common/pratcam.c diff --git a/DETHRACE/source/common/pratcam.h b/src/DETHRACE/source/common/pratcam.h similarity index 100% rename from DETHRACE/source/common/pratcam.h rename to src/DETHRACE/source/common/pratcam.h diff --git a/DETHRACE/source/common/racestrt.c b/src/DETHRACE/source/common/racestrt.c similarity index 100% rename from DETHRACE/source/common/racestrt.c rename to src/DETHRACE/source/common/racestrt.c diff --git a/DETHRACE/source/common/racestrt.h b/src/DETHRACE/source/common/racestrt.h similarity index 100% rename from DETHRACE/source/common/racestrt.h rename to src/DETHRACE/source/common/racestrt.h diff --git a/DETHRACE/source/common/racesumm.c b/src/DETHRACE/source/common/racesumm.c similarity index 100% rename from DETHRACE/source/common/racesumm.c rename to src/DETHRACE/source/common/racesumm.c diff --git a/DETHRACE/source/common/racesumm.h b/src/DETHRACE/source/common/racesumm.h similarity index 100% rename from DETHRACE/source/common/racesumm.h rename to src/DETHRACE/source/common/racesumm.h diff --git a/DETHRACE/source/common/raycast.c b/src/DETHRACE/source/common/raycast.c similarity index 100% rename from DETHRACE/source/common/raycast.c rename to src/DETHRACE/source/common/raycast.c diff --git a/DETHRACE/source/common/raycast.h b/src/DETHRACE/source/common/raycast.h similarity index 100% rename from DETHRACE/source/common/raycast.h rename to src/DETHRACE/source/common/raycast.h diff --git a/DETHRACE/source/common/replay.c b/src/DETHRACE/source/common/replay.c similarity index 100% rename from DETHRACE/source/common/replay.c rename to src/DETHRACE/source/common/replay.c diff --git a/DETHRACE/source/common/replay.h b/src/DETHRACE/source/common/replay.h similarity index 100% rename from DETHRACE/source/common/replay.h rename to src/DETHRACE/source/common/replay.h diff --git a/DETHRACE/source/common/skidmark.c b/src/DETHRACE/source/common/skidmark.c similarity index 100% rename from DETHRACE/source/common/skidmark.c rename to src/DETHRACE/source/common/skidmark.c diff --git a/DETHRACE/source/common/skidmark.h b/src/DETHRACE/source/common/skidmark.h similarity index 100% rename from DETHRACE/source/common/skidmark.h rename to src/DETHRACE/source/common/skidmark.h diff --git a/DETHRACE/source/common/sound.c b/src/DETHRACE/source/common/sound.c similarity index 100% rename from DETHRACE/source/common/sound.c rename to src/DETHRACE/source/common/sound.c diff --git a/DETHRACE/source/common/sound.h b/src/DETHRACE/source/common/sound.h similarity index 100% rename from DETHRACE/source/common/sound.h rename to src/DETHRACE/source/common/sound.h diff --git a/DETHRACE/source/common/spark.c b/src/DETHRACE/source/common/spark.c similarity index 100% rename from DETHRACE/source/common/spark.c rename to src/DETHRACE/source/common/spark.c diff --git a/DETHRACE/source/common/spark.h b/src/DETHRACE/source/common/spark.h similarity index 100% rename from DETHRACE/source/common/spark.h rename to src/DETHRACE/source/common/spark.h diff --git a/DETHRACE/source/common/structur.c b/src/DETHRACE/source/common/structur.c similarity index 100% rename from DETHRACE/source/common/structur.c rename to src/DETHRACE/source/common/structur.c diff --git a/DETHRACE/source/common/structur.h b/src/DETHRACE/source/common/structur.h similarity index 100% rename from DETHRACE/source/common/structur.h rename to src/DETHRACE/source/common/structur.h diff --git a/DETHRACE/source/common/trig.c b/src/DETHRACE/source/common/trig.c similarity index 100% rename from DETHRACE/source/common/trig.c rename to src/DETHRACE/source/common/trig.c diff --git a/DETHRACE/source/common/trig.h b/src/DETHRACE/source/common/trig.h similarity index 100% rename from DETHRACE/source/common/trig.h rename to src/DETHRACE/source/common/trig.h diff --git a/DETHRACE/source/common/utility.c b/src/DETHRACE/source/common/utility.c similarity index 100% rename from DETHRACE/source/common/utility.c rename to src/DETHRACE/source/common/utility.c diff --git a/DETHRACE/source/common/utility.h b/src/DETHRACE/source/common/utility.h similarity index 100% rename from DETHRACE/source/common/utility.h rename to src/DETHRACE/source/common/utility.h diff --git a/DETHRACE/source/common/world.c b/src/DETHRACE/source/common/world.c similarity index 100% rename from DETHRACE/source/common/world.c rename to src/DETHRACE/source/common/world.c diff --git a/DETHRACE/source/common/world.h b/src/DETHRACE/source/common/world.h similarity index 100% rename from DETHRACE/source/common/world.h rename to src/DETHRACE/source/common/world.h diff --git a/DETHRACE/source/pc-dos/dosnet.c b/src/DETHRACE/source/pc-dos/dosnet.c similarity index 100% rename from DETHRACE/source/pc-dos/dosnet.c rename to src/DETHRACE/source/pc-dos/dosnet.c diff --git a/DETHRACE/source/pc-dos/dosnet.h b/src/DETHRACE/source/pc-dos/dosnet.h similarity index 100% rename from DETHRACE/source/pc-dos/dosnet.h rename to src/DETHRACE/source/pc-dos/dosnet.h diff --git a/DETHRACE/source/pc-dos/dossys.c b/src/DETHRACE/source/pc-dos/dossys.c similarity index 100% rename from DETHRACE/source/pc-dos/dossys.c rename to src/DETHRACE/source/pc-dos/dossys.c diff --git a/DETHRACE/source/pc-dos/dossys.h b/src/DETHRACE/source/pc-dos/dossys.h similarity index 100% rename from DETHRACE/source/pc-dos/dossys.h rename to src/DETHRACE/source/pc-dos/dossys.h diff --git a/src/types/br_types.h b/src/types/br_types.h new file mode 100644 index 00000000..64cc3bb4 --- /dev/null +++ b/src/types/br_types.h @@ -0,0 +1,2308 @@ +#ifndef BR_TYPES_H +#define BR_TYPES_H + +typedef long br_int_32; +typedef unsigned long br_uint_32; +typedef short br_int_16; +typedef unsigned short br_uint_16; +typedef signed char br_int_8; +typedef unsigned char br_uint_8; +typedef unsigned int br_size_t; +typedef int br_boolean; +typedef float br_float; +typedef struct br_filesystem br_filesystem; +typedef struct br_allocator br_allocator; +typedef struct br_resource_class br_resource_class; +typedef struct br_diaghandler br_diaghandler; +typedef struct br_errorhandler br_errorhandler; +typedef br_uint_32 br_error; +typedef long br_fixed_ls; +typedef short br_fixed_lsf; +typedef unsigned long br_fixed_lu; +typedef unsigned short br_fixed_luf; +typedef short br_fixed_ss; +typedef char br_fixed_ssf; +typedef unsigned short br_fixed_su; +typedef unsigned char br_fixed_suf; +typedef float br_scalar; +typedef float br_fraction; +typedef float br_ufraction; +typedef br_fixed_ls br_scalar_x; +typedef br_fixed_lsf br_fraction_x; +typedef br_fixed_luf br_ufraction_x; +typedef float br_scalar_f; +typedef float br_fraction_f; +typedef float br_ufraction_f; +typedef unsigned long br_colour; +typedef struct br_colour_range br_colour_range; +typedef struct br_matrix23 br_matrix23; +typedef struct br_matrix23_f br_matrix23_f; +typedef struct br_matrix23_x br_matrix23_x; +typedef struct br_matrix34 br_matrix34; +typedef struct br_matrix34_f br_matrix34_f; +typedef struct br_matrix34_x br_matrix34_x; +typedef struct br_matrix4 br_matrix4; +typedef struct br_matrix4_f br_matrix4_f; +typedef struct br_matrix4_x br_matrix4_x; +typedef struct br_vector2 br_vector2; +typedef struct br_vector3 br_vector3; +typedef struct br_vector4 br_vector4; +typedef struct br_vector2_x br_vector2_x; +typedef struct br_vector3_x br_vector3_x; +typedef struct br_vector4_x br_vector4_x; +typedef struct br_vector2_f br_vector2_f; +typedef struct br_vector3_f br_vector3_f; +typedef struct br_vector4_f br_vector4_f; +typedef struct br_vector2_i br_vector2_i; +typedef struct br_vector3_i br_vector3_i; +typedef struct br_vector4_i br_vector4_i; +typedef struct br_fvector2 br_fvector2; +typedef struct br_fvector3 br_fvector3; +typedef struct br_fvector4 br_fvector4; +typedef struct br_fvector2_f br_fvector2_f; +typedef struct br_fvector3_f br_fvector3_f; +typedef struct br_fvector4_f br_fvector4_f; +typedef struct br_fvector2_x br_fvector2_x; +typedef struct br_fvector3_x br_fvector3_x; +typedef struct br_fvector4_x br_fvector4_x; +typedef struct br_bounds2 br_bounds2; +typedef struct br_bounds3 br_bounds3; +typedef struct br_bounds4 br_bounds4; +typedef struct br_bounds2_f br_bounds2_f; +typedef struct br_bounds3_f br_bounds3_f; +typedef struct br_bounds4_f br_bounds4_f; +typedef struct br_bounds2_x br_bounds2_x; +typedef struct br_bounds3_x br_bounds3_x; +typedef struct br_bounds4_x br_bounds4_x; +typedef struct br_bounds2_i br_bounds2_i; +typedef struct br_bounds3_i br_bounds3_i; +typedef struct br_bounds4_i br_bounds4_i; +typedef br_bounds3 br_bounds; +typedef br_bounds2_i br_bounds2i; +typedef br_bounds3_i br_bounds3i; +typedef br_bounds4_i br_bounds4i; +typedef br_fixed_luf br_angle; +typedef struct br_euler br_euler; +typedef struct br_quat br_quat; +typedef struct br_transform br_transform; +typedef struct br_pixelmap br_pixelmap; +typedef struct br_point br_point; +typedef struct br_rectangle br_rectangle; +typedef struct br_font br_font; +typedef struct br_object br_object; +typedef br_value_tag br_value; +typedef struct br_token_value br_token_value; +typedef struct br_pool_block br_pool_block; +typedef struct br_pool br_pool; +typedef struct br_primitive br_primitive; +typedef struct br_order_table br_order_table; +typedef struct br_primitive_heap br_primitive_heap; +typedef br_associative_array_tag br_associative_array; +typedef struct br_device br_device; +typedef struct br_outfcty_desc br_outfcty_desc; +typedef struct br_renderer_facility br_renderer_facility; +typedef struct br_device_pixelmap br_device_pixelmap; +typedef struct br_primitive_library br_primitive_library; +typedef struct br_geometry br_geometry; +typedef struct br_renderer br_renderer; +typedef struct br_material br_material; +typedef struct br_vertex br_vertex; +typedef struct br_face br_face; +typedef struct br_primitive_list br_primitive_list; +typedef struct br_vertex_single br_vertex_single; +typedef struct br_vertex_double br_vertex_double; +typedef struct br_point_prim br_point_prim; +typedef struct br_line br_line; +typedef struct br_triangle br_triangle; +typedef struct br_quad br_quad; +typedef struct br_strip_face_data br_strip_face_data; +typedef struct br_tri_strip br_tri_strip; +typedef br_tri_strip br_tri_fan; +typedef br_tri_strip br_quad_strip; +typedef struct br_actor br_actor; +typedef struct br_model br_model; +typedef struct br_camera br_camera; +typedef struct br_light br_light; +typedef struct br_fmt_results br_fmt_results; +typedef struct br_fmt_options br_fmt_options; +typedef struct br_3ds_options br_3ds_options; + +typedef enum br_filesystem_attributes { + BR_FS_ATTR_READABLE = 1, + BR_FS_ATTR_WRITEABLE = 2, + BR_FS_ATTR_HAS_TEXT = 4, + BR_FS_ATTR_HAS_BINARY = 8, + BR_FS_ATTR_HAS_ADVANCE = 16 +} br_filesystem_attributes; + + +typedef enum br_filesystem_identify { + BR_FS_MODE_BINARY = 0, + BR_FS_MODE_TEXT = 1, + BR_FS_MODE_UNKNOWN = 2 +} br_filesystem_identify; + + +typedef enum br_memory_classes { + BR_MEMORY_SCRATCH = 1, + BR_MEMORY_PIXELMAP = 2, + BR_MEMORY_PIXELS = 3, + BR_MEMORY_VERTICES = 4, + BR_MEMORY_FACES = 5, + BR_MEMORY_GROUPS = 6, + BR_MEMORY_MODEL = 7, + BR_MEMORY_MATERIAL = 8, + BR_MEMORY_MATERIAL_INDEX = 9, + BR_MEMORY_ACTOR = 10, + BR_MEMORY_PREPARED_VERTICES = 11, + BR_MEMORY_PREPARED_FACES = 12, + BR_MEMORY_LIGHT = 13, + BR_MEMORY_CAMERA = 14, + BR_MEMORY_BOUNDS = 15, + BR_MEMORY_CLIP_PLANE = 16, + BR_MEMORY_STRING = 17, + BR_MEMORY_REGISTRY = 18, + BR_MEMORY_TRANSFORM = 19, + BR_MEMORY_RESOURCE_CLASS = 20, + BR_MEMORY_FILE = 21, + BR_MEMORY_ANCHOR = 22, + BR_MEMORY_POOL = 23, + BR_MEMORY_RENDER_MATERIAL = 24, + BR_MEMORY_DATAFILE = 25, + BR_MEMORY_IMAGE = 26, + BR_MEMORY_IMAGE_ARENA = 27, + BR_MEMORY_IMAGE_SECTIONS = 28, + BR_MEMORY_IMAGE_NAMES = 29, + BR_MEMORY_EXCEPTION_HANDLER = 30, + BR_MEMORY_RENDER_DATA = 31, + BR_MEMORY_TOKEN = 32, + BR_MEMORY_TOKEN_MAP = 33, + BR_MEMORY_OBJECT = 34, + BR_MEMORY_OBJECT_DATA = 35, + BR_MEMORY_DRIVER = 36, + BR_MEMORY_LEXER = 37, + BR_MEMORY_OBJECT_LIST = 38, + BR_MEMORY_OBJECT_LIST_ENTRY = 39, + BR_MEMORY_ENABLED_ACTORS = 40, + BR_MEMORY_FMT_RESULTS = 41, + BR_MEMORY_PREPARED_MODEL = 42, + BR_MEMORY_ORDER_TABLE = 43, + BR_MEMORY_TOKEN_VALUE = 44, + BR_MEMORY_TOKEN_TEMPLATE = 45, + BR_MEMORY_FREE = 127, + BR_MEMORY_APPLICATION = 128, + BR_MEMORY_MAX = 256 +} br_memory_classes; + + +typedef enum br_pixelmap_allocate_flags { + BR_PMAF_NORMAL = 0, + BR_PMAF_INVERTED = 1, + BR_PMAF_NO_PIXELS = 2 +} br_pixelmap_allocate_flags; + + +typedef enum br_pixelmap_channel_mask { + BR_PMCHAN_INDEX = 1, + BR_PMCHAN_RGB = 2, + BR_PMCHAN_DEPTH = 4, + BR_PMCHAN_ALPHA = 8, + BR_PMCHAN_YUV = 16, + BR_PMCHAN_VECTOR = 32 +} br_pixelmap_channel_mask; + + +typedef enum br_pmmatch_type { + BR_PMMATCH_OFFSCREEN = 0, + BR_PMMATCH_DEPTH_16 = 1, + BR_PMMATCH_DEPTH = 2, + BR_PMMATCH_HIDDEN = 3, + BR_PMMATCH_HIDDEN_BUFFER = 4, + BR_PMMATCH_NO_RENDER = 5, + BR_PMMATCH_DEPTH_8 = 6, + BR_PMMATCH_DEPTH_32 = 7, + BR_PMMATCH_DEPTH_15 = 8, + BR_PMMATCH_DEPTH_31 = 9, + BR_PMMATCH_DEPTH_FP15 = 10, + BR_PMMATCH_DEPTH_FP16 = 11, + BR_PMMATCH_MAX = 12 +} br_pmmatch_type; + + +typedef enum br_pixelmap_copy_function { + BR_PMCOPY_NORMAL = 0, + BR_PMCOPY_SRC_KEYED = 1, + BR_PMCOPY_DST_KEYED = 2 +} br_pixelmap_copy_function; + + +typedef enum br_clip_result { + BR_CLIP_REJECT = 0, + BR_CLIP_PARTIAL = 1, + BR_CLIP_ACCEPT = 2 +} br_clip_result; + + +typedef enum br_token { + BRT_ABGR_1_5_5_5 = 319, + BRT_ABGR_4_4_4_4 = 335, + BRT_ABGR_8_8_8_8 = 331, + BRT_ACCEPT = 276, + BRT_AINDEX_4_4 = 345, + BRT_AINDEX_8_8 = 344, + BRT_ALPHA = 85, + BRT_ALWAYS = 163, + BRT_AMBIENT_F = 193, + BRT_AMBIENT_X = 192, + BRT_ANGLE = 13, + BRT_ANTIALIASING_T = 298, + BRT_ANTIALIASING_TL = 299, + BRT_ARGB_1_5_5_5 = 318, + BRT_ARGB_4_4_4_4 = 334, + BRT_ARGB_8_8_8_8 = 330, + BRT_ATTENUATION_C_F = 222, + BRT_ATTENUATION_C_X = 221, + BRT_ATTENUATION_L_F = 220, + BRT_ATTENUATION_L_X = 219, + BRT_ATTENUATION_Q_F = 224, + BRT_ATTENUATION_Q_X = 223, + BRT_A_4 = 450, + BRT_A_8 = 341, + BRT_BEST_QUALITY = 380, + BRT_BEST_SPEED = 291, + BRT_BGRA_4_4_4_4 = 336, + BRT_BGRA_8_8_8_8 = 332, + BRT_BGRX_8_8_8_8 = 328, + BRT_BGR_2_3_2 = 323, + BRT_BGR_5_6_5 = 321, + BRT_BGR_8_8_8 = 325, + BRT_BLENDER_PROGRAM_P = 458, + BRT_BLEND_B = 133, + BRT_BLEND_CONSTANT = 445, + BRT_BLEND_DIMMED = 444, + BRT_BLEND_MODE_T = 440, + BRT_BLEND_MODE_TL = 441, + BRT_BLEND_STANDARD = 442, + BRT_BLEND_SUMMED = 443, + BRT_BLUE = 83, + BRT_BOOLEAN = 2, + BRT_BOTTOM_TOP = 67, + BRT_BOUNDS = 122, + BRT_BOUNDS_B = 255, + BRT_BRENDER_DEVICES_STR = 422, + BRT_BRENDER_DRIVERS_STR = 420, + BRT_BRENDER_PATH_STR = 419, + BRT_BRENDER_VERSION_U32 = 356, + BRT_BUCKET_SORT = 257, + BRT_BUFFER_STORED = 45, + BRT_BUMP_O = 170, + BRT_BUMP_TVL = 401, + BRT_CACHED_B = 286, + BRT_CACHED_SIZE_U32 = 287, + BRT_CACHED_TOTAL_U32 = 288, + BRT_CAN_SHARE_B = 110, + BRT_CLAMP = 308, + BRT_CLIP = 121, + BRT_CLIPPING_B = 254, + BRT_CLIP_MAX_I32 = 105, + BRT_CLONE = 102, + BRT_CLUT_MAX_I32 = 90, + BRT_CLUT_O = 68, + BRT_COLOUR_B = 135, + BRT_COLOUR_BUFFER_O = 249, + BRT_COLOUR_I32 = 189, + BRT_COLOUR_MAP_O = 165, + BRT_COLOUR_MAP_TVL = 396, + BRT_COLOUR_RGB = 14, + BRT_COLOUR_SOURCE_T = 180, + BRT_COLOUR_T = 136, + BRT_COLOUR_TL = 297, + BRT_COLOUR_WRITE_B = 132, + BRT_CONSTANT_STRING = 32, + BRT_COPY_BITS_F = 371, + BRT_COPY_BITS_X = 370, + BRT_COPY_DESTINATION_TVL = 361, + BRT_COPY_F = 363, + BRT_COPY_SOURCE_TVL = 360, + BRT_COPY_X = 362, + BRT_CREATOR_CSTR = 56, + BRT_CULL = 116, + BRT_CULL_B = 251, + BRT_DDI_VERSION_U32 = 357, + BRT_DECAL_B = 128, + BRT_DEFAULT = 138, + BRT_DEFAULT_BASE_I32 = 282, + BRT_DEFAULT_DEVICE_STR = 421, + BRT_DEFAULT_RANGE_I32 = 283, + BRT_DEPTH = 84, + BRT_DEPTH_BUFFER_O = 250, + BRT_DEPTH_TEST_T = 155, + BRT_DEPTH_TEST_TL = 304, + BRT_DEPTH_WRITE_B = 131, + BRT_DESTINATION_O = 114, + BRT_DEVICE = 37, + BRT_DEVICE_CLUT = 41, + BRT_DEVICE_PIXELMAP = 40, + BRT_DIBSECTION = 410, + BRT_DIFFUSE_F = 195, + BRT_DIFFUSE_X = 194, + BRT_DIRECT = 208, + BRT_DIRECT3D_HAL = 416, + BRT_DIRECT3D_RAMP = 414, + BRT_DIRECT3D_RENDER_METHOD_T = 413, + BRT_DIRECT3D_RGB = 415, + BRT_DIRECTDRAW = 411, + BRT_DIRECTDRAW_DEVICENAME_CSTR = 412, + BRT_DIRECTION_V3_F = 213, + BRT_DIRECTION_V3_X = 214, + BRT_DIRECT_F = 378, + BRT_DIRECT_X = 377, + BRT_DITHER = 431, + BRT_DITHER_B = 457, + BRT_DITHER_COLOUR_B = 129, + BRT_DITHER_COLOUR_T = 293, + BRT_DITHER_COLOUR_TL = 294, + BRT_DITHER_MAP_B = 130, + BRT_DITHER_MAP_T = 295, + BRT_DITHER_MAP_TL = 296, + BRT_DONT_CARE = 246, + BRT_D_15 = 446, + BRT_D_16 = 338, + BRT_D_24 = 339, + BRT_D_31 = 447, + BRT_D_32 = 340, + BRT_D_FP15 = 448, + BRT_D_FP16 = 449, + BRT_ENABLE = 119, + BRT_ENVIRONMENT_INFINITE = 184, + BRT_ENVIRONMENT_LOCAL = 183, + BRT_EQUAL = 158, + BRT_EVEN_ODD = 63, + BRT_FACILITY = 38, + BRT_FACILITY_O = 281, + BRT_FIXED = 11, + BRT_FLOAT = 12, + BRT_FOG_MAX_F = 153, + BRT_FOG_MAX_X = 154, + BRT_FOG_MIN_F = 151, + BRT_FOG_MIN_X = 152, + BRT_FOG_RGB = 150, + BRT_FOG_T = 149, + BRT_FOG_TL = 303, + BRT_FONT_NORMAL_O = 98, + BRT_FONT_NORMAL_P = 97, + BRT_FORCE_FRONT_B = 179, + BRT_FORMAT_T = 113, + BRT_GEOMETRY = 46, + BRT_GEOMETRY_LIGHTING = 51, + BRT_GEOMETRY_MAP = 185, + BRT_GEOMETRY_PRIMITIVES = 48, + BRT_GEOMETRY_STORED = 47, + BRT_GEOMETRY_V1_BUCKETS = 50, + BRT_GEOMETRY_V1_MODEL = 49, + BRT_GEOMETRY_X = 186, + BRT_GEOMETRY_Y = 187, + BRT_GEOMETRY_Z = 188, + BRT_GREATER = 156, + BRT_GREATER_OR_EQUAL = 157, + BRT_GREEN = 82, + BRT_HANDLE = 354, + BRT_HEIGHT_I32 = 72, + BRT_HEIGHT_MAX_I32 = 74, + BRT_HEIGHT_MIN_I32 = 73, + BRT_HEIGHT_OPTIMUM_I32 = 392, + BRT_HEIGHT_T = 389, + BRT_HEIGHT_TL = 390, + BRT_HIDDEN = 100, + BRT_HIDDEN_BUFFER = 278, + BRT_HIDDEN_SURFACE = 123, + BRT_HOST_MEMORY_U32 = 93, + BRT_IDENTIFIER_CSTR = 54, + BRT_INDEX = 80, + BRT_INDEXA_4_4 = 343, + BRT_INDEXA_8_8 = 342, + BRT_INDEXED_B = 86, + BRT_INDEX_1 = 312, + BRT_INDEX_2 = 313, + BRT_INDEX_4 = 314, + BRT_INDEX_8 = 315, + BRT_INDEX_BASE_I32 = 139, + BRT_INDEX_BLEND_O = 167, + BRT_INDEX_BLEND_TVL = 398, + BRT_INDEX_FOG_O = 394, + BRT_INDEX_FOG_TVL = 402, + BRT_INDEX_LIGHT_O = 169, + BRT_INDEX_LIGHT_TVL = 400, + BRT_INDEX_RANGE_I32 = 140, + BRT_INDEX_SHADE_O = 166, + BRT_INDEX_SHADE_TVL = 397, + BRT_INI_STR = 418, + BRT_INTEL = 423, + BRT_INTEL_386 = 427, + BRT_INTEL_486 = 428, + BRT_INTEL_PENTIUM = 429, + BRT_INTEL_PENTIUM_PRO = 430, + BRT_INTERLACE_B = 456, + BRT_INT_16 = 7, + BRT_INT_32 = 9, + BRT_INT_8 = 5, + BRT_KEY_IS_TRANSPARENT = 353, + BRT_LEFT_RIGHT = 64, + BRT_LENGTH_PRESERVING = 237, + BRT_LESS = 161, + BRT_LESS_OR_EQUAL = 160, + BRT_LIGHT = 120, + BRT_LIGHTING_B = 178, + BRT_LIGHT_MAX_I32 = 104, + BRT_LIGHT_VERTICES = 273, + BRT_LINE = 266, + BRT_LINEAR = 147, + BRT_LPDIRECTDRAWSURFACE_P = 432, + BRT_MAPPING_SOURCE_T = 182, + BRT_MAP_ANTIALIASING_T = 141, + BRT_MAP_ANTIALIASING_TL = 300, + BRT_MAP_HEIGHT_LIMIT_T = 310, + BRT_MAP_HEIGHT_LIMIT_TL = 311, + BRT_MAP_INTERPOLATION_MAG_T = 383, + BRT_MAP_INTERPOLATION_MAG_TL = 384, + BRT_MAP_INTERPOLATION_MIN_T = 385, + BRT_MAP_INTERPOLATION_MIN_TL = 386, + BRT_MAP_INTERPOLATION_T = 145, + BRT_MAP_INTERPOLATION_TL = 301, + BRT_MAP_MATRIX_M23_F = 200, + BRT_MAP_MATRIX_M23_X = 201, + BRT_MAP_WIDTH_LIMIT_T = 305, + BRT_MAP_WIDTH_LIMIT_TL = 306, + BRT_MATCH_TVL = 359, + BRT_MATRIX = 118, + BRT_MATRIX23_FIXED = 25, + BRT_MATRIX23_FLOAT = 28, + BRT_MATRIX34_FIXED = 26, + BRT_MATRIX34_FLOAT = 29, + BRT_MATRIX4_FIXED = 27, + BRT_MATRIX4_FLOAT = 30, + BRT_MAX_V2_F = 233, + BRT_MAX_V2_I = 231, + BRT_MAX_V2_X = 232, + BRT_MEMORY_MAPPED_B = 87, + BRT_MIN_V2_F = 230, + BRT_MIN_V2_I = 228, + BRT_MIN_V2_X = 229, + BRT_MIP = 142, + BRT_MIPS = 425, + BRT_MIP_INTERPOLATION_T = 148, + BRT_MIP_INTERPOLATION_TL = 302, + BRT_MIP_PER_PIXEL = 143, + BRT_MIP_PER_PRIMITIVE = 144, + BRT_MIRROR = 309, + BRT_MODEL = 177, + BRT_MODEL_TO_SCREEN_M4_F = 247, + BRT_MODEL_TO_SCREEN_M4_X = 248, + BRT_MODEL_TO_VIEW_HINT_T = 236, + BRT_MODEL_TO_VIEW_M34_F = 234, + BRT_MODEL_TO_VIEW_M34_X = 235, + BRT_MODE_U32 = 94, + BRT_MODULATE_B = 134, + BRT_MOTOROLA = 426, + BRT_NEAREST = 146, + BRT_NEVER = 162, + BRT_NONE = 1, + BRT_NOT_EQUAL = 159, + BRT_NO_RENDER = 379, + BRT_OBJECT = 15, + BRT_OBJECT_CONTAINER = 36, + BRT_OBJECT_LIST = 33, + BRT_ODD_EVEN = 62, + BRT_OFFSCREEN = 101, + BRT_ONE_SIDED = 173, + BRT_OPACITY_F = 191, + BRT_OPACITY_SOURCE_T = 181, + BRT_OPACITY_X = 190, + BRT_ORIGIN_V2_I = 96, + BRT_OUTPUT = 125, + BRT_OUTPUT_FACILITY = 39, + BRT_OUTPUT_FACILITY_O = 95, + BRT_PARALLEL = 242, + BRT_PARTIAL = 275, + BRT_PARTS_TL = 107, + BRT_PARTS_U32 = 112, + BRT_PERSPECTIVE = 241, + BRT_PERSPECTIVE_B = 127, + BRT_PERSPECTIVE_T = 289, + BRT_PERSPECTIVE_TL = 290, + BRT_PIXELMAP_MAX_I32 = 89, + BRT_PIXEL_BITS_I32 = 76, + BRT_PIXEL_CHANNELS_I32 = 78, + BRT_PIXEL_CHANNELS_TL = 79, + BRT_PIXEL_GET_F = 374, + BRT_PIXEL_GET_X = 373, + BRT_PIXEL_SET_F = 376, + BRT_PIXEL_SET_X = 375, + BRT_PIXEL_TYPE_U8 = 75, + BRT_PLANE = 225, + BRT_PLANE_V4_F = 226, + BRT_PLANE_V4_X = 227, + BRT_POINT = 209, + BRT_POINTER = 3, + BRT_POINTER_LIST = 35, + BRT_POSITION_V3_F = 211, + BRT_POSITION_V3_X = 212, + BRT_POWERPC = 424, + BRT_POWER_OF_2 = 351, + BRT_PREFER_SHARE_B = 111, + BRT_PRIMITIVE = 124, + BRT_PRIMITIVES = 270, + BRT_PRIMITIVE_BLOCK_P = 393, + BRT_PRIMITIVE_CUSTOM_P = 206, + BRT_PRIMITIVE_FILTER_P = 207, + BRT_PRIMITIVE_LIBRARY = 52, + BRT_PRIMITIVE_LIBRARY_O = 88, + BRT_PRIMITIVE_LIBRARY_P = 115, + BRT_PRIMITIVE_STATE = 53, + BRT_PRIVATE = 349, + BRT_PRODUCT_CSTR = 57, + BRT_PRODUCT_VERSION_CSTR = 58, + BRT_QUAD = 268, + BRT_QUAD_STRIP = 455, + BRT_RED = 81, + BRT_REGISTRY_STR = 417, + BRT_REJECT = 277, + BRT_RENDERER = 43, + BRT_RENDERER_FACILITY = 42, + BRT_RENDERER_FACILITY_O = 108, + BRT_RENDERER_MAX_I32 = 106, + BRT_RENDERER_O = 103, + BRT_RENDERER_STATE_STORED = 44, + BRT_RENDER_B = 256, + BRT_RGB = 137, + BRT_RGBA_4_4_4_4 = 337, + BRT_RGBA_8_8_8_8 = 333, + BRT_RGBX_8_8_8_8 = 329, + BRT_RGB_2_3_2 = 322, + BRT_RGB_5_6_5 = 320, + BRT_RGB_8_8_8 = 324, + BRT_RIGHT_LEFT = 65, + BRT_SCREEN_DOOR_O = 168, + BRT_SCREEN_DOOR_TVL = 399, + BRT_SHARED_B = 109, + BRT_SMOOTH_B = 126, + BRT_SPACE_T = 175, + BRT_SPECULAR_F = 197, + BRT_SPECULAR_POWER_F = 199, + BRT_SPECULAR_POWER_X = 198, + BRT_SPECULAR_X = 196, + BRT_SPOT = 210, + BRT_SPOT_INNER_F = 218, + BRT_SPOT_INNER_X = 217, + BRT_SPOT_OUTER_F = 216, + BRT_SPOT_OUTER_X = 215, + BRT_SPRITE = 265, + BRT_SQUARE = 350, + BRT_STATE_RESTORE = 269, + BRT_STEREO_B = 59, + BRT_STEREO_T = 60, + BRT_STEREO_TL = 61, + BRT_STORED_STATE_O = 264, + BRT_STRETCHDIBITS = 409, + BRT_STRETCH_COPY_DESTINATION_TVL = 365, + BRT_STRETCH_COPY_F = 369, + BRT_STRETCH_COPY_SOURCE_TVL = 364, + BRT_STRETCH_COPY_T = 366, + BRT_STRETCH_COPY_TL = 367, + BRT_STRETCH_COPY_X = 368, + BRT_STRING = 31, + BRT_SUBDIVIDE = 381, + BRT_SUBDIVIDE_TOLERANCE_I32 = 382, + BRT_SURFACE = 117, + BRT_SURFACE_B = 253, + BRT_SURFACE_C_CUSTOM_P = 202, + BRT_SURFACE_C_FILTER_P = 203, + BRT_SURFACE_V_CUSTOM_P = 204, + BRT_SURFACE_V_FILTER_P = 205, + BRT_SYCHRONISE_I32 = 372, + BRT_TEXTURE_MEMORY_U32 = 92, + BRT_TEXTURE_O = 164, + BRT_TEXTURE_TVL = 395, + BRT_TITLE_CSTR = 358, + BRT_TOKEN = 4, + BRT_TOKEN_LIST = 34, + BRT_TOKEN_VALUE_LIST = 355, + BRT_TOP_BOTTOM = 66, + BRT_TRANSFORM_B = 252, + BRT_TRIANGLE = 267, + BRT_TRI_FAN = 454, + BRT_TRI_STRIP = 453, + BRT_TWO_SIDED = 174, + BRT_TYPE_T = 172, + BRT_UINT_16 = 8, + BRT_UINT_32 = 10, + BRT_UINT_8 = 6, + BRT_UNKNOWN = 171, + BRT_USE_NO_3D_B = 279, + BRT_USE_NO_DEPTH_B = 280, + BRT_USE_T = 99, + BRT_V1BUCKETS = 272, + BRT_V1INSERT_ARG1_P = 261, + BRT_V1INSERT_ARG2_P = 262, + BRT_V1INSERT_ARG3_P = 263, + BRT_V1INSERT_FUNCTION_P = 260, + BRT_V1MODEL = 271, + BRT_V1ORDER_TABLE_P = 258, + BRT_V1PRIMITIVE_HEAP_P = 259, + BRT_VECTOR2_FIXED = 19, + BRT_VECTOR2_FLOAT = 22, + BRT_VECTOR2_INTEGER = 16, + BRT_VECTOR3_FIXED = 20, + BRT_VECTOR3_FLOAT = 23, + BRT_VECTOR3_INTEGER = 17, + BRT_VECTOR4_FIXED = 21, + BRT_VECTOR4_FLOAT = 24, + BRT_VECTOR4_INTEGER = 18, + BRT_VERSION_U32 = 55, + BRT_VERTEX_DBL = 452, + BRT_VERTEX_SGL = 451, + BRT_VERTICAL_BLANK = 274, + BRT_VIDEO_MEMORY_U32 = 91, + BRT_VIEW = 176, + BRT_VIEW_TO_ENVIRONMENT_HINT_T = 245, + BRT_VIEW_TO_ENVIRONMENT_M34_F = 243, + BRT_VIEW_TO_ENVIRONMENT_M34_X = 244, + BRT_VIEW_TO_SCREEN_HINT_T = 240, + BRT_VIEW_TO_SCREEN_M4_F = 238, + BRT_VIEW_TO_SCREEN_M4_X = 239, + BRT_WIDTH_I32 = 69, + BRT_WIDTH_MAX_I32 = 71, + BRT_WIDTH_MIN_I32 = 70, + BRT_WIDTH_OPTIMUM_I32 = 391, + BRT_WIDTH_T = 387, + BRT_WIDTH_TL = 388, + BRT_WINDOW_BUFFER_METHOD_T = 407, + BRT_WINDOW_FULLSCREEN_B = 406, + BRT_WINDOW_HANDLE_H = 405, + BRT_WINDOW_NAME_CSTR = 403, + BRT_WINDOW_PROCEDURE_P = 404, + BRT_WING = 408, + BRT_WORD_BYTES_I32 = 77, + BRT_WRAP = 307, + BRT_WRITABLE_BASE_I32 = 284, + BRT_WRITABLE_RANGE_I32 = 285, + BRT_XBGR_1_5_5_5 = 317, + BRT_XBGR_8_8_8_8 = 327, + BRT_XRGB_1_5_5_5 = 316, + BRT_XRGB_8_8_8_8 = 326, + BRT_XYZ_16_16_16 = 347, + BRT_XYZ_8_8_8 = 346, + BRT_YUV_16 = 348, + BRT_ZERO_IS_TRANSPARENT = 352, + BRT_ZTRANSPARENCY_B = 439, + BRT_Z_WRITE_ALWAYS = 436, + BRT_Z_WRITE_CONDITIONAL = 438, + BRT_Z_WRITE_CONDITIONAL_NO_Z = 437, + BRT_Z_WRITE_NEVER = 435, + BRT_Z_WRITE_T = 433, + BRT_Z_WRITE_TL = 434, + _BRT_MAX = 134217727 +} br_token; + + +typedef enum br_apply_map_types { + BR_APPLYMAP_PLANE = 0, + BR_APPLYMAP_SPHERE = 1, + BR_APPLYMAP_CYLINDER = 2, + BR_APPLYMAP_DISC = 3, + BR_APPLYMAP_NONE = 4 +} br_apply_map_types; + + +typedef enum br_fitmap_axis { + BR_FITMAP_PLUS_X = 0, + BR_FITMAP_PLUS_Y = 1, + BR_FITMAP_PLUS_Z = 2, + BR_FITMAP_MINUS_X = 3, + BR_FITMAP_MINUS_Y = 4, + BR_FITMAP_MINUS_Z = 5 +} br_fitmap_axis; + +typedef void br_putline_cbfn(char*, void*); +typedef int br_mode_test_cbfn(br_uint_8*, br_size_t); +typedef br_uint_32 brfile_attributes_cbfn(); +typedef void* brfile_open_read_cbfn(char*, br_size_t, br_mode_test_cbfn*, int*); +typedef void* brfile_open_write_cbfn(char*, int); +typedef void brfile_close_cbfn(void*); +typedef int brfile_eof_cbfn(void*); +typedef int brfile_getchr_cbfn(void*); +typedef void brfile_putchr_cbfn(int, void*); +typedef br_size_t brfile_read_cbfn(void*, br_size_t, unsigned int, void*); +typedef br_size_t brfile_write_cbfn(void*, br_size_t, unsigned int, void*); +typedef br_size_t brfile_getline_cbfn(char*, br_size_t, void*); +typedef void brfile_putline_cbfn(char*, void*); +typedef void brfile_advance_cbfn(br_size_t, void*); +typedef void* brmem_allocate_cbfn(br_size_t, br_uint_8); +typedef void brmem_free_cbfn(void*); +typedef br_size_t brmem_inquire_cbfn(br_uint_8); +typedef br_uint_32 brmem_align_cbfn(br_uint_8); +typedef void br_resourcefree_cbfn(void*, br_uint_8, br_size_t); +typedef void br_diag_warning_cbfn(char*); +typedef void br_diag_failure_cbfn(char*); +typedef br_resource_class* br_resclass_find_cbfn(char*); +typedef br_uint_32 br_resclass_enum_cbfn(br_resource_class*); +typedef int br_qsort_cbfn(void*, void*); +typedef br_uint_32 br_resenum_cbfn(void*, void*); +typedef br_device* br_device_begin_fn(char*); +typedef br_boolean br_device_enum_cbfn(char*, br_uint_32, char*, char*, char*, char*, void*); +typedef br_boolean br_outfcty_enum_cbfn(char*, br_outfcty_desc*, void*, struct div_t { + int quot; + int rem; + }); +typedef void br_model_custom_cbfn(br_actor*, br_model*, br_material*, void*); +typedef int br_fmt_report_cbfn(char*); +typedef void br_renderbounds_cbfn(br_actor*, br_model*, br_material*, void*, br_uint_8, br_matrix4*); +typedef void br_primitive_cbfn(br_primitive*, br_actor*, br_model*, br_material*, br_order_table*, br_scalar*); +typedef br_material* br_material_find_cbfn(char*); +typedef br_uint_32 br_material_enum_cbfn(br_material*); +typedef br_model* br_model_find_cbfn(char*); +typedef br_uint_32 br_model_enum_cbfn(br_model*); +typedef br_pixelmap* br_map_find_cbfn(char*); +typedef br_uint_32 br_map_enum_cbfn(br_pixelmap*); +typedef br_pixelmap* br_table_find_cbfn(char*); +typedef br_uint_32 br_table_enum_cbfn(br_pixelmap*); +typedef br_uint_32 br_actor_enum_cbfn(br_actor*); +typedef int br_pick2d_cbfn(br_actor*, br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, br_scalar); +typedef int br_pick3d_cbfn(br_actor*, br_model*, br_material*, br_matrix34*, br_bounds*); +typedef int br_modelpick2d_cbfn(br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, int, int, int, br_vector3*); +struct br_filesystem { + char *identifier; + brfile_attributes_cbfn *attributes; + brfile_open_read_cbfn *open_read; + brfile_open_write_cbfn *open_write; + brfile_close_cbfn *close; + brfile_eof_cbfn *eof; + brfile_getchr_cbfn *getchr; + brfile_putchr_cbfn *putchr; + brfile_read_cbfn *read; + brfile_write_cbfn *write; + brfile_getline_cbfn *getline; + brfile_putline_cbfn *putline; + brfile_advance_cbfn *advance; +}; +struct br_allocator { + char *identifier; + brmem_allocate_cbfn *allocate; + brmem_free_cbfn *free; + brmem_inquire_cbfn *inquire; + brmem_align_cbfn *align; +}; +struct br_resource_class { + br_uint_32 reserved; + char *identifier; + br_uint_8 res_class; + br_resourcefree_cbfn *free_cb; + br_uint_32 alignment; +}; +struct br_diaghandler { + char *identifier; + br_diag_warning_cbfn *warning; + br_diag_failure_cbfn *failure; +}; +struct br_errorhandler { + char *identifier; + br_diag_warning_cbfn *message; + br_diag_failure_cbfn *error; +}; +struct br_colour_range { + br_colour low; + br_colour high; +}; +struct br_matrix23 { + br_scalar m[3][2]; +}; +struct br_matrix23_f { + br_float m[3][2]; +}; +struct br_matrix23_x { + br_fixed_ls m[3][2]; +}; +struct br_matrix34 { + br_scalar m[4][3]; +}; +struct br_matrix34_f { + br_float m[4][3]; +}; +struct br_matrix34_x { + br_fixed_ls m[4][3]; +}; +struct br_matrix4 { + br_scalar m[4][4]; +}; +struct br_matrix4_f { + br_float m[4][4]; +}; +struct br_matrix4_x { + br_fixed_ls m[4][4]; +}; +struct br_vector2 { + br_scalar v[2]; +}; +struct br_vector3 { + br_scalar v[3]; +}; +struct br_vector4 { + br_scalar v[4]; +}; +struct br_vector2_x { + br_fixed_ls v[2]; +}; +struct br_vector3_x { + br_fixed_ls v[3]; +}; +struct br_vector4_x { + br_fixed_ls v[4]; +}; +struct br_vector2_f { + br_float v[2]; +}; +struct br_vector3_f { + br_float v[3]; +}; +struct br_vector4_f { + br_float v[4]; +}; +struct br_vector2_i { + br_int_32 v[2]; +}; +struct br_vector3_i { + br_int_32 v[3]; +}; +struct br_vector4_i { + br_int_32 v[4]; +}; +struct br_fvector2 { + br_fraction v[2]; +}; +struct br_fvector3 { + br_fraction v[3]; +}; +struct br_fvector4 { + br_fraction v[4]; +}; +struct br_fvector2_f { + br_fraction_f v[2]; +}; +struct br_fvector3_f { + br_fraction_f v[3]; +}; +struct br_fvector4_f { + br_fraction v[4]; +}; +struct br_fvector2_x { + br_fraction_x v[2]; +}; +struct br_fvector3_x { + br_fraction_x v[3]; +}; +struct br_fvector4_x { + br_fraction_x v[4]; +}; +struct br_bounds2 { + br_vector2 min; + br_vector2 max; +}; +struct br_bounds3 { + br_vector3 min; + br_vector3 max; +}; +struct br_bounds4 { + br_vector4 min; + br_vector4 max; +}; +struct br_bounds2_f { + br_vector2_f min; + br_vector2_f max; +}; +struct br_bounds3_f { + br_vector3_f min; + br_vector3_f max; +}; +struct br_bounds4_f { + br_vector4_f min; + br_vector4_f max; +}; +struct br_bounds2_x { + br_vector2_x min; + br_vector2_x max; +}; +struct br_bounds3_x { + br_vector3_x min; + br_vector3_x max; +}; +struct br_bounds4_x { + br_vector4_x min; + br_vector4_x max; +}; +struct br_bounds2_i { + br_vector2_i min; + br_vector2_i max; +}; +struct br_bounds3_i { + br_vector3_i min; + br_vector3_i max; +}; +struct br_bounds4_i { + br_vector4_i min; + br_vector4_i max; +}; +struct br_euler { + br_angle a; + br_angle b; + br_angle c; + br_uint_8 order; +}; +struct br_quat { + br_scalar x; + br_scalar y; + br_scalar z; + br_scalar w; +}; +struct br_transform { + br_uint_16 type; + struct { + br_matrix34 mat; + struct { + br_euler e; + br_scalar _pad[7]; + br_vector3 t; + }; + struct { + br_quat q; + br_scalar _pad[5]; + br_vector3 t; + }; + struct { + br_vector3 look; + br_vector3 up; + br_scalar _pad[3]; + br_vector3 t; + }; + struct { + br_scalar _pad[9]; + br_vector3 t; + }; + }; +}; +struct br_pixelmap { + br_uint_32 _reserved; + char *identifier; + void *pixels; + br_uint_32 pixels_qualifier; + br_pixelmap *map; + br_colour_range src_key; + br_colour_range dst_key; + br_uint_32 key; + br_int_16 row_bytes; + br_int_16 mip_offset; + br_uint_8 type; + br_uint_8 flags; + br_uint_16 copy_function; + br_uint_16 base_x; + br_uint_16 base_y; + br_uint_16 width; + br_uint_16 height; + br_int_16 origin_x; + br_int_16 origin_y; + void *user; + void *stored; +}; +struct br_point { + br_int_32 x; + br_int_32 y; +}; +struct br_rectangle { + br_int_32 x; + br_int_32 y; + br_int_32 w; + br_int_32 h; +}; +struct br_font { + br_uint_32 flags; + br_uint_16 glyph_x; + br_uint_16 glyph_y; + br_int_16 spacing_x; + br_int_16 spacing_y; + br_int_8 *width; + br_uint_16 *encoding; + br_uint_8 *glyphs; +}; +struct br_object { +}; +struct br_value_tag { + br_uint_32 u32; + br_boolean b; + void *p; + br_token t; + br_int_8 i8; + br_uint_8 u8; + br_int_16 i16; + br_uint_16 u16; + br_int_32 i32; + br_fixed_ls x; + br_float f; + br_scalar s; + br_angle a; + br_colour rgb; + br_object *o; + br_vector2_i *v2_i; + br_vector3_i *v3_i; + br_vector4_i *v4_i; + br_vector2_x *v2_x; + br_vector3_x *v3_x; + br_vector4_x *v4_x; + br_vector2_f *v2_f; + br_vector3_f *v3_f; + br_vector4_f *v4_f; + br_matrix23_x *m23_x; + br_matrix34_x *m34_x; + br_matrix4_x *m4_x; + br_matrix23_f *m23_f; + br_matrix34_f *m34_f; + br_matrix4_f *m4_f; + char *str; + char *cstr; + br_object **hl; + br_token *tl; + void **pl; + br_token_value *tvl; +}; +struct br_token_value { + br_token t; + br_value v; +}; +struct br_pool_block { + br_pool_block *next; +}; +struct br_pool { + br_pool_block *free; + br_uint_32 block_size; + br_uint_32 chunk_size; + int mem_type; +}; +struct br_primitive { + br_primitive *next; + br_uint_32 type; + void *stored; + void *v[3]; +}; +struct br_order_table { + br_primitive **table; + br_uint_16 size; + br_order_table *next; + br_scalar min_z; + br_scalar max_z; + br_scalar sort_z; + br_scalar scale; + br_uint_32 flags; + br_uint_16 type; + br_uint_16 visits; +}; +struct br_primitive_heap { + br_uint_8 *base; + br_size_t size; + br_uint_8 *current; +}; +struct br_associative_array_tag { + br_token_value *tv; + br_uint_16 num_elements; + br_uint_16 max_elements; +}; +struct br_device { +}; +struct br_outfcty_desc { + br_int_32 width; + br_int_32 width_min; + br_int_32 width_max; + br_int_32 height; + br_int_32 height_min; + br_int_32 height_max; + br_uint_8 pmtype; + br_int_32 pmbits; + br_boolean indexed; + br_boolean fullscreen; +}; +struct br_renderer_facility { +}; +struct br_device_pixelmap { +}; +struct br_primitive_library { +}; +struct br_geometry { +}; +struct br_renderer { +}; +struct br_material { + br_uint_32 _reserved; + char *identifier; + br_colour colour; + br_uint_8 opacity; + br_ufraction ka; + br_ufraction kd; + br_ufraction ks; + br_scalar power; + br_uint_32 flags; + br_matrix23 map_transform; + br_uint_8 index_base; + br_uint_8 index_range; + br_pixelmap *colour_map; + br_pixelmap *screendoor; + br_pixelmap *index_shade; + br_pixelmap *index_blend; + br_pixelmap *index_fog; + br_token_value *extra_surf; + br_token_value *extra_prim; + br_scalar fog_min; + br_scalar fog_max; + br_colour fog_colour; + br_uint_32 flags_ext; + br_pixelmap *colour_map_1; + br_matrix23 map_transform_1; + br_int_8 mip_modifier; + br_uint_8 min_mip; + br_uint_8 max_mip; + br_uint_8 alpha_mode; + br_uint_8 zbuffer_mode; + br_uint_8 zbuffer_compare; + br_int_32 subdivide_tolerance; + void *user; + void *stored; +}; +struct br_vertex { + br_vector3 p; + br_vector2 map; + br_uint_8 index; + br_uint_8 red; + br_uint_8 grn; + br_uint_8 blu; + br_uint_16 _pad0; + br_fvector3 n; +}; +struct br_face { + br_uint_16 vertices[3]; + br_uint_16 smoothing; + br_material *material; + br_uint_8 index; + br_uint_8 red; + br_uint_8 grn; + br_uint_8 blu; + br_uint_8 flags; + br_uint_8 _pad0; + br_uint_32 _pad1; + br_fvector3 n; + br_scalar d; +}; +struct br_primitive_list { + br_primitive_list *next; + br_uint_32 prim_type; + br_uint_16 nprims; + br_uint_16 nspares; + void *prim; + void *spare; +}; +struct br_vertex_single { + br_vector3 p; + br_vector2 map; + br_uint_8 alpha; + br_uint_8 red; + br_uint_8 grn; + br_uint_8 blu; + br_uint_16 _pad0; + br_fvector3 n; +}; +struct br_vertex_double { + br_vector3 p; + br_vector2 map0; + br_uint_8 alpha0; + br_uint_8 red0; + br_uint_8 grn0; + br_uint_8 blu0; + br_vector2 map1; + br_uint_8 alpha1; + br_uint_8 red1; + br_uint_8 grn1; + br_uint_8 blu1; + br_fvector3 n; +}; +struct br_point_prim { + br_uint_16 vertices[1]; + br_material *material; +}; +struct br_line { + br_uint_16 vertices[2]; + br_material *material; + br_uint_8 alpha0; + br_uint_8 red0; + br_uint_8 grn0; + br_uint_8 blu0; + br_uint_8 alpha1; + br_uint_8 red1; + br_uint_8 grn1; + br_uint_8 blu1; +}; +struct br_triangle { + br_uint_16 vertices[3]; + br_uint_16 smoothing; + br_material *material; + br_uint_8 alpha0; + br_uint_8 red0; + br_uint_8 grn0; + br_uint_8 blu0; + br_uint_8 alpha1; + br_uint_8 red1; + br_uint_8 grn1; + br_uint_8 blu1; + br_uint_8 flags; + br_fvector3 n; + br_scalar d; +}; +struct br_quad { + br_uint_16 vertices[4]; + br_uint_16 smoothing; + br_material *material; + br_uint_8 alpha0; + br_uint_8 red0; + br_uint_8 grn0; + br_uint_8 blu0; + br_uint_8 alpha1; + br_uint_8 red1; + br_uint_8 grn1; + br_uint_8 blu1; + br_uint_8 flags; + br_fvector3 n; + br_scalar d; +}; +struct br_strip_face_data { + br_uint_16 smoothing; + br_uint_8 alpha0; + br_uint_8 red0; + br_uint_8 grn0; + br_uint_8 blu0; + br_uint_8 alpha1; + br_uint_8 red1; + br_uint_8 grn1; + br_uint_8 blu1; + br_uint_8 flags; + br_fvector3 n; + br_scalar d; +}; +struct br_tri_strip { + br_uint_16 nvertices; + br_uint_16 *vertices; + br_material *material; + br_strip_face_data *face_data; +}; +struct br_actor { + br_actor *next; + br_actor **prev; + br_actor *children; + br_actor *parent; + br_uint_16 depth; + br_uint_8 type; + char *identifier; + br_model *model; + br_material *material; + br_uint_8 render_style; + void *render_data; + br_transform t; + void *type_data; + void *user; +}; +struct br_model { + br_uint_32 _reserved; + char *identifier; + br_vertex *vertices; + br_face *faces; + br_uint_16 nvertices; + br_uint_16 nfaces; + br_vector3 pivot; + br_uint_16 flags; + br_model_custom_cbfn *custom; + void *user; + br_angle crease_angle; + br_scalar radius; + br_bounds bounds; + void *prepared; + void *stored; + br_uint_16 nprimitive_lists; + br_primitive_list *primitive_list; +}; +struct br_camera { + char *identifier; + br_uint_8 type; + br_angle field_of_view; + br_scalar hither_z; + br_scalar yon_z; + br_scalar aspect; + br_scalar width; + br_scalar height; + br_scalar distance; + void *user; +}; +struct br_light { + char *identifier; + br_uint_8 type; + br_colour colour; + br_scalar attenuation_c; + br_scalar attenuation_l; + br_scalar attenuation_q; + br_angle cone_outer; + br_angle cone_inner; + void *user; +}; +struct br_fmt_results { + br_actor **actors; + br_model **models; + br_light **lights; + br_camera **cameras; + br_vector4 **clip_planes; + br_bounds3 **bounds; + br_bounds3 **bounds_correct; + br_material **materials; + br_pixelmap **pixelmaps; + br_uint_32 nactors; + br_uint_32 nmodels; + br_uint_32 nlights; + br_uint_32 ncameras; + br_uint_32 nclip_planes; + br_uint_32 nbounds; + br_uint_32 nbounds_correct; + br_uint_32 nmaterials; + br_uint_32 npixelmaps; +}; +struct br_fmt_options { + br_uint_32 convert_flags; +}; +struct br_3ds_options { + br_uint_32 flags; + br_scalar hither; + br_scalar yon; + br_scalar scale; + br_fmt_report_cbfn *report; +}; +typedef struct br_node br_node; +typedef struct br_list br_list; +typedef struct br_simple_node br_simple_node; +typedef struct br_simple_list br_simple_list; +typedef struct br_registry_entry br_registry_entry; +typedef br_registery br_registry; +typedef struct br_active_light br_active_light; +typedef struct br_active_clip_plane br_active_clip_plane; +typedef struct br_framework_state br_framework_state; +typedef void* br_find_failed_cbfn(char*); +typedef br_uint_32 br_enum_cbfn(void*, void*); +typedef void br_surface_fn(br_vertex*, br_fvector3*, br_scalar*); +typedef br_uint_32 br_face_surface_fn(br_vertex*, br_face*); +typedef void br_light_sub_fn(br_vector3*, br_fvector3*, br_active_light*, br_scalar*); +typedef void br_model_update_cbfn(br_model*); +typedef void br_material_update_cbfn(br_material*); +typedef void br_table_update_cbfn(br_pixelmap*); +typedef void br_map_update_cbfn(br_pixelmap*); +struct br_node { + br_node *next; + br_node *prev; +}; +struct br_list { + br_node *head; + br_node *_null; + br_node *tail; +}; +struct br_simple_node { + br_simple_node *next; + br_simple_node **prev; +}; +struct br_simple_list { + br_simple_node *head; +}; +struct br_registry_entry { + br_node node; + char **item; +}; +struct br_registery { + br_list list; + int count; + br_find_failed_cbfn *find_failed_hook; +}; +struct br_active_light { + br_scalar intensity; + br_vector3 view_position; + br_vector3 view_direction; + br_vector3 position; + br_vector3 direction; + br_vector3 half; + br_scalar spot_cosine_outer; + br_scalar spot_cosine_inner; + void (*light_sub_function)(br_vector3*, br_fvector3*, br_active_light*, br_scalar*); + int type; + br_light *light; +}; +struct br_active_clip_plane { + br_vector4 screen_plane; +}; +struct br_framework_state { + br_surface_fn *surface_fn; + br_surface_fn *surface_fn_after_map; + br_surface_fn *surface_fn_after_copy; + br_face_surface_fn *face_surface_fn; + br_matrix23 map_transform; + br_scalar index_base; + br_scalar index_range; + br_matrix4 model_to_screen; + br_matrix4 view_to_screen; + br_matrix34 model_to_view; + br_matrix34 view_to_model; + br_matrix34 model_to_environment; + struct { + br_matrix34 m; + br_actor *a; + }; + int vtos_type; + br_vector3 eye_m; + br_vector3 eye_m_normalised; + br_material *material; + br_active_light active_lights_model[16]; + br_active_light active_lights_view[16]; + br_uint_16 nactive_lights_model; + br_uint_16 nactive_lights_view; + int light_is_1md; + br_vector3 eye_l; + br_active_clip_plane active_clip_planes[6]; + br_uint_16 nactive_clip_planes; + br_actor *enabled_lights[16]; + br_actor *enabled_clip_planes[6]; + br_actor *enabled_environment; + br_pixelmap *output; + br_scalar vp_width; + br_scalar vp_height; + br_scalar vp_ox; + br_scalar vp_oy; + int rendering; + br_registry reg_models; + br_registry reg_materials; + br_registry reg_textures; + br_registry reg_tables; + br_registry reg_resource_classes; + br_resource_class *resource_class_index[256]; + br_model_update_cbfn *model_update; + br_material_update_cbfn *material_update; + br_table_update_cbfn *table_update; + br_map_update_cbfn *map_update; + br_filesystem *fsys; + br_allocator *mem; + br_errorhandler *err; + int open_mode; + void *res; + br_model *default_model; + br_material *default_material; + fw_fn_table fn_table; + void *scratch_ptr; + br_size_t scratch_size; + br_size_t scratch_last; + int scratch_inuse; +}; +typedef br_error br_exception; +typedef void br_resident_fn(); +typedef struct br_tv_template_entry br_tv_template_entry; +typedef struct br_tv_template br_tv_template; +typedef struct br_object_container br_object_container; +typedef struct br_object_container_dispatch br_object_container_dispatch; +typedef struct br_device_dispatch br_device_dispatch; +typedef struct br_object_dispatch br_object_dispatch; +struct br_tv_template_entry { + br_token token; + char *name; + br_int_32 offset; + br_int_16 flags; + br_int_16 conv; + br_int_32 conv_arg; + br_int_32 mask; +}; +struct br_tv_template { + int n_entries; + br_tv_template_entry *entries; + br_int_32 map_base; + br_int_32 n_map_entries; + br_tv_template_entry **map_query_entry; + br_tv_template_entry **map_set_entry; + br_boolean names_resolved; + void *res; +}; +struct br_object_container { + br_object_container_dispatch *dispatch; +}; +struct br_object_container_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*, br_object*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*, br_object*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); +}; +struct br_device_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*, br_object*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*, br_object*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); +}; +struct br_object_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); +}; +typedef struct br_geometry_stored br_geometry_stored; +typedef struct br_renderer_state_stored_dispatch br_renderer_state_stored_dispatch; +typedef struct br_renderer_state_stored br_renderer_state_stored; +typedef struct br_buffer_stored br_buffer_stored; +typedef struct br_device_pixelmap_dispatch br_device_pixelmap_dispatch; +typedef struct br_buffer_stored_dispatch br_buffer_stored_dispatch; +typedef struct brp_vertex brp_vertex; +typedef struct br_renderer_dispatch br_renderer_dispatch; +typedef struct br_geometry_stored_dispatch br_geometry_stored_dispatch; +struct br_geometry_stored { + br_geometry_stored_dispatch *dispatch; +}; +struct br_renderer_state_stored_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); +}; +struct br_renderer_state_stored { + br_renderer_state_stored_dispatch *dispatch; +}; +struct br_buffer_stored { + br_buffer_stored_dispatch *dispatch; +}; +struct br_device_pixelmap_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + br_error (*_validSource)(br_device_pixelmap*, br_boolean*, br_object*); + br_error (*_resize)(br_device_pixelmap*, br_int_32); + br_error (*_match)(br_device_pixelmap*, br_device_pixelmap**, br_token_value*); + br_error (*_allocateSub)(br_device_pixelmap*, br_device_pixelmap**, br_rectangle*); + br_error (*_copy)(br_device_pixelmap*, br_device_pixelmap*); + br_error (*_copyTo)(br_device_pixelmap*, br_device_pixelmap*); + br_error (*_copyFrom)(br_device_pixelmap*, br_device_pixelmap*); + br_error (*_fill)(br_device_pixelmap*); + br_error (*_doubleBuffer)(br_device_pixelmap*, br_device_pixelmap*); + br_error (*_copyDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); + br_error (*_copyToDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); + br_error (*_copyFromDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); + br_error (*_fillDirty)(br_device_pixelmap*, br_uint_32, br_rectangle*); + br_error (*_doubleBufferDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangle)(br_device_pixelmap*, br_rectangle*); + br_error (*_rectangle2)(br_device_pixelmap*, br_rectangle*, br_uint_32); + br_error (*_rectangleCopy)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleCopyTo)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleCopyFrom)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleStretchCopy)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleStretchCopyTo)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleStretchCopyFrom)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); + br_error (*_rectangleFill)(br_device_pixelmap*, br_rectangle*); + br_error (*_pixelSet)(br_device_pixelmap*, br_point*); + br_error (*_line)(br_device_pixelmap*, br_point*, br_point*); + br_error (*_copyBits)(br_device_pixelmap*, br_point*, br_uint_8*, br_uint_16); + br_error (*_text)(br_device_pixelmap*, br_point*, br_font*, char*); + br_error (*_textBounds)(br_device_pixelmap*, br_rectangle*, br_font*); + br_error (*_rowSize)(br_device_pixelmap*, br_size_t*); + br_error (*_rowSet)(br_device_pixelmap*, void*); + br_error (*_rowQuery)(br_device_pixelmap*, void*); + br_error (*_pixelQuery)(br_device_pixelmap*, br_uint_32*, br_point*); + br_error (*_pixelAddressQuery)(br_device_pixelmap*, void**, br_uint_32*, br_point*); + br_error (*_pixelAddressSet)(br_device_pixelmap*, void*); + br_error (*_originSet)(br_device_pixelmap*, br_point*); + br_error (*_flush)(br_device_pixelmap*); + br_error (*_synchronise)(br_device_pixelmap*, br_token); + br_error (*_directLock)(br_device_pixelmap*); + br_error (*_directUnlock)(br_device_pixelmap*); +}; +struct br_buffer_stored_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + br_error (*_update)(br_buffer_stored*, br_device_pixelmap*, br_token_value*); +}; +struct brp_vertex { +}; +struct br_renderer_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*, br_object*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*, br_object*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); + br_error (*_validDestination)(br_renderer*, br_boolean*, br_object*); + br_error (*_stateStoredNew)(br_renderer*, br_renderer_state_stored**, br_uint_32); + br_error (*_stateStoredAvail)(br_renderer*, br_int_32*, br_uint_32); + br_error (*_bufferStoredNew)(br_renderer*, br_buffer_stored**, br_token, br_device_pixelmap*, br_token_value*); + br_error (*_bufferStoredAvail)(br_renderer*, br_int_32*, br_token, br_token_value*); + br_error (*_partSet)(br_renderer*, br_token, br_int_32, br_token); + br_error (*_partSetMany)(br_renderer*, br_token, br_int_32, br_token_value*); + br_error (*_partQuery)(br_renderer*, br_token, br_int_32, br_uint_32*); + br_error (*_partQueryBuffer)(br_renderer*, br_token, br_int_32, br_uint_32*, br_uint_32*, br_size_t); + br_error (*_partQueryMany)(br_renderer*, br_token, br_int_32, br_token_value*, void*); + br_error (*_partQueryManySize)(br_renderer*, br_token, br_int_32, br_size_t*); + br_error (*_partQueryAll)(br_renderer*, br_token, br_int_32, br_token_value*); + br_error (*_partQueryAllSize)(br_renderer*, br_token, br_int_32); + br_error (*_partIndexQuery)(br_renderer*, br_token, br_int_32*); + br_error (*_modelMulF)(br_renderer*, br_matrix34_f*); + br_error (*_modelMulX)(br_renderer*, br_matrix34_x*); + br_error (*_modelPopPushMulF)(br_renderer*, br_matrix34_f*); + br_error (*_modelPopPushMulX)(br_renderer*, br_matrix34_x*); + br_error (*_modelInvert)(br_renderer*); + br_error (*_statePush)(br_renderer*); + br_error (*_statePop)(br_renderer*); + br_error (*_stateSave)(br_renderer*, br_renderer_state_stored*); + br_error (*_stateRestore)(br_renderer*, br_renderer_state_stored*); + br_error (*_stateMask)(br_renderer*, br_uint_32*, br_token*); + br_error (*_stateDefault)(br_renderer*); + br_error (*_boundsTestF)(br_renderer*, br_token*, br_bounds3_f*); + br_error (*_boundsTestX)(br_renderer*, br_token*, br_bounds3_x*); + br_error (*_coverageTestF)(br_renderer*, br_float*, br_bounds3_f*); + br_error (*_coverageTestX)(br_renderer*, br_fixed_ls*, br_bounds3_x*); + br_error (*_viewDistanceF)(br_renderer*, br_float*); + br_error (*_viewDistanceX)(br_renderer*, br_fixed_ls*); + br_error (*_commandModeSet)(br_renderer*, br_token); + br_error (*_commandModeQuery)(br_renderer*, br_token*); + br_error (*_commandModeDefault)(br_renderer*); + br_error (*_commandModePush)(br_renderer*); + br_error (*_commandModePop)(br_renderer*); + br_error (*_flush)(br_renderer*); + br_error (*_synchronise)(br_renderer*, br_token); + br_error (*_testRender)(br_renderer*, br_token, brp_vertex*, brp_vertex*, brp_vertex*); + br_error (*_partQueryCapability)(br_renderer*, br_token, br_int_32, br_token_value*); + br_error (*_stateQueryPerformance)(br_renderer*, br_fixed_lu*); +}; +struct br_geometry_stored_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); + br_error (*_queryAll)(br_object*, br_token_value*); + br_error (*_queryAllSize)(br_object*, br_size_t*); + br_error (*_render)(br_geometry_stored*, br_renderer*); + br_error (*_renderOnScreen)(br_geometry_stored*, br_renderer*); +}; +typedef br_datafile br_datafile; +typedef struct br_file_struct_member br_file_struct_member; +typedef struct br_file_struct br_file_struct; +typedef struct br_file_primitives br_file_primitives; +typedef struct br_chunks_table_entry br_chunks_table_entry; +typedef struct br_chunks_table br_chunks_table; +typedef struct br_file_enum_member br_file_enum_member; +typedef struct br_file_enum br_file_enum; +struct br_file_struct_member { + br_uint_16 type; + br_uint_32 offset; + char *name; + void *extra; +}; +struct br_file_struct { + char *name; + br_uint_32 nmembers; + br_file_struct_member *members; + int mem_size; +}; +struct br_file_primitives { + char *identifier; + int (*skip)(br_datafile*, br_uint_32); + int (*chunk_write)(br_datafile*, br_uint_32, br_uint_32); + int (*chunk_read)(br_datafile*, br_uint_32*); + void (*count_write)(br_datafile*, br_uint_32); + br_uint_32 (*count_read)(br_datafile*); + int (*count_size)(br_datafile*); + br_uint_32 (*struct_write)(br_datafile*, br_file_struct*, void*, char); + br_uint_32 (*struct_read)(br_datafile*, br_file_struct*, void*, char); + int (*struct_size)(br_datafile*, br_file_struct*, void*, char); + int (*block_write)(br_datafile*, void*, int, int, int, int); + void* (*block_read)(br_datafile*, void*, int*, int, int); + int (*block_size)(br_datafile*, void*, int, int, int, int); + int (*name_write)(br_datafile*, char*); + char* (*name_read)(br_datafile*, char*); + int (*name_size)(br_datafile*, char*); +}; +struct br_chunks_table_entry { + br_uint_32 id; + br_uint_8 has_count; + int (*handler)(br_datafile*, br_uint_32); +}; +struct br_chunks_table { + int nentries; + br_chunks_table_entry *entries; +}; +struct br_file_enum_member { + int value; + char *name; +}; +struct br_file_enum { + br_uint_32 nmembers; + br_file_enum_member *members; +}; +typedef struct br_device_clut br_device_clut; +typedef struct br_device_clut_dispatch br_device_clut_dispatch; +struct br_device_clut { + br_device_clut_dispatch *dispatch; +}; +struct br_device_clut_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + br_error (*_entrySet)(br_device_clut*, br_int_32); + br_error (*_entryQuery)(br_device_clut*, br_colour*); + br_error (*_entrySetMany)(br_device_clut*, br_int_32, br_int_32); + br_error (*_entryQueryMany)(br_device_clut*, br_colour*, br_int_32); +}; +typedef struct br_image br_image; +typedef struct br_image_section br_image_section; +typedef struct br_open_device br_open_device; +struct br_image { + br_node node; + char *identifier; + br_int_32 type; + br_int_32 ref_count; + br_uint_32 ordinal_base; + br_uint_32 n_functions; + void **functions; + br_uint_32 n_names; + char **names; + br_uint_16 *name_ordinals; + br_uint_16 n_imports; + br_image **imports; + br_uint_16 n_sections; + br_image_section *sections; + void *type_pointer; +}; +struct br_image_section { + char *name; + void *base; + br_size_t mem_offset; + br_size_t mem_size; + br_uint_32 data_offset; + br_uint_32 data_size; +}; +struct br_open_device { + br_device *dev; + br_image *image; +}; +typedef struct br_geometry_dispatch br_geometry_dispatch; +typedef struct br_geometry_lighting br_geometry_lighting; +typedef struct br_geometry_lighting_dispatch br_geometry_lighting_dispatch; +typedef struct br_v1db_enable br_v1db_enable; +typedef struct br_v1db_state br_v1db_state; +typedef struct br_renderer_facility_dispatch br_renderer_facility_dispatch; +struct br_geometry_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); +}; +struct br_geometry_lighting { + br_geometry_lighting_dispatch *dispatch; +}; +struct br_geometry_lighting_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + br_error (*_renderF)(br_geometry_lighting*, br_renderer*, br_vector3_f*, br_vector3_f*, br_colour*, br_colour*, br_uint_16*, int, int); + br_error (*_renderX)(br_geometry_lighting*, br_renderer*, br_vector3_x*, br_vector3_x*, br_colour*, br_colour*, br_uint_16*, int, int); +}; +struct br_v1db_enable { + br_int_32 max; + br_int_32 count; + br_int_32 type; + char *name; + br_actor **enabled; +}; +struct br_v1db_state { + br_boolean active; + br_boolean zs_active; + br_boolean zb_active; + br_int_32 rendering; + br_renderer *renderer; + br_renderer *query_renderer; + br_geometry *format_model; + br_geometry *format_buckets; + br_geometry_lighting *format_lighting; + br_matrix4 model_to_screen; + br_matrix34 model_to_view; + br_boolean model_to_screen_valid; + br_uint_32 ttype; + br_actor *render_root; + struct { + br_matrix34 m; + br_actor *a; + br_uint_8 transform_type; + }; + br_v1db_enable enabled_lights; + br_v1db_enable enabled_clip_planes; + br_v1db_enable enabled_horizon_planes; + br_int_32 max_light; + br_int_32 max_clip; + br_actor *enabled_environment; + br_registry reg_models; + br_registry reg_materials; + br_registry reg_textures; + br_registry reg_tables; + void *res; + br_model *default_model; + br_material *default_material; + void *default_render_data; + br_order_table *default_order_table; + br_order_table *primary_order_table; + br_order_table *order_table_list; + br_primitive_heap heap; + br_primitive_cbfn *primitive_call; + br_renderbounds_cbfn *bounds_call; + br_vector2 origin; + br_scalar vp_ox; + br_scalar vp_oy; + br_scalar vp_width; + br_scalar vp_height; + br_pixelmap *colour_buffer; +}; +struct br_renderer_facility_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); + br_error (*_validDestination)(br_renderer_facility*, br_boolean*, br_object*); + br_error (*_rendererNew)(br_renderer_facility*, br_renderer**, br_token_value*); +}; +typedef struct br_output_facility br_output_facility; +typedef struct br_output_facility_dispatch br_output_facility_dispatch; +typedef struct br_primitive_state br_primitive_state; +typedef struct brp_block brp_block; +typedef struct br_primitive_state_dispatch br_primitive_state_dispatch; +typedef struct br_primitive_library_dispatch br_primitive_library_dispatch; +struct br_output_facility { + br_output_facility_dispatch *dispatch; +}; +struct br_output_facility_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); + br_error (*_validSource)(br_output_facility*, br_boolean*, br_object*); + br_error (*_pixelmapNew)(br_output_facility*, br_device_pixelmap**, br_token_value*); + br_error (*_clutNew)(br_output_facility*, br_device_clut**, br_token_value*); + br_error (*_queryCapability)(br_output_facility*, br_token_value*, br_token_value*); +}; +struct br_primitive_state { + br_primitive_state_dispatch *dispatch; +}; +struct brp_block { +}; +struct br_primitive_state_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + br_error (*_partSet)(br_primitive_state*, br_token, br_int_32); + br_error (*_partSetMany)(br_primitive_state*, br_token, br_int_32, br_token_value*); + br_error (*_partQuery)(br_primitive_state*, br_token, br_int_32); + br_error (*_partQueryBuffer)(br_primitive_state*, br_token, br_int_32, br_uint_32*, br_uint_32*); + br_error (*_partQueryMany)(br_primitive_state*, br_token, br_int_32, br_token_value*, void*); + br_error (*_partQueryManySize)(br_primitive_state*, br_token, br_int_32, br_size_t*); + br_error (*_partQueryAll)(br_primitive_state*, br_token, br_int_32); + br_error (*_partQueryAllSize)(br_primitive_state*, br_token, br_int_32); + br_error (*_partIndexQuery)(br_primitive_state*, br_token); + br_error (*_stateDefault)(br_primitive_state*); + br_error (*_stateCopy)(br_primitive_state*, br_primitive_state*); + br_error (*_renderBegin)(br_primitive_state*, brp_block**, br_boolean*, br_boolean*, br_boolean); + br_error (*_renderEnd)(br_primitive_state*, brp_block*); + br_error (*_rangesQueryF)(br_primitive_state*, br_float*, br_float*); + br_error (*_rangesQueryX)(br_primitive_state*, br_fixed_ls*, br_fixed_ls*); + br_error (*_partQueryCapability)(br_primitive_state*, br_token, br_int_32); + br_error (*_stateQueryPerformance)(br_primitive_state*, br_fixed_lu*); +}; +struct br_primitive_library_dispatch { + void (*__reserved0)(br_object*); + void (*__reserved1)(br_object*); + void (*__reserved2)(br_object*); + void (*__reserved3)(br_object*); + void (*_free)(br_object*); + char* (*_identifier)(br_object*); + br_token (*_type)(br_object*); + br_boolean (*_isType)(br_object*, br_token); + br_device* (*_device)(br_object*); + br_int_32 (*_space)(br_object*); + br_tv_template* (*_templateQuery)(br_object*); + br_error (*_query)(br_object*, br_uint_32*, br_token, char); + br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); + br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); + br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); + br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); + br_error (*_queryAllSize)(br_object*, br_size_t*, char); + void* (*_listQuery)(br_object_container*); + void* (*_tokensMatchBegin)(br_object_container*, br_token); + br_boolean (*_tokensMatch)(br_object_container*, br_object*); + void (*_tokensMatchEnd)(br_object_container*); + br_error (*_addFront)(br_object_container*); + br_error (*_removeFront)(br_object_container*, br_object**); + br_error (*_remove)(br_object_container*); + br_error (*_find)(br_object_container*, br_object**, br_token, char*); + br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); + br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); + br_error (*_stateNew)(br_primitive_library*, br_primitive_state**); + br_error (*_bufferStoredNew)(br_primitive_library*, br_buffer_stored**, br_token, br_device_pixelmap*); + br_error (*_bufferStoredAvail)(br_primitive_library*, br_int_32*, br_token); + br_error (*_flush)(br_primitive_library*); + br_error (*_synchronise)(br_primitive_library*, br_token); + br_error (*_mask)(br_primitive_library*, br_uint_32*, br_token*); +}; +typedef struct br_file br_file; +struct br_file { + void *raw_file; + br_boolean writing; + int mode; + char name[1]; +}; +typedef struct br_lexer_source br_lexer_source; +typedef struct br_lexer_token br_lexer_token; +typedef struct br_lexer_keyword br_lexer_keyword; +typedef struct br_lexer br_lexer; + +typedef enum br_lexer_token_id { + T_EOF = 0, + T_ERROR = 1, + T_IDENT = 2, + T_STRING = 3, + T_INTEGER = 4, + T_REAL = 5, + T_EXCLAM = 33, + T_DQUOTE = 34, + T_HASH = 35, + T_DOLLAR = 36, + T_PERCENT = 37, + T_AMPERSAND = 38, + T_RQUOTE = 39, + T_LPAREN = 40, + T_RPAREN = 41, + T_ASTERISK = 42, + T_PLUS = 43, + T_COMMA = 44, + T_DASH = 45, + T_PERIOD = 46, + T_SLASH = 47, + T_COLON = 58, + T_SEMICOLON = 59, + T_LANGLE = 60, + T_EQUAL = 61, + T_RANGLE = 62, + T_QUERY = 63, + T_COMAT = 64, + T_LSQUARE = 91, + T_BSLASH = 92, + T_RSQUARE = 93, + T_CARET = 94, + T_UNDERBAR = 95, + T_LQUOTE = 96, + T_LBRACE = 123, + T_VBAR = 124, + T_RBRACE = 125, + T_TILDE = 126, + T_KEYWORD = 128 +} br_lexer_token_id; + +typedef void br_lexer_getchar_cbfn(br_lexer_source*); +typedef void br_lexer_error_cbfn(br_lexer*, char*); +struct br_lexer_source { + br_lexer_source *prev; + char *name; + br_int_32 line; + br_int_32 next; + br_lexer_getchar_cbfn *getchar; + void *ptr; +}; +struct br_lexer_token { + br_lexer_token_id id; + struct { + br_int_32 integer; + float real; + char *string; + }; +}; +struct br_lexer_keyword { + char *name; + br_int_32 id; +}; +struct br_lexer { + br_lexer_source *source; + br_lexer_token current; + br_lexer_keyword *keywords; + br_int_32 nkeywords; + char eol_comment; + void (*advance)(br_lexer*); + br_putline_cbfn *putline; + void *putline_arg; + char *string_buffer; + br_int_32 string_buffer_size; + br_lexer_error_cbfn *error; +}; +typedef struct br_tv_custom br_tv_custom; +typedef br_error br_tv_custom_query_cbfn(br_uint_32*, void**, br_size_t*, void*, br_tv_template_entry*, br_uint_8*); +typedef br_error br_tv_custom_set_cbfn(void*, br_uint_32*, br_tv_template_entry*); +typedef br_size_t br_tv_custom_extra_size_cbfn(void*, br_tv_template_entry*); +struct br_tv_custom { + br_tv_custom_query_cbfn *query; + br_tv_custom_set_cbfn *set; + br_tv_custom_extra_size_cbfn *extra_size; +}; +typedef struct br_token_entry br_token_entry; +struct br_token_entry { + br_node node; + char *identifier; + br_int_32 type; + br_token token; + br_int_32 base_length; +}; +typedef struct br_exception_handler br_exception_handler; +struct br_exception_handler { + br_exception_handler *prev; + jmp_buf context; +}; +typedef struct br_pixelmap_state br_pixelmap_state; +struct br_pixelmap_state { + void *res; + br_tv_template *device_pixelmap_template; + br_tv_template *pixelmap_match_template; +}; + +#endif diff --git a/src/types/dr_types.h b/src/types/dr_types.h new file mode 100644 index 00000000..8b8a54a4 --- /dev/null +++ b/src/types/dr_types.h @@ -0,0 +1,4846 @@ +#ifndef DR_TYPES_H +#define DR_TYPES_H + +#include "br_types.h" + +typedef unsigned short wchar_t; +typedef unsigned int size_t; +typedef __iobuf FILE; +typedef long fpos_t; +typedef struct div_t div_t; +typedef struct ldiv_t ldiv_t; +typedef void * onexit_t(); +typedef struct _complex _complex; +typedef struct complex complex; +typedef struct exception exception; +typedef struct ot_vertex ot_vertex; +typedef short SHORT; +typedef unsigned short USHORT; +typedef int INT; +typedef int BOOL; +typedef unsigned int UINT; +typedef unsigned char BYTE; +typedef unsigned short WORD; +typedef unsigned int W32; +typedef unsigned short W16; +typedef long LONG; +typedef unsigned long DWORD; +typedef BYTE * PBYTE; +typedef char * PSTR; +typedef WORD * PWORD; +typedef unsigned short * PSHORT; +typedef LONG * PLONG; +typedef void * PVOID; +typedef BYTE * LPBYTE; +typedef BYTE * LPSTR; +typedef WORD * LPWORD; +typedef W32 * LPW32; +typedef LONG * LPLONG; +typedef void * LPVOID; +typedef BYTE * HPBYTE; +typedef BYTE * HPSTR; +typedef LONG * HPLONG; +typedef void * HPVOID; +typedef unsigned int HANDLE; +typedef _tagRMI_REGS _RMI_REGS; +typedef _tagBREGS _HMI_BREGS; +typedef _tagWREGS _HMI_WREGS; +typedef _tagDREGS _HMI_DREGS; +typedef _tagSREGS _HMI_SREGS; +typedef struct _HMI_REGS _HMI_REGS; +typedef _tagIPX_HEADER _IPX_HEADER; +typedef struct _PACKET _PACKET; +typedef struct _REAL_PACKET _REAL_PACKET; +typedef struct _ECB_PACKET _ECB_PACKET; +typedef _tagIPX_ECB _IPX_ECB; +typedef _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; +typedef _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; +typedef _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; +typedef _tagIPX_ELEMENT _IPX_ELEMENT; +typedef struct _PROT_PTR _PROT_PTR; +typedef struct _REAL_PTR _REAL_PTR; +typedef struct _PTR _PTR; +typedef _tag_NETBIOS_NCB _NETBIOS_NCB; +typedef _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; +typedef _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; +typedef _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; +typedef _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; +typedef struct _NETNOW_NODE_ADDR _NETNOW_NODE_ADDR; +typedef struct tPD_net_player_info tPD_net_player_info; +typedef unsigned char tU8; +typedef signed char tS8; +typedef unsigned short tU16; +typedef short tS16; +typedef unsigned long tU32; +typedef long tS32; +typedef float tF32; +typedef double tF64; +typedef short tX88; +typedef long tX1616; +typedef struct tTrack_spec tTrack_spec; +typedef struct tCrush_neighbour tCrush_neighbour; +typedef struct tCrush_point_spec tCrush_point_spec; +typedef struct tCrush_data tCrush_data; +typedef struct tSpecial_volume tSpecial_volume; +typedef tU8 tNet_message_type; +typedef struct tReduced_matrix tReduced_matrix; +typedef struct tCar_controls tCar_controls; +typedef struct tNet_message_mechanics_info tNet_message_mechanics_info; +typedef tCar_spec_struct tCar_spec; +typedef struct tDamage_unit tDamage_unit; +typedef struct tDamage_condition tDamage_condition; +typedef struct tDamage_effect tDamage_effect; +typedef struct tDamage_clause tDamage_clause; +typedef struct tDamage_program tDamage_program; +typedef struct tHeadup_slot tHeadup_slot; +typedef struct tPart_info tPart_info; +typedef struct tParts_spec tParts_spec; +typedef struct tCar_actor tCar_actor; +typedef struct tJoystick tJoystick; +typedef char * tS3_sound_source_ptr; +typedef struct tPursuee_trail tPursuee_trail; +typedef int tS3_sound_tag; +typedef struct tOppo_psyche tOppo_psyche; +typedef struct tComplete_race_data tComplete_race_data; +typedef struct tReturn_to_start_data tReturn_to_start_data; +typedef tPath_node_struct tPath_node; +typedef tPath_section_struct tPath_section; +typedef struct tPursue_car_data tPursue_car_data; +typedef struct tFollow_path_data tFollow_path_data; +typedef struct tLevitate_data tLevitate_data; +typedef struct tRun_away_data tRun_away_data; +typedef struct tRoute_section tRoute_section; +typedef struct tOpponent_spec tOpponent_spec; +typedef struct tIntelligent_vehicles tIntelligent_vehicles; +typedef struct tBounds tBounds; +typedef struct tFace_ref tFace_ref; +typedef tU32 tPlayer_ID; +typedef struct tNet_game_player_info tNet_game_player_info; +typedef struct tNet_game_options tNet_game_options; +typedef struct tNet_game_status tNet_game_status; +typedef struct tNet_game_details tNet_game_details; +typedef struct tNet_message_send_me_details tNet_message_send_me_details; +typedef struct tNet_message_my_details tNet_message_my_details; +typedef struct tNet_message_join tNet_message_join; +typedef struct tNet_message_leave tNet_message_leave; +typedef struct tNet_message_host_pissing_off tNet_message_host_pissing_off; +typedef struct tNet_message_new_player_list tNet_message_new_player_list; +typedef struct tNet_message_race_over tNet_message_race_over; +typedef struct tNet_message_status_report tNet_message_status_report; +typedef struct tGrid_spec tGrid_spec; +typedef struct tNet_message_start_race tNet_message_start_race; +typedef struct tNet_message_guarantee_reply tNet_message_guarantee_reply; +typedef struct tNet_message_headup tNet_message_headup; +typedef struct tNet_message_host_query tNet_message_host_query; +typedef struct tNet_message_host_reply tNet_message_host_reply; +typedef struct tNet_message_cop_info tNet_message_cop_info; +typedef struct tNet_message_non_car_info tNet_message_non_car_info; +typedef struct tNet_message_non_car_position tNet_message_non_car_position; +typedef struct tNet_message_time_sync tNet_message_time_sync; +typedef struct tNet_message_players_confirm tNet_message_players_confirm; +typedef struct tNet_message_disable_car tNet_message_disable_car; +typedef struct tNet_message_enable_car tNet_message_enable_car; +typedef struct tNet_message_powerup tNet_message_powerup; +typedef struct tNet_message_recover tNet_message_recover; +typedef struct tNet_message_scores tNet_message_scores; +typedef struct tNet_message_wasted tNet_message_wasted; +typedef struct tNet_message_gameplay tNet_message_gameplay; +typedef struct tNet_message_pedestrian tNet_message_pedestrian; +typedef struct tNet_message_car_details_req tNet_message_car_details_req; +typedef struct tCar_details tCar_details; +typedef struct tNet_message_car_details tNet_message_car_details; +typedef struct tGame_scores tGame_scores; +typedef struct tNet_message_game_scores tNet_message_game_scores; +typedef struct tNet_message_oil_spill tNet_message_oil_spill; +typedef struct tNet_message_crush_point tNet_message_crush_point; +typedef struct tNet_contents tNet_contents; +typedef struct tNet_message tNet_message; +typedef struct tCar_detail_info tCar_detail_info; +typedef int tS3_sound_id; +typedef int tS3_type; +typedef int tS3_repeats; +typedef int tS3_volume; +typedef int tS3_effect_tag; +typedef long tS3_priority; +typedef long tS3_pitch; +typedef long tS3_speed; +typedef char * tS3_outlet_ptr; +typedef struct tS3_vector3 tS3_vector3; +typedef struct tWav_header tWav_header; +typedef void * tPipe_reset_proc(); +typedef struct tPowerup tPowerup; +typedef int * tGot_proc(tPowerup*, tCar_spec*); +typedef void * tLose_proc(tPowerup*, tCar_spec*); +typedef void * tPeriodic_proc(tPowerup*, tU32); +typedef struct tDepth_effect tDepth_effect; +typedef struct tPlane_spec tPlane_spec; +typedef struct tMaterial_modifiers tMaterial_modifiers; +typedef struct tSpecial_screen tSpecial_screen; +typedef struct tRace_list_spec tRace_list_spec; +typedef struct tRace_save_info tRace_save_info; +typedef struct tGraf_spec tGraf_spec; +typedef struct tCollision_info tCollision_info; +typedef struct tNon_car_spec tNon_car_spec; +typedef struct tOpp_spec tOpp_spec; +typedef struct tCheckpoint tCheckpoint; +typedef struct tNet_starts tNet_starts; +typedef struct tText_chunk tText_chunk; +typedef struct tRace_info tRace_info; +typedef struct tOpponent_save_info tOpponent_save_info; +typedef struct tOpponent tOpponent; +typedef struct tProgram_state tProgram_state; +typedef struct tDR_font tDR_font; +typedef struct tGraf_data tGraf_data; +typedef struct tRolling_letter tRolling_letter; +typedef struct tFlic_descriptor tFlic_descriptor; +typedef tFlic_descriptor * tFlic_descriptor_ptr; +typedef struct tBrender_storage tBrender_storage; +typedef struct tSave_game tSave_game; +typedef struct tPed_subs tPed_subs; +typedef struct tRadio_bastards tRadio_bastards; +typedef exception_struct tException_node; +typedef exception_struct * tException_list; +typedef struct tPixelmap_user_data tPixelmap_user_data; +typedef void * tPMFM2CB(br_material*); +typedef fmt_vertex DR_VERTEX; +typedef v11face DR_FACE; +typedef struct v11group v11group; +typedef struct v11model v11model; +typedef struct tMatrix_and_actor tMatrix_and_actor; + +typedef enum tDriver { + eDriver_non_car_unused_slot = 0, + eDriver_non_car = 1, + eDriver_oppo = 2, + eDriver_net_human = 3, + eDriver_local_human = 4 +} tDriver; + + +typedef enum tBounds_type { + eUndefined = 0, + eBounds_ws = 1, + eBounds_cs = 2 +} tBounds_type; + + +typedef enum tImpact_location { + eImpact_top = 0, + eImpact_bottom = 1, + eImpact_left = 2, + eImpact_right = 3, + eImpact_front = 4, + eImpact_back = 5, + eImpact_location_count = 6, + eImpact_unknown = 7 +} tImpact_location; + + +typedef enum tAxis_comp { + eAxis_x = 0, + eAxis_y = 1, + eAxis_z = 2 +} tAxis_comp; + + +typedef enum tCondition_operator { + eCondition_less_than = 0, + eCondition_greater_than = 1 +} tCondition_operator; + + +typedef enum tDamage_type { + eDamage_engine = 0, + eDamage_transmission = 1, + eDamage_driver = 2, + eDamage_steering = 3, + eDamage_lf_brake = 4, + eDamage_rf_brake = 5, + eDamage_lr_brake = 6, + eDamage_rr_brake = 7, + eDamage_lf_wheel = 8, + eDamage_rf_wheel = 9, + eDamage_lr_wheel = 10, + eDamage_rr_wheel = 11, + eDamage_type_count = 12 +} tDamage_type; + + +typedef enum tJustification { + eJust_left = 0, + eJust_right = 1, + eJust_centre = 2 +} tJustification; + + +typedef enum tOpponent_objective_type { + eOOT_none = 0, + eOOT_complete_race = 1, + eOOT_pursue_and_twat = 2, + eOOT_run_away = 3, + eOOT_get_near_player = 4, + eOOT_levitate = 5, + eOOT_knackered_and_freewheeling = 6, + eOOT_frozen = 7, + eOOT_wait_for_some_hapless_sod = 8, + eOOT_rematerialise = 9, + eOOT_return_to_start = 10 +} tOpponent_objective_type; + + +typedef enum tFollow_path_result { + eFPR_OK = 0, + eFPR_end_of_path = 1, + eFPR_given_up = 2 +} tFollow_path_result; + + +typedef enum tPath_section_type_enum { + ePST_normal = 0, + ePST_race_path = 1, + ePST_cheat_only = 2, + ePST_count = 3 +} tPath_section_type_enum; + + +typedef enum tPursue_car_state { + ePCS_what_now = 0, + ePCS_following_trail = 1, + ePCS_following_line_of_sight = 2, + ePCS_backing_up = 3 +} tPursue_car_state; + + +typedef enum tProcess_objective_command { + ePOC_start = 0, + ePOC_run = 1, + ePOC_die = 2 +} tProcess_objective_command; + + +typedef enum tParts_category { + eParts_armour = 0, + eParts_power = 1, + eParts_offensive = 2, + eParts_count = 3 +} tParts_category; + + +typedef enum tRace_over_reason { + eRace_not_over_yet = 255, + eRace_over_laps = 0, + eRace_over_peds = 1, + eRace_over_opponents = 2, + eRace_over_abandoned = 3, + eRace_over_out_of_time = 4, + eRace_over_demo = 5, + eRace_over_network_victory = 6, + eRace_over_network_loss = 7, + eRace_over_count = 8 +} tRace_over_reason; + + +typedef enum tNet_mode { + eNet_mode_none = 0, + eNet_mode_thinking_about_it = 1, + eNet_mode_host = 2, + eNet_mode_client = 3 +} tNet_mode; + + +typedef enum tPlayer_status { + ePlayer_status_unknown = 0, + ePlayer_status_ready = 1, + ePlayer_status_loading = 2, + ePlayer_status_wrecks_gallery = 3, + ePlayer_status_summary = 4, + ePlayer_status_not_responding = 5, + ePlayer_status_racing = 6, + ePlayer_status_main_menu = 7, + ePlayer_status_recovering = 8, + ePlayer_status_action_replay = 9 +} tPlayer_status; + + +typedef enum tNet_game_type { + eNet_game_type_fight_to_death = 0, + eNet_game_type_car_crusher = 1, + eNet_game_type_carnage = 2, + eNet_game_type_checkpoint = 3, + eNet_game_type_sudden_death = 4, + eNet_game_type_tag = 5, + eNet_game_type_foxy = 6, + eNet_game_type_count = 7 +} tNet_game_type; + + +typedef enum tNet_game_stage { + eNet_game_starting = 0, + eNet_game_ready = 1, + eNet_game_playing = 2, + eNet_game_status_count = 3 +} tNet_game_stage; + + +typedef enum tCar_choice { + eNet_car_frankie = 0, + eNet_car_annie = 1, + eNet_car_both = 2, + eNet_car_all = 3 +} tCar_choice; + + +typedef enum tNet_sequence_type { + eNet_sequence_sequential = 0, + eNet_sequence_random = 1 +} tNet_sequence_type; + + +typedef enum tPowerup_event { + ePowerup_gained = 0, + ePowerup_ongoing = 1, + ePowerup_lost = 2 +} tPowerup_event; + + +typedef enum tNet_gameplay_mess { + eNet_gameplay_checkpoint = 0, + eNet_gameplay_wrong_checkpoint = 1, + eNet_gameplay_suddenly_death = 2, + eNet_gameplay_suicide = 3, + eNet_gameplay_go_for_it = 4, + eNet_gameplay_host_paused = 5, + eNet_gameplay_host_unpaused = 6, + eNet_gameplay_earn_credits = 7 +} tNet_gameplay_mess; + + +typedef enum tCar_detail_ownership { + eCar_owner_none = 0, + eCar_owner_someone = 1, + eCar_owner_self = 2, + eCar_owner_not_allowed = 3 +} tCar_detail_ownership; + + +typedef enum tS3_error_codes { + eS3_error_none = 0, + eS3_error_digi_init = 1, + eS3_error_midi_init = 2, + eS3_error_memory = 3, + eS3_error_readfile = 4, + eS3_error_soundbank = 5, + eS3_error_bad_id = 6, + eS3_error_bad_stag = 7, + eS3_error_load_sound = 8, + eS3_error_start_sound = 9, + eS3_error_channel_alloc = 10, + eS3_error_not_spatial = 11, + eS3_error_function_failed = 12, + eS3_error_load_song = 13, + eS3_error_song_not_loaded = 14, + eS3_error_start_song = 15, + eS3_error_start_cda = 16, + eS3_error_cda_not_init = 17, + eS3_error_already_started_cda = 18, + eS3_error_nonexistant_source = 19 +} tS3_error_codes; + + +typedef enum tS3_termination_reason { + eS3_tr_natural = 0, + eS3_tr_stopped = 1, + eS3_tr_overridden = 2 +} tS3_termination_reason; + + +typedef enum tS3_filter_type { + eS3_filter_none = 0, + eS3_filter_reversed = 1, + eS3_filter_echo = 2 +} tS3_filter_type; + + +typedef enum tPowerup_type { + ePowerup_dummy = 0, + ePowerup_instantaneous = 1, + ePowerup_timed = 2, + ePowerup_whole_race = 3 +} tPowerup_type; + + +typedef enum tNet_powerup_type { + eNet_powerup_local = 0, + eNet_powerup_global = 1, + eNet_powerup_inappropriate = 2 +} tNet_powerup_type; + + +typedef enum tVehicle_type { + eVehicle_self = 0, + eVehicle_net_player = 1, + eVehicle_opponent = 2, + eVehicle_rozzer = 3, + eVehicle_drone = 4, + eVehicle_not_really = 5 +} tVehicle_type; + + +typedef enum tDepth_effect_type { + eDepth_effect_none = 255, + eDepth_effect_darkness = 0, + eDepth_effect_fog = 1 +} tDepth_effect_type; + + +typedef enum tPlane_type { + ePlane_pos_x = 0, + ePlane_neg_x = 1, + ePlane_pos_y = 2, + ePlane_neg_y = 3, + ePlane_pos_z = 4, + ePlane_neg_z = 5, + ePlane_general = 6 +} tPlane_type; + + +typedef enum tNet_avail { + eNet_avail_never = 0, + eNet_avail_eagle = 1, + eNet_avail_hawk = 2, + eNet_avail_all = 3 +} tNet_avail; + + +typedef enum tProg_status { + eProg_intro = 0, + eProg_opening = 1, + eProg_idling = 2, + eProg_demo = 3, + eProg_game_starting = 4, + eProg_game_ongoing = 5, + eProg_quit = 6 +} tProg_status; + + +typedef enum tMM_result { + eMM_none = 0, + eMM_continue = 1, + eMM_end_game = 2, + eMM_1_start = 3, + eMM_n_start = 4, + eMM_loaded = 5, + eMM_save = 6, + eMM_options = 7, + eMM_quit = 8, + eMM_timeout = 9, + eMM_recover = 10, + eMM_abort_race = 11 +} tMM_result; + + +typedef enum tSO_result { + eSO_main_menu_invoked = 0, + eSO_game_over = 1, + eSO_game_completed = 2, + eSO_continue = 3 +} tSO_result; + + +typedef enum tRace_result { + eRace_game_abandonned = 0, + eRace_aborted = 1, + eRace_timed_out = 2, + eRace_completed = 3 +} tRace_result; + + +typedef enum tFrank_anne { + eFrankie = 0, + eAnnie = 1 +} tFrank_anne; + + +typedef enum tRace_sel_view_type { + eVT_Scene = 0, + eVT_Info = 1, + eVT_Opponents = 2 +} tRace_sel_view_type; + + +typedef enum tAuto_parts_reply { + eAP_auto = 0, + eAP_manual = 1, + eAP_piss_off = 2 +} tAuto_parts_reply; + + +typedef enum tWhich_view { + eView_undefined = 0, + eView_left = 1, + eView_forward = 2, + eView_right = 3 +} tWhich_view; + + +typedef enum tRolling_type { + eRT_alpha = 0, + eRT_numeric = 1, + eRT_looping_random = 2, + eRT_looping_single = 3 +} tRolling_type; + + +typedef enum tCar_texturing_level { + eCTL_none = 0, + eCTL_transparent = 1, + eCTL_full = 2, + eCTL_count = 3 +} tCar_texturing_level; + + +typedef enum tRoad_texturing_level { + eRTL_none = 0, + eRTL_full = 1, + eRTL_count = 2 +} tRoad_texturing_level; + + +typedef enum tWall_texturing_level { + eWTL_none = 0, + eWTL_linear = 1, + eWTL_full = 2, + eWTL_count = 3 +} tWall_texturing_level; + + +typedef enum tAdd_to_storage_result { + eStorage_not_enough_room = 0, + eStorage_duplicate = 1, + eStorage_allocated = 2 +} tAdd_to_storage_result; + + +typedef enum tLollipop_mode { + eLollipop_none = 255, + eLollipop_x_match = 0, + eLollipop_y_match = 1, + eLollipop_z_match = 2 +} tLollipop_mode; + + +typedef enum tSmear_type { + eSmear_oil = 0, + eSmear_blood = 1, + eSmear_count = 2 +} tSmear_type; + +typedef void zs_order_table_traversal_cbfn(int, ot_vertex*, ot_vertex*, ot_vertex*, double, unsigned char*, __unk0__); +typedef void tS3_outlet_callback(tS3_outlet_ptr, tS3_sound_tag, tS3_termination_reason); +typedef void tS3_sample_filter(tS3_effect_tag, tS3_sound_tag); +struct __iobuf { + unsigned char *_ptr; + int _cnt; + unsigned char *_base; + unsigned int _flag; + int _handle; + unsigned int _bufsize; + unsigned char _ungotten; + unsigned char _tmpfchar; +}; +struct div_t { + int quot; + int rem; +}; +struct ldiv_t { + long quot; + long rem; +}; +struct _complex { + double x; + double y; +}; +struct complex { + double x; + double y; +}; +struct exception { + int type; + char *name; + double arg1; + double arg2; + double retval; +}; +struct ot_vertex { + br_scalar screenX; + br_scalar screenY; + br_scalar distanceZ; +}; +struct _tagRMI_REGS { + long EDI; + long ESI; + long EBP; + long reserved_by_system; + long EBX; + long EDX; + long ECX; + long EAX; + short flags; + short ES; + short DS; + short FS; + short GS; + short IP; + short CS; + short SP; + short SS; +}; +struct _tagBREGS { + char al; + char ah; + unsigned short _1; + char bl; + char bh; + unsigned short _2; + char cl; + char ch; + unsigned short _3; + char dl; + char dh; + unsigned short _4; +}; +struct _tagWREGS { + unsigned short ax; + unsigned short _1; + unsigned short bx; + unsigned short _2; + unsigned short cx; + unsigned short _3; + unsigned short dx; + unsigned short _4; + unsigned short si; + unsigned short _5; + unsigned short di; + unsigned short _6; +}; +struct _tagDREGS { + unsigned int eax; + unsigned int ebx; + unsigned int ecx; + unsigned int edx; + unsigned int esi; + unsigned int edi; + unsigned int cflags; +}; +struct _tagSREGS { + unsigned short es; + unsigned short cs; + unsigned short ss; + unsigned short ds; + unsigned short fs; + unsigned short gs; +}; +struct _HMI_REGS { + _HMI_DREGS x; + _HMI_WREGS w; + _HMI_BREGS h; +}; +struct _tagIPX_HEADER { + USHORT wChecksum; + USHORT wLength; + BYTE bTransportControl; + BYTE bPacketType; + BYTE bDestNetworkNumber[4]; + BYTE bDestNetworkNode[6]; + USHORT wDestNetworkSocket; + BYTE bSourceNetworkNumber[4]; + BYTE bSourceNetworkNode[6]; + USHORT wSourceNetworkSocket; +}; +struct _PACKET { + PSTR pData; + USHORT wLength; +}; +struct _REAL_PACKET { + SHORT wOffset; + SHORT wSegment; + USHORT wLength; +}; +struct _ECB_PACKET { + _PACKET sPacket; + _REAL_PACKET sRealPacket; +}; +struct _tagIPX_ECB { + PSTR pLinkAddress; + PSTR pESRRoutine; + BYTE bInUse; + BYTE bCompletionCode; + USHORT wSocket; + USHORT wConnectionID; + USHORT wWorkSpace; + BYTE bDriverWorkSpace[12]; + BYTE bImmediateAddress[6]; + USHORT wPacketCount; + _ECB_PACKET sPacket[2]; +}; +struct _tagIPX_INTERNET_ADDR { + BYTE bNetwork[4]; + BYTE bNode[6]; +}; +struct _tagIPX_NETWORK_ADDR { + _IPX_INTERNET_ADDR sInternetAddr; + BYTE bSocket[2]; +}; +struct _tagIPX_LOCAL_TARGET { + _IPX_INTERNET_ADDR sInternetAddr; + BYTE bImmediate[6]; +}; +struct _tagIPX_ELEMENT { + USHORT wFlags; + USHORT wOffset; + _IPX_HEADER sHeader; + _IPX_ECB sECB; + _IPX_ECB *pECB; + _IPX_HEADER *pIPXHeader; + PSTR pHeader; + USHORT wHSize; +}; +struct _PROT_PTR { + PSTR pData; +}; +struct _REAL_PTR { + SHORT wOffset; + SHORT wSegment; +}; +struct _PTR { + _PROT_PTR sPointer; + _REAL_PTR sRealPtr; +}; +struct _tag_NETBIOS_NCB { + BYTE bCommand; + BYTE bReturnCode; + BYTE bLocalSession; + BYTE bNetworkNameNumber; + _PTR sPtr; + USHORT wLength; + BYTE bCallName[16]; + BYTE bName[16]; + BYTE bReceiveTimeOut; + BYTE bSendTimeOut; + PSTR pPostFunction; + BYTE bAdapter; + BYTE bCompletionCode; + BYTE bReserve[14]; +}; +struct _tagNETBIOS_ADAPTER_STATUS { + BYTE bCardID[6]; + BYTE bReleaseLevel; + BYTE bReserved1; + BYTE bTypeOfAdapter; + BYTE bOldOrNewParameters; + USHORT wReportingPeriodMinutes; + USHORT wFrameRejectReceivedCount; + USHORT wFrameRejectSentCount; + USHORT wReceivedDataFrameErrors; + USHORT wUnsuccessfulTransmissions; + LONG dwGoodTransmissions; + LONG dwGoodReceptions; + USHORT wRetransmissions; + USHORT wExhaustedResourceCount; + USHORT wT1TimerExpiredCount; + USHORT wTITimerExpiredCount; + BYTE bReserved2[4]; + USHORT wAvailableNCBS; + USHORT wMaxNCBSConfigured; + USHORT wMaxNCBSPossible; + USHORT wBufferOrStationBusyCount; + USHORT wMaxDatagramSize; + USHORT wPendingSessions; + USHORT wMaxSessionsConfigured; + USHORT wMaxSessionsPossible; + USHORT wMaxFrameSize; + USHORT wNameCount; + struct { + BYTE bName[16]; + BYTE bNameNumber; + BYTE bNameStatus; + }; +}; +struct _tagNETBIOS_ELEMENT { + USHORT wFlags; + USHORT wOffset; + _NETBIOS_NCB sNCB; + _NETBIOS_NCB *pNCB; + PSTR pHeader; + USHORT wHSize; +}; +struct _tagNETBIOS_LOCAL_TARGET { + BYTE bNode[16]; +}; +struct _tagXFER_BLOCK_HEADER { + W32 wSequence; + W32 wType; + W32 wID; + W32 wLength; + W32 wNode; + W32 wUser1; +}; +struct _NETNOW_NODE_ADDR { + _IPX_LOCAL_TARGET sIPX; + _NETBIOS_LOCAL_TARGET sNETBIOS; +}; +struct tPD_net_player_info { + _IPX_LOCAL_TARGET addr_ipx; +}; +struct tTrack_spec { + tU8 ncolumns_x; + tU8 ncolumns_z; + br_scalar column_size_x; + br_scalar column_size_z; + br_scalar origin_x; + br_scalar origin_z; + br_actor *the_actor; + br_actor ***columns; + br_actor ***lollipops; + br_actor ***blends; + int ampersand_digits; + br_actor **non_car_list; +}; +struct tCrush_neighbour { + br_uint_8 vertex_index; + br_uint_8 factor; +}; +struct tCrush_point_spec { + br_uint_16 vertex_index; + br_uint_16 number_of_neighbours; + br_vector3 limits_neg; + br_vector3 limits_pos; + br_vector3 softness_neg; + br_vector3 softness_pos; + tCrush_neighbour *neighbours; +}; +struct tCrush_data { + int number_of_crush_points; + float softness_factor; + float min_fold_factor; + float max_fold_factor; + float wibble_factor; + float limit_deviant; + float split_chance; + br_scalar min_y_fold_down; + tCrush_point_spec *crush_points; +}; +struct tSpecial_volume { + br_matrix34 mat; + br_matrix34 inv_mat; + br_bounds bounds; + br_scalar gravity_multiplier; + br_scalar viscosity_multiplier; + float car_damage_per_ms; + float ped_damage_per_ms; + int no_mat; + int camera_special_effect_index; + int sky_col; + int entry_noise; + int exit_noise; + int engine_noise_index; + br_material *screen_material; + int material_modifier_index; +}; +struct tReduced_matrix { + br_vector3 row1; + br_vector3 row2; + br_vector3 translation; +}; +struct tCar_controls { + int joystick_acc: 8; + int joystick_dec: 8; + unsigned int left: 1; + unsigned int right: 1; + unsigned int acc: 1; + unsigned int dec: 1; + unsigned int brake: 1; + unsigned int up: 1; + unsigned int down: 1; + unsigned int holdw: 1; + unsigned int backwards: 1; + unsigned int change_up: 1; + unsigned int change_down: 1; + unsigned int horn: 1; +}; +struct tNet_message_mechanics_info { + tU8 contents_size; + tNet_message_type type; + tU32 ID; + tU32 time; + tReduced_matrix mat; + br_vector3 v; + br_vector3 omega; + tU8 d[4]; + tCar_controls keys; + tU32 cc_coll_time; + tS16 curvature; + tU16 revs; + br_scalar front; + br_scalar back; + tU32 repair_time; + tU8 damage[12]; + tU16 powerups; + br_scalar wheel_dam_offset[4]; +}; +struct tCar_spec_struct { + int index; + int disabled; + tDriver driver; + br_actor *car_master_actor; + br_scalar min_torque_squared; + br_scalar break_off_radians_squared; + br_vector3 v; + br_vector3 old_v; + br_vector3 velocity_car_space; + br_matrix34 oldmat; + br_matrix34 old_frame_mat; + br_vector3 pos; + br_vector3 omega; + br_vector3 oldomega; + br_scalar M; + int infinite_mass; + br_vector3 I; + br_vector3 cmpos; + int extra_point_num; + br_bounds bounds[3]; + br_bounds max_bounds[2]; + br_vector3 extra_points[6]; + br_scalar original_extra_points_z[6]; + br_vector3 old_point; + br_vector3 old_norm; + int box_face_start; + int box_face_end; + int box_face_ref; + br_matrix34 last_box_inv_mat; + br_bounds last_box; + int doing_nothing_flag; + tSpecial_volume *last_special_volume; + tSpecial_volume *auto_special_volume; + int frame_collision_flag; + int collision_flag; + int max_shrapnel_material; + br_vector3 direction; + float speed; + tU16 car_ID; + br_material *shrapnel_material[3]; + br_bounds bounds_world_space; + tBounds_type bounds_ws_type; + tU16 fire_vertex[12]; + tU16 num_smoke_columns; + br_vector3 water_normal; + br_scalar water_d; + br_scalar water_depth_factor; + tNet_message_mechanics_info message; + tU32 last_car_car_collision; + br_scalar dt; + tCar_spec_struct *who_last_hit_me; + char name[32]; + char driver_name[32]; + char grid_icon_names[3][14]; + tS8 *cockpit_images[3]; + br_pixelmap *prat_cam_left; + br_pixelmap *prat_cam_top; + br_pixelmap *prat_cam_right; + br_pixelmap *prat_cam_bottom; + br_pixelmap *prat_cam_dummy; + br_pixelmap *speedo_image[2]; + br_pixelmap *tacho_image[2]; + br_pixelmap *damage_background; + br_pixelmap *lhands_images[7]; + br_pixelmap *rhands_images[7]; + br_pixelmap *grid_icon_image; + br_pixelmap *gears_image; + int fg_index; + int underwater_ability; + int invulnerable; + int wall_climber_mode; + int can_be_stolen; + int has_been_stolen; + int active; + int knackered; + int pre_car_col_knackered; + int render_left[3]; + int render_top[3]; + int render_right[3]; + int render_bottom[3]; + int mirror_left; + int mirror_top; + int mirror_right; + int mirror_bottom; + int prat_left; + int prat_top; + int prat_right; + int prat_bottom; + int speedo_x[2]; + int speedo_y[2]; + int speedo_centre_x[2]; + int speedo_centre_y[2]; + int speedo_x_pitch[2]; + int speedo_y_pitch[2]; + int speedo_radius_1[2]; + int speedo_radius_2[2]; + int speedo_start_angle[2]; + int speedo_end_angle[2]; + int speedo_needle_colour[2]; + int tacho_x[2]; + int tacho_y[2]; + int tacho_centre_x[2]; + int tacho_centre_y[2]; + int tacho_x_pitch[2]; + int tacho_y_pitch[2]; + int tacho_radius_1[2]; + int tacho_radius_2[2]; + int tacho_start_angle[2]; + int tacho_end_angle[2]; + int tacho_needle_colour[2]; + int gear_x[2]; + int gear_y[2]; + int red_line; + int lhands_x[7]; + int lhands_y[7]; + int rhands_x[7]; + int rhands_y[7]; + int number_of_hands_images; + int max_speed; + int damage_x_offset; + int damage_y_offset; + int damage_background_x; + int damage_background_y; + int dim_count[2]; + int dim_left[2][4]; + int dim_top[2][4]; + int dim_right[2][4]; + int dim_bottom[2][4]; + int car_actor_count; + int current_car_actor; + int principal_car_actor; + int car_model_variable; + int number_of_steerable_wheels; + int steering_ref[6]; + int lf_sus_ref[4]; + int rf_sus_ref[4]; + int lr_sus_ref[2]; + int rr_sus_ref[2]; + int driven_wheels_spin_ref_1; + int driven_wheels_spin_ref_2; + int driven_wheels_spin_ref_3; + int driven_wheels_spin_ref_4; + int non_driven_wheels_spin_ref_1; + int non_driven_wheels_spin_ref_2; + int non_driven_wheels_spin_ref_3; + int non_driven_wheels_spin_ref_4; + int engine_noises[3]; + float driver_x_offset; + float driver_y_offset; + float driver_z_offset; + float mirror_x_offset; + float mirror_y_offset; + float mirror_z_offset; + float rearview_camera_angle; + float head_left_angle; + float head_right_angle; + float steering_angle; + float speedo_speed; + float lf_sus_position; + float rf_sus_position; + float lr_sus_position; + float rr_sus_position; + float driven_wheels_circum; + float non_driven_wheels_circum; + float bounce_rate; + float bounce_amount; + float collision_mass_multiplier; + float damage_multiplier; + float grip_multiplier; + float engine_power_multiplier; + tDamage_unit damage_units[12]; + tU8 frame_start_damage[12]; + tImpact_location last_impact_location; + tDamage_program damage_programs[6]; + tHeadup_slot headup_slots[2][20]; + tParts_spec power_ups[3]; + int car_actor_pipe_ref; + tCar_actor car_model_actors[5]; + br_material *screen_material; + br_material *screen_material_source; + br_matrix34 last_safe_positions[5]; + int wheel_slip; + br_scalar damping; + br_scalar sk[2]; + br_scalar sb[2]; + br_scalar susp_give[2]; + br_scalar susp_height[2]; + br_scalar ride_height; + br_vector3 wpos[4]; + br_scalar curvature; + br_scalar maxcurve; + br_scalar turn_speed; + br_scalar oldd[4]; + int material_index[4]; + int dust_time[4]; + br_scalar mu[3]; + br_scalar friction_elipticity; + br_scalar down_force_speed; + int down_force_flag; + br_scalar initial_brake; + br_scalar brake_increase; + br_scalar freduction; + br_scalar acc_force; + br_scalar torque; + br_scalar brake_force; + int traction_control; + br_scalar rolling_r_front; + br_scalar rolling_r_back; + tCar_controls keys; + tJoystick joystick; + int pedals_xy; + int number_of_wheels_on_ground; + br_actor *wheel_actors[6]; + float wheel_rot_pos[4]; + br_scalar wheel_dam_offset[4]; + br_scalar damage_magnitude_accumulator; + br_scalar revs; + br_scalar target_revs; + br_vector3 road_normal; + br_scalar max_force_front; + br_scalar max_force_rear; + int gear; + int just_changed_gear; + int max_gear; + br_scalar speed_revs_ratio; + br_scalar force_torque_ratio; + tS3_sound_source_ptr sound_source; + br_matrix34 pre_car_col_mat; + br_scalar pre_car_col_speed; + br_vector3 pre_car_col_direction; + br_vector3 pre_car_col_velocity; + br_vector3 pre_car_col_velocity_car_space; + br_vector3 velocity_bu_per_sec; + float last_col_prop_x; + float last_col_prop_y; + float last_col_prop_z; + tU32 time_last_hit; + tU32 time_last_victim; + tCar_spec_struct *last_hit_by; + tCar_spec_struct *last_culprit; + int no_of_processes_recording_my_trail; + tPursuee_trail my_trail; + unsigned int grudge_raised_recently; + unsigned int big_bang; + unsigned int scary_bang; + tU32 last_collision_time; + tU32 last_time_we_touched_a_player; + tU32 end_steering_damage_effect; + tU32 end_trans_damage_effect; + int false_key_left; + int false_key_right; + tCar_spec_struct *last_person_to_hit_us; + tCar_spec_struct *last_person_we_hit; + br_vector3 engine_pos; + br_model *last_wheel_models[4]; + int last_wheel_faces[4]; + tU32 shadow_intersection_flags; + tU32 last_bounce; + unsigned int new_skidding; + unsigned int old_skidding; + tU16 old_skid[4]; + br_vector3 prev_skid_pos[4]; + br_vector3 skid_line_start[4]; + br_vector3 skid_line_end[4]; + br_vector3 nor[4]; + br_vector3 prev_nor[4]; + br_vector3 special_start[4]; + br_scalar oil_remaining[4]; + br_scalar blood_remaining[4]; + br_scalar total_length[4]; + float proxy_ray_distance; + tS32 powerups[64]; + tU32 time_to_recover; + tU32 repair_time; + int power_up_levels[3]; + tS3_sound_tag horn_sound_tag; +}; +struct tDamage_unit { + int x_coord; + int y_coord; + int damage_level; + int last_level; + int smoke_last_level; + int periods[5]; + br_pixelmap *images; +}; +struct tDamage_condition { + tAxis_comp axis_comp; + tCondition_operator condition_operator; + float comparitor; +}; +struct tDamage_effect { + tDamage_type type; + float weakness_factor; +}; +struct tDamage_clause { + tDamage_condition conditions[2]; + int effect_count; + int condition_count; + tDamage_effect effects[4]; +}; +struct tDamage_program { + int clause_count; + tDamage_clause *clauses; +}; +struct tHeadup_slot { + int x; + int y; + int colour; + int cockpit_anchored; + int dimmed_background; + int dim_left; + int dim_top; + int dim_right; + int dim_bottom; + tJustification justification; +}; +struct tPart_info { + char part_name[14]; + tU8 *data_ptr; + tU32 data_length; + int rank_required; + int prices[3]; +}; +struct tParts_spec { + int number_of_parts; + tPart_info info[6]; +}; +struct tCar_actor { + br_actor *actor; + br_scalar min_distance_squared; + tCrush_data crush_data; + br_vertex *undamaged_vertices; +}; +struct tJoystick { + tS32 left; + tS32 right; + tS32 acc; + tS32 dec; +}; +struct tPursuee_trail { + br_vector3 trail_nodes[25]; + br_vector3 base_heading; + tU32 time_of_next_recording; + tU32 end_of_deviation; + tU8 number_of_nodes; + tU8 has_deviated_recently; + tU8 nodes_shifted_this_frame; +}; +struct tOppo_psyche { + tU8 grudge_against_player; +}; +struct tComplete_race_data { + tU8 finished_calcing_race_route; + tU8 found_race_section; +}; +struct tReturn_to_start_data { + br_vector3 nearest_path_point; + tS16 section_no; + tU8 waiting_near_start; +}; +struct tPath_node_struct { + br_vector3 p; + tS16 sections[8]; + tU8 number_of_sections; +}; +struct tPath_section_struct { + tS16 node_indices[2]; + tU8 min_speed[2]; + tU8 max_speed[2]; + br_scalar width; + br_scalar length; + tU8 type; + tU8 one_way; +}; +struct tPursue_car_data { + tCar_spec *pursuee; + tU32 time_of_next_visibility_check; + tU32 start_backup_time; + tU32 time_last_twatted_em; + tU32 time_pursuee_last_visible; + tU32 time_last_away_from_pursuee; + tPath_node direct_line_nodes[2]; + tPath_section direct_line_section; + tU8 state; +}; +struct tFollow_path_data { + tU32 struggle_time; + tU32 last_finished_struggle_time; + tU32 toggle_time; + tU32 borrowed_time_start; + br_scalar prev_acc; + br_scalar prev_acc_error; + br_scalar desired_speed; + br_scalar last_distance; + br_vector3 cheaty_intersect; + tS16 section_no; + tS16 first_section_no; + tS16 last_struggle_section; + unsigned int number_of_struggles: 8; + unsigned int has_moved_during_this_task: 1; + unsigned int made_it: 1; + unsigned int cheating: 1; + unsigned int cornering: 1; + unsigned int left_not_right: 1; + unsigned int off_path_toggle; + unsigned int moving_to_intersect; + br_vector2 turning_cent; + br_scalar turning_radius; + br_scalar corner_size; + br_scalar corner_width; + int section_after; +}; +struct tLevitate_data { + br_scalar initial_y; + tU32 time_started; + unsigned int waiting_to_levitate: 1; +}; +struct tRun_away_data { + tU32 time_to_stop; +}; +struct tRoute_section { + tS16 section_no; + tU8 direction; +}; +struct tOpponent_spec { + int index; + tOpponent_objective_type current_objective; + tCar_spec *car_spec; + float nastiness; + br_scalar distance_to_camera; + br_scalar distance_from_home; + br_scalar player_to_oppo_d; + br_vector3 start_pos; + br_vector3 start_direction; + br_vector3 pos_last_frame; + br_vector3 player_to_oppo_v; + tU32 next_out_of_world_check; + tU32 stun_time_ends; + tU32 next_player_visibility_check; + tU32 last_moved_ok; + tU32 last_in_view; + tU32 time_last_processed; + tU32 time_this_objective_started; + tU32 time_for_this_objective_to_finish; + tU32 cunting_buttfuck_timer; + tS16 players_section_when_last_calced_full_path; + int nnext_sections; + tRoute_section next_sections[10]; + unsigned int new_objective_required: 1; + unsigned int finished_for_this_race: 1; + unsigned int knackeredness_detected: 1; + unsigned int physics_me: 1; + unsigned int pursue_from_start: 1; + unsigned int cheating: 1; + unsigned int last_cheating_value: 1; + unsigned int pursuing_player_before_freeze: 1; + unsigned int has_moved_at_some_point: 1; + unsigned int player_in_view_now: 1; + unsigned int acknowledged_piv: 1; + unsigned int murder_reported: 1; + tComplete_race_data complete_race_data; + tFollow_path_data follow_path_data; + tPursue_car_data pursue_car_data; + tLevitate_data levitate_data; + tRun_away_data run_away_data; + tReturn_to_start_data return_to_start_data; +}; +struct tIntelligent_vehicles { + int number_of_opponents; + int number_of_cops; + int number_of_path_nodes; + int number_of_path_sections; + br_vector3 cop_start_points[10]; + br_vector3 cop_start_vectors[10]; + tOpponent_spec opponents[5]; + tOpponent_spec cops[10]; + tPath_node *path_nodes; + tPath_section *path_sections; +}; +struct tBounds { + br_matrix34 *mat; + br_bounds original_bounds; + br_vector3 box_centre; + br_scalar radius; + br_bounds real_bounds; +}; +struct tFace_ref { + br_material *material; + br_vector3 v[3]; + br_vector2 *map[3]; + br_vector3 normal; + int flags; + br_scalar d; +}; +struct tNet_game_player_info { + tPD_net_player_info pd_net_info; + tU32 this_players_time_stamp; + tU32 last_heard_from_him; + tU32 reposition_time; + tU32 last_waste_message; + int host; + tPlayer_ID ID; + char player_name[32]; + tPlayer_status player_status; + int car_index; + int grid_index; + int grid_position_set; + int opponent_list_index; + int awaiting_confirmation; + int score; + int credits; + int wasted; + int wasteage_attributed; + int name_not_clipped; + int race_stuff_initialised; + int played; + int won; + int next_car_index; + int games_score; + int last_score_index; + br_matrix34 initial_position; + tCar_spec *car; +}; +struct tNet_game_options { + int show_players_on_map; + int show_peds_on_map; + int enable_text_messages; + int show_powerups_on_map; + int powerup_respawn; + int open_game; + int starting_money_index; + int grid_start; + int race_end_target; + int random_car_choice; + tNet_sequence_type race_sequence_type; + tCar_choice car_choice; +}; +struct tNet_game_status { + tNet_game_stage stage; +}; +struct tNet_game_details { + tPD_net_player_info pd_net_info; + char host_name[32]; + tPlayer_ID host_ID; + int num_players; + int start_race; + int no_races_yet; + tNet_game_status status; + tNet_game_options options; + tNet_game_type type; +}; +struct tNet_message_send_me_details { + tU8 contents_size; + tNet_message_type type; +}; +struct tNet_message_my_details { + tU8 contents_size; + tNet_message_type type; + tNet_game_details details; +}; +struct tNet_message_join { + tU8 contents_size; + tNet_message_type type; + tNet_game_player_info player_info; +}; +struct tNet_message_leave { + tU8 contents_size; + tNet_message_type type; +}; +struct tNet_message_host_pissing_off { + tU8 contents_size; + tNet_message_type type; +}; +struct tNet_message_new_player_list { + tU8 contents_size; + tNet_message_type type; + int number_of_players; + int this_index; + int batch_number; + tNet_game_player_info player; +}; +struct tNet_message_race_over { + tU8 contents_size; + tNet_message_type type; + tRace_over_reason reason; +}; +struct tNet_message_status_report { + tU8 contents_size; + tNet_message_type type; + tPlayer_status status; +}; +struct tGrid_spec { + int index; + int next_car_index; + br_matrix34 mat; +}; +struct tNet_message_start_race { + tU8 contents_size; + tNet_message_type type; + int car_count; + int racing; + int next_race; + tGrid_spec car_list[6]; +}; +struct tNet_message_guarantee_reply { + tU8 contents_size; + tNet_message_type type; + tU32 guarantee_number; +}; +struct tNet_message_headup { + tU8 contents_size; + tNet_message_type type; + char text[128]; +}; +struct tNet_message_host_query { + tU8 contents_size; + tNet_message_type type; +}; +struct tNet_message_host_reply { + tU8 contents_size; + tNet_message_type type; + int race_has_started; + int race_index; + int pending_race; +}; +struct tNet_message_cop_info { + tU8 contents_size; + tNet_message_type type; + tU32 ID; + tU32 time; + tReduced_matrix mat; + br_vector3 v; + br_vector3 omega; + br_scalar curvature; + br_scalar d[4]; + tU8 damage[12]; +}; +struct tNet_message_non_car_info { + tU8 contents_size; + tNet_message_type type; + tU32 ID; + tU32 time; + tReduced_matrix mat; + br_vector3 v; + br_vector3 omega; + tU32 cc_coll_time; + tU16 flags; +}; +struct tNet_message_non_car_position { + tU8 contents_size; + tNet_message_type type; + tU32 ID; + br_matrix34 mat; + tU16 flags; +}; +struct tNet_message_time_sync { + tU8 contents_size; + tNet_message_type type; + int race_start_time; +}; +struct tNet_message_players_confirm { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID player; +}; +struct tNet_message_disable_car { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID player; +}; +struct tNet_message_enable_car { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID player; +}; +struct tNet_message_powerup { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID player; + int powerup_index; + tU32 time_left; + tPowerup_event event; +}; +struct tNet_message_recover { + tU8 contents_size; + tNet_message_type type; + tU32 ID; + int time_to_recover; +}; +struct tNet_message_scores { + tU8 contents_size; + tNet_message_type type; + int general_score; + int scores[6]; +}; +struct tNet_message_wasted { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID victim; + tPlayer_ID culprit; +}; +struct tNet_message_gameplay { + tU8 contents_size; + tNet_message_type type; + tNet_gameplay_mess mess; + tU32 param_1; + tU32 param_2; + tU32 param_3; + tU32 param_4; +}; +struct tNet_message_pedestrian { + tU8 contents_size; + tNet_message_type type; + tS8 action_instruction; + tS8 flags; + tS16 index; + br_vector3 pos; + br_scalar speed; + br_vector3 to_pos; + br_vector3 offset; + tPlayer_ID murderer; + tU32 respawn_time_or_spin_period; + tS8 frame; +}; +struct tNet_message_car_details_req { + tU8 contents_size; + tNet_message_type type; +}; +struct tCar_details { + int car_index; + char owner[16]; +}; +struct tNet_message_car_details { + tU8 contents_size; + tNet_message_type type; + int count; + tCar_details details[6]; +}; +struct tGame_scores { + int played; + int won; + int score; +}; +struct tNet_message_game_scores { + tU8 contents_size; + tNet_message_type type; + tGame_scores scores[6]; +}; +struct tNet_message_oil_spill { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID player; + br_scalar full_size; + br_scalar grow_rate; + br_scalar current_size; +}; +struct tNet_message_crush_point { + tU8 contents_size; + tNet_message_type type; + tPlayer_ID id; + tU16 vertex; + br_vector3 energy_vector; +}; +struct tNet_contents { + struct { + tU8 contents_size; + tNet_message_type type; + }; + struct { + tNet_message_send_me_details send_details; + tNet_message_my_details details; + tNet_message_join join; + tNet_message_leave leave; + tNet_message_host_pissing_off hosticide; + tNet_message_new_player_list player_list; + tNet_message_race_over race_over; + tNet_message_status_report report; + tNet_message_start_race start_race; + tNet_message_guarantee_reply reply; + tNet_message_headup headup; + tNet_message_host_query where_we_at; + tNet_message_host_reply heres_where_we_at; + tNet_message_mechanics_info mech; + tNet_message_non_car_info non_car; + tNet_message_time_sync time_sync; + tNet_message_players_confirm confirm; + tNet_message_disable_car disable_car; + tNet_message_enable_car enabled_car; + tNet_message_powerup powerup; + tNet_message_recover recover; + tNet_message_scores scores; + tNet_message_wasted wasted; + tNet_message_pedestrian pedestrian; + tNet_message_gameplay gameplay; + tNet_message_non_car_position non_car_position; + tNet_message_cop_info cop_info; + tNet_message_car_details_req car_details_req; + tNet_message_car_details car_details; + tNet_message_game_scores game_scores; + tNet_message_oil_spill oil_spill; + tNet_message_crush_point crush; + }; +}; +struct tNet_message { + tU32 pd_stuff_so_DO_NOT_USE; + tU32 magic_number; + tU32 guarantee_number; + tPlayer_ID sender; + int version; + tU32 senders_time_stamp; + tU16 num_contents; + tU16 overall_size; + tNet_contents contents; +}; +struct tCar_detail_info { + tCar_detail_ownership ownership; + char name[16]; +}; +struct tS3_vector3 { + tF32 x; + tF32 y; + tF32 z; +}; +struct tWav_header { + char quote_RIFF[4]; + tU32 format_length; + tU8 wave[4]; + tU8 fmt[4]; + tU32 wave_format_length; + tU16 format_tag; + tU16 channels; + tU32 samples_per_sec; + tU32 avg_bytes_per_sec; + tU16 block_align; + tU16 bits_per_sample; + tU8 data[4]; + tU32 data_length; +}; +struct tPowerup { + tPowerup_type type; + tU32 got_time; + tU32 duration; + tU32 lose_time; + tU16 group_inclusion; + br_pixelmap *icon; + int fizzle_type; + int number_of_float_params; + int number_of_integer_params; + int *integer_params; + int current_value; + int prat_cam_event; + tNet_powerup_type net_type; + tGot_proc got_proc; + tLose_proc lose_proc; + tPeriodic_proc periodic_proc; + float *float_params; + tCar_spec *car; + char message[64]; +}; +struct tDepth_effect { + tDepth_effect_type type; + int start; + int end; + br_pixelmap *sky_texture; +}; +struct tPlane_spec { + tPlane_type plane_type; + br_fvector3 n; + br_scalar d; +}; +struct tMaterial_modifiers { + br_scalar car_wall_friction; + br_scalar tyre_road_friction; + br_scalar down_force; + br_scalar bumpiness; + int tyre_noise_index; + int crash_noise_index; + int scrape_noise_index; + br_scalar sparkiness; + int smoke_type; + br_material *skid_mark_material; +}; +struct tSpecial_screen { + br_material *material; + br_scalar min_x; + br_scalar min_z; + br_scalar max_x; + br_scalar max_z; +}; +struct tRace_list_spec { + char name[32]; + int rank_required; + int best_rank; + int suggested_rank; + int been_there_done_that; +}; +struct tRace_save_info { + tU32 been_there_done_that; +}; +struct tGraf_spec { + int depth_bits; + int depth_bytes; + int doubled; + int total_width; + int total_height; + long black_value; + int colour_index; + char *data_dir_name; + char *gfx_init_string; + int row_bytes; + int phys_width; + int phys_height; + void *base_addr; +}; +struct tCollision_info { + int index; + int disabled; + tDriver driver; + br_actor *car_master_actor; + br_scalar min_torque_squared; + br_scalar break_off_radians_squared; + br_vector3 v; + br_vector3 old_v; + br_vector3 velocity_car_space; + br_matrix34 oldmat; + br_matrix34 old_frame_mat; + br_vector3 pos; + br_vector3 omega; + br_vector3 oldomega; + br_scalar M; + int infinite_mass; + br_vector3 I; + br_vector3 cmpos; + int extra_point_num; + br_bounds bounds[3]; + br_bounds max_bounds[2]; + br_vector3 extra_points[6]; + br_scalar original_extra_points_z[6]; + br_vector3 old_point; + br_vector3 old_norm; + int box_face_start; + int box_face_end; + int box_face_ref; + br_matrix34 last_box_inv_mat; + br_bounds last_box; + int doing_nothing_flag; + tSpecial_volume *last_special_volume; + tSpecial_volume *auto_special_volume; + int frame_collision_flag; + int collision_flag; + int max_shrapnel_material; + br_vector3 direction; + float speed; + tU16 car_ID; + br_material *shrapnel_material[3]; + br_bounds bounds_world_space; + tBounds_type bounds_ws_type; + tU16 fire_vertex[12]; + tU16 num_smoke_columns; + br_vector3 water_normal; + br_scalar water_d; + br_scalar water_depth_factor; + tNet_message_mechanics_info message; + tU32 last_car_car_collision; + br_scalar dt; + tCar_spec_struct *who_last_hit_me; +}; +struct tNon_car_spec { + tCollision_info collision_info; + br_scalar free_mass; + br_scalar attached_mass; + br_vector3 free_cmpos; + br_vector3 attached_cmpos; + br_scalar min_torque_squared; + br_scalar snap_off_cosine; + br_vector3 I_over_M; +}; +struct tOpp_spec { + int index; + int ranking; + int net_player_index; + tCar_spec *car_spec; +}; +struct tCheckpoint { + int time_value[3]; + int quad_count; + br_vector3 vertices[4][4]; + br_vector3 normal[4]; + int map_left[2]; + int map_top[2]; + int map_right[2]; + int map_bottom[2]; +}; +struct tNet_starts { + br_vector3 pos; + br_scalar yaw; +}; +struct tText_chunk { + int frame_cue; + int frame_end; + int x_coord; + int y_coord; + int line_count; + char *text[8]; +}; +struct tRace_info { + char name[32]; + char track_file_name[14]; + int rank_required; + int best_rank; + int suggested_rank; + int total_laps; + int check_point_count; + int initial_timer[3]; + int bonus_score[8][3]; + int number_of_racers; + int number_of_net_start_points; + int text_chunk_count; + tNet_starts net_starts[24]; + tCheckpoint checkpoints[10]; + tOpp_spec opponent_list[30]; + tU8 *scene_image_data; + tU8 *map_image_data; + tU8 *info_image_data; + tU32 scene_image_data_length; + tU32 map_image_data_length; + tU32 info_image_data_length; + br_vector3 initial_position; + br_scalar initial_yaw; + br_pixelmap *map_image; + br_matrix34 map_transformation; + tText_chunk *text_chunks; + tMaterial_modifiers material_modifiers[11]; +}; +struct tOpponent_save_info { + tU32 dead; +}; +struct tOpponent { + char name[24]; + char abbrev_name[24]; + char mug_shot_name[14]; + char car_file_name[14]; + char stolen_car_flic_name[14]; + tU8 *mug_shot_image_data; + tU8 *stolen_car_image_data; + tU32 mug_shot_image_data_length; + tU32 stolen_car_image_data_length; + int car_number; + int strength_rating; + int picked; + int dead; + int text_chunk_count; + tNet_avail network_availability; + br_pixelmap *grid_icon_image; + tOppo_psyche psyche; + tText_chunk *text_chunks; +}; +struct tProgram_state { + tS32 credits; + tS32 credits_earned; + tS32 credits_lost; + tU32 view_change_start; + tU32 pratcam_move_start; + int peds_killed; + int sausage_eater_mode; + int rank; + int loaded; + int last_slot; + int skill_level; + int parts_shop_visited; + int racing; + int cut_scene; + int saving; + int loading; + int dont_save_or_load; + int dont_load; + int mirror_on; + int prat_cam_on; + int cockpit_on; + int cockpit_image_index; + int current_render_left; + int current_render_top; + int current_render_right; + int current_render_bottom; + int frame_rate_headup; + int revs; + int music_volume; + int effects_volume; + int current_race_index; + int redo_race_index; + int credits_per_rank; + int game_completed; + int number_of_cars; + int current_car_index; + tWhich_view which_view; + tWhich_view new_view; + tWhich_view pending_view; + tWhich_view old_view; + tRace_sel_view_type view_type; + tProg_status prog_status; + tFrank_anne frank_or_anniness; + tAuto_parts_reply auto_parts_reply; + tCar_spec current_car; + char player_name[2][14]; + char track_file_name[14]; + char car_name[14]; + int cars_available[60]; + br_vector3 initial_position; + br_scalar initial_yaw; + tTrack_spec track_spec; + tDepth_effect default_depth_effect; + tDepth_effect current_depth_effect; + int special_volume_count; + tSpecial_volume *special_volumes; + br_material *standard_screen; + br_material *standard_screen_dark; + br_material *standard_screen_fog; + int special_screens_count; + tSpecial_screen *special_screens; + tIntelligent_vehicles AI_vehicles; + tNon_car_spec *non_cars; + int num_non_car_spaces; +}; +struct tDR_font { + br_pixelmap *images; + int file_read_once; + int height; + int width; + int spacing; + int offset; + int num_entries; + int width_table[224]; +}; +struct tGraf_data { + int width; + int height; + int rolling_letter_y_pitch; + int save_slot_y_offset; + int rolling_letter_x_pitch; + int save_slot_x_offset; + int save_slot_rank_x_offset; + int save_slot_credits_x_offset; + int save_slot_height; + int save_slot_letter_height; + int save_slot_table[41]; + int player_name_y; + int player_name_x[2]; + int enter_name_x[2]; + int enter_name_y; + int frank_panel_left; + int frank_panel_top; + int frank_panel_right; + int frank_panel_bottom; + int anne_panel_left; + int anne_panel_top; + int anne_panel_right; + int anne_panel_bottom; + int cock_margin_x; + int cock_margin_y; + int total_cock_width; + int total_cock_height; + int dial__x[2]; + int dial__y[2]; + int dial__x_centre; + int dial__y_centre; + int start_race_panel_left; + int start_race_panel_top; + int start_race_panel_right; + int start_race_panel_bottom; + int start_race_panel_top_clip; + int start_race_panel_bottom_clip; + int choose_race_rank_right; + int choose_race_name_left; + int choose_race_bullet_left; + int choose_race_left; + int choose_race_right; + int choose_race_y_top; + int choose_race_y_bottom; + int choose_race_y_pitch; + int choose_race_curr_y; + int choose_race_box_left; + int choose_race_box_top; + int choose_race_line_y; + int choose_race_current_text_x; + int choose_race_current_text_y; + int choose_race_current_num_x; + int grid_x_pitch; + int grid_y_pitch; + int grid_x_stagger; + int grid_left_x; + int grid_top_y; + int grid_left_clip; + int grid_top_clip; + int grid_right_clip; + int grid_bottom_clip; + int grid_numbers_left; + int grid_numbers_top; + int grid_numbers_right; + int grid_marker_margin; + int grid_marker_x_len; + int dare_mugshot_left; + int dare_mugshot_top; + int dare_mugshot_width; + int dare_mugshot_height; + int dare_text_left; + int dare_text_width; + int dare_mug_left_margin; + int dare_mug_top_margin; + int dare_y_adjust; + int parts_image_x; + int parts_image_y; + int parts_image_width; + int parts_image_height; + int parts_cost_x; + int parts_cost_y; + int parts_total_x; + int parts_total_y; + int parts_net_x; + int parts_net_y; + int parts_numbers_x; + int parts_top_clip; + int parts_bottom_clip; + int parts_label_x; + int parts_label_y; + int summ1_credits_box_left; + int summ1_credits_left; + int summ1_credits_right; + int summ1_earned_top; + int summ1_earned_bottom; + int summ1_lost_top; + int summ1_lost_bottom; + int summ1_total_top; + int summ1_total_bottom; + int summ1_rank_x_pitch; + int summ1_rank_inc_l; + int summ1_rank_inc_c; + int summ1_rank_total_l; + int summ1_rank_total_c; + int summ1_rank_inc_left; + int summ1_rank_inc_right; + int summ1_rank_total_left; + int summ1_rank_total_right; + int summ1_rank_top; + int summ1_rank_bot; + int summ1_rank_y; + int wreck_name_left; + int wreck_name_right; + int wreck_name_top; + int wreck_name_bottom; + int wreck_name_base_line; + int wreck_render_x; + int wreck_render_y; + int wreck_render_w; + int wreck_render_h; + int power_up_icon_x; + int power_up_icon_countdown_x; + int power_up_icon_y; + int power_up_icon_y_pitch; + int power_up_icon_countdown_y_offset; + int change_car_text_y; + int change_car_line_left; + int change_car_line_y; + int change_car_line_right; + int change_car_panel_left; + int change_car_panel_top; + int change_car_panel_right; + int change_car_panel_bottom; + int change_car_panel_top_clip; + int change_car_panel_bottom_clip; + int map_timer_text_x; + int map_timer_text_y; + int map_timer_border_x; + int map_timer_border_y; + int action_replay_R_x; + int action_replay_R_y; + int action_replay_controls_x; + int action_replay_controls_y; + int action_replay_hilite_y; + int action_replay_rew_start_x; + int action_replay_rew_x; + int action_replay_rev_play_x; + int action_replay_pause_x; + int action_replay_play_x; + int action_replay_ffwd_x; + int action_replay_fwd_end_x; + int action_replay_camera_x; + int action_replay_cam_text_x; + int action_replay_cam_text_y; + int joinable_games_x_1; + int joinable_games_x_2; + int joinable_games_x_3; + int joinable_games_x_4; + int joinable_games_x_r; + int joinable_games_y; + int joinable_games_y_pitch; + int joinable_games_sel_left; + int joinable_games_sel_right; + int joinable_games_sel_top_marg; + int joinable_games_sel_bot_marg; + int net_player_name_x; + int net_player_name_y; + int error_box_left; + int error_box_top; + int error_box_right; + int error_box_bottom; + int start_synch_x_0; + int start_synch_x_1; + int start_synch_x_2; + int start_synch_x_r; + int start_synch_top; + int start_synch_y_pitch; + int start_synch_start_x; + int start_synch_start_y; + int key_assign_col_1; + int key_assign_col_1_a; + int key_assign_col_2; + int key_assign_col_2_a; + int key_assign_y_pitch; + int key_assign_y; + int key_assign_key_map_y; + int key_assign_flic_x; + int key_assign_flic_y; + int map_render_x_marg; + int map_render_y_marg; + int net_head_box_x; + int net_head_box_pitch; + int net_head_box_width; + int net_head_box_top; + int net_head_box_bot; + int net_head_name_x_marg; + int net_head_name_y; + int net_head_num_x; + int net_head_num_y; + int net_head_num_height; + int net_head_icon_x; + int net_head_icon_y; + int net_head_icon_height; + int net_head_score_x; + int net_head_score_y; + int armour_headup_y[2]; + int power_headup_y[2]; + int offense_headup_y[2]; + int ps_dim_left; + int ps_dim_right; + int ps_dim_height; + int ps_name_left; + int ps_name_top_border; + int ps_bars_per_level; + int ps_x_pitch; + int ps_bar_top_border; + int ps_bar_left; + int ps_bar_height; + int net_choose_race_x; + int net_choose_race_y; + int net_descr_race_l; + int net_descr_race_r; + int net_descr_race_top; + int net_descr_race_bot; + int net_sum_x_1; + int net_sum_x_2; + int net_sum_x_3; + int net_sum_x_4; + int net_sum_x_5; + int net_sum_headings_y; + int net_sum_y_pitch; + int graph_opt_disable_x; + int graph_opt_disable_y; + int sound_opt_disable_x; + int sound_opt_disable_y; + int net_message_enter_x; + int net_message_enter_y; + int eval_x; + int eval_y; +}; +struct tRolling_letter { + int letters[9]; + int x_coord; + int y_coord; + int number_of_letters; + tRolling_type rolling_type; + float current_offset; +}; +struct tFlic_descriptor { + char *data; + char *data_start; + char file_name[32]; + tU8 *first_pixel; + tU32 bytes_remaining; + tU32 frame_period; + tU32 last_frame; + br_pixelmap *the_pixelmap; + int x_offset; + int y_offset; + int width; + int height; + int frames_left; + int current_frame; + int the_index; + int new_format; + int must_finish; + int bytes_still_to_be_read; + int bytes_in_buffer; + FILE *f; + tFlic_descriptor_ptr next; +}; +struct tBrender_storage { + int models_count; + int materials_count; + int shade_tables_count; + int pixelmaps_count; + int max_pixelmaps; + int max_shade_tables; + int max_materials; + int max_models; + br_model **models; + br_pixelmap **pixelmaps; + br_pixelmap **shade_tables; + br_material **materials; + br_pixelmap **saved_colour_maps; +}; +struct tSave_game { + char slot_name[16]; + char car_name[16]; + char player_name[2][14]; + tRace_save_info race_info[100]; + tOpponent_save_info opponent_info[48]; + tU32 credits; + tU32 rank; + tU32 skill_level; + tU32 game_completed; + tU32 number_of_cars; + tU32 cars_available[60]; + tU32 current_car_index; + tU32 current_race_index; + tU32 redo_race_index; + tU32 frank_or_annitude; + tU32 power_up_levels[3]; + tU32 version; + tU32 checksum; +}; +struct tPed_subs { + int orig; + int subs; +}; +struct tRadio_bastards { + int count; + int top; + int current_value; + int left[5]; +}; +struct exception_struct { + tException_list next; + char *name; + int flags; +}; +struct tPixelmap_user_data { + tU16 orig_width; + tU16 orig_height; +}; +struct fmt_vertex { + br_vector3 p; + br_vector2 map; + br_vector3 n; +}; +struct v11face { + br_uint_16 vertices[3]; + br_uint_16 edges[3]; + br_vector4 eqn; +}; +struct v11group { + void *stored; + v11face *faces; + br_colour *face_colours; + br_uint_16 *face_user; + fmt_vertex *vertices; + br_colour *vertex_colours; + br_uint_16 *vertex_user; + br_uint_16 nfaces; + br_uint_16 nvertices; + br_uint_16 nedges; +}; +struct v11model { + br_size_t size; + br_uint_32 flags; + br_uint_16 ngroups; + br_vector3 pivot; + v11group *groups; +}; +struct tMatrix_and_actor { + br_matrix34 *m; + br_actor *a; +}; +typedef struct tReduced_pos tReduced_pos; +typedef struct tIncident_info tIncident_info; +typedef tU16 tChunk_subject_index; +typedef struct tChanged_vertex tChanged_vertex; +typedef struct tPipe_actor_rstyle_data tPipe_actor_rstyle_data; +typedef struct tPipe_actor_translate_data tPipe_actor_translate_data; +typedef struct tPipe_actor_transform_data tPipe_actor_transform_data; +typedef struct tPipe_actor_create_data tPipe_actor_create_data; +typedef struct tPipe_actor_destroy_data tPipe_actor_destroy_data; +typedef struct tPipe_actor_relink_data tPipe_actor_relink_data; +typedef struct tPipe_actor_material_data tPipe_actor_material_data; +typedef struct tPipe_face_material_data tPipe_face_material_data; +typedef struct tPipe_material_trans_data tPipe_material_trans_data; +typedef struct tPipe_material_pixelmap_data tPipe_material_pixelmap_data; +typedef struct tPipe_model_geometry_data tPipe_model_geometry_data; +typedef struct tSmudged_vertex tSmudged_vertex; +typedef struct tPipe_smudge_data tPipe_smudge_data; +typedef struct tPipe_pedestrian_data tPipe_pedestrian_data; +typedef struct tPipe_frame_boundary_data tPipe_frame_boundary_data; +typedef struct tPipe_car_data tPipe_car_data; +typedef struct tPipe_sound_data tPipe_sound_data; +typedef struct tPipe_damage_data tPipe_damage_data; +typedef struct tPipe_special_data tPipe_special_data; +typedef struct tPipe_ped_gib_data tPipe_ped_gib_data; +typedef struct tPipe_incident_data tPipe_incident_data; +typedef struct tPipe_spark_data tPipe_spark_data; +typedef struct tPipe_shrapnel_data tPipe_shrapnel_data; +typedef struct tPipe_screen_shake_data tPipe_screen_shake_data; +typedef struct tPipe_non_car_data tPipe_non_car_data; +typedef struct tPipe_smoke_data tPipe_smoke_data; +typedef struct tPipe_smoke_column_data tPipe_smoke_column_data; +typedef struct tPipe_flame_data tPipe_flame_data; +typedef struct tPipe_splash_data tPipe_splash_data; +typedef struct tPipe_prox_ray_data tPipe_prox_ray_data; +typedef struct tPipe_oil_spill_data tPipe_oil_spill_data; +typedef struct tPipe_groove_stop_data tPipe_groove_stop_data; +typedef struct tPipe_skid_adjustment tPipe_skid_adjustment; +typedef struct tPipe_chunk tPipe_chunk; +typedef struct tPipe_session tPipe_session; +typedef struct tCollison_data tCollison_data; +typedef struct tSave_camera tSave_camera; + +typedef enum tShadow_level { + eShadow_none = 0, + eShadow_us_only = 1, + eShadow_us_and_opponents = 2, + eShadow_everyone = 3 +} tShadow_level; + + +typedef enum tPipe_chunk_type { + ePipe_chunk_actor_rstyle = 0, + ePipe_chunk_actor_translate = 1, + ePipe_chunk_actor_transform = 2, + ePipe_chunk_actor_create = 3, + ePipe_chunk_actor_destroy = 4, + ePipe_chunk_actor_relink = 5, + ePipe_chunk_actor_material = 6, + ePipe_chunk_face_material = 7, + ePipe_chunk_material_trans = 8, + ePipe_chunk_material_pixelmap = 9, + ePipe_chunk_model_geometry = 10, + ePipe_chunk_pedestrian = 11, + ePipe_chunk_frame_boundary = 12, + ePipe_chunk_car = 13, + ePipe_chunk_sound = 14, + ePipe_chunk_damage = 15, + ePipe_chunk_special = 16, + ePipe_chunk_ped_gib = 17, + ePipe_chunk_incident = 18, + ePipe_chunk_spark = 19, + ePipe_chunk_shrapnel = 20, + ePipe_chunk_screen_shake = 21, + ePipe_chunk_groove_stop = 22, + ePipe_chunk_non_car = 23, + ePipe_chunk_smoke = 24, + ePipe_chunk_oil_spill = 25, + ePipe_chunk_smoke_column = 26, + ePipe_chunk_flame = 27, + ePipe_chunk_smudge = 28, + ePipe_chunk_splash = 29, + ePipe_chunk_prox_ray = 30, + ePipe_chunk_skid_adjustment = 31, + ePipe_chunk_enum_count = 32 +} tPipe_chunk_type; + + +typedef enum tSpecial_type { + ePipe_special_fade = 0, + ePipe_special_giant_ped_on = 1, + ePipe_special_giant_ped_off = 2, + ePipe_special_min_ped_on = 3, + ePipe_special_min_ped_off = 4 +} tSpecial_type; + + +typedef enum tIncident_type { + eIncident_ped = 0, + eIncident_car = 1, + eIncident_wall = 2, + eNo_incident = 3 +} tIncident_type; + + +typedef enum tAction_replay_camera_type { + eAction_replay_standard = 0, + eAction_replay_tv = 1, + eAction_replay_action = 2 +} tAction_replay_camera_type; + + +typedef enum tKey_down_result { + tKey_down_no = 0, + tKey_down_yes = 1, + tKey_down_still = 2, + tKey_down_repeat = 3 +} tKey_down_result; + +typedef int dr_pick2d_cbfn(br_actor*, br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, br_scalar); +struct tReduced_pos { + tS16 v[3]; +}; +struct tIncident_info { + struct { + tCar_spec *car; + br_vector3 impact_point; + }; + struct { + br_actor *ped_actor; + br_actor *murderer_actor; + }; + struct { + br_vector3 pos; + }; +}; +struct tChanged_vertex { + tU16 vertex_index; + br_vector3 delta_coordinates; +}; +struct tPipe_actor_rstyle_data { + tU8 new_rstyle; +}; +struct tPipe_actor_translate_data { + br_vector3 new_translation; +}; +struct tPipe_actor_transform_data { + br_matrix34 new_transformation; +}; +struct tPipe_actor_create_data { + tU8 dummy; +}; +struct tPipe_actor_destroy_data { + tU8 dummy; +}; +struct tPipe_actor_relink_data { + tChunk_subject_index new_parent; +}; +struct tPipe_actor_material_data { + tChunk_subject_index new_material; +}; +struct tPipe_face_material_data { + tU16 face_index; + tChunk_subject_index new_material; +}; +struct tPipe_material_trans_data { + br_matrix23 new_transformation; +}; +struct tPipe_material_pixelmap_data { + tChunk_subject_index new_pixelmap; +}; +struct tPipe_model_geometry_data { + tU16 vertex_count; + int model_index; + tChanged_vertex vertex_changes[1]; +}; +struct tSmudged_vertex { + tU16 vertex_index; + tU16 light_index; +}; +struct tPipe_smudge_data { + tU16 vertex_count; + int model_index; + tSmudged_vertex vertex_changes[1]; +}; +struct tPipe_pedestrian_data { + tU8 action_and_frame_index; + tS8 hit_points; + tU16 parent; + br_vector3 new_translation; + float spin_period; + br_actor *parent_actor; + br_vector3 offset; + br_scalar jump_magnitude; +}; +struct tPipe_frame_boundary_data { + tU32 time; +}; +struct tPipe_car_data { + br_matrix34 transformation; + br_vector3 velocity; + tS16 speedo_speed; + tS16 steering_angle; + tU16 revs_and_gear; + tS8 lf_sus_position; + tS8 rf_sus_position; + tS8 lr_sus_position; + tS8 rr_sus_position; +}; +struct tPipe_sound_data { + tS3_pitch pitch; + br_vector3 position; + tU16 outlet_index; + tU16 volume; +}; +struct tPipe_damage_data { + tS8 damage_delta[12]; +}; +struct tPipe_special_data { + tU8 dummy; + tS8 padding; +}; +struct tPipe_ped_gib_data { + tU16 ped_parent_index; + tU8 size; + tU8 gib_index; + br_matrix34 transform; +}; +struct tPipe_incident_data { + float severity; + struct { + struct { + tU16 car_ID; + br_vector3 impact_point; + }; + struct { + tU16 ped_index; + br_actor *actor; + }; + struct { + br_vector3 pos; + }; + }; +}; +struct tPipe_spark_data { + br_vector3 pos; + br_vector3 v; +}; +struct tPipe_shrapnel_data { + br_vector3 pos; + tU16 age; + br_material *material; +}; +struct tPipe_screen_shake_data { + tS8 wobble_x; + tS8 wobble_y; +}; +struct tPipe_non_car_data { + br_actor *actor; + br_matrix34 mat; +}; +struct tPipe_smoke_data { + tReduced_pos pos; + tU16 radius; + tU8 strength; + tU8 type; +}; +struct tPipe_smoke_column_data { + int car_ID; + tU16 vertex; +}; +struct tPipe_flame_data { + tS16 frame_count; + br_scalar scale_x; + br_scalar scale_y; + br_scalar offset_x; + br_scalar offset_z; +}; +struct tPipe_splash_data { + br_scalar d; + br_vector3 normal; +}; +struct tPipe_prox_ray_data { + tU16 ped_index; + tU16 car_ID; + tU32 time; +}; +struct tPipe_oil_spill_data { + br_matrix34 mat; + br_scalar full_size; + br_scalar grow_rate; + tU32 spill_time; + tU32 previous_stop_time; + tCar_spec *car; + br_vector3 original_pos; + br_pixelmap *pixelmap; +}; +struct tPipe_groove_stop_data { + int path_interrupt; + int object_interrupt; + float path_resumption; + float object_resumption; + br_matrix34 matrix; +}; +struct tPipe_skid_adjustment { + br_matrix34 matrix; + int material_index; +}; +struct tPipe_chunk { + tChunk_subject_index subject_index; + struct { + tPipe_actor_rstyle_data actor_rstyle_data; + tPipe_actor_translate_data actor_translate_data; + tPipe_actor_transform_data actor_transform_data; + tPipe_actor_create_data actor_create_data; + tPipe_actor_destroy_data actor_destroy_data; + tPipe_actor_relink_data actor_relink_data; + tPipe_actor_material_data actor_material_data; + tPipe_face_material_data face_material_data; + tPipe_material_trans_data material_trans_data; + tPipe_material_pixelmap_data material_pixelmap_data; + tPipe_model_geometry_data model_geometry_data; + tPipe_pedestrian_data pedestrian_data; + tPipe_frame_boundary_data frame_boundary_data; + tPipe_car_data car_data; + tPipe_sound_data sound_data; + tPipe_damage_data damage_data; + tPipe_special_data special_data; + tPipe_ped_gib_data ped_gib_data; + tPipe_incident_data incident_data; + tPipe_spark_data spark_data; + tPipe_shrapnel_data shrapnel_data; + tPipe_screen_shake_data screen_shake_data; + tPipe_groove_stop_data groove_stop_data; + tPipe_non_car_data non_car_data; + tPipe_smoke_data smoke_data; + tPipe_oil_spill_data oil_data; + tPipe_smoke_column_data smoke_column_data; + tPipe_flame_data flame_data; + tPipe_smudge_data smudge_data; + tPipe_splash_data splash_data; + tPipe_prox_ray_data prox_ray_data; + tPipe_skid_adjustment skid_adjustment; + }; +}; +struct tPipe_session { + tPipe_chunk_type chunk_type; + tU8 number_of_chunks; + tPipe_chunk chunks; +}; +struct tCollison_data { + int ref; + tCollision_info *car; +}; +struct tSave_camera { + int saved; + br_scalar zoom; + br_angle yaw; +}; +typedef struct tToggle_element tToggle_element; +typedef void * tEdit_func(); +typedef struct tCheat tCheat; + +typedef enum tEdit_mode { + eEdit_mode_cheat = 0, + eEdit_mode_acc = 1, + eEdit_mode_spec_vol = 2, + eEdit_mode_ped = 3, + eEdit_mode_opp = 4, + eEdit_mode_pratcam = 5, + eEdit_mode_depth = 6, + eEdit_mode_damage = 7, + eEdit_mode_bonnet = 8, + eEdit_mode_options = 9, + eEdit_mode_count = 10 +} tEdit_mode; + +struct tToggle_element { + int key1; + int key2; + int in_game_only; + int exact_modifiers; + int on_last_time; + void (*action_proc)(); +}; +struct tCheat { + tU32 code; + tU32 code2; + void (*action_proc)(int); + int num; +}; +typedef _tag_sos_evds_struct _SOS_EVDS_STRUCT; +typedef _tag_sos_vds_struct _SOS_VDS_STRUCT; +typedef _tag_sos_sample _SOS_SAMPLE; +typedef _SOS_SAMPLE * PSOSSAMPLE; +typedef _tagCAPABILITIES _SOS_CAPABILITIES; +typedef _SOS_CAPABILITIES * PSOSCAPABILITIES; +typedef struct _SOS_HARDWARE _SOS_HARDWARE; +typedef _SOS_HARDWARE * PSOSHARDWARE; +typedef _tag_sos_driver _SOS_DIGI_DRIVER; +typedef _SOS_DIGI_DRIVER * PSOSDIGIDRIVER; +typedef struct _SOS_DRV_FILEHEADER _SOS_DRV_FILEHEADER; +typedef _SOS_DRV_FILEHEADER * PSOSDRVFILEHEADER; +typedef struct _SOS_DRV_DRIVERHEADER _SOS_DRV_DRIVERHEADER; +typedef _SOS_DRV_DRIVERHEADER * PSOSDRVDRIVERHEADER; +typedef _tag_sos_system _SOS_SYSTEM; +typedef _SOS_SYSTEM * PSOSSYSTEM; +typedef _tag_sos_det_system _SOS_DET_SYSTEM; +typedef _SOS_DET_SYSTEM * PSOSDETSYSTEM; +typedef _tag_sos_timer_system _SOS_TIMER_SYSTEM; +typedef _SOS_TIMER_SYSTEM * PSOSTIMERSYSTEM; +typedef int ptrdiff_t; +typedef SmackTag Smack; +typedef SmackSumTag SmackSum; +typedef void * SmackTimerSetupType(); +typedef unsigned long * SmackTimerReadType(); +typedef void * SmackTimerDoneType(); +typedef _heapinfo _HEAPINFO; +struct _tag_sos_evds_struct { + unsigned int region_size; + unsigned int offset; + unsigned int segment; + unsigned short number_available; + unsigned short number_used; + unsigned int page0; +}; +struct _tag_sos_vds_struct { + unsigned int region_size; + unsigned int offset; + unsigned short segment; + unsigned short ID; + unsigned int physical; +}; +struct _tag_sos_sample { + PSTR pSample; + PSTR pSampleCurrent; + PSTR pSampleLoop; + DWORD wLength; + DWORD wLoopLength; + DWORD wLoopEndLength; + DWORD wLoopStage; + DWORD wID; + DWORD wFlags; + DWORD wPriority; + DWORD hSample; + DWORD wVolume; + DWORD wLoopCount; + DWORD wRate; + DWORD wBitsPerSample; + DWORD wChannels; + DWORD wFormat; + DWORD wPanPosition; + DWORD wPanSpeed; + DWORD wPanStart; + DWORD wPanEnd; + DWORD wPanMode; + DWORD wTotalBytesProcessed; + void (*pfnSampleProcessed)(_tag_sos_sample*); + void (*pfnSampleDone)(_tag_sos_sample*); + void (*pfnSampleLoop)(_tag_sos_sample*); + DWORD wSystem[16]; + DWORD wUser[16]; + _tag_sos_sample *pLink; + _tag_sos_sample *pNext; +}; +struct _tagCAPABILITIES { + BYTE szDeviceName[32]; + W32 wDeviceVersion; + W32 wBitsPerSample; + W32 wChannels; + W32 wMinRate; + W32 wMaxRate; + W32 wMixerOnBoard; + W32 wMixerFlags; + W32 wFlags; + short *lpPortList; + short *lpDMAList; + short *lpIRQList; + short *lpRateList; + W32 fBackground; + W32 wID; + W32 wTimerID; +}; +struct _SOS_HARDWARE { + W32 wPort; + W32 wIRQ; + W32 wDMA; + W32 wParam; +}; +struct _tag_sos_driver { + W32 wFlags; + DWORD wDriverRate; + DWORD wDriverChannels; + DWORD wDriverBitsPerSample; + DWORD wDriverFormat; + DWORD wMixerChannels; + DWORD wDMACountRegister; + DWORD wDMAPosition; + DWORD wDMALastPosition; + DWORD wDMADistance; + PSTR pXFERPosition; + DWORD wXFERJumpAhead; + _SOS_SAMPLE *pSampleList; + void (*pfnPseudoDMAFunction)(); + PSTR pDMABuffer; + PSTR pDMABufferEnd; + DWORD wDMABufferSize; + PSTR pMixingBuffer; + PSTR pMixingBufferEnd; + DWORD wMixingBufferSize; + DWORD wActiveChannels; + _SOS_SAMPLE *pSamples; + _SOS_HARDWARE sHardware; + _SOS_CAPABILITIES sCaps; + LPSTR lpDriverDS; + LPSTR lpDriverCS; + W32 wSize; + DWORD dwLinear; + DWORD dwDMAPhysical; + LPSTR lpDMABuffer; + W32 hMemory; + W32 wDMARealSeg; + W32 wID; + void (*pfnMixFunction)(); +}; +struct _SOS_DRV_FILEHEADER { + BYTE szName[32]; + W32 wDrivers; + W32 lOffset; + W32 lFileSize; +}; +struct _SOS_DRV_DRIVERHEADER { + BYTE szName[32]; + W32 lNextDriver; + W32 wSize; + W32 wDeviceID; + W32 wExtenderType; +}; +struct _tag_sos_system { + W32 wFlags; + BYTE szDriverPath[128]; + BYTE szTempDriverPath[128]; + PSOSDIGIDRIVER pDriver[5]; + _SOS_VDS_STRUCT sVDS; + _SOS_DRV_FILEHEADER sFileHeader; + _SOS_DRV_DRIVERHEADER sDriverHeader; + PSTR (*pMemAllocFunction)(DWORD); + void (*pMemFreeFunction)(PSTR, W32); +}; +struct _tag_sos_det_system { + W32 wFlags; + BYTE szDriverPath[128]; + BYTE szTempDriverPath[128]; + _SOS_DRV_FILEHEADER sFileHeader; + _SOS_DRV_DRIVERHEADER sDriverHeader; + _SOS_CAPABILITIES sCaps; + PSOSCAPABILITIES pCaps; + LPSTR lpBufferDS; + LPSTR lpBufferCS; + W32 hFile; + DWORD dwDriverIndex; + W32 wDriverIndexCur; + W32 hMemory; + DWORD dwLinear; +}; +struct _tag_sos_timer_system { + W32 wFlags; + W32 wChipDivisor; + void (*pfnEvent[16])(); + W32 wEventRate[16]; + DWORD dwAdditiveFraction[16]; + DWORD dwCurrentSummation[16]; + W32 wMIDIEventSongHandle[16]; + W32 wMIDIActiveSongHandle; +}; +struct SmackTag { + unsigned long Version; + unsigned long Width; + unsigned long Height; + unsigned long Frames; + unsigned long MSPerFrame; + unsigned long SmackerType; + unsigned long LargestInTrack[7]; + unsigned long tablesize; + unsigned long codesize; + unsigned long absize; + unsigned long detailsize; + unsigned long typesize; + unsigned long TrackType[7]; + unsigned long extra; + unsigned long NewPalette; + unsigned char Palette[772]; + unsigned long PalType; + unsigned long FrameNum; + unsigned long FrameSize; + unsigned long SndSize; + unsigned long LastRectx; + unsigned long LastRecty; + unsigned long LastRectw; + unsigned long LastRecth; + unsigned long OpenFlags; + unsigned long LeftOfs; + unsigned long TopOfs; + unsigned long ReadError; + unsigned long addr32; +}; +struct SmackSumTag { + unsigned long TotalTime; + unsigned long MS100PerFrame; + unsigned long TotalOpenTime; + unsigned long TotalFrames; + unsigned long SkippedFrames; + unsigned long SoundSkips; + unsigned long TotalBlitTime; + unsigned long TotalReadTime; + unsigned long TotalDecompTime; + unsigned long TotalBackReadTime; + unsigned long TotalReadSpeed; + unsigned long SlowestFrameTime; + unsigned long Slowest2FrameTime; + unsigned long SlowestFrameNum; + unsigned long Slowest2FrameNum; + unsigned long AverageFrameSize; + unsigned long Highest1SecRate; + unsigned long Highest1SecFrame; + unsigned long HighestMemAmount; + unsigned long TotalExtraMemory; + unsigned long HighestExtraUsed; +}; +struct _heapinfo { + void *_pentry; + size_t _size; + int _useflag; +}; + +typedef enum tSpec_vol_depth_effect { + eSpec_dep_acid = 0, + eSpec_dep_water = 1, + eSpec_dep_slight_fog = 2, + eSpec_dep_med_fog = 3, + eSpec_dep_thick_fog = 4 +} tSpec_vol_depth_effect; + + +typedef enum tSpec_vol_cam_effect { + eSpec_cam_wobble = 0 +} tSpec_vol_cam_effect; + +typedef struct tHeadup tHeadup; +typedef struct tQueued_headup tQueued_headup; + +typedef enum tHeadup_type { + eHeadup_unused = 0, + eHeadup_text = 1, + eHeadup_coloured_text = 2, + eHeadup_image = 3, + eHeadup_fancy = 4, + eHeadup_box_text = 5 +} tHeadup_type; + + +typedef enum tFancy_stage { + eFancy_stage_incoming = 0, + eFancy_stage_halting = 1, + eFancy_stage_waiting = 2, + eFancy_stage_readying = 3, + eFancy_stage_leaving = 4 +} tFancy_stage; + +struct tHeadup { + tHeadup_type type; + int x; + int y; + int original_x; + int right_edge; + int flash_period; + int slot_index; + int dimmed_background; + int dim_left; + int dim_top; + int dim_right; + int dim_bottom; + int clever; + int cockpit_anchored; + int flash_state; + tJustification justification; + tU32 end_time; + tU32 last_flash; + struct { + struct { + char text[250]; + int colour; + br_font *font; + }; + struct { + char text[250]; + tDR_font *coloured_font; + }; + struct { + br_pixelmap *image; + }; + struct { + br_pixelmap *image; + int offset; + int shear_amount; + int end_offset; + tFancy_stage fancy_stage; + tU32 start_time; + }; + }; +}; +struct tQueued_headup { + int flash_rate; + int lifetime; + int font_index; + char text[256]; +}; +typedef struct tFlicette tFlicette; +typedef struct tMouse_area tMouse_area; +typedef struct tRectile tRectile; +typedef struct tInterface_spec tInterface_spec; +typedef unsigned long time_t; +typedef unsigned long clock_t; +typedef struct tm tm; +struct tFlicette { + int flic_index; + int x[2]; + int y[2]; +}; +struct tMouse_area { + int left[2]; + int top[2]; + int right[2]; + int bottom[2]; + int new_choice; + int new_mode; + int available_when_typing; + int (*mouse_click)(int*, int*, int, int); +}; +struct tRectile { + int left[2]; + int top[2]; + int right[2]; + int bottom[2]; +}; +struct tInterface_spec { + int initial_imode; + int first_opening_flic; + int second_opening_flic; + int end_flic_go_ahead; + int end_flic_escaped; + int end_flic_otherwise; + int flic_bunch_to_load; + int move_left_new_mode[2]; + int move_left_delta[2]; + int move_left_min[2]; + int move_left_max[2]; + int (*move_left_proc[2])(int*, int*); + int move_right_new_mode[2]; + int move_right_delta[2]; + int move_right_min[2]; + int move_right_max[2]; + int (*move_right_proc[2])(int*, int*); + int move_up_new_mode[2]; + int move_up_delta[2]; + int move_up_min[2]; + int move_up_max[2]; + int (*move_up_proc[2])(int*, int*); + int move_down_new_mode[2]; + int move_down_delta[2]; + int move_down_min[2]; + int move_down_max[2]; + int (*move_down_proc[2])(int*, int*); + int go_ahead_allowed[2]; + int (*go_ahead_proc[2])(int*, int*); + int escape_allowed[2]; + int (*escape_proc[2])(int*, int*); + int (*exit_proc)(int*, int*); + void (*draw_proc)(int, int); + tU32 time_out; + void (*start_proc1)(); + void (*start_proc2)(); + int (*done_proc)(int, int, int, int, int); + int font_needed; + int typeable[2]; + void (*get_original_string)(int, int, char*, int*); + int escape_code; + int dont_save_or_load; + int number_of_button_flics; + tFlicette *flicker_on_flics; + tFlicette *flicker_off_flics; + tFlicette *pushed_flics; + int number_of_mouse_areas; + tMouse_area *mouse_areas; + int number_of_recopy_areas; + tRectile *recopy_areas; +}; +struct tm { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; +typedef struct fw_fn_table fw_fn_table; + +typedef enum view_to_screen_type { + BR_VTOS_PARALLEL = 0, + BR_VTOS_PERSPECTIVE = 1, + BR_VTOS_4X4 = 2 +} view_to_screen_type; + +typedef void dev_fill_cbfn(br_device*, br_pixelmap*); +typedef void dev_rectangle_copy_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16, br_pixelmap*, br_uint_16); +typedef void dev_rectangle_fill_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16); +typedef void dev_dirty_rectangle_copy_cbfn(br_device*, br_pixelmap*, br_pixelmap*, br_uint_16, br_uint_16); +typedef void dev_dirty_rectangle_fill_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16); +typedef void dev_plot_cbfn(br_device*, br_pixelmap*, br_uint_16); +typedef void dev_copy_cbfn(br_device*, br_pixelmap*, br_pixelmap*); +typedef void dev_line_cbfn(br_device*, br_pixelmap*, br_int_16, br_int_16); +typedef void dev_copy_bits_cbfn(br_device*, br_pixelmap*, br_int_16, br_int_16, br_uint_8*, br_uint_16); +typedef br_pixelmap* dev_double_buffer_cbfn(br_device*, br_pixelmap*, br_pixelmap*); +typedef br_pixelmap* dev_match_cbfn(br_device*, br_pixelmap*); +typedef br_pixelmap* dev_clone_cbfn(br_device*, br_pixelmap*); +typedef void dev_free_cbfn(br_device*, br_pixelmap*); +typedef int dr_modelpick2d_cbfn(br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, int, int, int, br_vector3*); +typedef int dr_pick3d_cbfn(br_actor*, br_model*, br_material*, br_matrix34*, br_bounds*); +struct fw_fn_table { + br_surface_fn *light; + br_surface_fn *light_material; + br_surface_fn *light_vertex; + br_surface_fn *light_texture; + br_face_surface_fn *face_light; + br_light_sub_fn *direct; + br_light_sub_fn *point; + br_light_sub_fn *point_attn; + br_light_sub_fn *spot; + br_light_sub_fn *spot_attn; +}; +typedef struct tFlic_spec tFlic_spec; +typedef struct tFlic_bunch tFlic_bunch; +typedef struct tTranslation_record tTranslation_record; +struct tFlic_spec { + char *file_name; + int interruptable; + int queued; + int frame_rate; + int repeat; + int x_offset; + int y_offset; + tS8 *data_ptr; + tU32 the_size; +}; +struct tFlic_bunch { + char count; + int *indexes; +}; +struct tTranslation_record { + int flic_index; + int x; + int y; + int font_index; + int global; + int every_frame; + tJustification justification; + char *text; +}; + +typedef enum tVehicle_category { + eVehicle_self = 0, + eVehicle_opponent = 1, + eVehicle_rozzer = 2, + eVehicle_drone = 3 +} tVehicle_category; + +typedef struct tTransient_bm tTransient_bm; +typedef struct tCursor_giblet tCursor_giblet; +typedef struct tWobble_spec tWobble_spec; +typedef struct tConcussion tConcussion; +typedef struct tSaved_table tSaved_table; +typedef struct tClip_details tClip_details; +struct tTransient_bm { + br_pixelmap *pixmap; + int in_use; + int x_coord; + int y_coord; + int order_number; + int user_data; +}; +struct tCursor_giblet { + int current_giblet; + int sequence_index; + int landed; + int transient_index; + float x_speed; + float y_speed; + float x_coord; + float y_coord; + float the_speed; + tU32 last_giblet_change; + tU32 giblet_change_period; + tU32 e_t_a; +}; +struct tWobble_spec { + float amplitude_x; + float amplitude_y; + float period; + int time_started; +}; +struct tConcussion { + int concussed; + br_matrix34 amplitudes; + br_matrix34 periods; + tU32 time_started; +}; +struct tSaved_table { + br_pixelmap *original; + br_pixelmap *copy; +}; +struct tClip_details { + br_actor *clip; + br_scalar length; +}; +typedef struct tS3_channel tS3_channel; +typedef struct tS3_outlet tS3_outlet; +typedef struct tS3_descriptor tS3_descriptor; +typedef struct tS3_sound_source tS3_sound_source; +typedef struct tS3_sample tS3_sample; +typedef struct tS3_hardware_info tS3_hardware_info; + +typedef enum tS3_sound_type { + eS3_ST_sample = 0, + eS3_ST_midi = 1, + eS3_ST_cda = 2 +} tS3_sound_type; + +struct tS3_channel { + int active; + int termination_reason; + int needs_service; + int repetitions; + int rate; + int spatial_sound; + unsigned int song_handle; + tS3_sound_tag tag; + tS3_type type; + tS3_volume left_volume; + tS3_volume right_volume; + float volume_multiplier; + tS3_vector3 position; + tS3_vector3 velocity; + tS3_vector3 lastpos; + tS3_volume initial_volume; + tS3_pitch initial_pitch; + float pMax_distance_squared; + tS3_outlet *owner_outlet; + tS3_descriptor *descriptor; + tS3_channel *next; + char *type_struct_sample; + char *type_struct_midi; + char *type_struct_cda; + tS3_sound_source *sound_source_ptr; +}; +struct tS3_outlet { + int id; + int max_channels; + int independent_pitch; + tS3_channel *channel_list; + tS3_outlet *prev; + tS3_outlet *next; + tS3_outlet_callback *callback; +}; +struct tS3_descriptor { + tS3_sound_id id; + tS3_type type; + tS3_priority priority; + tS3_repeats repeats; + tS3_volume min_volume; + tS3_volume max_volume; + tS3_pitch min_pitch; + tS3_pitch max_pitch; + tS3_speed min_speed; + tS3_speed max_speed; + tS3_descriptor *prev; + tS3_descriptor *next; + int flags; + int midi_song_handle; + int special_fx; + int memory_proxy; + char *sound_data; + char *filename; +}; +struct tS3_sound_source { + tS3_channel *channel; + int brender_vector; + void *position_ptr; + void *velocity_ptr; + tS3_outlet *bound_outlet; + tS3_sound_source *prev; + tS3_sound_source *next; + int ambient; + tS3_repeats ambient_repeats; + int time_since_last_played; + tS3_sound_id sound_id; + float max_distance_sq; + int period; + tS3_volume volume; + tS3_pitch pitch; + tS3_speed speed; + tS3_sound_tag tag; +}; +struct tS3_sample { + int size; + int rate; + int resolution; + int channels; + char *dataptr; + void *freeptr; +}; +struct tS3_hardware_info { + int device_installed; + int timer_installed; + int num_channels; + int max_resolution; + int stereo_flag; + int max_sample_rate; + int min_sample_rate; + int independent_pitch; +}; +typedef struct tModel_pool tModel_pool; +typedef struct tHeadup_info tHeadup_info; + +typedef enum tNet_head_avail { + eNet_or_otherwise = 0, + eNet_only = 1, + eNot_net = 2, + eNot_ever_ever_ever = 3 +} tNet_head_avail; + +struct tModel_pool { + br_model **model_array; + int model_count; +}; +struct tHeadup_info { + char *name; + tNet_head_avail avail; +}; + +typedef enum tTime_bonus_state { + eTime_bonus_none = 0, + eTime_bonus_initial_pause = 1, + eTime_bonus_race_bonus = 2, + eTime_bonus_tb_up = 3, + eTime_bonus_tb_pause = 4, + eTime_bonus_tb_down = 5, + eTime_bonus_end_pause = 6 +} tTime_bonus_state; + + +typedef enum tInfo_mode { + eInfo_regular = 0, + eInfo_pcam_car = 1, + eInfo_nearby_mat = 2, + eInfo_count = 3 +} tInfo_mode; + +typedef struct tHeadup_pair tHeadup_pair; +struct tHeadup_pair { + int player_index; + int score; + int out_of_game; +}; +typedef struct tMax_message tMax_message; +typedef struct tMid_message tMid_message; +typedef struct tMin_message tMin_message; +typedef struct tGuaranteed_message tGuaranteed_message; +struct tMax_message { + char buffer[516]; +}; +struct tMid_message { + char buffer[132]; +}; +struct tMin_message { + char buffer[36]; +}; +struct tGuaranteed_message { + tNet_message *message; + tU32 send_time; + tU32 next_resend_time; + tU32 resend_period; + int recieved; + tPD_net_player_info pd_address; + int (*NotifyFail)(tU32, tNet_message*); + tU32 guarantee_number; +}; +typedef struct tJoinable_game tJoinable_game; + +typedef enum tJoin_or_host_result { + eJoin_or_host_cancel = 0, + eJoin_or_host_join = 1, + eJoin_or_host_host = 2 +} tJoin_or_host_result; + +struct tJoinable_game { + tNet_game_details *game; + tU32 time; +}; +typedef struct tOil_spill_info tOil_spill_info; +struct tOil_spill_info { + br_actor *actor; + tCar_spec *car; + tU32 spill_time; + tU32 stop_time; + br_scalar full_size; + br_scalar current_size; + br_scalar grow_rate; + br_vector3 original_pos; + br_vector3 pos; +}; + +typedef enum tJoy_calib_stage { + eJoy_calib_tl_1 = 0, + eJoy_calib_br_1 = 1, + eJoy_calib_cn_1 = 2, + eJoy_calib_tl_2 = 3, + eJoy_calib_br_2 = 4, + eJoy_calib_cn_2 = 5 +} tJoy_calib_stage; + +typedef struct tPed_choice tPed_choice; +typedef struct tPedestrian_instruction tPedestrian_instruction; +typedef struct tBearing_sequence tBearing_sequence; +typedef struct tPedestrian_action tPedestrian_action; +typedef struct tPed_frame_info tPed_frame_info; +typedef struct tPedestrian_sequence tPedestrian_sequence; +typedef struct tPedestrian_data tPedestrian_data; +typedef struct tPed_gib tPed_gib; +typedef struct tPed_gib_materials tPed_gib_materials; +typedef struct tProximity_ray tProximity_ray; + +typedef enum tPed_instruc_type { + ePed_instruc_point = 0, + ePed_instruc_xpoint = 1, + ePed_instruc_bchoice = 2, + ePed_instruc_fchoice = 3, + ePed_instruc_dead = 4, + ePed_instruc_bmarker = 5, + ePed_instruc_fmarker = 6, + ePed_instruc_baction = 7, + ePed_instruc_faction = 8, + ePed_instruc_reverse = 9 +} tPed_instruc_type; + + +typedef enum tPed_frame_rate_type { + ePed_frame_fixed = 0, + ePed_frame_speed = 1, + ePed_frame_variable = 2 +} tPed_frame_rate_type; + + +typedef enum tPed_collide_type { + ePed_collide_none = 255, + ePed_collide_on = 0 +} tPed_collide_type; + + +typedef enum tPed_hit_position { + ePed_hit_unknown = 0, + ePed_hit_front = 1, + ePed_hit_back = 2, + ePed_hit_rside = 3, + ePed_hit_lside = 4 +} tPed_hit_position; + +struct tPed_choice { + tU16 danger_level; + tU8 percentage_chance; + tU8 marker_ref; +}; +struct tPedestrian_instruction { + tPed_instruc_type type; + struct { + struct { + br_vector3 position; + int irreversable; + }; + struct { + int number_of_choices; + tPed_choice choices[2]; + }; + struct { + int death_sequence; + }; + struct { + int marker_ref; + }; + struct { + int action_index; + }; + }; +}; +struct tBearing_sequence { + int sequence_index; + float max_bearing; +}; +struct tPedestrian_action { + float danger_level; + float percentage_chance; + int number_of_bearings; + int number_of_sounds; + int sounds[3]; + tBearing_sequence sequences[7]; + float initial_speed; + float looping_speed; + tU32 reaction_time; +}; +struct tPed_frame_info { + br_vector2 offset; + int flipped; + br_pixelmap *pixelmap; +}; +struct tPedestrian_sequence { + tPed_frame_rate_type frame_rate_type; + float frame_rate_factor1; + float frame_rate_factor2; + int number_of_frames; + int looping_frame_start; + tPed_frame_info frames[10]; +}; +struct tPedestrian_data { + int magic_number; + br_scalar height; + br_scalar jump_magnitude; + br_scalar car_to_ped; + br_scalar min_x; + br_scalar max_x; + int credits_value; + int hit_points; + int number_of_exploding_sounds; + int exploding_sounds[3]; + int falling_sound; + int last_sound_action; + tU16 killers_ID; + br_scalar width; + br_scalar height2; + tCar_spec *fate; + br_actor *actor; + tPlayer_ID murderer; + tPedestrian_instruction *instruction_list; + tPedestrian_action *action_list; + tU8 ref_number; + tU8 active; + tU8 munged; + tU8 collided_last_time; + tU8 flipped; + tU8 reverse_frames; + tU8 sent_dead_message; + tS8 image_index; + tS8 number_of_actions; + tS8 number_of_instructions; + tS8 first_instruction; + tS8 current_instruction; + tS8 fatal_car_impact_action; + tS8 non_fatal_car_impact_action; + tS8 after_impact_action; + tS8 fatal_ground_impact_action; + tS8 non_fatal_ground_impact_action; + tS8 giblets_action; + tS8 current_sequence; + tS8 current_action; + tS8 current_action_mode; + tS8 current_frame; + tS8 number_of_sequences; + tS8 done_initial; + tS8 giblets_being_sat_upon; + tS8 mid_air; + tS8 instruction_direction; + tS8 irreversable; + tS8 frightened_of_us; + tS8 cloned; + float current_speed; + float acceleration; + float spin_period; + tU32 last_frame; + tU32 last_action_change; + tU32 last_sound_make; + tS32 respawn_time; + br_vector3 pos; + br_vector3 direction; + br_vector3 from_pos; + br_vector3 to_pos; + br_vector3 offset; + float falling_speed; + tSpecial_volume *last_special_volume; + tPedestrian_sequence *sequences; + tS3_sound_tag last_sound; + br_pixelmap *colour_map; +}; +struct tPed_gib { + br_actor *actor; + br_scalar x_speed; + br_scalar y_speed; + int size; + int last_frame; + int gib_index; + int parent_index; + tU32 start_time; + tU32 end_time; + tU32 flip_period; +}; +struct tPed_gib_materials { + int count; + br_material *materials[5]; +}; +struct tProximity_ray { + tCar_spec *car; + tPedestrian_data *ped; + tU32 start_time; +}; +typedef struct tPiped_registration_snapshot tPiped_registration_snapshot; +struct tPiped_registration_snapshot { + int piped_actors_count; + int piped_models_count; + int piped_materials_count; + int piped_pixelmaps_count; +}; +typedef struct tHeadup_icon tHeadup_icon; +struct tHeadup_icon { + tPowerup *powerup; + int fizzle_stage; + int fizzle_direction; + tU32 fizzle_start; +}; +typedef struct tPrat_flic_spec tPrat_flic_spec; +typedef struct tPrat_alternative tPrat_alternative; +typedef struct tPrat_flic_chunk tPrat_flic_chunk; +typedef struct tPrat_sequence tPrat_sequence; +struct tPrat_flic_spec { + char *data; + tU32 data_length; +}; +struct tPrat_alternative { + int ref; + int chance; + int number_of_sounds; + int sound_ids[8]; + int sound_chance; +}; +struct tPrat_flic_chunk { + int number_of_alternatives; + tPrat_alternative alternatives[6]; +}; +struct tPrat_sequence { + int number_of_chunks; + int precedence; + int repeat_chunk; + tPrat_flic_chunk chunks[6]; +}; + +typedef enum tGrid_draw { + eGrid_draw_none = 0, + eGrid_draw_icons_only = 1, + eGrid_draw_all = 2 +} tGrid_draw; + + +typedef enum tNet_synch_mode { + eNet_synch_host_first = 0, + eNet_synch_host_subsequent = 1, + eNet_synch_client = 2 +} tNet_synch_mode; + +typedef struct tWreck_info tWreck_info; +struct tWreck_info { + br_actor *actor; + br_matrix34 rotation; + br_matrix34 original_matrix; + int customised; + int car_index; + float pos_x; + float pos_y; + tVehicle_type car_type; + br_scalar scaling_factor; +}; +typedef struct tRectangle tRectangle; +struct tRectangle { + int left; + int top; + int right; + int bottom; +}; +typedef struct tSkid tSkid; +struct tSkid { + br_actor *actor; + br_vector3 normal; + br_vector3 pos; +}; +typedef struct tSpark tSpark; +typedef struct tShrapnel tShrapnel; +typedef struct tSmoke tSmoke; +typedef struct tSmoke_column tSmoke_column; +typedef struct tSplash tSplash; +typedef struct tBRender_smoke tBRender_smoke; +struct tSpark { + int count; + br_vector3 pos; + br_vector3 v; + br_vector3 length; + br_vector3 normal; + tU32 time_sync; + tCar_spec *car; + tU8 colour; +}; +struct tShrapnel { + br_actor *actor; + br_vector3 v; + tU32 time_sync; + tU32 age; + br_scalar shear1; + br_scalar shear2; + br_vector3 axis; +}; +struct tSmoke { + tU32 time_sync; + br_vector3 pos; + br_vector3 v; + br_scalar radius; + br_scalar strength; + br_scalar decay_factor; + tU8 type; + tU8 pipe_me; +}; +struct tSmoke_column { + tCar_spec *car; + tU32 time; + tU32 lifetime; + tU32 count; + int colour; + int whiter; + br_actor *flame_actor; + int frame_count[3]; + br_vector3 pos; + br_scalar scale_x[3]; + br_scalar scale_y[3]; + br_scalar offset_x[3]; + br_scalar offset_z[3]; + tU32 smudge_timer; + int vertex_index; + int upright; +}; +struct tSplash { + br_actor *actor; + br_vector3 v; + int just_done; + br_scalar size; + br_scalar scale_x; +}; +struct tBRender_smoke { + br_vector3 pos; + br_scalar r; + br_scalar strength; + br_colour col; + br_scalar aspect; +}; +typedef struct tRGB_colour tRGB_colour; +struct tRGB_colour { + int red; + int green; + int blue; +}; +typedef struct tFunkotronic_spec tFunkotronic_spec; +typedef struct tGroovidelic_spec tGroovidelic_spec; +typedef br_material* * tPMFMCB(br_model*, tU16); + +typedef enum tMatrix_mod_type { + eMatrix_mod_none = 255, + eMatrix_mod_spin = 0, + eMatrix_mod_rock = 1, + eMatrix_mod_throb = 2, + eMatrix_mod_slither = 3, + eMatrix_mod_roll = 4 +} tMatrix_mod_type; + + +typedef enum tTexture_animation_type { + eTexture_animation_none = 255, + eTexture_animation_frames = 0, + eTexture_animation_flic = 1 +} tTexture_animation_type; + + +typedef enum tMove_mode { + eMove_none = 255, + eMove_linear = 0, + eMove_harmonic = 1, + eMove_flash = 2, + eMove_controlled = 3, + eMove_absolute = 4, + eMove_continuous = 5 +} tMove_mode; + + +typedef enum tFunk_trigger_mode { + eFunk_mode_constant = 0, + eFunk_mode_distance = 1, + eFunk_mode_last_lap_only = 2, + eFunk_mode_all_laps_but_last = 3 +} tFunk_trigger_mode; + + +typedef enum tGroove_trigger_mode { + eGroove_mode_constant = 0, + eGroove_mode_distance = 1 +} tGroove_trigger_mode; + + +typedef enum tGroove_path_mode { + eGroove_path_none = 255, + eGroove_path_straight = 0, + eGroove_path_circular = 1 +} tGroove_path_mode; + + +typedef enum tGroove_object_mode { + eGroove_object_none = 255, + eGroove_object_spin = 0, + eGroove_object_rock = 1, + eGroove_object_throb = 2, + eGroove_object_shear = 3 +} tGroove_object_mode; + + +typedef enum tGroove_axis_mode { + eGroove_axis_x = 0, + eGroove_axis_y = 1, + eGroove_axis_z = 2 +} tGroove_axis_mode; + + +typedef enum tAnimation_time_mode { + eTime_mode_approximate = 0, + eTime_mode_accurate = 1 +} tAnimation_time_mode; + + +typedef enum tInterrupt_status { + eInterrupt_none = 0, + eInterrupt_less_than = 1, + eInterrupt_greater_than = 2 +} tInterrupt_status; + + +typedef enum tRotate_mode { + eRotate_mode_x = 0, + eRotate_mode_y = 1, + eRotate_mode_z = 2 +} tRotate_mode; + + +typedef enum tScale_mode { + eScale_mode_all = 0, + eScale_mode_x = 1, + eScale_mode_y = 2, + eScale_mode_z = 3 +} tScale_mode; + +struct tFunkotronic_spec { + int owner; + br_material *material; + tFunk_trigger_mode mode; + tMatrix_mod_type matrix_mod_type; + tMove_mode matrix_mode; + struct { + struct { + float period; + }; + struct { + float period; + br_scalar x_centre; + br_scalar y_centre; + float rock_angle; + }; + struct { + float x_period; + float y_period; + br_scalar x_centre; + br_scalar y_centre; + float x_magnitude; + float y_magnitude; + }; + struct { + float x_period; + float y_period; + float x_magnitude; + float y_magnitude; + }; + struct { + float x_period; + float y_period; + }; + }; + tMove_mode lighting_animation_type; + float lighting_animation_period; + float ambient_base; + float ambient_delta; + float direct_base; + float direct_delta; + float specular_base; + float specular_delta; + tTexture_animation_type texture_animation_type; + tAnimation_time_mode time_mode; + float last_frame; + struct { + struct { + tMove_mode mode; + float period; + int texture_count; + int current_frame; + br_pixelmap *textures[8]; + }; + struct { + tU8 *flic_data; + tU32 flic_data_length; + tFlic_descriptor flic_descriptor; + }; + }; + int proximity_count; + br_vector3 *proximity_array; +}; +struct tGroovidelic_spec { + int owner; + int done_this_frame; + br_actor *actor; + tLollipop_mode lollipop_mode; + tGroove_trigger_mode mode; + tGroove_path_mode path_type; + tMove_mode path_mode; + tInterrupt_status path_interrupt_status; + float path_resumption_value; + struct { + struct { + float period; + float x_delta; + float y_delta; + float z_delta; + br_vector3 centre; + }; + struct { + float period; + float radius; + br_vector3 centre; + tGroove_axis_mode axis; + }; + }; + br_vector3 object_centre; + br_vector3 object_position; + tGroove_object_mode object_type; + tMove_mode object_mode; + tInterrupt_status object_interrupt_status; + float object_resumption_value; + struct { + struct { + float period; + tGroove_axis_mode axis; + }; + struct { + float period; + float max_angle; + float current_angle; + tGroove_axis_mode axis; + }; + struct { + float x_period; + float y_period; + float z_period; + float x_magnitude; + float y_magnitude; + float z_magnitude; + }; + struct { + float x_period; + float y_period; + float z_period; + float x_magnitude; + float y_magnitude; + float z_magnitude; + }; + }; +}; +typedef struct DWORDREGS DWORDREGS; +typedef struct WORDREGS WORDREGS; +typedef struct BYTEREGS BYTEREGS; +typedef struct REGS REGS; +typedef struct SREGS SREGS; +typedef struct REGPACKB REGPACKB; +typedef struct REGPACKW REGPACKW; +typedef struct REGPACKX REGPACKX; +typedef struct REGPACK REGPACK; +typedef struct INTPACKX INTPACKX; +typedef struct INTPACKW INTPACKW; +typedef struct INTPACKB INTPACKB; +typedef struct INTPACK INTPACK; +typedef struct _DOSERROR _DOSERROR; +typedef struct DOSERROR DOSERROR; +typedef struct dosdate_t dosdate_t; +typedef struct dostime_t dostime_t; +typedef struct find_t find_t; +typedef struct _diskfree_t _diskfree_t; +typedef struct tPD_net_game_info tPD_net_game_info; +typedef struct tIPX_netnum tIPX_netnum; +typedef struct tRM_info tRM_info; +struct DWORDREGS { + unsigned int eax; + unsigned int ebx; + unsigned int ecx; + unsigned int edx; + unsigned int esi; + unsigned int edi; + unsigned int cflag; +}; +struct WORDREGS { + unsigned short ax; + unsigned short _1; + unsigned short bx; + unsigned short _2; + unsigned short cx; + unsigned short _3; + unsigned short dx; + unsigned short _4; + unsigned short si; + unsigned short _5; + unsigned short di; + unsigned short _6; + unsigned int cflag; +}; +struct BYTEREGS { + unsigned char al; + unsigned char ah; + unsigned short _1; + unsigned char bl; + unsigned char bh; + unsigned short _2; + unsigned char cl; + unsigned char ch; + unsigned short _3; + unsigned char dl; + unsigned char dh; + unsigned short _4; +}; +struct REGS { + DWORDREGS x; + WORDREGS w; + BYTEREGS h; +}; +struct SREGS { + unsigned short es; + unsigned short cs; + unsigned short ss; + unsigned short ds; + unsigned short fs; + unsigned short gs; +}; +struct REGPACKB { + unsigned char al; + unsigned char ah; + unsigned short _1; + unsigned char bl; + unsigned char bh; + unsigned short _2; + unsigned char cl; + unsigned char ch; + unsigned short _3; + unsigned char dl; + unsigned char dh; + unsigned short _4; +}; +struct REGPACKW { + unsigned short ax; + unsigned short _1; + unsigned short bx; + unsigned short _2; + unsigned short cx; + unsigned short _3; + unsigned short dx; + unsigned short _4; + unsigned short bp; + unsigned short _5; + unsigned short si; + unsigned short _6; + unsigned short di; + unsigned short _7; + unsigned short ds; + unsigned short es; + unsigned short fs; + unsigned short gs; + unsigned int flags; +}; +struct REGPACKX { + unsigned int eax; + unsigned int ebx; + unsigned int ecx; + unsigned int edx; + unsigned int ebp; + unsigned int esi; + unsigned int edi; + unsigned short ds; + unsigned short es; + unsigned short fs; + unsigned short gs; + unsigned int flags; +}; +struct REGPACK { + REGPACKB h; + REGPACKW w; + REGPACKX x; +}; +struct INTPACKX { + unsigned int gs; + unsigned int fs; + unsigned int es; + unsigned int ds; + unsigned int edi; + unsigned int esi; + unsigned int ebp; + unsigned int esp; + unsigned int ebx; + unsigned int edx; + unsigned int ecx; + unsigned int eax; + unsigned int eip; + unsigned int cs; + unsigned int flags; +}; +struct INTPACKW { + unsigned short gs; + unsigned short _1; + unsigned short fs; + unsigned short _2; + unsigned short es; + unsigned short _3; + unsigned short ds; + unsigned short _4; + unsigned short di; + unsigned short _5; + unsigned short si; + unsigned short _6; + unsigned short bp; + unsigned short _7; + unsigned short sp; + unsigned short _8; + unsigned short bx; + unsigned short _9; + unsigned short dx; + unsigned short _a; + unsigned short cx; + unsigned short _b; + unsigned short ax; + unsigned short _c; + unsigned short ip; + unsigned short _d; + unsigned short cs; + unsigned short _e; + unsigned int flags; +}; +struct INTPACKB { + unsigned char bl; + unsigned char bh; + unsigned short _1; + unsigned char dl; + unsigned char dh; + unsigned short _2; + unsigned char cl; + unsigned char ch; + unsigned short _3; + unsigned char al; + unsigned char ah; + unsigned short _4; +}; +struct INTPACK { + INTPACKB h; + INTPACKW w; + INTPACKX x; +}; +struct _DOSERROR { + int exterror; + char errclass; + char action; + char locus; +}; +struct DOSERROR { + int exterror; + char class; + char action; + char locus; +}; +struct dosdate_t { + unsigned char day; + unsigned char month; + unsigned short year; + unsigned char dayofweek; +}; +struct dostime_t { + unsigned char hour; + unsigned char minute; + unsigned char second; + unsigned char hsecond; +}; +struct find_t { + char reserved[21]; + char attrib; + unsigned short wr_time; + unsigned short wr_date; + unsigned long size; + char name[13]; +}; +struct _diskfree_t { + unsigned short total_clusters; + unsigned short avail_clusters; + unsigned short sectors_per_cluster; + unsigned short bytes_per_sector; +}; +struct tPD_net_game_info { + _IPX_LOCAL_TARGET addr_ipx; + tU32 last_response; +}; +struct tIPX_netnum { + BYTE bNetwork[4]; +}; +struct tRM_info { + unsigned long EDI; + unsigned long ESI; + unsigned long EBP; + unsigned long reserved; + unsigned long EBX; + unsigned long EDX; + unsigned long ECX; + unsigned long EAX; + unsigned short flags; + unsigned short ES; + unsigned short DS; + unsigned short FS; + unsigned short GS; + unsigned short IP; + unsigned short CS; + unsigned short SP; + unsigned short SS; +}; +typedef unsigned int ino_t; +typedef int dev_t; +typedef long off_t; +typedef dirent DIR; +typedef struct dosio_event dosio_event; +typedef struct dosio_event_queue dosio_event_queue; +typedef struct _stat _stat; +typedef struct stat stat; +typedef struct tMem_info tMem_info; + +typedef enum dosio_event_type { + DOSIO_EVENT_KEY_DOWN = 0, + DOSIO_EVENT_KEY_UP = 1, + DOSIO_EVENT_POINTER1_DOWN = 2, + DOSIO_EVENT_POINTER1_UP = 3, + DOSIO_EVENT_POINTER2_DOWN = 4, + DOSIO_EVENT_POINTER2_UP = 5, + DOSIO_EVENT_POINTER3_DOWN = 6, + DOSIO_EVENT_POINTER3_UP = 7, + DOSIO_EVENT_POINTER_MOVE = 8, + DOSIO_EVENT_MAX = 9 +} dosio_event_type; + + +typedef enum dosio_event_qual { + DOSIO_QUAL_SHIFT = 1, + DOSIO_QUAL_CONTROL = 2, + DOSIO_QUAL_ALT = 4 +} dosio_event_qual; + +struct dirent { + char d_dta[21]; + char d_attr; + unsigned short d_time; + unsigned short d_date; + long d_size; + char d_name[13]; + unsigned short d_ino; + char d_first; +}; +struct dosio_event { + br_uint_16 type; + br_uint_16 qualifiers; + br_uint_32 value_1; + br_uint_32 value_2; +}; +struct dosio_event_queue { + br_uint_16 total; + br_uint_16 count; + br_uint_16 head; + br_uint_16 tail; + dosio_event slots[1]; +}; +struct _stat { + dev_t st_dev; + ino_t st_ino; + unsigned short st_mode; + short st_nlink; + unsigned long st_uid; + short st_gid; + dev_t st_rdev; + off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; + time_t st_btime; + unsigned long st_attr; + unsigned long st_archivedID; + unsigned long st_updatedID; + unsigned short st_inheritedRightsMask; + unsigned char st_originatingNameSpace; + unsigned char st_name[13]; +}; +struct stat { + dev_t st_dev; + ino_t st_ino; + unsigned short st_mode; + short st_nlink; + unsigned long st_uid; + short st_gid; + dev_t st_rdev; + off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; + time_t st_btime; + unsigned long st_attr; + unsigned long st_archivedID; + unsigned long st_updatedID; + unsigned short st_inheritedRightsMask; + unsigned char st_originatingNameSpace; + unsigned char st_name[13]; +}; +struct tMem_info { + unsigned int largest_block_avail; + unsigned int max_unlocked_page; + unsigned int largest_lockable_page; + unsigned int lin_addr_space; + unsigned int num_free_pages_avail; + unsigned int num_physical_pages_free; + unsigned int total_physical_pages; + unsigned int free_lin_addr_space; + unsigned int size_of_page_file; + unsigned int reserved[3]; +}; +typedef struct pm_temp_edge pm_temp_edge; +typedef struct prep_vertex prep_vertex; +struct pm_temp_edge { + pm_temp_edge *next; + br_uint_16 first; + br_uint_16 last; + char other; +}; +struct prep_vertex { + br_vector3 n; + br_uint_16 v; + br_uint_16 f; +}; +typedef struct order_info order_info; +struct order_info { + br_uint_8 a0; + br_uint_8 a1; + br_uint_8 a2; + br_uint_8 _pad[1]; +}; +typedef struct transform_type transform_type; +struct transform_type { + br_uint_32 id; + br_file_struct *fs; +}; +typedef struct resource_header resource_header; +struct resource_header { + br_simple_node node; + br_simple_list children; + br_uint_8 size_l; + br_uint_8 size_m; + br_uint_8 size_h; + br_uint_8 class; + void *magic_ptr; + int magic_num; +}; +typedef struct host_real_memory host_real_memory; +typedef struct host_regs host_regs; +typedef struct host_info host_info; +struct host_real_memory { + br_uint_32 pm_off; + br_uint_16 pm_seg; + br_uint_16 _reserved; + br_uint_16 rm_off; + br_uint_16 rm_seg; +}; +struct host_regs { + struct { + br_uint_32 edi; + br_uint_32 esi; + br_uint_32 ebp; + br_uint_32 _res; + br_uint_32 ebx; + br_uint_32 edx; + br_uint_32 ecx; + br_uint_32 eax; + br_uint_16 flags; + br_uint_16 es; + br_uint_16 ds; + br_uint_16 fs; + br_uint_16 gs; + br_uint_16 ip; + br_uint_16 cs; + br_uint_16 sp; + br_uint_16 ss; + }; + struct { + br_uint_16 di; + br_uint_16 _pad0; + br_uint_16 si; + br_uint_16 _pad1; + br_uint_16 bp; + br_uint_16 _pad2; + br_uint_16 _res; + br_uint_16 _pad3; + br_uint_16 bx; + br_uint_16 _pad4; + br_uint_16 dx; + br_uint_16 _pad5; + br_uint_16 cx; + br_uint_16 _pad6; + br_uint_16 ax; + br_uint_16 _pad7; + br_uint_16 flags; + br_uint_16 es; + br_uint_16 ds; + br_uint_16 fs; + br_uint_16 gs; + br_uint_16 ip; + br_uint_16 cs; + br_uint_16 sp; + br_uint_16 ss; + }; + struct { + br_uint_32 _pad0[4]; + br_uint_8 bl; + br_uint_8 bh; + br_uint_8 _pad1; + br_uint_8 _pad2; + br_uint_8 dl; + br_uint_8 dh; + br_uint_8 _pad3; + br_uint_8 _pad4; + br_uint_8 cl; + br_uint_8 ch; + br_uint_8 _pad5; + br_uint_8 _pad6; + br_uint_8 al; + br_uint_8 ah; + br_uint_8 _pad7; + br_uint_8 _pad8; + }; +}; +struct host_info { + br_uint_32 size; + char identifier[40]; + br_uint_32 capabilities; + br_token processor_family; + br_token processor_type; +}; +typedef struct file_info file_info; +struct file_info { + br_uint_32 type; + br_uint_32 version; +}; +typedef struct pm_type_info pm_type_info; +typedef struct match_tokens match_tokens; +struct pm_type_info { + br_uint_16 bits; + br_uint_16 file_size; + br_uint_16 align; + br_uint_16 channels; +}; +struct match_tokens { + br_token use; + br_uint_8 pixel_type; + br_int_32 pixel_bits; + br_int_32 width; + br_int_32 height; + br_object *renderer; +}; +typedef struct object_list object_list; +typedef struct object_list_entry object_list_entry; +typedef struct token_match token_match; +struct object_list { + br_simple_list l; +}; +struct object_list_entry { + br_simple_node n; + br_object *h; +}; +struct token_match { + br_token_value *original; + br_token_value *query; + br_int_32 n; + void *extra; + br_size_t extra_size; +}; +typedef struct token_type token_type; +struct token_type { + char *identifier; + br_token type; + int length; +}; +typedef struct export_directory export_directory; +typedef struct import_directory import_directory; +typedef struct basereloc_header basereloc_header; +typedef struct msdos_header msdos_header; +typedef struct coff_header coff_header; +typedef struct nt_optional_header nt_optional_header; +typedef struct section_header section_header; +struct export_directory { + br_uint_32 flags; + br_uint_32 timestamp; + br_uint_16 major_version; + br_uint_16 minor_version; + br_uint_32 name; + br_uint_32 ordinal_base; + br_uint_32 n_entries; + br_uint_32 n_names; + br_uint_32 export_table; + br_uint_32 name_table; + br_uint_32 ordinal_table; +}; +struct import_directory { + br_uint_32 lookup_table; + br_uint_32 timestamp; + br_uint_32 forwarder; + br_uint_32 name; + br_uint_32 address_table; +}; +struct basereloc_header { + br_uint_32 rva; + br_uint_32 size; +}; +struct msdos_header { + br_uint_16 magic; + br_uint_16 last_page_bytes; + br_uint_16 pages; + br_uint_16 n_relocations; + br_uint_16 header_size; + br_uint_16 minalloc; + br_uint_16 maxalloc; + br_uint_16 start_ss; + br_uint_16 start_sp; + br_uint_16 checksum; + br_uint_16 start_ip; + br_uint_16 start_cs; + br_uint_16 reloc_offset; + br_uint_16 overlay_number; + br_uint_16 _reserved0[4]; + br_uint_16 oem_id; + br_uint_16 oem_info; + br_uint_16 _reserved1[10]; + br_uint_32 new_header_offset; +}; +struct coff_header { + br_uint_16 machine; + br_uint_16 n_sections; + br_uint_32 time_date; + br_uint_32 symbols_offset; + br_uint_32 n_symbols; + br_uint_16 opt_header_size; + br_uint_16 flags; +}; +struct nt_optional_header { + br_uint_16 magic; + br_uint_8 l_major; + br_uint_8 l_minor; + br_uint_32 code_size; + br_uint_32 data_size; + br_uint_32 bss_size; + br_uint_32 entry_point; + br_uint_32 code_base; + br_uint_32 data_base; + br_uint_32 image_base; + br_uint_32 section_alignment; + br_uint_32 file_alignment; + br_uint_16 os_major; + br_uint_16 os_minor; + br_uint_16 user_major; + br_uint_16 user_minor; + br_uint_16 subsys_major; + br_uint_16 subsys_minor; + br_uint_32 _reserved; + br_uint_32 image_size; + br_uint_32 header_size; + br_uint_32 file_checksum; + br_uint_16 subsystem; + br_uint_16 dll_flags; + br_uint_32 stack_reserve_size; + br_uint_32 stack_commit_size; + br_uint_32 heap_reserve_size; + br_uint_32 heap_commit_size; + br_uint_32 loader_flags; + br_uint_32 n_data_directories; + struct { + br_uint_32 rva; + br_uint_32 size; + }; +}; +struct section_header { + br_uint_8 section_name[8]; + br_uint_32 virtual_size; + br_uint_32 rva; + br_uint_32 data_size; + br_uint_32 data_offset; + br_uint_32 relocs_offset; + br_uint_32 linenums_offset; + br_uint_16 n_relocs; + br_uint_16 n_linenums; + br_uint_32 flags; +}; +typedef struct host_interrupt_hook host_interrupt_hook; +typedef struct host_exception_hook host_exception_hook; +struct host_interrupt_hook { + br_uint_8 vector; + br_boolean active; + br_uint_32 old_offset; + br_uint_16 old_sel; +}; +struct host_exception_hook { + br_uint_8 exception; + br_boolean active; + br_uint_32 old_offset; + br_uint_16 old_sel; + br_uint_8 scratch[256]; +}; +typedef struct ldt ldt; +struct ldt { + unsigned long limit_0: 10; + unsigned long base_0: 10; + unsigned long base_1: 8; + unsigned long type: 4; + unsigned long application: 1; + unsigned long dpl: 2; + unsigned long present: 1; + unsigned long limit_1: 4; + unsigned long system: 1; + unsigned long reserved: 1; + unsigned long use32: 1; + unsigned long granularity: 1; + unsigned long base_2: 8; +}; + +#endif \ No newline at end of file diff --git a/types/br_types.h b/types/br_types.h deleted file mode 100644 index cb587ba1..00000000 --- a/types/br_types.h +++ /dev/null @@ -1,5854 +0,0 @@ -#ifndef BR_TYPES_H -#define BR_TYPES_H - -typedef long br_int_32; -typedef unsigned long br_uint_32; -typedef short br_int_16; -typedef unsigned short br_uint_16; -typedef signed char br_int_8; -typedef unsigned char br_uint_8; -typedef unsigned int br_size_t; -typedef int br_boolean; -typedef float br_float; -typedef struct br_filesystem br_filesystem; -typedef struct br_allocator br_allocator; -typedef struct br_resource_class br_resource_class; -typedef struct br_diaghandler br_diaghandler; -typedef struct br_errorhandler br_errorhandler; -typedef br_uint_32 br_error; -typedef long br_fixed_ls; -typedef short br_fixed_lsf; -typedef unsigned long br_fixed_lu; -typedef unsigned short br_fixed_luf; -typedef short br_fixed_ss; -typedef char br_fixed_ssf; -typedef unsigned short br_fixed_su; -typedef unsigned char br_fixed_suf; -typedef float br_scalar; -typedef float br_fraction; -typedef float br_ufraction; -typedef br_fixed_ls br_scalar_x; -typedef br_fixed_lsf br_fraction_x; -typedef br_fixed_luf br_ufraction_x; -typedef float br_scalar_f; -typedef float br_fraction_f; -typedef float br_ufraction_f; -typedef unsigned long br_colour; -typedef struct br_colour_range br_colour_range; -typedef struct br_matrix23 br_matrix23; -typedef struct br_matrix23_f br_matrix23_f; -typedef struct br_matrix23_x br_matrix23_x; -typedef struct br_matrix34 br_matrix34; -typedef struct br_matrix34_f br_matrix34_f; -typedef struct br_matrix34_x br_matrix34_x; -typedef struct br_matrix4 br_matrix4; -typedef struct br_matrix4_f br_matrix4_f; -typedef struct br_matrix4_x br_matrix4_x; -typedef struct br_vector2 br_vector2; -typedef struct br_vector3 br_vector3; -typedef struct br_vector4 br_vector4; -typedef struct br_vector2_x br_vector2_x; -typedef struct br_vector3_x br_vector3_x; -typedef struct br_vector4_x br_vector4_x; -typedef struct br_vector2_f br_vector2_f; -typedef struct br_vector3_f br_vector3_f; -typedef struct br_vector4_f br_vector4_f; -typedef struct br_vector2_i br_vector2_i; -typedef struct br_vector3_i br_vector3_i; -typedef struct br_vector4_i br_vector4_i; -typedef struct br_fvector2 br_fvector2; -typedef struct br_fvector3 br_fvector3; -typedef struct br_fvector4 br_fvector4; -typedef struct br_fvector2_f br_fvector2_f; -typedef struct br_fvector3_f br_fvector3_f; -typedef struct br_fvector4_f br_fvector4_f; -typedef struct br_fvector2_x br_fvector2_x; -typedef struct br_fvector3_x br_fvector3_x; -typedef struct br_fvector4_x br_fvector4_x; -typedef struct br_bounds2 br_bounds2; -typedef struct br_bounds3 br_bounds3; -typedef struct br_bounds4 br_bounds4; -typedef struct br_bounds2_f br_bounds2_f; -typedef struct br_bounds3_f br_bounds3_f; -typedef struct br_bounds4_f br_bounds4_f; -typedef struct br_bounds2_x br_bounds2_x; -typedef struct br_bounds3_x br_bounds3_x; -typedef struct br_bounds4_x br_bounds4_x; -typedef struct br_bounds2_i br_bounds2_i; -typedef struct br_bounds3_i br_bounds3_i; -typedef struct br_bounds4_i br_bounds4_i; -typedef br_bounds3 br_bounds; -typedef br_bounds2_i br_bounds2i; -typedef br_bounds3_i br_bounds3i; -typedef br_bounds4_i br_bounds4i; -typedef br_fixed_luf br_angle; -typedef struct br_euler br_euler; -typedef struct br_quat br_quat; -typedef struct br_transform br_transform; -typedef struct br_pixelmap br_pixelmap; -typedef struct br_point br_point; -typedef struct br_rectangle br_rectangle; -typedef struct br_font br_font; -typedef struct br_object br_object; -typedef struct br_value_tag br_value; -typedef struct br_token_value br_token_value; -typedef struct br_pool_block br_pool_block; -typedef struct br_pool br_pool; -typedef struct br_primitive br_primitive; -typedef struct br_order_table br_order_table; -typedef struct br_primitive_heap br_primitive_heap; -typedef struct br_associative_array_tag br_associative_array; -typedef struct br_device br_device; -typedef struct br_outfcty_desc br_outfcty_desc; -typedef struct br_renderer_facility br_renderer_facility; -typedef struct br_device_pixelmap br_device_pixelmap; -typedef struct br_primitive_library br_primitive_library; -typedef struct br_geometry br_geometry; -typedef struct br_renderer br_renderer; -typedef struct br_material br_material; -typedef struct br_vertex br_vertex; -typedef struct br_face br_face; -typedef struct br_primitive_list br_primitive_list; -typedef struct br_vertex_single br_vertex_single; -typedef struct br_vertex_double br_vertex_double; -typedef struct br_point_prim br_point_prim; -typedef struct br_line br_line; -typedef struct br_triangle br_triangle; -typedef struct br_quad br_quad; -typedef struct br_strip_face_data br_strip_face_data; -typedef struct br_tri_strip br_tri_strip; -typedef br_tri_strip br_tri_fan; -typedef br_tri_strip br_quad_strip; -typedef struct br_actor br_actor; -typedef struct br_model br_model; -typedef struct br_camera br_camera; -typedef struct br_light br_light; -typedef struct br_fmt_results br_fmt_results; -typedef struct br_fmt_options br_fmt_options; -typedef struct br_3ds_options br_3ds_options; - -typedef enum br_filesystem_attributes { - BR_FS_ATTR_READABLE = 1, - BR_FS_ATTR_WRITEABLE = 2, - BR_FS_ATTR_HAS_TEXT = 4, - BR_FS_ATTR_HAS_BINARY = 8, - BR_FS_ATTR_HAS_ADVANCE = 16 -} br_filesystem_attributes; - - -typedef enum br_filesystem_identify { - BR_FS_MODE_BINARY = 0, - BR_FS_MODE_TEXT = 1, - BR_FS_MODE_UNKNOWN = 2 -} br_filesystem_identify; - - -typedef enum br_memory_classes { - BR_MEMORY_SCRATCH = 1, - BR_MEMORY_PIXELMAP = 2, - BR_MEMORY_PIXELS = 3, - BR_MEMORY_VERTICES = 4, - BR_MEMORY_FACES = 5, - BR_MEMORY_GROUPS = 6, - BR_MEMORY_MODEL = 7, - BR_MEMORY_MATERIAL = 8, - BR_MEMORY_MATERIAL_INDEX = 9, - BR_MEMORY_ACTOR = 10, - BR_MEMORY_PREPARED_VERTICES = 11, - BR_MEMORY_PREPARED_FACES = 12, - BR_MEMORY_LIGHT = 13, - BR_MEMORY_CAMERA = 14, - BR_MEMORY_BOUNDS = 15, - BR_MEMORY_CLIP_PLANE = 16, - BR_MEMORY_STRING = 17, - BR_MEMORY_REGISTRY = 18, - BR_MEMORY_TRANSFORM = 19, - BR_MEMORY_RESOURCE_CLASS = 20, - BR_MEMORY_FILE = 21, - BR_MEMORY_ANCHOR = 22, - BR_MEMORY_POOL = 23, - BR_MEMORY_RENDER_MATERIAL = 24, - BR_MEMORY_DATAFILE = 25, - BR_MEMORY_IMAGE = 26, - BR_MEMORY_IMAGE_ARENA = 27, - BR_MEMORY_IMAGE_SECTIONS = 28, - BR_MEMORY_IMAGE_NAMES = 29, - BR_MEMORY_EXCEPTION_HANDLER = 30, - BR_MEMORY_RENDER_DATA = 31, - BR_MEMORY_TOKEN = 32, - BR_MEMORY_TOKEN_MAP = 33, - BR_MEMORY_OBJECT = 34, - BR_MEMORY_OBJECT_DATA = 35, - BR_MEMORY_DRIVER = 36, - BR_MEMORY_LEXER = 37, - BR_MEMORY_OBJECT_LIST = 38, - BR_MEMORY_OBJECT_LIST_ENTRY = 39, - BR_MEMORY_ENABLED_ACTORS = 40, - BR_MEMORY_FMT_RESULTS = 41, - BR_MEMORY_PREPARED_MODEL = 42, - BR_MEMORY_ORDER_TABLE = 43, - BR_MEMORY_TOKEN_VALUE = 44, - BR_MEMORY_TOKEN_TEMPLATE = 45, - BR_MEMORY_FREE = 127, - BR_MEMORY_APPLICATION = 128, - BR_MEMORY_MAX = 256 -} br_memory_classes; - - -typedef enum br_pixelmap_allocate_flags { - BR_PMAF_NORMAL = 0, - BR_PMAF_INVERTED = 1, - BR_PMAF_NO_PIXELS = 2 -} br_pixelmap_allocate_flags; - - -typedef enum br_pixelmap_channel_mask { - BR_PMCHAN_INDEX = 1, - BR_PMCHAN_RGB = 2, - BR_PMCHAN_DEPTH = 4, - BR_PMCHAN_ALPHA = 8, - BR_PMCHAN_YUV = 16, - BR_PMCHAN_VECTOR = 32 -} br_pixelmap_channel_mask; - - -typedef enum br_pmmatch_type { - BR_PMMATCH_OFFSCREEN = 0, - BR_PMMATCH_DEPTH_16 = 1, - BR_PMMATCH_DEPTH = 2, - BR_PMMATCH_HIDDEN = 3, - BR_PMMATCH_HIDDEN_BUFFER = 4, - BR_PMMATCH_NO_RENDER = 5, - BR_PMMATCH_DEPTH_8 = 6, - BR_PMMATCH_DEPTH_32 = 7, - BR_PMMATCH_DEPTH_15 = 8, - BR_PMMATCH_DEPTH_31 = 9, - BR_PMMATCH_DEPTH_FP15 = 10, - BR_PMMATCH_DEPTH_FP16 = 11, - BR_PMMATCH_MAX = 12 -} br_pmmatch_type; - - -typedef enum br_pixelmap_copy_function { - BR_PMCOPY_NORMAL = 0, - BR_PMCOPY_SRC_KEYED = 1, - BR_PMCOPY_DST_KEYED = 2 -} br_pixelmap_copy_function; - - -typedef enum br_clip_result { - BR_CLIP_REJECT = 0, - BR_CLIP_PARTIAL = 1, - BR_CLIP_ACCEPT = 2 -} br_clip_result; - - -typedef enum br_token { - BRT_ABGR_1_5_5_5 = 319, - BRT_ABGR_4_4_4_4 = 335, - BRT_ABGR_8_8_8_8 = 331, - BRT_ACCEPT = 276, - BRT_AINDEX_4_4 = 345, - BRT_AINDEX_8_8 = 344, - BRT_ALPHA = 85, - BRT_ALWAYS = 163, - BRT_AMBIENT_F = 193, - BRT_AMBIENT_X = 192, - BRT_ANGLE = 13, - BRT_ANTIALIASING_T = 298, - BRT_ANTIALIASING_TL = 299, - BRT_ARGB_1_5_5_5 = 318, - BRT_ARGB_4_4_4_4 = 334, - BRT_ARGB_8_8_8_8 = 330, - BRT_ATTENUATION_C_F = 222, - BRT_ATTENUATION_C_X = 221, - BRT_ATTENUATION_L_F = 220, - BRT_ATTENUATION_L_X = 219, - BRT_ATTENUATION_Q_F = 224, - BRT_ATTENUATION_Q_X = 223, - BRT_A_4 = 450, - BRT_A_8 = 341, - BRT_BEST_QUALITY = 380, - BRT_BEST_SPEED = 291, - BRT_BGRA_4_4_4_4 = 336, - BRT_BGRA_8_8_8_8 = 332, - BRT_BGRX_8_8_8_8 = 328, - BRT_BGR_2_3_2 = 323, - BRT_BGR_5_6_5 = 321, - BRT_BGR_8_8_8 = 325, - BRT_BLENDER_PROGRAM_P = 458, - BRT_BLEND_B = 133, - BRT_BLEND_CONSTANT = 445, - BRT_BLEND_DIMMED = 444, - BRT_BLEND_MODE_T = 440, - BRT_BLEND_MODE_TL = 441, - BRT_BLEND_STANDARD = 442, - BRT_BLEND_SUMMED = 443, - BRT_BLUE = 83, - BRT_BOOLEAN = 2, - BRT_BOTTOM_TOP = 67, - BRT_BOUNDS = 122, - BRT_BOUNDS_B = 255, - BRT_BRENDER_DEVICES_STR = 422, - BRT_BRENDER_DRIVERS_STR = 420, - BRT_BRENDER_PATH_STR = 419, - BRT_BRENDER_VERSION_U32 = 356, - BRT_BUCKET_SORT = 257, - BRT_BUFFER_STORED = 45, - BRT_BUMP_O = 170, - BRT_BUMP_TVL = 401, - BRT_CACHED_B = 286, - BRT_CACHED_SIZE_U32 = 287, - BRT_CACHED_TOTAL_U32 = 288, - BRT_CAN_SHARE_B = 110, - BRT_CLAMP = 308, - BRT_CLIP = 121, - BRT_CLIPPING_B = 254, - BRT_CLIP_MAX_I32 = 105, - BRT_CLONE = 102, - BRT_CLUT_MAX_I32 = 90, - BRT_CLUT_O = 68, - BRT_COLOUR_B = 135, - BRT_COLOUR_BUFFER_O = 249, - BRT_COLOUR_I32 = 189, - BRT_COLOUR_MAP_O = 165, - BRT_COLOUR_MAP_TVL = 396, - BRT_COLOUR_RGB = 14, - BRT_COLOUR_SOURCE_T = 180, - BRT_COLOUR_T = 136, - BRT_COLOUR_TL = 297, - BRT_COLOUR_WRITE_B = 132, - BRT_CONSTANT_STRING = 32, - BRT_COPY_BITS_F = 371, - BRT_COPY_BITS_X = 370, - BRT_COPY_DESTINATION_TVL = 361, - BRT_COPY_F = 363, - BRT_COPY_SOURCE_TVL = 360, - BRT_COPY_X = 362, - BRT_CREATOR_CSTR = 56, - BRT_CULL = 116, - BRT_CULL_B = 251, - BRT_DDI_VERSION_U32 = 357, - BRT_DECAL_B = 128, - BRT_DEFAULT = 138, - BRT_DEFAULT_BASE_I32 = 282, - BRT_DEFAULT_DEVICE_STR = 421, - BRT_DEFAULT_RANGE_I32 = 283, - BRT_DEPTH = 84, - BRT_DEPTH_BUFFER_O = 250, - BRT_DEPTH_TEST_T = 155, - BRT_DEPTH_TEST_TL = 304, - BRT_DEPTH_WRITE_B = 131, - BRT_DESTINATION_O = 114, - BRT_DEVICE = 37, - BRT_DEVICE_CLUT = 41, - BRT_DEVICE_PIXELMAP = 40, - BRT_DIBSECTION = 410, - BRT_DIFFUSE_F = 195, - BRT_DIFFUSE_X = 194, - BRT_DIRECT = 208, - BRT_DIRECT3D_HAL = 416, - BRT_DIRECT3D_RAMP = 414, - BRT_DIRECT3D_RENDER_METHOD_T = 413, - BRT_DIRECT3D_RGB = 415, - BRT_DIRECTDRAW = 411, - BRT_DIRECTDRAW_DEVICENAME_CSTR = 412, - BRT_DIRECTION_V3_F = 213, - BRT_DIRECTION_V3_X = 214, - BRT_DIRECT_F = 378, - BRT_DIRECT_X = 377, - BRT_DITHER = 431, - BRT_DITHER_B = 457, - BRT_DITHER_COLOUR_B = 129, - BRT_DITHER_COLOUR_T = 293, - BRT_DITHER_COLOUR_TL = 294, - BRT_DITHER_MAP_B = 130, - BRT_DITHER_MAP_T = 295, - BRT_DITHER_MAP_TL = 296, - BRT_DONT_CARE = 246, - BRT_D_15 = 446, - BRT_D_16 = 338, - BRT_D_24 = 339, - BRT_D_31 = 447, - BRT_D_32 = 340, - BRT_D_FP15 = 448, - BRT_D_FP16 = 449, - BRT_ENABLE = 119, - BRT_ENVIRONMENT_INFINITE = 184, - BRT_ENVIRONMENT_LOCAL = 183, - BRT_EQUAL = 158, - BRT_EVEN_ODD = 63, - BRT_FACILITY = 38, - BRT_FACILITY_O = 281, - BRT_FIXED = 11, - BRT_FLOAT = 12, - BRT_FOG_MAX_F = 153, - BRT_FOG_MAX_X = 154, - BRT_FOG_MIN_F = 151, - BRT_FOG_MIN_X = 152, - BRT_FOG_RGB = 150, - BRT_FOG_T = 149, - BRT_FOG_TL = 303, - BRT_FONT_NORMAL_O = 98, - BRT_FONT_NORMAL_P = 97, - BRT_FORCE_FRONT_B = 179, - BRT_FORMAT_T = 113, - BRT_GEOMETRY = 46, - BRT_GEOMETRY_LIGHTING = 51, - BRT_GEOMETRY_MAP = 185, - BRT_GEOMETRY_PRIMITIVES = 48, - BRT_GEOMETRY_STORED = 47, - BRT_GEOMETRY_V1_BUCKETS = 50, - BRT_GEOMETRY_V1_MODEL = 49, - BRT_GEOMETRY_X = 186, - BRT_GEOMETRY_Y = 187, - BRT_GEOMETRY_Z = 188, - BRT_GREATER = 156, - BRT_GREATER_OR_EQUAL = 157, - BRT_GREEN = 82, - BRT_HANDLE = 354, - BRT_HEIGHT_I32 = 72, - BRT_HEIGHT_MAX_I32 = 74, - BRT_HEIGHT_MIN_I32 = 73, - BRT_HEIGHT_OPTIMUM_I32 = 392, - BRT_HEIGHT_T = 389, - BRT_HEIGHT_TL = 390, - BRT_HIDDEN = 100, - BRT_HIDDEN_BUFFER = 278, - BRT_HIDDEN_SURFACE = 123, - BRT_HOST_MEMORY_U32 = 93, - BRT_IDENTIFIER_CSTR = 54, - BRT_INDEX = 80, - BRT_INDEXA_4_4 = 343, - BRT_INDEXA_8_8 = 342, - BRT_INDEXED_B = 86, - BRT_INDEX_1 = 312, - BRT_INDEX_2 = 313, - BRT_INDEX_4 = 314, - BRT_INDEX_8 = 315, - BRT_INDEX_BASE_I32 = 139, - BRT_INDEX_BLEND_O = 167, - BRT_INDEX_BLEND_TVL = 398, - BRT_INDEX_FOG_O = 394, - BRT_INDEX_FOG_TVL = 402, - BRT_INDEX_LIGHT_O = 169, - BRT_INDEX_LIGHT_TVL = 400, - BRT_INDEX_RANGE_I32 = 140, - BRT_INDEX_SHADE_O = 166, - BRT_INDEX_SHADE_TVL = 397, - BRT_INI_STR = 418, - BRT_INTEL = 423, - BRT_INTEL_386 = 427, - BRT_INTEL_486 = 428, - BRT_INTEL_PENTIUM = 429, - BRT_INTEL_PENTIUM_PRO = 430, - BRT_INTERLACE_B = 456, - BRT_INT_16 = 7, - BRT_INT_32 = 9, - BRT_INT_8 = 5, - BRT_KEY_IS_TRANSPARENT = 353, - BRT_LEFT_RIGHT = 64, - BRT_LENGTH_PRESERVING = 237, - BRT_LESS = 161, - BRT_LESS_OR_EQUAL = 160, - BRT_LIGHT = 120, - BRT_LIGHTING_B = 178, - BRT_LIGHT_MAX_I32 = 104, - BRT_LIGHT_VERTICES = 273, - BRT_LINE = 266, - BRT_LINEAR = 147, - BRT_LPDIRECTDRAWSURFACE_P = 432, - BRT_MAPPING_SOURCE_T = 182, - BRT_MAP_ANTIALIASING_T = 141, - BRT_MAP_ANTIALIASING_TL = 300, - BRT_MAP_HEIGHT_LIMIT_T = 310, - BRT_MAP_HEIGHT_LIMIT_TL = 311, - BRT_MAP_INTERPOLATION_MAG_T = 383, - BRT_MAP_INTERPOLATION_MAG_TL = 384, - BRT_MAP_INTERPOLATION_MIN_T = 385, - BRT_MAP_INTERPOLATION_MIN_TL = 386, - BRT_MAP_INTERPOLATION_T = 145, - BRT_MAP_INTERPOLATION_TL = 301, - BRT_MAP_MATRIX_M23_F = 200, - BRT_MAP_MATRIX_M23_X = 201, - BRT_MAP_WIDTH_LIMIT_T = 305, - BRT_MAP_WIDTH_LIMIT_TL = 306, - BRT_MATCH_TVL = 359, - BRT_MATRIX = 118, - BRT_MATRIX23_FIXED = 25, - BRT_MATRIX23_FLOAT = 28, - BRT_MATRIX34_FIXED = 26, - BRT_MATRIX34_FLOAT = 29, - BRT_MATRIX4_FIXED = 27, - BRT_MATRIX4_FLOAT = 30, - BRT_MAX_V2_F = 233, - BRT_MAX_V2_I = 231, - BRT_MAX_V2_X = 232, - BRT_MEMORY_MAPPED_B = 87, - BRT_MIN_V2_F = 230, - BRT_MIN_V2_I = 228, - BRT_MIN_V2_X = 229, - BRT_MIP = 142, - BRT_MIPS = 425, - BRT_MIP_INTERPOLATION_T = 148, - BRT_MIP_INTERPOLATION_TL = 302, - BRT_MIP_PER_PIXEL = 143, - BRT_MIP_PER_PRIMITIVE = 144, - BRT_MIRROR = 309, - BRT_MODEL = 177, - BRT_MODEL_TO_SCREEN_M4_F = 247, - BRT_MODEL_TO_SCREEN_M4_X = 248, - BRT_MODEL_TO_VIEW_HINT_T = 236, - BRT_MODEL_TO_VIEW_M34_F = 234, - BRT_MODEL_TO_VIEW_M34_X = 235, - BRT_MODE_U32 = 94, - BRT_MODULATE_B = 134, - BRT_MOTOROLA = 426, - BRT_NEAREST = 146, - BRT_NEVER = 162, - BRT_NONE = 1, - BRT_NOT_EQUAL = 159, - BRT_NO_RENDER = 379, - BRT_OBJECT = 15, - BRT_OBJECT_CONTAINER = 36, - BRT_OBJECT_LIST = 33, - BRT_ODD_EVEN = 62, - BRT_OFFSCREEN = 101, - BRT_ONE_SIDED = 173, - BRT_OPACITY_F = 191, - BRT_OPACITY_SOURCE_T = 181, - BRT_OPACITY_X = 190, - BRT_ORIGIN_V2_I = 96, - BRT_OUTPUT = 125, - BRT_OUTPUT_FACILITY = 39, - BRT_OUTPUT_FACILITY_O = 95, - BRT_PARALLEL = 242, - BRT_PARTIAL = 275, - BRT_PARTS_TL = 107, - BRT_PARTS_U32 = 112, - BRT_PERSPECTIVE = 241, - BRT_PERSPECTIVE_B = 127, - BRT_PERSPECTIVE_T = 289, - BRT_PERSPECTIVE_TL = 290, - BRT_PIXELMAP_MAX_I32 = 89, - BRT_PIXEL_BITS_I32 = 76, - BRT_PIXEL_CHANNELS_I32 = 78, - BRT_PIXEL_CHANNELS_TL = 79, - BRT_PIXEL_GET_F = 374, - BRT_PIXEL_GET_X = 373, - BRT_PIXEL_SET_F = 376, - BRT_PIXEL_SET_X = 375, - BRT_PIXEL_TYPE_U8 = 75, - BRT_PLANE = 225, - BRT_PLANE_V4_F = 226, - BRT_PLANE_V4_X = 227, - BRT_POINT = 209, - BRT_POINTER = 3, - BRT_POINTER_LIST = 35, - BRT_POSITION_V3_F = 211, - BRT_POSITION_V3_X = 212, - BRT_POWERPC = 424, - BRT_POWER_OF_2 = 351, - BRT_PREFER_SHARE_B = 111, - BRT_PRIMITIVE = 124, - BRT_PRIMITIVES = 270, - BRT_PRIMITIVE_BLOCK_P = 393, - BRT_PRIMITIVE_CUSTOM_P = 206, - BRT_PRIMITIVE_FILTER_P = 207, - BRT_PRIMITIVE_LIBRARY = 52, - BRT_PRIMITIVE_LIBRARY_O = 88, - BRT_PRIMITIVE_LIBRARY_P = 115, - BRT_PRIMITIVE_STATE = 53, - BRT_PRIVATE = 349, - BRT_PRODUCT_CSTR = 57, - BRT_PRODUCT_VERSION_CSTR = 58, - BRT_QUAD = 268, - BRT_QUAD_STRIP = 455, - BRT_RED = 81, - BRT_REGISTRY_STR = 417, - BRT_REJECT = 277, - BRT_RENDERER = 43, - BRT_RENDERER_FACILITY = 42, - BRT_RENDERER_FACILITY_O = 108, - BRT_RENDERER_MAX_I32 = 106, - BRT_RENDERER_O = 103, - BRT_RENDERER_STATE_STORED = 44, - BRT_RENDER_B = 256, - BRT_RGB = 137, - BRT_RGBA_4_4_4_4 = 337, - BRT_RGBA_8_8_8_8 = 333, - BRT_RGBX_8_8_8_8 = 329, - BRT_RGB_2_3_2 = 322, - BRT_RGB_5_6_5 = 320, - BRT_RGB_8_8_8 = 324, - BRT_RIGHT_LEFT = 65, - BRT_SCREEN_DOOR_O = 168, - BRT_SCREEN_DOOR_TVL = 399, - BRT_SHARED_B = 109, - BRT_SMOOTH_B = 126, - BRT_SPACE_T = 175, - BRT_SPECULAR_F = 197, - BRT_SPECULAR_POWER_F = 199, - BRT_SPECULAR_POWER_X = 198, - BRT_SPECULAR_X = 196, - BRT_SPOT = 210, - BRT_SPOT_INNER_F = 218, - BRT_SPOT_INNER_X = 217, - BRT_SPOT_OUTER_F = 216, - BRT_SPOT_OUTER_X = 215, - BRT_SPRITE = 265, - BRT_SQUARE = 350, - BRT_STATE_RESTORE = 269, - BRT_STEREO_B = 59, - BRT_STEREO_T = 60, - BRT_STEREO_TL = 61, - BRT_STORED_STATE_O = 264, - BRT_STRETCHDIBITS = 409, - BRT_STRETCH_COPY_DESTINATION_TVL = 365, - BRT_STRETCH_COPY_F = 369, - BRT_STRETCH_COPY_SOURCE_TVL = 364, - BRT_STRETCH_COPY_T = 366, - BRT_STRETCH_COPY_TL = 367, - BRT_STRETCH_COPY_X = 368, - BRT_STRING = 31, - BRT_SUBDIVIDE = 381, - BRT_SUBDIVIDE_TOLERANCE_I32 = 382, - BRT_SURFACE = 117, - BRT_SURFACE_B = 253, - BRT_SURFACE_C_CUSTOM_P = 202, - BRT_SURFACE_C_FILTER_P = 203, - BRT_SURFACE_V_CUSTOM_P = 204, - BRT_SURFACE_V_FILTER_P = 205, - BRT_SYCHRONISE_I32 = 372, - BRT_TEXTURE_MEMORY_U32 = 92, - BRT_TEXTURE_O = 164, - BRT_TEXTURE_TVL = 395, - BRT_TITLE_CSTR = 358, - BRT_TOKEN = 4, - BRT_TOKEN_LIST = 34, - BRT_TOKEN_VALUE_LIST = 355, - BRT_TOP_BOTTOM = 66, - BRT_TRANSFORM_B = 252, - BRT_TRIANGLE = 267, - BRT_TRI_FAN = 454, - BRT_TRI_STRIP = 453, - BRT_TWO_SIDED = 174, - BRT_TYPE_T = 172, - BRT_UINT_16 = 8, - BRT_UINT_32 = 10, - BRT_UINT_8 = 6, - BRT_UNKNOWN = 171, - BRT_USE_NO_3D_B = 279, - BRT_USE_NO_DEPTH_B = 280, - BRT_USE_T = 99, - BRT_V1BUCKETS = 272, - BRT_V1INSERT_ARG1_P = 261, - BRT_V1INSERT_ARG2_P = 262, - BRT_V1INSERT_ARG3_P = 263, - BRT_V1INSERT_FUNCTION_P = 260, - BRT_V1MODEL = 271, - BRT_V1ORDER_TABLE_P = 258, - BRT_V1PRIMITIVE_HEAP_P = 259, - BRT_VECTOR2_FIXED = 19, - BRT_VECTOR2_FLOAT = 22, - BRT_VECTOR2_INTEGER = 16, - BRT_VECTOR3_FIXED = 20, - BRT_VECTOR3_FLOAT = 23, - BRT_VECTOR3_INTEGER = 17, - BRT_VECTOR4_FIXED = 21, - BRT_VECTOR4_FLOAT = 24, - BRT_VECTOR4_INTEGER = 18, - BRT_VERSION_U32 = 55, - BRT_VERTEX_DBL = 452, - BRT_VERTEX_SGL = 451, - BRT_VERTICAL_BLANK = 274, - BRT_VIDEO_MEMORY_U32 = 91, - BRT_VIEW = 176, - BRT_VIEW_TO_ENVIRONMENT_HINT_T = 245, - BRT_VIEW_TO_ENVIRONMENT_M34_F = 243, - BRT_VIEW_TO_ENVIRONMENT_M34_X = 244, - BRT_VIEW_TO_SCREEN_HINT_T = 240, - BRT_VIEW_TO_SCREEN_M4_F = 238, - BRT_VIEW_TO_SCREEN_M4_X = 239, - BRT_WIDTH_I32 = 69, - BRT_WIDTH_MAX_I32 = 71, - BRT_WIDTH_MIN_I32 = 70, - BRT_WIDTH_OPTIMUM_I32 = 391, - BRT_WIDTH_T = 387, - BRT_WIDTH_TL = 388, - BRT_WINDOW_BUFFER_METHOD_T = 407, - BRT_WINDOW_FULLSCREEN_B = 406, - BRT_WINDOW_HANDLE_H = 405, - BRT_WINDOW_NAME_CSTR = 403, - BRT_WINDOW_PROCEDURE_P = 404, - BRT_WING = 408, - BRT_WORD_BYTES_I32 = 77, - BRT_WRAP = 307, - BRT_WRITABLE_BASE_I32 = 284, - BRT_WRITABLE_RANGE_I32 = 285, - BRT_XBGR_1_5_5_5 = 317, - BRT_XBGR_8_8_8_8 = 327, - BRT_XRGB_1_5_5_5 = 316, - BRT_XRGB_8_8_8_8 = 326, - BRT_XYZ_16_16_16 = 347, - BRT_XYZ_8_8_8 = 346, - BRT_YUV_16 = 348, - BRT_ZERO_IS_TRANSPARENT = 352, - BRT_ZTRANSPARENCY_B = 439, - BRT_Z_WRITE_ALWAYS = 436, - BRT_Z_WRITE_CONDITIONAL = 438, - BRT_Z_WRITE_CONDITIONAL_NO_Z = 437, - BRT_Z_WRITE_NEVER = 435, - BRT_Z_WRITE_T = 433, - BRT_Z_WRITE_TL = 434, - _BRT_MAX = 134217727 -} br_token; - - -typedef enum br_apply_map_types { - BR_APPLYMAP_PLANE = 0, - BR_APPLYMAP_SPHERE = 1, - BR_APPLYMAP_CYLINDER = 2, - BR_APPLYMAP_DISC = 3, - BR_APPLYMAP_NONE = 4 -} br_apply_map_types; - - -typedef enum br_fitmap_axis { - BR_FITMAP_PLUS_X = 0, - BR_FITMAP_PLUS_Y = 1, - BR_FITMAP_PLUS_Z = 2, - BR_FITMAP_MINUS_X = 3, - BR_FITMAP_MINUS_Y = 4, - BR_FITMAP_MINUS_Z = 5 -} br_fitmap_axis; - -typedef void br_putline_cbfn(char*, void*); -typedef int br_mode_test_cbfn(br_uint_8*, br_size_t); -typedef br_uint_32 brfile_attributes_cbfn(); -typedef void* brfile_open_read_cbfn(char*, br_size_t, br_mode_test_cbfn*, int*); -typedef void* brfile_open_write_cbfn(char*, int); -typedef void brfile_close_cbfn(void*); -typedef int brfile_eof_cbfn(void*); -typedef int brfile_getchr_cbfn(void*); -typedef void brfile_putchr_cbfn(int, void*); -typedef br_size_t brfile_read_cbfn(void*, br_size_t, unsigned int, void*); -typedef br_size_t brfile_write_cbfn(void*, br_size_t, unsigned int, void*); -typedef br_size_t brfile_getline_cbfn(char*, br_size_t, void*); -typedef void brfile_putline_cbfn(char*, void*); -typedef void brfile_advance_cbfn(br_size_t, void*); -typedef void* brmem_allocate_cbfn(br_size_t, br_uint_8); -typedef void brmem_free_cbfn(void*); -typedef br_size_t brmem_inquire_cbfn(br_uint_8); -typedef br_uint_32 brmem_align_cbfn(br_uint_8); -typedef void br_resourcefree_cbfn(void*, br_uint_8, br_size_t); -typedef void br_diag_warning_cbfn(char*); -typedef void br_diag_failure_cbfn(char*); -typedef br_resource_class* br_resclass_find_cbfn(char*); -typedef br_uint_32 br_resclass_enum_cbfn(br_resource_class*); -typedef int br_qsort_cbfn(void*, void*); -typedef br_uint_32 br_resenum_cbfn(void*, void*); -typedef br_device* br_device_begin_fn(char*); -typedef br_boolean br_device_enum_cbfn(char*, br_uint_32, char*, char*, char*, char*, void*); -typedef br_boolean br_outfcty_enum_cbfn(char*, br_outfcty_desc*, void*, struct div_t { - intquot; - intrem; - }); -typedef void br_model_custom_cbfn(br_actor*, br_model*, br_material*, void*); -typedef int br_fmt_report_cbfn(char*); -typedef void br_renderbounds_cbfn(br_actor*, br_model*, br_material*, void*, br_uint_8, br_matrix4*); -typedef void br_primitive_cbfn(br_primitive*, br_actor*, br_model*, br_material*, br_order_table*, br_scalar*); -typedef br_material* br_material_find_cbfn(char*); -typedef br_uint_32 br_material_enum_cbfn(br_material*); -typedef br_model* br_model_find_cbfn(char*); -typedef br_uint_32 br_model_enum_cbfn(br_model*); -typedef br_pixelmap* br_map_find_cbfn(char*); -typedef br_uint_32 br_map_enum_cbfn(br_pixelmap*); -typedef br_pixelmap* br_table_find_cbfn(char*); -typedef br_uint_32 br_table_enum_cbfn(br_pixelmap*); -typedef br_uint_32 br_actor_enum_cbfn(br_actor*); -typedef int br_pick2d_cbfn(br_actor*, br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, br_scalar); -typedef int br_pick3d_cbfn(br_actor*, br_model*, br_material*, br_matrix34*, br_bounds*); -typedef int br_modelpick2d_cbfn(br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, int, int, int, br_vector3*); -struct br_filesystem { - char *identifier; - brfile_attributes_cbfn *attributes; - brfile_open_read_cbfn *open_read; - brfile_open_write_cbfn *open_write; - brfile_close_cbfn *close; - brfile_eof_cbfn *eof; - brfile_getchr_cbfn *getchr; - brfile_putchr_cbfn *putchr; - brfile_read_cbfn *read; - brfile_write_cbfn *write; - brfile_getline_cbfn *getline; - brfile_putline_cbfn *putline; - brfile_advance_cbfn *advance; -}; -struct br_allocator { - char *identifier; - brmem_allocate_cbfn *allocate; - brmem_free_cbfn *free; - brmem_inquire_cbfn *inquire; - brmem_align_cbfn *align; -}; -struct br_resource_class { - br_uint_32reserved; - char *identifier; - br_uint_8res_class; - br_resourcefree_cbfn *free_cb; - br_uint_32alignment; -}; -struct br_diaghandler { - char *identifier; - br_diag_warning_cbfn *warning; - br_diag_failure_cbfn *failure; -}; -struct br_errorhandler { - char *identifier; - br_diag_warning_cbfn *message; - br_diag_failure_cbfn *error; -}; -struct br_colour_range { - br_colourlow; - br_colourhigh; -}; -struct br_matrix23 { - br_scalarm[3][2]; -}; -struct br_matrix23_f { - br_floatm[3][2]; -}; -struct br_matrix23_x { - br_fixed_lsm[3][2]; -}; -struct br_matrix34 { - br_scalarm[4][3]; -}; -struct br_matrix34_f { - br_floatm[4][3]; -}; -struct br_matrix34_x { - br_fixed_lsm[4][3]; -}; -struct br_matrix4 { - br_scalarm[4][4]; -}; -struct br_matrix4_f { - br_floatm[4][4]; -}; -struct br_matrix4_x { - br_fixed_lsm[4][4]; -}; -struct br_vector2 { - br_scalarv[2]; -}; -struct br_vector3 { - br_scalarv[3]; -}; -struct br_vector4 { - br_scalarv[4]; -}; -struct br_vector2_x { - br_fixed_lsv[2]; -}; -struct br_vector3_x { - br_fixed_lsv[3]; -}; -struct br_vector4_x { - br_fixed_lsv[4]; -}; -struct br_vector2_f { - br_floatv[2]; -}; -struct br_vector3_f { - br_floatv[3]; -}; -struct br_vector4_f { - br_floatv[4]; -}; -struct br_vector2_i { - br_int_32v[2]; -}; -struct br_vector3_i { - br_int_32v[3]; -}; -struct br_vector4_i { - br_int_32v[4]; -}; -struct br_fvector2 { - br_fractionv[2]; -}; -struct br_fvector3 { - br_fractionv[3]; -}; -struct br_fvector4 { - br_fractionv[4]; -}; -struct br_fvector2_f { - br_fraction_fv[2]; -}; -struct br_fvector3_f { - br_fraction_fv[3]; -}; -struct br_fvector4_f { - br_fractionv[4]; -}; -struct br_fvector2_x { - br_fraction_xv[2]; -}; -struct br_fvector3_x { - br_fraction_xv[3]; -}; -struct br_fvector4_x { - br_fraction_xv[4]; -}; -struct br_bounds2 { - br_vector2min; - br_vector2max; -}; -struct br_bounds3 { - br_vector3min; - br_vector3max; -}; -struct br_bounds4 { - br_vector4min; - br_vector4max; -}; -struct br_bounds2_f { - br_vector2_fmin; - br_vector2_fmax; -}; -struct br_bounds3_f { - br_vector3_fmin; - br_vector3_fmax; -}; -struct br_bounds4_f { - br_vector4_fmin; - br_vector4_fmax; -}; -struct br_bounds2_x { - br_vector2_xmin; - br_vector2_xmax; -}; -struct br_bounds3_x { - br_vector3_xmin; - br_vector3_xmax; -}; -struct br_bounds4_x { - br_vector4_xmin; - br_vector4_xmax; -}; -struct br_bounds2_i { - br_vector2_imin; - br_vector2_imax; -}; -struct br_bounds3_i { - br_vector3_imin; - br_vector3_imax; -}; -struct br_bounds4_i { - br_vector4_imin; - br_vector4_imax; -}; -struct br_euler { - br_anglea; - br_angleb; - br_anglec; - br_uint_8order; -}; -struct br_quat { - br_scalarx; - br_scalary; - br_scalarz; - br_scalarw; -}; -struct br_transform { - br_uint_16type; - struct { - br_matrix34mat; - struct { - br_eulere; - br_scalar_pad[7]; - br_vector3t; - }; - struct { - br_quatq; - br_scalar_pad[5]; - br_vector3t; - }; - struct { - br_vector3look; - br_vector3up; - br_scalar_pad[3]; - br_vector3t; - }; - struct { - br_scalar_pad[9]; - br_vector3t; - }; - }; -}; -struct br_pixelmap { - br_uint_32_reserved; - char *identifier; - void *pixels; - br_uint_32pixels_qualifier; - br_pixelmap *map; - br_colour_rangesrc_key; - br_colour_rangedst_key; - br_uint_32key; - br_int_16row_bytes; - br_int_16mip_offset; - br_uint_8type; - br_uint_8flags; - br_uint_16copy_function; - br_uint_16base_x; - br_uint_16base_y; - br_uint_16width; - br_uint_16height; - br_int_16origin_x; - br_int_16origin_y; - void *user; - void *stored; -}; -struct br_point { - br_int_32x; - br_int_32y; -}; -struct br_rectangle { - br_int_32x; - br_int_32y; - br_int_32w; - br_int_32h; -}; -struct br_font { - br_uint_32flags; - br_uint_16glyph_x; - br_uint_16glyph_y; - br_int_16spacing_x; - br_int_16spacing_y; - br_int_8 *width; - br_uint_16 *encoding; - br_uint_8 *glyphs; -}; -struct br_object { -}; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_token_value { - br_tokent; - br_valuev; -}; -struct br_pool_block { - br_pool_block *next; -}; -struct br_pool { - br_pool_block *free; - br_uint_32block_size; - br_uint_32chunk_size; - intmem_type; -}; -struct br_primitive { - br_primitive *next; - br_uint_32type; - void *stored; - void *v[3]; -}; -struct br_order_table { - br_primitive **table; - br_uint_16size; - br_order_table *next; - br_scalarmin_z; - br_scalarmax_z; - br_scalarsort_z; - br_scalarscale; - br_uint_32flags; - br_uint_16type; - br_uint_16visits; -}; -struct br_primitive_heap { - br_uint_8 *base; - br_size_tsize; - br_uint_8 *current; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -struct br_device { -}; -struct br_outfcty_desc { - br_int_32width; - br_int_32width_min; - br_int_32width_max; - br_int_32height; - br_int_32height_min; - br_int_32height_max; - br_uint_8pmtype; - br_int_32pmbits; - br_booleanindexed; - br_booleanfullscreen; -}; -struct br_renderer_facility { -}; -struct br_device_pixelmap { -}; -struct br_primitive_library { -}; -struct br_geometry { -}; -struct br_renderer { -}; -struct br_material { - br_uint_32_reserved; - char *identifier; - br_colourcolour; - br_uint_8opacity; - br_ufractionka; - br_ufractionkd; - br_ufractionks; - br_scalarpower; - br_uint_32flags; - br_matrix23map_transform; - br_uint_8index_base; - br_uint_8index_range; - br_pixelmap *colour_map; - br_pixelmap *screendoor; - br_pixelmap *index_shade; - br_pixelmap *index_blend; - br_pixelmap *index_fog; - br_token_value *extra_surf; - br_token_value *extra_prim; - br_scalarfog_min; - br_scalarfog_max; - br_colourfog_colour; - br_uint_32flags_ext; - br_pixelmap *colour_map_1; - br_matrix23map_transform_1; - br_int_8mip_modifier; - br_uint_8min_mip; - br_uint_8max_mip; - br_uint_8alpha_mode; - br_uint_8zbuffer_mode; - br_uint_8zbuffer_compare; - br_int_32subdivide_tolerance; - void *user; - void *stored; -}; -struct br_vertex { - br_vector3p; - br_vector2map; - br_uint_8index; - br_uint_8red; - br_uint_8grn; - br_uint_8blu; - br_uint_16_pad0; - br_fvector3n; -}; -struct br_face { - br_uint_16vertices[3]; - br_uint_16smoothing; - br_material *material; - br_uint_8index; - br_uint_8red; - br_uint_8grn; - br_uint_8blu; - br_uint_8flags; - br_uint_8_pad0; - br_uint_32_pad1; - br_fvector3n; - br_scalard; -}; -struct br_primitive_list { - br_primitive_list *next; - br_uint_32prim_type; - br_uint_16nprims; - br_uint_16nspares; - void *prim; - void *spare; -}; -struct br_vertex_single { - br_vector3p; - br_vector2map; - br_uint_8alpha; - br_uint_8red; - br_uint_8grn; - br_uint_8blu; - br_uint_16_pad0; - br_fvector3n; -}; -struct br_vertex_double { - br_vector3p; - br_vector2map0; - br_uint_8alpha0; - br_uint_8red0; - br_uint_8grn0; - br_uint_8blu0; - br_vector2map1; - br_uint_8alpha1; - br_uint_8red1; - br_uint_8grn1; - br_uint_8blu1; - br_fvector3n; -}; -struct br_point_prim { - br_uint_16vertices[1]; - br_material *material; -}; -struct br_line { - br_uint_16vertices[2]; - br_material *material; - br_uint_8alpha0; - br_uint_8red0; - br_uint_8grn0; - br_uint_8blu0; - br_uint_8alpha1; - br_uint_8red1; - br_uint_8grn1; - br_uint_8blu1; -}; -struct br_triangle { - br_uint_16vertices[3]; - br_uint_16smoothing; - br_material *material; - br_uint_8alpha0; - br_uint_8red0; - br_uint_8grn0; - br_uint_8blu0; - br_uint_8alpha1; - br_uint_8red1; - br_uint_8grn1; - br_uint_8blu1; - br_uint_8flags; - br_fvector3n; - br_scalard; -}; -struct br_quad { - br_uint_16vertices[4]; - br_uint_16smoothing; - br_material *material; - br_uint_8alpha0; - br_uint_8red0; - br_uint_8grn0; - br_uint_8blu0; - br_uint_8alpha1; - br_uint_8red1; - br_uint_8grn1; - br_uint_8blu1; - br_uint_8flags; - br_fvector3n; - br_scalard; -}; -struct br_strip_face_data { - br_uint_16smoothing; - br_uint_8alpha0; - br_uint_8red0; - br_uint_8grn0; - br_uint_8blu0; - br_uint_8alpha1; - br_uint_8red1; - br_uint_8grn1; - br_uint_8blu1; - br_uint_8flags; - br_fvector3n; - br_scalard; -}; -struct br_tri_strip { - br_uint_16nvertices; - br_uint_16 *vertices; - br_material *material; - br_strip_face_data *face_data; -}; -struct br_actor { - br_actor *next; - br_actor **prev; - br_actor *children; - br_actor *parent; - br_uint_16depth; - br_uint_8type; - char *identifier; - br_model *model; - br_material *material; - br_uint_8render_style; - void *render_data; - br_transformt; - void *type_data; - void *user; -}; -struct br_model { - br_uint_32_reserved; - char *identifier; - br_vertex *vertices; - br_face *faces; - br_uint_16nvertices; - br_uint_16nfaces; - br_vector3pivot; - br_uint_16flags; - br_model_custom_cbfn *custom; - void *user; - br_anglecrease_angle; - br_scalarradius; - br_boundsbounds; - void *prepared; - void *stored; - br_uint_16nprimitive_lists; - br_primitive_list *primitive_list; -}; -struct br_camera { - char *identifier; - br_uint_8type; - br_anglefield_of_view; - br_scalarhither_z; - br_scalaryon_z; - br_scalaraspect; - br_scalarwidth; - br_scalarheight; - br_scalardistance; - void *user; -}; -struct br_light { - char *identifier; - br_uint_8type; - br_colourcolour; - br_scalarattenuation_c; - br_scalarattenuation_l; - br_scalarattenuation_q; - br_anglecone_outer; - br_anglecone_inner; - void *user; -}; -struct br_fmt_results { - br_actor **actors; - br_model **models; - br_light **lights; - br_camera **cameras; - br_vector4 **clip_planes; - br_bounds3 **bounds; - br_bounds3 **bounds_correct; - br_material **materials; - br_pixelmap **pixelmaps; - br_uint_32nactors; - br_uint_32nmodels; - br_uint_32nlights; - br_uint_32ncameras; - br_uint_32nclip_planes; - br_uint_32nbounds; - br_uint_32nbounds_correct; - br_uint_32nmaterials; - br_uint_32npixelmaps; -}; -struct br_fmt_options { - br_uint_32convert_flags; -}; -struct br_3ds_options { - br_uint_32flags; - br_scalarhither; - br_scalaryon; - br_scalarscale; - br_fmt_report_cbfn *report; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -typedef struct br_node br_node; -typedef struct br_list br_list; -typedef struct br_simple_node br_simple_node; -typedef struct br_simple_list br_simple_list; -typedef struct br_registry_entry br_registry_entry; -typedef struct br_registery br_registry; -typedef struct br_active_light br_active_light; -typedef struct br_active_clip_plane br_active_clip_plane; -typedef struct br_framework_state br_framework_state; -typedef void* br_find_failed_cbfn(char*); -typedef br_uint_32 br_enum_cbfn(void*, void*); -typedef void br_surface_fn(br_vertex*, br_fvector3*, br_scalar*); -typedef br_uint_32 br_face_surface_fn(br_vertex*, br_face*); -typedef void br_light_sub_fn(br_vector3*, br_fvector3*, br_active_light*, br_scalar*); -typedef void br_model_update_cbfn(br_model*); -typedef void br_material_update_cbfn(br_material*); -typedef void br_table_update_cbfn(br_pixelmap*); -typedef void br_map_update_cbfn(br_pixelmap*); -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -struct br_node { - br_node *next; - br_node *prev; -}; -struct br_list { - br_node *head; - br_node *_null; - br_node *tail; -}; -struct br_simple_node { - br_simple_node *next; - br_simple_node **prev; -}; -struct br_simple_list { - br_simple_node *head; -}; -struct br_registry_entry { - br_nodenode; - char **item; -}; -struct br_registery { - br_listlist; - intcount; - br_find_failed_cbfn *find_failed_hook; -}; -struct br_active_light { - br_scalarintensity; - br_vector3view_position; - br_vector3view_direction; - br_vector3position; - br_vector3direction; - br_vector3half; - br_scalarspot_cosine_outer; - br_scalarspot_cosine_inner; - void (*light_sub_function)(br_vector3*, br_fvector3*, br_active_light*, br_scalar*); - inttype; - br_light *light; -}; -struct br_active_clip_plane { - br_vector4screen_plane; -}; -struct br_framework_state { - br_surface_fn *surface_fn; - br_surface_fn *surface_fn_after_map; - br_surface_fn *surface_fn_after_copy; - br_face_surface_fn *face_surface_fn; - br_matrix23map_transform; - br_scalarindex_base; - br_scalarindex_range; - br_matrix4model_to_screen; - br_matrix4view_to_screen; - br_matrix34model_to_view; - br_matrix34view_to_model; - br_matrix34model_to_environment; - struct { - br_matrix34m; - br_actor *a; - }; - intvtos_type; - br_vector3eye_m; - br_vector3eye_m_normalised; - br_material *material; - br_active_lightactive_lights_model[16]; - br_active_lightactive_lights_view[16]; - br_uint_16nactive_lights_model; - br_uint_16nactive_lights_view; - intlight_is_1md; - br_vector3eye_l; - br_active_clip_planeactive_clip_planes[6]; - br_uint_16nactive_clip_planes; - br_actor *enabled_lights[16]; - br_actor *enabled_clip_planes[6]; - br_actor *enabled_environment; - br_pixelmap *output; - br_scalarvp_width; - br_scalarvp_height; - br_scalarvp_ox; - br_scalarvp_oy; - intrendering; - br_registryreg_models; - br_registryreg_materials; - br_registryreg_textures; - br_registryreg_tables; - br_registryreg_resource_classes; - br_resource_class *resource_class_index[256]; - br_model_update_cbfn *model_update; - br_material_update_cbfn *material_update; - br_table_update_cbfn *table_update; - br_map_update_cbfn *map_update; - br_filesystem *fsys; - br_allocator *mem; - br_errorhandler *err; - intopen_mode; - void *res; - br_model *default_model; - br_material *default_material; - fw_fn_tablefn_table; - void *scratch_ptr; - br_size_tscratch_size; - br_size_tscratch_last; - intscratch_inuse; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -typedef struct br_registery br_registry; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -struct br_registery { - br_listlist; - intcount; - br_find_failed_cbfn *find_failed_hook; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef br_error br_exception; -typedef void br_resident_fn(); -typedef struct br_tv_template_entry br_tv_template_entry; -typedef struct br_tv_template br_tv_template; -typedef struct br_object_container br_object_container; -typedef struct br_object_container_dispatch br_object_container_dispatch; -typedef struct br_device_dispatch br_device_dispatch; -typedef struct br_object_dispatch br_object_dispatch; -typedef struct br_value_tag br_value; -struct br_tv_template_entry { - br_tokentoken; - char *name; - br_int_32offset; - br_int_16flags; - br_int_16conv; - br_int_32conv_arg; - br_int_32mask; -}; -struct br_tv_template { - intn_entries; - br_tv_template_entry *entries; - br_int_32map_base; - br_int_32n_map_entries; - br_tv_template_entry **map_query_entry; - br_tv_template_entry **map_set_entry; - br_booleannames_resolved; - void *res; -}; -struct br_object_container { - br_object_container_dispatch *dispatch; -}; -struct br_object_container_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*, br_object*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*, br_object*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); -}; -struct br_device_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*, br_object*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*, br_object*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); -}; -struct br_object_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); -}; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -typedef struct br_geometry_stored br_geometry_stored; -typedef struct br_renderer_state_stored_dispatch br_renderer_state_stored_dispatch; -typedef struct br_renderer_state_stored br_renderer_state_stored; -typedef struct br_buffer_stored br_buffer_stored; -typedef struct br_device_pixelmap_dispatch br_device_pixelmap_dispatch; -typedef struct br_buffer_stored_dispatch br_buffer_stored_dispatch; -typedef struct brp_vertex brp_vertex; -typedef struct br_renderer_dispatch br_renderer_dispatch; -typedef struct br_geometry_stored_dispatch br_geometry_stored_dispatch; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_geometry_stored { - br_geometry_stored_dispatch *dispatch; -}; -struct br_renderer_state_stored_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); -}; -struct br_renderer_state_stored { - br_renderer_state_stored_dispatch *dispatch; -}; -struct br_buffer_stored { - br_buffer_stored_dispatch *dispatch; -}; -struct br_device_pixelmap_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - br_error (*_validSource)(br_device_pixelmap*, br_boolean*, br_object*); - br_error (*_resize)(br_device_pixelmap*, br_int_32); - br_error (*_match)(br_device_pixelmap*, br_device_pixelmap**, br_token_value*); - br_error (*_allocateSub)(br_device_pixelmap*, br_device_pixelmap**, br_rectangle*); - br_error (*_copy)(br_device_pixelmap*, br_device_pixelmap*); - br_error (*_copyTo)(br_device_pixelmap*, br_device_pixelmap*); - br_error (*_copyFrom)(br_device_pixelmap*, br_device_pixelmap*); - br_error (*_fill)(br_device_pixelmap*); - br_error (*_doubleBuffer)(br_device_pixelmap*, br_device_pixelmap*); - br_error (*_copyDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); - br_error (*_copyToDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); - br_error (*_copyFromDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); - br_error (*_fillDirty)(br_device_pixelmap*, br_uint_32, br_rectangle*); - br_error (*_doubleBufferDirty)(br_device_pixelmap*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangle)(br_device_pixelmap*, br_rectangle*); - br_error (*_rectangle2)(br_device_pixelmap*, br_rectangle*, br_uint_32); - br_error (*_rectangleCopy)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleCopyTo)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleCopyFrom)(br_device_pixelmap*, br_point*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleStretchCopy)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleStretchCopyTo)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleStretchCopyFrom)(br_device_pixelmap*, br_rectangle*, br_device_pixelmap*, br_rectangle*); - br_error (*_rectangleFill)(br_device_pixelmap*, br_rectangle*); - br_error (*_pixelSet)(br_device_pixelmap*, br_point*); - br_error (*_line)(br_device_pixelmap*, br_point*, br_point*); - br_error (*_copyBits)(br_device_pixelmap*, br_point*, br_uint_8*, br_uint_16); - br_error (*_text)(br_device_pixelmap*, br_point*, br_font*, char*); - br_error (*_textBounds)(br_device_pixelmap*, br_rectangle*, br_font*); - br_error (*_rowSize)(br_device_pixelmap*, br_size_t*); - br_error (*_rowSet)(br_device_pixelmap*, void*); - br_error (*_rowQuery)(br_device_pixelmap*, void*); - br_error (*_pixelQuery)(br_device_pixelmap*, br_uint_32*, br_point*); - br_error (*_pixelAddressQuery)(br_device_pixelmap*, void**, br_uint_32*, br_point*); - br_error (*_pixelAddressSet)(br_device_pixelmap*, void*); - br_error (*_originSet)(br_device_pixelmap*, br_point*); - br_error (*_flush)(br_device_pixelmap*); - br_error (*_synchronise)(br_device_pixelmap*, br_token); - br_error (*_directLock)(br_device_pixelmap*); - br_error (*_directUnlock)(br_device_pixelmap*); -}; -struct br_buffer_stored_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - br_error (*_update)(br_buffer_stored*, br_device_pixelmap*, br_token_value*); -}; -struct brp_vertex { -}; -struct br_renderer_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token, br_token_value*); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*, br_object*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*, br_object*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token, char*); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); - br_error (*_validDestination)(br_renderer*, br_boolean*, br_object*); - br_error (*_stateStoredNew)(br_renderer*, br_renderer_state_stored**, br_uint_32); - br_error (*_stateStoredAvail)(br_renderer*, br_int_32*, br_uint_32); - br_error (*_bufferStoredNew)(br_renderer*, br_buffer_stored**, br_token, br_device_pixelmap*, br_token_value*); - br_error (*_bufferStoredAvail)(br_renderer*, br_int_32*, br_token, br_token_value*); - br_error (*_partSet)(br_renderer*, br_token, br_int_32, br_token); - br_error (*_partSetMany)(br_renderer*, br_token, br_int_32, br_token_value*); - br_error (*_partQuery)(br_renderer*, br_token, br_int_32, br_uint_32*); - br_error (*_partQueryBuffer)(br_renderer*, br_token, br_int_32, br_uint_32*, br_uint_32*, br_size_t); - br_error (*_partQueryMany)(br_renderer*, br_token, br_int_32, br_token_value*, void*); - br_error (*_partQueryManySize)(br_renderer*, br_token, br_int_32, br_size_t*); - br_error (*_partQueryAll)(br_renderer*, br_token, br_int_32, br_token_value*); - br_error (*_partQueryAllSize)(br_renderer*, br_token, br_int_32); - br_error (*_partIndexQuery)(br_renderer*, br_token, br_int_32*); - br_error (*_modelMulF)(br_renderer*, br_matrix34_f*); - br_error (*_modelMulX)(br_renderer*, br_matrix34_x*); - br_error (*_modelPopPushMulF)(br_renderer*, br_matrix34_f*); - br_error (*_modelPopPushMulX)(br_renderer*, br_matrix34_x*); - br_error (*_modelInvert)(br_renderer*); - br_error (*_statePush)(br_renderer*); - br_error (*_statePop)(br_renderer*); - br_error (*_stateSave)(br_renderer*, br_renderer_state_stored*); - br_error (*_stateRestore)(br_renderer*, br_renderer_state_stored*); - br_error (*_stateMask)(br_renderer*, br_uint_32*, br_token*); - br_error (*_stateDefault)(br_renderer*); - br_error (*_boundsTestF)(br_renderer*, br_token*, br_bounds3_f*); - br_error (*_boundsTestX)(br_renderer*, br_token*, br_bounds3_x*); - br_error (*_coverageTestF)(br_renderer*, br_float*, br_bounds3_f*); - br_error (*_coverageTestX)(br_renderer*, br_fixed_ls*, br_bounds3_x*); - br_error (*_viewDistanceF)(br_renderer*, br_float*); - br_error (*_viewDistanceX)(br_renderer*, br_fixed_ls*); - br_error (*_commandModeSet)(br_renderer*, br_token); - br_error (*_commandModeQuery)(br_renderer*, br_token*); - br_error (*_commandModeDefault)(br_renderer*); - br_error (*_commandModePush)(br_renderer*); - br_error (*_commandModePop)(br_renderer*); - br_error (*_flush)(br_renderer*); - br_error (*_synchronise)(br_renderer*, br_token); - br_error (*_testRender)(br_renderer*, br_token, brp_vertex*, brp_vertex*, brp_vertex*); - br_error (*_partQueryCapability)(br_renderer*, br_token, br_int_32, br_token_value*); - br_error (*_stateQueryPerformance)(br_renderer*, br_fixed_lu*); -}; -struct br_geometry_stored_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*); - br_error (*_queryAll)(br_object*, br_token_value*); - br_error (*_queryAllSize)(br_object*, br_size_t*); - br_error (*_render)(br_geometry_stored*, br_renderer*); - br_error (*_renderOnScreen)(br_geometry_stored*, br_renderer*); -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef br_datafile br_datafile; -typedef struct br_file_struct_member br_file_struct_member; -typedef struct br_file_struct br_file_struct; -typedef struct br_file_primitives br_file_primitives; -typedef struct br_chunks_table_entry br_chunks_table_entry; -typedef struct br_chunks_table br_chunks_table; -typedef struct br_file_enum_member br_file_enum_member; -typedef struct br_file_enum br_file_enum; -typedef struct br_value_tag br_value; -struct br_file_struct_member { - br_uint_16type; - br_uint_32offset; - char *name; - void *extra; -}; -struct br_file_struct { - char *name; - br_uint_32nmembers; - br_file_struct_member *members; - intmem_size; -}; -struct br_file_primitives { - char *identifier; - int (*skip)(br_datafile*, br_uint_32); - int (*chunk_write)(br_datafile*, br_uint_32, br_uint_32); - int (*chunk_read)(br_datafile*, br_uint_32*); - void (*count_write)(br_datafile*, br_uint_32); - br_uint_32 (*count_read)(br_datafile*); - int (*count_size)(br_datafile*); - br_uint_32 (*struct_write)(br_datafile*, br_file_struct*, void*, char); - br_uint_32 (*struct_read)(br_datafile*, br_file_struct*, void*, char); - int (*struct_size)(br_datafile*, br_file_struct*, void*, char); - int (*block_write)(br_datafile*, void*, int, int, int, int); - void* (*block_read)(br_datafile*, void*, int*, int, int); - int (*block_size)(br_datafile*, void*, int, int, int, int); - int (*name_write)(br_datafile*, char*); - char* (*name_read)(br_datafile*, char*); - int (*name_size)(br_datafile*, char*); -}; -struct br_chunks_table_entry { - br_uint_32id; - br_uint_8has_count; - int (*handler)(br_datafile*, br_uint_32); -}; -struct br_chunks_table { - intnentries; - br_chunks_table_entry *entries; -}; -struct br_file_enum_member { - intvalue; - char *name; -}; -struct br_file_enum { - br_uint_32nmembers; - br_file_enum_member *members; -}; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -typedef struct br_device_clut br_device_clut; -typedef struct br_device_clut_dispatch br_device_clut_dispatch; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_device_clut { - br_device_clut_dispatch *dispatch; -}; -struct br_device_clut_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - br_error (*_entrySet)(br_device_clut*, br_int_32); - br_error (*_entryQuery)(br_device_clut*, br_colour*); - br_error (*_entrySetMany)(br_device_clut*, br_int_32, br_int_32); - br_error (*_entryQueryMany)(br_device_clut*, br_colour*, br_int_32); -}; -typedef struct br_image br_image; -typedef struct br_image_section br_image_section; -typedef struct br_registery br_registry; -typedef struct br_value_tag br_value; -typedef struct br_open_device br_open_device; -typedef struct br_associative_array_tag br_associative_array; -struct br_image { - br_nodenode; - char *identifier; - br_int_32type; - br_int_32ref_count; - br_uint_32ordinal_base; - br_uint_32n_functions; - void **functions; - br_uint_32n_names; - char **names; - br_uint_16 *name_ordinals; - br_uint_16n_imports; - br_image **imports; - br_uint_16n_sections; - br_image_section *sections; - void *type_pointer; -}; -struct br_image_section { - char *name; - void *base; - br_size_tmem_offset; - br_size_tmem_size; - br_uint_32data_offset; - br_uint_32data_size; -}; -struct br_registery { - br_listlist; - intcount; - br_find_failed_cbfn *find_failed_hook; -}; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_open_device { - br_device *dev; - br_image *image; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -typedef struct br_geometry_dispatch br_geometry_dispatch; -typedef struct br_geometry_lighting br_geometry_lighting; -typedef struct br_geometry_lighting_dispatch br_geometry_lighting_dispatch; -typedef struct br_v1db_enable br_v1db_enable; -typedef struct br_registery br_registry; -typedef struct br_v1db_state br_v1db_state; -typedef struct br_renderer_facility_dispatch br_renderer_facility_dispatch; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_geometry_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); -}; -struct br_geometry_lighting { - br_geometry_lighting_dispatch *dispatch; -}; -struct br_geometry_lighting_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - br_error (*_renderF)(br_geometry_lighting*, br_renderer*, br_vector3_f*, br_vector3_f*, br_colour*, br_colour*, br_uint_16*, int, int); - br_error (*_renderX)(br_geometry_lighting*, br_renderer*, br_vector3_x*, br_vector3_x*, br_colour*, br_colour*, br_uint_16*, int, int); -}; -struct br_v1db_enable { - br_int_32max; - br_int_32count; - br_int_32type; - char *name; - br_actor **enabled; -}; -struct br_registery { - br_listlist; - intcount; - br_find_failed_cbfn *find_failed_hook; -}; -struct br_v1db_state { - br_booleanactive; - br_booleanzs_active; - br_booleanzb_active; - br_int_32rendering; - br_renderer *renderer; - br_renderer *query_renderer; - br_geometry *format_model; - br_geometry *format_buckets; - br_geometry_lighting *format_lighting; - br_matrix4model_to_screen; - br_matrix34model_to_view; - br_booleanmodel_to_screen_valid; - br_uint_32ttype; - br_actor *render_root; - struct { - br_matrix34m; - br_actor *a; - br_uint_8transform_type; - }; - br_v1db_enableenabled_lights; - br_v1db_enableenabled_clip_planes; - br_v1db_enableenabled_horizon_planes; - br_int_32max_light; - br_int_32max_clip; - br_actor *enabled_environment; - br_registryreg_models; - br_registryreg_materials; - br_registryreg_textures; - br_registryreg_tables; - void *res; - br_model *default_model; - br_material *default_material; - void *default_render_data; - br_order_table *default_order_table; - br_order_table *primary_order_table; - br_order_table *order_table_list; - br_primitive_heapheap; - br_primitive_cbfn *primitive_call; - br_renderbounds_cbfn *bounds_call; - br_vector2origin; - br_scalarvp_ox; - br_scalarvp_oy; - br_scalarvp_width; - br_scalarvp_height; - br_pixelmap *colour_buffer; -}; -struct br_renderer_facility_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_fixed_lsf); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_fixed_lsf); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); - br_error (*_validDestination)(br_renderer_facility*, br_boolean*, br_object*); - br_error (*_rendererNew)(br_renderer_facility*, br_renderer**, br_token_value*); -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -typedef struct br_output_facility br_output_facility; -typedef struct br_output_facility_dispatch br_output_facility_dispatch; -typedef struct br_primitive_state br_primitive_state; -typedef struct brp_block brp_block; -typedef struct br_primitive_state_dispatch br_primitive_state_dispatch; -typedef struct br_primitive_library_dispatch br_primitive_library_dispatch; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_output_facility { - br_output_facility_dispatch *dispatch; -}; -struct br_output_facility_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); - br_error (*_validSource)(br_output_facility*, br_boolean*, br_object*); - br_error (*_pixelmapNew)(br_output_facility*, br_device_pixelmap**, br_token_value*); - br_error (*_clutNew)(br_output_facility*, br_device_clut**, br_token_value*); - br_error (*_queryCapability)(br_output_facility*, br_token_value*, br_token_value*); -}; -struct br_primitive_state { - br_primitive_state_dispatch *dispatch; -}; -struct brp_block { -}; -struct br_primitive_state_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - br_error (*_partSet)(br_primitive_state*, br_token, br_int_32); - br_error (*_partSetMany)(br_primitive_state*, br_token, br_int_32, br_token_value*); - br_error (*_partQuery)(br_primitive_state*, br_token, br_int_32); - br_error (*_partQueryBuffer)(br_primitive_state*, br_token, br_int_32, br_uint_32*, br_uint_32*); - br_error (*_partQueryMany)(br_primitive_state*, br_token, br_int_32, br_token_value*, void*); - br_error (*_partQueryManySize)(br_primitive_state*, br_token, br_int_32, br_size_t*); - br_error (*_partQueryAll)(br_primitive_state*, br_token, br_int_32); - br_error (*_partQueryAllSize)(br_primitive_state*, br_token, br_int_32); - br_error (*_partIndexQuery)(br_primitive_state*, br_token); - br_error (*_stateDefault)(br_primitive_state*); - br_error (*_stateCopy)(br_primitive_state*, br_primitive_state*); - br_error (*_renderBegin)(br_primitive_state*, brp_block**, br_boolean*, br_boolean*, br_boolean); - br_error (*_renderEnd)(br_primitive_state*, brp_block*); - br_error (*_rangesQueryF)(br_primitive_state*, br_float*, br_float*); - br_error (*_rangesQueryX)(br_primitive_state*, br_fixed_ls*, br_fixed_ls*); - br_error (*_partQueryCapability)(br_primitive_state*, br_token, br_int_32); - br_error (*_stateQueryPerformance)(br_primitive_state*, br_fixed_lu*); -}; -struct br_primitive_library_dispatch { - void (*__reserved0)(br_object*); - void (*__reserved1)(br_object*); - void (*__reserved2)(br_object*); - void (*__reserved3)(br_object*); - void (*_free)(br_object*); - char* (*_identifier)(br_object*); - br_token (*_type)(br_object*); - br_boolean (*_isType)(br_object*, br_token); - br_device* (*_device)(br_object*); - br_int_32 (*_space)(br_object*); - br_tv_template* (*_templateQuery)(br_object*); - br_error (*_query)(br_object*, br_uint_32*, br_token, char); - br_error (*_queryBuffer)(br_object*, br_uint_32*, void*, br_size_t, br_token, char); - br_error (*_queryMany)(br_object*, br_token_value*, void*, br_size_t, br_int_32*, char, br_resourcefree_cbfn); - br_error (*_queryManySize)(br_object*, br_size_t*, br_token_value*, char, br_resourcefree_cbfn); - br_error (*_queryAll)(br_object*, br_token_value*, br_size_t, char); - br_error (*_queryAllSize)(br_object*, br_size_t*, char); - void* (*_listQuery)(br_object_container*); - void* (*_tokensMatchBegin)(br_object_container*, br_token); - br_boolean (*_tokensMatch)(br_object_container*, br_object*); - void (*_tokensMatchEnd)(br_object_container*); - br_error (*_addFront)(br_object_container*); - br_error (*_removeFront)(br_object_container*, br_object**); - br_error (*_remove)(br_object_container*); - br_error (*_find)(br_object_container*, br_object**, br_token, char*); - br_error (*_findMany)(br_object_container*, br_object**, br_int_32, br_int_32*, br_token); - br_error (*_count)(br_object_container*, br_int_32*, br_token, char*); - br_error (*_stateNew)(br_primitive_library*, br_primitive_state**); - br_error (*_bufferStoredNew)(br_primitive_library*, br_buffer_stored**, br_token, br_device_pixelmap*); - br_error (*_bufferStoredAvail)(br_primitive_library*, br_int_32*, br_token); - br_error (*_flush)(br_primitive_library*); - br_error (*_synchronise)(br_primitive_library*, br_token); - br_error (*_mask)(br_primitive_library*, br_uint_32*, br_token*); -}; -typedef struct br_registery br_registry; -struct br_registery { - br_listlist; - intcount; - br_find_failed_cbfn *find_failed_hook; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_file br_file; -struct br_file { - void *raw_file; - br_booleanwriting; - intmode; - charname[1]; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_lexer_source br_lexer_source; -typedef struct br_lexer_token br_lexer_token; -typedef struct br_lexer_keyword br_lexer_keyword; -typedef struct br_lexer br_lexer; - -typedef enum br_lexer_token_id { - T_EOF = 0, - T_ERROR = 1, - T_IDENT = 2, - T_STRING = 3, - T_INTEGER = 4, - T_REAL = 5, - T_EXCLAM = 33, - T_DQUOTE = 34, - T_HASH = 35, - T_DOLLAR = 36, - T_PERCENT = 37, - T_AMPERSAND = 38, - T_RQUOTE = 39, - T_LPAREN = 40, - T_RPAREN = 41, - T_ASTERISK = 42, - T_PLUS = 43, - T_COMMA = 44, - T_DASH = 45, - T_PERIOD = 46, - T_SLASH = 47, - T_COLON = 58, - T_SEMICOLON = 59, - T_LANGLE = 60, - T_EQUAL = 61, - T_RANGLE = 62, - T_QUERY = 63, - T_COMAT = 64, - T_LSQUARE = 91, - T_BSLASH = 92, - T_RSQUARE = 93, - T_CARET = 94, - T_UNDERBAR = 95, - T_LQUOTE = 96, - T_LBRACE = 123, - T_VBAR = 124, - T_RBRACE = 125, - T_TILDE = 126, - T_KEYWORD = 128 -} br_lexer_token_id; - -typedef void br_lexer_getchar_cbfn(br_lexer_source*); -typedef void br_lexer_error_cbfn(br_lexer*, char*); -struct br_lexer_source { - br_lexer_source *prev; - char *name; - br_int_32line; - br_int_32next; - br_lexer_getchar_cbfn *getchar; - void *ptr; -}; -struct br_lexer_token { - br_lexer_token_idid; - struct { - br_int_32integer; - floatreal; - char *string; - }; -}; -struct br_lexer_keyword { - char *name; - br_int_32id; -}; -struct br_lexer { - br_lexer_source *source; - br_lexer_tokencurrent; - br_lexer_keyword *keywords; - br_int_32nkeywords; - chareol_comment; - void (*advance)(br_lexer*); - br_putline_cbfn *putline; - void *putline_arg; - char *string_buffer; - br_int_32string_buffer_size; - br_lexer_error_cbfn *error; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -typedef struct br_tv_custom br_tv_custom; -typedef br_error br_tv_custom_query_cbfn(br_uint_32*, void**, br_size_t*, void*, br_tv_template_entry*, br_uint_8*); -typedef br_error br_tv_custom_set_cbfn(void*, br_uint_32*, br_tv_template_entry*); -typedef br_size_t br_tv_custom_extra_size_cbfn(void*, br_tv_template_entry*); -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_tv_custom { - br_tv_custom_query_cbfn *query; - br_tv_custom_set_cbfn *set; - br_tv_custom_extra_size_cbfn *extra_size; -}; -typedef struct br_token_entry br_token_entry; -struct br_token_entry { - br_nodenode; - char *identifier; - br_int_32type; - br_tokentoken; - br_int_32base_length; -}; -typedef struct br_exception_handler br_exception_handler; -struct br_exception_handler { - br_exception_handler *prev; - jmp_bufcontext; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -typedef struct br_pixelmap_state br_pixelmap_state; -struct br_pixelmap_state { - void *res; - br_tv_template *device_pixelmap_template; - br_tv_template *pixelmap_match_template; -}; -typedef struct br_value_tag br_value; -typedef struct br_associative_array_tag br_associative_array; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; -struct br_associative_array_tag { - br_token_value *tv; - br_uint_16num_elements; - br_uint_16max_elements; -}; -typedef struct br_value_tag br_value; -struct br_value_tag { - br_uint_32u32; - br_booleanb; - void *p; - br_tokent; - br_int_8i8; - br_uint_8u8; - br_int_16i16; - br_uint_16u16; - br_int_32i32; - br_fixed_lsx; - br_floatf; - br_scalars; - br_anglea; - br_colourrgb; - br_object *o; - br_vector2_i *v2_i; - br_vector3_i *v3_i; - br_vector4_i *v4_i; - br_vector2_x *v2_x; - br_vector3_x *v3_x; - br_vector4_x *v4_x; - br_vector2_f *v2_f; - br_vector3_f *v3_f; - br_vector4_f *v4_f; - br_matrix23_x *m23_x; - br_matrix34_x *m34_x; - br_matrix4_x *m4_x; - br_matrix23_f *m23_f; - br_matrix34_f *m34_f; - br_matrix4_f *m4_f; - char *str; - char *cstr; - br_object **hl; - br_token *tl; - void **pl; - br_token_value *tvl; -}; - -#endif \ No newline at end of file diff --git a/types/dr_types.h b/types/dr_types.h deleted file mode 100644 index 6db9099f..00000000 --- a/types/dr_types.h +++ /dev/null @@ -1,30945 +0,0 @@ -#ifndef DR_TYPES_H -#define DR_TYPES_H - -#include "br_types.h" - -typedef unsigned short wchar_t; -typedef unsigned int size_t; -typedef struct __iobuf FILE; -typedef long fpos_t; -typedef struct div_t div_t; -typedef struct ldiv_t ldiv_t; -typedef void * onexit_t(); -typedef struct _complex _complex; -typedef struct complex complex; -typedef struct exception exception; -typedef struct ot_vertex ot_vertex; -typedef short SHORT; -typedef unsigned short USHORT; -typedef int INT; -typedef int BOOL; -typedef unsigned int UINT; -typedef unsigned char BYTE; -typedef unsigned short WORD; -typedef unsigned int W32; -typedef unsigned short W16; -typedef long LONG; -typedef unsigned long DWORD; -typedef BYTE * PBYTE; -typedef char * PSTR; -typedef WORD * PWORD; -typedef unsigned short * PSHORT; -typedef LONG * PLONG; -typedef void * PVOID; -typedef BYTE * LPBYTE; -typedef BYTE * LPSTR; -typedef WORD * LPWORD; -typedef W32 * LPW32; -typedef LONG * LPLONG; -typedef void * LPVOID; -typedef BYTE * HPBYTE; -typedef BYTE * HPSTR; -typedef LONG * HPLONG; -typedef void * HPVOID; -typedef unsigned int HANDLE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _HMI_REGS _HMI_REGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _PACKET _PACKET; -typedef struct _REAL_PACKET _REAL_PACKET; -typedef struct _ECB_PACKET _ECB_PACKET; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _PROT_PTR _PROT_PTR; -typedef struct _REAL_PTR _REAL_PTR; -typedef struct _PTR _PTR; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct _NETNOW_NODE_ADDR _NETNOW_NODE_ADDR; -typedef struct tPD_net_player_info tPD_net_player_info; -typedef unsigned char tU8; -typedef signed char tS8; -typedef unsigned short tU16; -typedef short tS16; -typedef unsigned long tU32; -typedef long tS32; -typedef float tF32; -typedef double tF64; -typedef short tX88; -typedef long tX1616; -typedef struct tTrack_spec tTrack_spec; -typedef struct tCrush_neighbour tCrush_neighbour; -typedef struct tCrush_point_spec tCrush_point_spec; -typedef struct tCrush_data tCrush_data; -typedef struct tSpecial_volume tSpecial_volume; -typedef tU8 tNet_message_type; -typedef struct tReduced_matrix tReduced_matrix; -typedef struct tCar_controls tCar_controls; -typedef struct tNet_message_mechanics_info tNet_message_mechanics_info; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tDamage_unit tDamage_unit; -typedef struct tDamage_condition tDamage_condition; -typedef struct tDamage_effect tDamage_effect; -typedef struct tDamage_clause tDamage_clause; -typedef struct tDamage_program tDamage_program; -typedef struct tHeadup_slot tHeadup_slot; -typedef struct tPart_info tPart_info; -typedef struct tParts_spec tParts_spec; -typedef struct tCar_actor tCar_actor; -typedef struct tJoystick tJoystick; -typedef char * tS3_sound_source_ptr; -typedef struct tPursuee_trail tPursuee_trail; -typedef int tS3_sound_tag; -typedef struct tOppo_psyche tOppo_psyche; -typedef struct tComplete_race_data tComplete_race_data; -typedef struct tReturn_to_start_data tReturn_to_start_data; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct tPursue_car_data tPursue_car_data; -typedef struct tFollow_path_data tFollow_path_data; -typedef struct tLevitate_data tLevitate_data; -typedef struct tRun_away_data tRun_away_data; -typedef struct tRoute_section tRoute_section; -typedef struct tOpponent_spec tOpponent_spec; -typedef struct tIntelligent_vehicles tIntelligent_vehicles; -typedef struct tBounds tBounds; -typedef struct tFace_ref tFace_ref; -typedef tU32 tPlayer_ID; -typedef struct tNet_game_player_info tNet_game_player_info; -typedef struct tNet_game_options tNet_game_options; -typedef struct tNet_game_status tNet_game_status; -typedef struct tNet_game_details tNet_game_details; -typedef struct tNet_message_send_me_details tNet_message_send_me_details; -typedef struct tNet_message_my_details tNet_message_my_details; -typedef struct tNet_message_join tNet_message_join; -typedef struct tNet_message_leave tNet_message_leave; -typedef struct tNet_message_host_pissing_off tNet_message_host_pissing_off; -typedef struct tNet_message_new_player_list tNet_message_new_player_list; -typedef struct tNet_message_race_over tNet_message_race_over; -typedef struct tNet_message_status_report tNet_message_status_report; -typedef struct tGrid_spec tGrid_spec; -typedef struct tNet_message_start_race tNet_message_start_race; -typedef struct tNet_message_guarantee_reply tNet_message_guarantee_reply; -typedef struct tNet_message_headup tNet_message_headup; -typedef struct tNet_message_host_query tNet_message_host_query; -typedef struct tNet_message_host_reply tNet_message_host_reply; -typedef struct tNet_message_cop_info tNet_message_cop_info; -typedef struct tNet_message_non_car_info tNet_message_non_car_info; -typedef struct tNet_message_non_car_position tNet_message_non_car_position; -typedef struct tNet_message_time_sync tNet_message_time_sync; -typedef struct tNet_message_players_confirm tNet_message_players_confirm; -typedef struct tNet_message_disable_car tNet_message_disable_car; -typedef struct tNet_message_enable_car tNet_message_enable_car; -typedef struct tNet_message_powerup tNet_message_powerup; -typedef struct tNet_message_recover tNet_message_recover; -typedef struct tNet_message_scores tNet_message_scores; -typedef struct tNet_message_wasted tNet_message_wasted; -typedef struct tNet_message_gameplay tNet_message_gameplay; -typedef struct tNet_message_pedestrian tNet_message_pedestrian; -typedef struct tNet_message_car_details_req tNet_message_car_details_req; -typedef struct tCar_details tCar_details; -typedef struct tNet_message_car_details tNet_message_car_details; -typedef struct tGame_scores tGame_scores; -typedef struct tNet_message_game_scores tNet_message_game_scores; -typedef struct tNet_message_oil_spill tNet_message_oil_spill; -typedef struct tNet_message_crush_point tNet_message_crush_point; -typedef struct tNet_contents tNet_contents; -typedef struct tNet_message tNet_message; -typedef struct tCar_detail_info tCar_detail_info; -typedef int tS3_sound_id; -typedef int tS3_type; -typedef int tS3_repeats; -typedef int tS3_volume; -typedef int tS3_effect_tag; -typedef long tS3_priority; -typedef long tS3_pitch; -typedef long tS3_speed; -typedef char * tS3_outlet_ptr; -typedef struct tS3_vector3 tS3_vector3; -typedef struct tWav_header tWav_header; -typedef void * tPipe_reset_proc(); -typedef struct tPowerup tPowerup; -typedef int * tGot_proc(tPowerup*, tCar_spec*); -typedef void * tLose_proc(tPowerup*, tCar_spec*); -typedef void * tPeriodic_proc(tPowerup*, tU32); -typedef struct tDepth_effect tDepth_effect; -typedef struct tPlane_spec tPlane_spec; -typedef struct tMaterial_modifiers tMaterial_modifiers; -typedef struct tSpecial_screen tSpecial_screen; -typedef struct tRace_list_spec tRace_list_spec; -typedef struct tRace_save_info tRace_save_info; -typedef struct tGraf_spec tGraf_spec; -typedef struct tCollision_info tCollision_info; -typedef struct tNon_car_spec tNon_car_spec; -typedef struct tOpp_spec tOpp_spec; -typedef struct tCheckpoint tCheckpoint; -typedef struct tNet_starts tNet_starts; -typedef struct tText_chunk tText_chunk; -typedef struct tRace_info tRace_info; -typedef struct tOpponent_save_info tOpponent_save_info; -typedef struct tOpponent tOpponent; -typedef struct tProgram_state tProgram_state; -typedef struct tDR_font tDR_font; -typedef struct tGraf_data tGraf_data; -typedef struct tRolling_letter tRolling_letter; -typedef struct tFlic_descriptor tFlic_descriptor; -typedef tFlic_descriptor * tFlic_descriptor_ptr; -typedef struct tBrender_storage tBrender_storage; -typedef struct tSave_game tSave_game; -typedef struct tPed_subs tPed_subs; -typedef struct tRadio_bastards tRadio_bastards; -typedef struct exception_struct tException_node; -typedef exception_struct * tException_list; -typedef struct tPixelmap_user_data tPixelmap_user_data; -typedef void * tPMFM2CB(br_material*); -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct v11group v11group; -typedef struct v11model v11model; -typedef struct tMatrix_and_actor tMatrix_and_actor; - -typedef enum tDriver { - eDriver_non_car_unused_slot = 0, - eDriver_non_car = 1, - eDriver_oppo = 2, - eDriver_net_human = 3, - eDriver_local_human = 4 -} tDriver; - - -typedef enum tBounds_type { - eUndefined = 0, - eBounds_ws = 1, - eBounds_cs = 2 -} tBounds_type; - - -typedef enum tImpact_location { - eImpact_top = 0, - eImpact_bottom = 1, - eImpact_left = 2, - eImpact_right = 3, - eImpact_front = 4, - eImpact_back = 5, - eImpact_location_count = 6, - eImpact_unknown = 7 -} tImpact_location; - - -typedef enum tAxis_comp { - eAxis_x = 0, - eAxis_y = 1, - eAxis_z = 2 -} tAxis_comp; - - -typedef enum tCondition_operator { - eCondition_less_than = 0, - eCondition_greater_than = 1 -} tCondition_operator; - - -typedef enum tDamage_type { - eDamage_engine = 0, - eDamage_transmission = 1, - eDamage_driver = 2, - eDamage_steering = 3, - eDamage_lf_brake = 4, - eDamage_rf_brake = 5, - eDamage_lr_brake = 6, - eDamage_rr_brake = 7, - eDamage_lf_wheel = 8, - eDamage_rf_wheel = 9, - eDamage_lr_wheel = 10, - eDamage_rr_wheel = 11, - eDamage_type_count = 12 -} tDamage_type; - - -typedef enum tJustification { - eJust_left = 0, - eJust_right = 1, - eJust_centre = 2 -} tJustification; - - -typedef enum tOpponent_objective_type { - eOOT_none = 0, - eOOT_complete_race = 1, - eOOT_pursue_and_twat = 2, - eOOT_run_away = 3, - eOOT_get_near_player = 4, - eOOT_levitate = 5, - eOOT_knackered_and_freewheeling = 6, - eOOT_frozen = 7, - eOOT_wait_for_some_hapless_sod = 8, - eOOT_rematerialise = 9, - eOOT_return_to_start = 10 -} tOpponent_objective_type; - - -typedef enum tFollow_path_result { - eFPR_OK = 0, - eFPR_end_of_path = 1, - eFPR_given_up = 2 -} tFollow_path_result; - - -typedef enum tPath_section_type_enum { - ePST_normal = 0, - ePST_race_path = 1, - ePST_cheat_only = 2, - ePST_count = 3 -} tPath_section_type_enum; - - -typedef enum tPursue_car_state { - ePCS_what_now = 0, - ePCS_following_trail = 1, - ePCS_following_line_of_sight = 2, - ePCS_backing_up = 3 -} tPursue_car_state; - - -typedef enum tProcess_objective_command { - ePOC_start = 0, - ePOC_run = 1, - ePOC_die = 2 -} tProcess_objective_command; - - -typedef enum tParts_category { - eParts_armour = 0, - eParts_power = 1, - eParts_offensive = 2, - eParts_count = 3 -} tParts_category; - - -typedef enum tRace_over_reason { - eRace_not_over_yet = 255, - eRace_over_laps = 0, - eRace_over_peds = 1, - eRace_over_opponents = 2, - eRace_over_abandoned = 3, - eRace_over_out_of_time = 4, - eRace_over_demo = 5, - eRace_over_network_victory = 6, - eRace_over_network_loss = 7, - eRace_over_count = 8 -} tRace_over_reason; - - -typedef enum tNet_mode { - eNet_mode_none = 0, - eNet_mode_thinking_about_it = 1, - eNet_mode_host = 2, - eNet_mode_client = 3 -} tNet_mode; - - -typedef enum tPlayer_status { - ePlayer_status_unknown = 0, - ePlayer_status_ready = 1, - ePlayer_status_loading = 2, - ePlayer_status_wrecks_gallery = 3, - ePlayer_status_summary = 4, - ePlayer_status_not_responding = 5, - ePlayer_status_racing = 6, - ePlayer_status_main_menu = 7, - ePlayer_status_recovering = 8, - ePlayer_status_action_replay = 9 -} tPlayer_status; - - -typedef enum tNet_game_type { - eNet_game_type_fight_to_death = 0, - eNet_game_type_car_crusher = 1, - eNet_game_type_carnage = 2, - eNet_game_type_checkpoint = 3, - eNet_game_type_sudden_death = 4, - eNet_game_type_tag = 5, - eNet_game_type_foxy = 6, - eNet_game_type_count = 7 -} tNet_game_type; - - -typedef enum tNet_game_stage { - eNet_game_starting = 0, - eNet_game_ready = 1, - eNet_game_playing = 2, - eNet_game_status_count = 3 -} tNet_game_stage; - - -typedef enum tCar_choice { - eNet_car_frankie = 0, - eNet_car_annie = 1, - eNet_car_both = 2, - eNet_car_all = 3 -} tCar_choice; - - -typedef enum tNet_sequence_type { - eNet_sequence_sequential = 0, - eNet_sequence_random = 1 -} tNet_sequence_type; - - -typedef enum tPowerup_event { - ePowerup_gained = 0, - ePowerup_ongoing = 1, - ePowerup_lost = 2 -} tPowerup_event; - - -typedef enum tNet_gameplay_mess { - eNet_gameplay_checkpoint = 0, - eNet_gameplay_wrong_checkpoint = 1, - eNet_gameplay_suddenly_death = 2, - eNet_gameplay_suicide = 3, - eNet_gameplay_go_for_it = 4, - eNet_gameplay_host_paused = 5, - eNet_gameplay_host_unpaused = 6, - eNet_gameplay_earn_credits = 7 -} tNet_gameplay_mess; - - -typedef enum tCar_detail_ownership { - eCar_owner_none = 0, - eCar_owner_someone = 1, - eCar_owner_self = 2, - eCar_owner_not_allowed = 3 -} tCar_detail_ownership; - - -typedef enum tS3_error_codes { - eS3_error_none = 0, - eS3_error_digi_init = 1, - eS3_error_midi_init = 2, - eS3_error_memory = 3, - eS3_error_readfile = 4, - eS3_error_soundbank = 5, - eS3_error_bad_id = 6, - eS3_error_bad_stag = 7, - eS3_error_load_sound = 8, - eS3_error_start_sound = 9, - eS3_error_channel_alloc = 10, - eS3_error_not_spatial = 11, - eS3_error_function_failed = 12, - eS3_error_load_song = 13, - eS3_error_song_not_loaded = 14, - eS3_error_start_song = 15, - eS3_error_start_cda = 16, - eS3_error_cda_not_init = 17, - eS3_error_already_started_cda = 18, - eS3_error_nonexistant_source = 19 -} tS3_error_codes; - - -typedef enum tS3_termination_reason { - eS3_tr_natural = 0, - eS3_tr_stopped = 1, - eS3_tr_overridden = 2 -} tS3_termination_reason; - - -typedef enum tS3_filter_type { - eS3_filter_none = 0, - eS3_filter_reversed = 1, - eS3_filter_echo = 2 -} tS3_filter_type; - - -typedef enum tPowerup_type { - ePowerup_dummy = 0, - ePowerup_instantaneous = 1, - ePowerup_timed = 2, - ePowerup_whole_race = 3 -} tPowerup_type; - - -typedef enum tNet_powerup_type { - eNet_powerup_local = 0, - eNet_powerup_global = 1, - eNet_powerup_inappropriate = 2 -} tNet_powerup_type; - - -typedef enum tVehicle_type { - eVehicle_self = 0, - eVehicle_net_player = 1, - eVehicle_opponent = 2, - eVehicle_rozzer = 3, - eVehicle_drone = 4, - eVehicle_not_really = 5 -} tVehicle_type; - - -typedef enum tDepth_effect_type { - eDepth_effect_none = 255, - eDepth_effect_darkness = 0, - eDepth_effect_fog = 1 -} tDepth_effect_type; - - -typedef enum tPlane_type { - ePlane_pos_x = 0, - ePlane_neg_x = 1, - ePlane_pos_y = 2, - ePlane_neg_y = 3, - ePlane_pos_z = 4, - ePlane_neg_z = 5, - ePlane_general = 6 -} tPlane_type; - - -typedef enum tNet_avail { - eNet_avail_never = 0, - eNet_avail_eagle = 1, - eNet_avail_hawk = 2, - eNet_avail_all = 3 -} tNet_avail; - - -typedef enum tProg_status { - eProg_intro = 0, - eProg_opening = 1, - eProg_idling = 2, - eProg_demo = 3, - eProg_game_starting = 4, - eProg_game_ongoing = 5, - eProg_quit = 6 -} tProg_status; - - -typedef enum tMM_result { - eMM_none = 0, - eMM_continue = 1, - eMM_end_game = 2, - eMM_1_start = 3, - eMM_n_start = 4, - eMM_loaded = 5, - eMM_save = 6, - eMM_options = 7, - eMM_quit = 8, - eMM_timeout = 9, - eMM_recover = 10, - eMM_abort_race = 11 -} tMM_result; - - -typedef enum tSO_result { - eSO_main_menu_invoked = 0, - eSO_game_over = 1, - eSO_game_completed = 2, - eSO_continue = 3 -} tSO_result; - - -typedef enum tRace_result { - eRace_game_abandonned = 0, - eRace_aborted = 1, - eRace_timed_out = 2, - eRace_completed = 3 -} tRace_result; - - -typedef enum tFrank_anne { - eFrankie = 0, - eAnnie = 1 -} tFrank_anne; - - -typedef enum tRace_sel_view_type { - eVT_Scene = 0, - eVT_Info = 1, - eVT_Opponents = 2 -} tRace_sel_view_type; - - -typedef enum tAuto_parts_reply { - eAP_auto = 0, - eAP_manual = 1, - eAP_piss_off = 2 -} tAuto_parts_reply; - - -typedef enum tWhich_view { - eView_undefined = 0, - eView_left = 1, - eView_forward = 2, - eView_right = 3 -} tWhich_view; - - -typedef enum tRolling_type { - eRT_alpha = 0, - eRT_numeric = 1, - eRT_looping_random = 2, - eRT_looping_single = 3 -} tRolling_type; - - -typedef enum tCar_texturing_level { - eCTL_none = 0, - eCTL_transparent = 1, - eCTL_full = 2, - eCTL_count = 3 -} tCar_texturing_level; - - -typedef enum tRoad_texturing_level { - eRTL_none = 0, - eRTL_full = 1, - eRTL_count = 2 -} tRoad_texturing_level; - - -typedef enum tWall_texturing_level { - eWTL_none = 0, - eWTL_linear = 1, - eWTL_full = 2, - eWTL_count = 3 -} tWall_texturing_level; - - -typedef enum tAdd_to_storage_result { - eStorage_not_enough_room = 0, - eStorage_duplicate = 1, - eStorage_allocated = 2 -} tAdd_to_storage_result; - - -typedef enum tLollipop_mode { - eLollipop_none = 255, - eLollipop_x_match = 0, - eLollipop_y_match = 1, - eLollipop_z_match = 2 -} tLollipop_mode; - - -typedef enum tSmear_type { - eSmear_oil = 0, - eSmear_blood = 1, - eSmear_count = 2 -} tSmear_type; - -typedef void zs_order_table_traversal_cbfn(int, ot_vertex*, ot_vertex*, ot_vertex*, double, unsigned char*, __unk0__); -typedef void tS3_outlet_callback(tS3_outlet_ptr, tS3_sound_tag, tS3_termination_reason); -typedef void tS3_sample_filter(tS3_effect_tag, tS3_sound_tag); -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct div_t { - intquot; - intrem; -}; -struct ldiv_t { - longquot; - longrem; -}; -struct _complex { - doublex; - doubley; -}; -struct complex { - doublex; - doubley; -}; -struct exception { - inttype; - char *name; - doublearg1; - doublearg2; - doubleretval; -}; -struct ot_vertex { - br_scalarscreenX; - br_scalarscreenY; - br_scalardistanceZ; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _HMI_REGS { - _HMI_DREGSx; - _HMI_WREGSw; - _HMI_BREGSh; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _PACKET { - PSTRpData; - USHORTwLength; -}; -struct _REAL_PACKET { - SHORTwOffset; - SHORTwSegment; - USHORTwLength; -}; -struct _ECB_PACKET { - _PACKETsPacket; - _REAL_PACKETsRealPacket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _PROT_PTR { - PSTRpData; -}; -struct _REAL_PTR { - SHORTwOffset; - SHORTwSegment; -}; -struct _PTR { - _PROT_PTRsPointer; - _REAL_PTRsRealPtr; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct _NETNOW_NODE_ADDR { - _IPX_LOCAL_TARGETsIPX; - _NETBIOS_LOCAL_TARGETsNETBIOS; -}; -struct tPD_net_player_info { - _IPX_LOCAL_TARGETaddr_ipx; -}; -struct tTrack_spec { - tU8ncolumns_x; - tU8ncolumns_z; - br_scalarcolumn_size_x; - br_scalarcolumn_size_z; - br_scalarorigin_x; - br_scalarorigin_z; - br_actor *the_actor; - br_actor ***columns; - br_actor ***lollipops; - br_actor ***blends; - intampersand_digits; - br_actor **non_car_list; -}; -struct tCrush_neighbour { - br_uint_8vertex_index; - br_uint_8factor; -}; -struct tCrush_point_spec { - br_uint_16vertex_index; - br_uint_16number_of_neighbours; - br_vector3limits_neg; - br_vector3limits_pos; - br_vector3softness_neg; - br_vector3softness_pos; - tCrush_neighbour *neighbours; -}; -struct tCrush_data { - intnumber_of_crush_points; - floatsoftness_factor; - floatmin_fold_factor; - floatmax_fold_factor; - floatwibble_factor; - floatlimit_deviant; - floatsplit_chance; - br_scalarmin_y_fold_down; - tCrush_point_spec *crush_points; -}; -struct tSpecial_volume { - br_matrix34mat; - br_matrix34inv_mat; - br_boundsbounds; - br_scalargravity_multiplier; - br_scalarviscosity_multiplier; - floatcar_damage_per_ms; - floatped_damage_per_ms; - intno_mat; - intcamera_special_effect_index; - intsky_col; - intentry_noise; - intexit_noise; - intengine_noise_index; - br_material *screen_material; - intmaterial_modifier_index; -}; -struct tReduced_matrix { - br_vector3row1; - br_vector3row2; - br_vector3translation; -}; -struct tCar_controls { - intjoystick_acc: 8; - intjoystick_dec: 8; - unsigned intleft: 1; - unsigned intright: 1; - unsigned intacc: 1; - unsigned intdec: 1; - unsigned intbrake: 1; - unsigned intup: 1; - unsigned intdown: 1; - unsigned intholdw: 1; - unsigned intbackwards: 1; - unsigned intchange_up: 1; - unsigned intchange_down: 1; - unsigned inthorn: 1; -}; -struct tNet_message_mechanics_info { - tU8contents_size; - tNet_message_typetype; - tU32ID; - tU32time; - tReduced_matrixmat; - br_vector3v; - br_vector3omega; - tU8d[4]; - tCar_controlskeys; - tU32cc_coll_time; - tS16curvature; - tU16revs; - br_scalarfront; - br_scalarback; - tU32repair_time; - tU8damage[12]; - tU16powerups; - br_scalarwheel_dam_offset[4]; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tDamage_unit { - intx_coord; - inty_coord; - intdamage_level; - intlast_level; - intsmoke_last_level; - intperiods[5]; - br_pixelmap *images; -}; -struct tDamage_condition { - tAxis_compaxis_comp; - tCondition_operatorcondition_operator; - floatcomparitor; -}; -struct tDamage_effect { - tDamage_typetype; - floatweakness_factor; -}; -struct tDamage_clause { - tDamage_conditionconditions[2]; - inteffect_count; - intcondition_count; - tDamage_effecteffects[4]; -}; -struct tDamage_program { - intclause_count; - tDamage_clause *clauses; -}; -struct tHeadup_slot { - intx; - inty; - intcolour; - intcockpit_anchored; - intdimmed_background; - intdim_left; - intdim_top; - intdim_right; - intdim_bottom; - tJustificationjustification; -}; -struct tPart_info { - charpart_name[14]; - tU8 *data_ptr; - tU32data_length; - intrank_required; - intprices[3]; -}; -struct tParts_spec { - intnumber_of_parts; - tPart_infoinfo[6]; -}; -struct tCar_actor { - br_actor *actor; - br_scalarmin_distance_squared; - tCrush_datacrush_data; - br_vertex *undamaged_vertices; -}; -struct tJoystick { - tS32left; - tS32right; - tS32acc; - tS32dec; -}; -struct tPursuee_trail { - br_vector3trail_nodes[25]; - br_vector3base_heading; - tU32time_of_next_recording; - tU32end_of_deviation; - tU8number_of_nodes; - tU8has_deviated_recently; - tU8nodes_shifted_this_frame; -}; -struct tOppo_psyche { - tU8grudge_against_player; -}; -struct tComplete_race_data { - tU8finished_calcing_race_route; - tU8found_race_section; -}; -struct tReturn_to_start_data { - br_vector3nearest_path_point; - tS16section_no; - tU8waiting_near_start; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct tPursue_car_data { - tCar_spec *pursuee; - tU32time_of_next_visibility_check; - tU32start_backup_time; - tU32time_last_twatted_em; - tU32time_pursuee_last_visible; - tU32time_last_away_from_pursuee; - tPath_nodedirect_line_nodes[2]; - tPath_sectiondirect_line_section; - tU8state; -}; -struct tFollow_path_data { - tU32struggle_time; - tU32last_finished_struggle_time; - tU32toggle_time; - tU32borrowed_time_start; - br_scalarprev_acc; - br_scalarprev_acc_error; - br_scalardesired_speed; - br_scalarlast_distance; - br_vector3cheaty_intersect; - tS16section_no; - tS16first_section_no; - tS16last_struggle_section; - unsigned intnumber_of_struggles: 8; - unsigned inthas_moved_during_this_task: 1; - unsigned intmade_it: 1; - unsigned intcheating: 1; - unsigned intcornering: 1; - unsigned intleft_not_right: 1; - unsigned intoff_path_toggle; - unsigned intmoving_to_intersect; - br_vector2turning_cent; - br_scalarturning_radius; - br_scalarcorner_size; - br_scalarcorner_width; - intsection_after; -}; -struct tLevitate_data { - br_scalarinitial_y; - tU32time_started; - unsigned intwaiting_to_levitate: 1; -}; -struct tRun_away_data { - tU32time_to_stop; -}; -struct tRoute_section { - tS16section_no; - tU8direction; -}; -struct tOpponent_spec { - intindex; - tOpponent_objective_typecurrent_objective; - tCar_spec *car_spec; - floatnastiness; - br_scalardistance_to_camera; - br_scalardistance_from_home; - br_scalarplayer_to_oppo_d; - br_vector3start_pos; - br_vector3start_direction; - br_vector3pos_last_frame; - br_vector3player_to_oppo_v; - tU32next_out_of_world_check; - tU32stun_time_ends; - tU32next_player_visibility_check; - tU32last_moved_ok; - tU32last_in_view; - tU32time_last_processed; - tU32time_this_objective_started; - tU32time_for_this_objective_to_finish; - tU32cunting_buttfuck_timer; - tS16players_section_when_last_calced_full_path; - intnnext_sections; - tRoute_sectionnext_sections[10]; - unsigned intnew_objective_required: 1; - unsigned intfinished_for_this_race: 1; - unsigned intknackeredness_detected: 1; - unsigned intphysics_me: 1; - unsigned intpursue_from_start: 1; - unsigned intcheating: 1; - unsigned intlast_cheating_value: 1; - unsigned intpursuing_player_before_freeze: 1; - unsigned inthas_moved_at_some_point: 1; - unsigned intplayer_in_view_now: 1; - unsigned intacknowledged_piv: 1; - unsigned intmurder_reported: 1; - tComplete_race_datacomplete_race_data; - tFollow_path_datafollow_path_data; - tPursue_car_datapursue_car_data; - tLevitate_datalevitate_data; - tRun_away_datarun_away_data; - tReturn_to_start_datareturn_to_start_data; -}; -struct tIntelligent_vehicles { - intnumber_of_opponents; - intnumber_of_cops; - intnumber_of_path_nodes; - intnumber_of_path_sections; - br_vector3cop_start_points[10]; - br_vector3cop_start_vectors[10]; - tOpponent_specopponents[5]; - tOpponent_speccops[10]; - tPath_node *path_nodes; - tPath_section *path_sections; -}; -struct tBounds { - br_matrix34 *mat; - br_boundsoriginal_bounds; - br_vector3box_centre; - br_scalarradius; - br_boundsreal_bounds; -}; -struct tFace_ref { - br_material *material; - br_vector3v[3]; - br_vector2 *map[3]; - br_vector3normal; - intflags; - br_scalard; -}; -struct tNet_game_player_info { - tPD_net_player_infopd_net_info; - tU32this_players_time_stamp; - tU32last_heard_from_him; - tU32reposition_time; - tU32last_waste_message; - inthost; - tPlayer_IDID; - charplayer_name[32]; - tPlayer_statusplayer_status; - intcar_index; - intgrid_index; - intgrid_position_set; - intopponent_list_index; - intawaiting_confirmation; - intscore; - intcredits; - intwasted; - intwasteage_attributed; - intname_not_clipped; - intrace_stuff_initialised; - intplayed; - intwon; - intnext_car_index; - intgames_score; - intlast_score_index; - br_matrix34initial_position; - tCar_spec *car; -}; -struct tNet_game_options { - intshow_players_on_map; - intshow_peds_on_map; - intenable_text_messages; - intshow_powerups_on_map; - intpowerup_respawn; - intopen_game; - intstarting_money_index; - intgrid_start; - intrace_end_target; - intrandom_car_choice; - tNet_sequence_typerace_sequence_type; - tCar_choicecar_choice; -}; -struct tNet_game_status { - tNet_game_stagestage; -}; -struct tNet_game_details { - tPD_net_player_infopd_net_info; - charhost_name[32]; - tPlayer_IDhost_ID; - intnum_players; - intstart_race; - intno_races_yet; - tNet_game_statusstatus; - tNet_game_optionsoptions; - tNet_game_typetype; -}; -struct tNet_message_send_me_details { - tU8contents_size; - tNet_message_typetype; -}; -struct tNet_message_my_details { - tU8contents_size; - tNet_message_typetype; - tNet_game_detailsdetails; -}; -struct tNet_message_join { - tU8contents_size; - tNet_message_typetype; - tNet_game_player_infoplayer_info; -}; -struct tNet_message_leave { - tU8contents_size; - tNet_message_typetype; -}; -struct tNet_message_host_pissing_off { - tU8contents_size; - tNet_message_typetype; -}; -struct tNet_message_new_player_list { - tU8contents_size; - tNet_message_typetype; - intnumber_of_players; - intthis_index; - intbatch_number; - tNet_game_player_infoplayer; -}; -struct tNet_message_race_over { - tU8contents_size; - tNet_message_typetype; - tRace_over_reasonreason; -}; -struct tNet_message_status_report { - tU8contents_size; - tNet_message_typetype; - tPlayer_statusstatus; -}; -struct tGrid_spec { - intindex; - intnext_car_index; - br_matrix34mat; -}; -struct tNet_message_start_race { - tU8contents_size; - tNet_message_typetype; - intcar_count; - intracing; - intnext_race; - tGrid_speccar_list[6]; -}; -struct tNet_message_guarantee_reply { - tU8contents_size; - tNet_message_typetype; - tU32guarantee_number; -}; -struct tNet_message_headup { - tU8contents_size; - tNet_message_typetype; - chartext[128]; -}; -struct tNet_message_host_query { - tU8contents_size; - tNet_message_typetype; -}; -struct tNet_message_host_reply { - tU8contents_size; - tNet_message_typetype; - intrace_has_started; - intrace_index; - intpending_race; -}; -struct tNet_message_cop_info { - tU8contents_size; - tNet_message_typetype; - tU32ID; - tU32time; - tReduced_matrixmat; - br_vector3v; - br_vector3omega; - br_scalarcurvature; - br_scalard[4]; - tU8damage[12]; -}; -struct tNet_message_non_car_info { - tU8contents_size; - tNet_message_typetype; - tU32ID; - tU32time; - tReduced_matrixmat; - br_vector3v; - br_vector3omega; - tU32cc_coll_time; - tU16flags; -}; -struct tNet_message_non_car_position { - tU8contents_size; - tNet_message_typetype; - tU32ID; - br_matrix34mat; - tU16flags; -}; -struct tNet_message_time_sync { - tU8contents_size; - tNet_message_typetype; - intrace_start_time; -}; -struct tNet_message_players_confirm { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDplayer; -}; -struct tNet_message_disable_car { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDplayer; -}; -struct tNet_message_enable_car { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDplayer; -}; -struct tNet_message_powerup { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDplayer; - intpowerup_index; - tU32time_left; - tPowerup_eventevent; -}; -struct tNet_message_recover { - tU8contents_size; - tNet_message_typetype; - tU32ID; - inttime_to_recover; -}; -struct tNet_message_scores { - tU8contents_size; - tNet_message_typetype; - intgeneral_score; - intscores[6]; -}; -struct tNet_message_wasted { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDvictim; - tPlayer_IDculprit; -}; -struct tNet_message_gameplay { - tU8contents_size; - tNet_message_typetype; - tNet_gameplay_messmess; - tU32param_1; - tU32param_2; - tU32param_3; - tU32param_4; -}; -struct tNet_message_pedestrian { - tU8contents_size; - tNet_message_typetype; - tS8action_instruction; - tS8flags; - tS16index; - br_vector3pos; - br_scalarspeed; - br_vector3to_pos; - br_vector3offset; - tPlayer_IDmurderer; - tU32respawn_time_or_spin_period; - tS8frame; -}; -struct tNet_message_car_details_req { - tU8contents_size; - tNet_message_typetype; -}; -struct tCar_details { - intcar_index; - charowner[16]; -}; -struct tNet_message_car_details { - tU8contents_size; - tNet_message_typetype; - intcount; - tCar_detailsdetails[6]; -}; -struct tGame_scores { - intplayed; - intwon; - intscore; -}; -struct tNet_message_game_scores { - tU8contents_size; - tNet_message_typetype; - tGame_scoresscores[6]; -}; -struct tNet_message_oil_spill { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDplayer; - br_scalarfull_size; - br_scalargrow_rate; - br_scalarcurrent_size; -}; -struct tNet_message_crush_point { - tU8contents_size; - tNet_message_typetype; - tPlayer_IDid; - tU16vertex; - br_vector3energy_vector; -}; -struct tNet_contents { - struct { - tU8contents_size; - tNet_message_typetype; - }; - struct { - tNet_message_send_me_detailssend_details; - tNet_message_my_detailsdetails; - tNet_message_joinjoin; - tNet_message_leaveleave; - tNet_message_host_pissing_offhosticide; - tNet_message_new_player_listplayer_list; - tNet_message_race_overrace_over; - tNet_message_status_reportreport; - tNet_message_start_racestart_race; - tNet_message_guarantee_replyreply; - tNet_message_headupheadup; - tNet_message_host_querywhere_we_at; - tNet_message_host_replyheres_where_we_at; - tNet_message_mechanics_infomech; - tNet_message_non_car_infonon_car; - tNet_message_time_synctime_sync; - tNet_message_players_confirmconfirm; - tNet_message_disable_cardisable_car; - tNet_message_enable_carenabled_car; - tNet_message_poweruppowerup; - tNet_message_recoverrecover; - tNet_message_scoresscores; - tNet_message_wastedwasted; - tNet_message_pedestrianpedestrian; - tNet_message_gameplaygameplay; - tNet_message_non_car_positionnon_car_position; - tNet_message_cop_infocop_info; - tNet_message_car_details_reqcar_details_req; - tNet_message_car_detailscar_details; - tNet_message_game_scoresgame_scores; - tNet_message_oil_spilloil_spill; - tNet_message_crush_pointcrush; - }; -}; -struct tNet_message { - tU32pd_stuff_so_DO_NOT_USE; - tU32magic_number; - tU32guarantee_number; - tPlayer_IDsender; - intversion; - tU32senders_time_stamp; - tU16num_contents; - tU16overall_size; - tNet_contentscontents; -}; -struct tCar_detail_info { - tCar_detail_ownershipownership; - charname[16]; -}; -struct tS3_vector3 { - tF32x; - tF32y; - tF32z; -}; -struct tWav_header { - charquote_RIFF[4]; - tU32format_length; - tU8wave[4]; - tU8fmt[4]; - tU32wave_format_length; - tU16format_tag; - tU16channels; - tU32samples_per_sec; - tU32avg_bytes_per_sec; - tU16block_align; - tU16bits_per_sample; - tU8data[4]; - tU32data_length; -}; -struct tPowerup { - tPowerup_typetype; - tU32got_time; - tU32duration; - tU32lose_time; - tU16group_inclusion; - br_pixelmap *icon; - intfizzle_type; - intnumber_of_float_params; - intnumber_of_integer_params; - int *integer_params; - intcurrent_value; - intprat_cam_event; - tNet_powerup_typenet_type; - tGot_procgot_proc; - tLose_proclose_proc; - tPeriodic_procperiodic_proc; - float *float_params; - tCar_spec *car; - charmessage[64]; -}; -struct tDepth_effect { - tDepth_effect_typetype; - intstart; - intend; - br_pixelmap *sky_texture; -}; -struct tPlane_spec { - tPlane_typeplane_type; - br_fvector3n; - br_scalard; -}; -struct tMaterial_modifiers { - br_scalarcar_wall_friction; - br_scalartyre_road_friction; - br_scalardown_force; - br_scalarbumpiness; - inttyre_noise_index; - intcrash_noise_index; - intscrape_noise_index; - br_scalarsparkiness; - intsmoke_type; - br_material *skid_mark_material; -}; -struct tSpecial_screen { - br_material *material; - br_scalarmin_x; - br_scalarmin_z; - br_scalarmax_x; - br_scalarmax_z; -}; -struct tRace_list_spec { - charname[32]; - intrank_required; - intbest_rank; - intsuggested_rank; - intbeen_there_done_that; -}; -struct tRace_save_info { - tU32been_there_done_that; -}; -struct tGraf_spec { - intdepth_bits; - intdepth_bytes; - intdoubled; - inttotal_width; - inttotal_height; - longblack_value; - intcolour_index; - char *data_dir_name; - char *gfx_init_string; - introw_bytes; - intphys_width; - intphys_height; - void *base_addr; -}; -struct tCollision_info { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; -}; -struct tNon_car_spec { - tCollision_infocollision_info; - br_scalarfree_mass; - br_scalarattached_mass; - br_vector3free_cmpos; - br_vector3attached_cmpos; - br_scalarmin_torque_squared; - br_scalarsnap_off_cosine; - br_vector3I_over_M; -}; -struct tOpp_spec { - intindex; - intranking; - intnet_player_index; - tCar_spec *car_spec; -}; -struct tCheckpoint { - inttime_value[3]; - intquad_count; - br_vector3vertices[4][4]; - br_vector3normal[4]; - intmap_left[2]; - intmap_top[2]; - intmap_right[2]; - intmap_bottom[2]; -}; -struct tNet_starts { - br_vector3pos; - br_scalaryaw; -}; -struct tText_chunk { - intframe_cue; - intframe_end; - intx_coord; - inty_coord; - intline_count; - char *text[8]; -}; -struct tRace_info { - charname[32]; - chartrack_file_name[14]; - intrank_required; - intbest_rank; - intsuggested_rank; - inttotal_laps; - intcheck_point_count; - intinitial_timer[3]; - intbonus_score[8][3]; - intnumber_of_racers; - intnumber_of_net_start_points; - inttext_chunk_count; - tNet_startsnet_starts[24]; - tCheckpointcheckpoints[10]; - tOpp_specopponent_list[30]; - tU8 *scene_image_data; - tU8 *map_image_data; - tU8 *info_image_data; - tU32scene_image_data_length; - tU32map_image_data_length; - tU32info_image_data_length; - br_vector3initial_position; - br_scalarinitial_yaw; - br_pixelmap *map_image; - br_matrix34map_transformation; - tText_chunk *text_chunks; - tMaterial_modifiersmaterial_modifiers[11]; -}; -struct tOpponent_save_info { - tU32dead; -}; -struct tOpponent { - charname[24]; - charabbrev_name[24]; - charmug_shot_name[14]; - charcar_file_name[14]; - charstolen_car_flic_name[14]; - tU8 *mug_shot_image_data; - tU8 *stolen_car_image_data; - tU32mug_shot_image_data_length; - tU32stolen_car_image_data_length; - intcar_number; - intstrength_rating; - intpicked; - intdead; - inttext_chunk_count; - tNet_availnetwork_availability; - br_pixelmap *grid_icon_image; - tOppo_psychepsyche; - tText_chunk *text_chunks; -}; -struct tProgram_state { - tS32credits; - tS32credits_earned; - tS32credits_lost; - tU32view_change_start; - tU32pratcam_move_start; - intpeds_killed; - intsausage_eater_mode; - intrank; - intloaded; - intlast_slot; - intskill_level; - intparts_shop_visited; - intracing; - intcut_scene; - intsaving; - intloading; - intdont_save_or_load; - intdont_load; - intmirror_on; - intprat_cam_on; - intcockpit_on; - intcockpit_image_index; - intcurrent_render_left; - intcurrent_render_top; - intcurrent_render_right; - intcurrent_render_bottom; - intframe_rate_headup; - intrevs; - intmusic_volume; - inteffects_volume; - intcurrent_race_index; - intredo_race_index; - intcredits_per_rank; - intgame_completed; - intnumber_of_cars; - intcurrent_car_index; - tWhich_viewwhich_view; - tWhich_viewnew_view; - tWhich_viewpending_view; - tWhich_viewold_view; - tRace_sel_view_typeview_type; - tProg_statusprog_status; - tFrank_annefrank_or_anniness; - tAuto_parts_replyauto_parts_reply; - tCar_speccurrent_car; - charplayer_name[2][14]; - chartrack_file_name[14]; - charcar_name[14]; - intcars_available[60]; - br_vector3initial_position; - br_scalarinitial_yaw; - tTrack_spectrack_spec; - tDepth_effectdefault_depth_effect; - tDepth_effectcurrent_depth_effect; - intspecial_volume_count; - tSpecial_volume *special_volumes; - br_material *standard_screen; - br_material *standard_screen_dark; - br_material *standard_screen_fog; - intspecial_screens_count; - tSpecial_screen *special_screens; - tIntelligent_vehiclesAI_vehicles; - tNon_car_spec *non_cars; - intnum_non_car_spaces; -}; -struct tDR_font { - br_pixelmap *images; - intfile_read_once; - intheight; - intwidth; - intspacing; - intoffset; - intnum_entries; - intwidth_table[224]; -}; -struct tGraf_data { - intwidth; - intheight; - introlling_letter_y_pitch; - intsave_slot_y_offset; - introlling_letter_x_pitch; - intsave_slot_x_offset; - intsave_slot_rank_x_offset; - intsave_slot_credits_x_offset; - intsave_slot_height; - intsave_slot_letter_height; - intsave_slot_table[41]; - intplayer_name_y; - intplayer_name_x[2]; - intenter_name_x[2]; - intenter_name_y; - intfrank_panel_left; - intfrank_panel_top; - intfrank_panel_right; - intfrank_panel_bottom; - intanne_panel_left; - intanne_panel_top; - intanne_panel_right; - intanne_panel_bottom; - intcock_margin_x; - intcock_margin_y; - inttotal_cock_width; - inttotal_cock_height; - intdial__x[2]; - intdial__y[2]; - intdial__x_centre; - intdial__y_centre; - intstart_race_panel_left; - intstart_race_panel_top; - intstart_race_panel_right; - intstart_race_panel_bottom; - intstart_race_panel_top_clip; - intstart_race_panel_bottom_clip; - intchoose_race_rank_right; - intchoose_race_name_left; - intchoose_race_bullet_left; - intchoose_race_left; - intchoose_race_right; - intchoose_race_y_top; - intchoose_race_y_bottom; - intchoose_race_y_pitch; - intchoose_race_curr_y; - intchoose_race_box_left; - intchoose_race_box_top; - intchoose_race_line_y; - intchoose_race_current_text_x; - intchoose_race_current_text_y; - intchoose_race_current_num_x; - intgrid_x_pitch; - intgrid_y_pitch; - intgrid_x_stagger; - intgrid_left_x; - intgrid_top_y; - intgrid_left_clip; - intgrid_top_clip; - intgrid_right_clip; - intgrid_bottom_clip; - intgrid_numbers_left; - intgrid_numbers_top; - intgrid_numbers_right; - intgrid_marker_margin; - intgrid_marker_x_len; - intdare_mugshot_left; - intdare_mugshot_top; - intdare_mugshot_width; - intdare_mugshot_height; - intdare_text_left; - intdare_text_width; - intdare_mug_left_margin; - intdare_mug_top_margin; - intdare_y_adjust; - intparts_image_x; - intparts_image_y; - intparts_image_width; - intparts_image_height; - intparts_cost_x; - intparts_cost_y; - intparts_total_x; - intparts_total_y; - intparts_net_x; - intparts_net_y; - intparts_numbers_x; - intparts_top_clip; - intparts_bottom_clip; - intparts_label_x; - intparts_label_y; - intsumm1_credits_box_left; - intsumm1_credits_left; - intsumm1_credits_right; - intsumm1_earned_top; - intsumm1_earned_bottom; - intsumm1_lost_top; - intsumm1_lost_bottom; - intsumm1_total_top; - intsumm1_total_bottom; - intsumm1_rank_x_pitch; - intsumm1_rank_inc_l; - intsumm1_rank_inc_c; - intsumm1_rank_total_l; - intsumm1_rank_total_c; - intsumm1_rank_inc_left; - intsumm1_rank_inc_right; - intsumm1_rank_total_left; - intsumm1_rank_total_right; - intsumm1_rank_top; - intsumm1_rank_bot; - intsumm1_rank_y; - intwreck_name_left; - intwreck_name_right; - intwreck_name_top; - intwreck_name_bottom; - intwreck_name_base_line; - intwreck_render_x; - intwreck_render_y; - intwreck_render_w; - intwreck_render_h; - intpower_up_icon_x; - intpower_up_icon_countdown_x; - intpower_up_icon_y; - intpower_up_icon_y_pitch; - intpower_up_icon_countdown_y_offset; - intchange_car_text_y; - intchange_car_line_left; - intchange_car_line_y; - intchange_car_line_right; - intchange_car_panel_left; - intchange_car_panel_top; - intchange_car_panel_right; - intchange_car_panel_bottom; - intchange_car_panel_top_clip; - intchange_car_panel_bottom_clip; - intmap_timer_text_x; - intmap_timer_text_y; - intmap_timer_border_x; - intmap_timer_border_y; - intaction_replay_R_x; - intaction_replay_R_y; - intaction_replay_controls_x; - intaction_replay_controls_y; - intaction_replay_hilite_y; - intaction_replay_rew_start_x; - intaction_replay_rew_x; - intaction_replay_rev_play_x; - intaction_replay_pause_x; - intaction_replay_play_x; - intaction_replay_ffwd_x; - intaction_replay_fwd_end_x; - intaction_replay_camera_x; - intaction_replay_cam_text_x; - intaction_replay_cam_text_y; - intjoinable_games_x_1; - intjoinable_games_x_2; - intjoinable_games_x_3; - intjoinable_games_x_4; - intjoinable_games_x_r; - intjoinable_games_y; - intjoinable_games_y_pitch; - intjoinable_games_sel_left; - intjoinable_games_sel_right; - intjoinable_games_sel_top_marg; - intjoinable_games_sel_bot_marg; - intnet_player_name_x; - intnet_player_name_y; - interror_box_left; - interror_box_top; - interror_box_right; - interror_box_bottom; - intstart_synch_x_0; - intstart_synch_x_1; - intstart_synch_x_2; - intstart_synch_x_r; - intstart_synch_top; - intstart_synch_y_pitch; - intstart_synch_start_x; - intstart_synch_start_y; - intkey_assign_col_1; - intkey_assign_col_1_a; - intkey_assign_col_2; - intkey_assign_col_2_a; - intkey_assign_y_pitch; - intkey_assign_y; - intkey_assign_key_map_y; - intkey_assign_flic_x; - intkey_assign_flic_y; - intmap_render_x_marg; - intmap_render_y_marg; - intnet_head_box_x; - intnet_head_box_pitch; - intnet_head_box_width; - intnet_head_box_top; - intnet_head_box_bot; - intnet_head_name_x_marg; - intnet_head_name_y; - intnet_head_num_x; - intnet_head_num_y; - intnet_head_num_height; - intnet_head_icon_x; - intnet_head_icon_y; - intnet_head_icon_height; - intnet_head_score_x; - intnet_head_score_y; - intarmour_headup_y[2]; - intpower_headup_y[2]; - intoffense_headup_y[2]; - intps_dim_left; - intps_dim_right; - intps_dim_height; - intps_name_left; - intps_name_top_border; - intps_bars_per_level; - intps_x_pitch; - intps_bar_top_border; - intps_bar_left; - intps_bar_height; - intnet_choose_race_x; - intnet_choose_race_y; - intnet_descr_race_l; - intnet_descr_race_r; - intnet_descr_race_top; - intnet_descr_race_bot; - intnet_sum_x_1; - intnet_sum_x_2; - intnet_sum_x_3; - intnet_sum_x_4; - intnet_sum_x_5; - intnet_sum_headings_y; - intnet_sum_y_pitch; - intgraph_opt_disable_x; - intgraph_opt_disable_y; - intsound_opt_disable_x; - intsound_opt_disable_y; - intnet_message_enter_x; - intnet_message_enter_y; - inteval_x; - inteval_y; -}; -struct tRolling_letter { - intletters[9]; - intx_coord; - inty_coord; - intnumber_of_letters; - tRolling_typerolling_type; - floatcurrent_offset; -}; -struct tFlic_descriptor { - char *data; - char *data_start; - charfile_name[32]; - tU8 *first_pixel; - tU32bytes_remaining; - tU32frame_period; - tU32last_frame; - br_pixelmap *the_pixelmap; - intx_offset; - inty_offset; - intwidth; - intheight; - intframes_left; - intcurrent_frame; - intthe_index; - intnew_format; - intmust_finish; - intbytes_still_to_be_read; - intbytes_in_buffer; - FILE *f; - tFlic_descriptor_ptrnext; -}; -struct tBrender_storage { - intmodels_count; - intmaterials_count; - intshade_tables_count; - intpixelmaps_count; - intmax_pixelmaps; - intmax_shade_tables; - intmax_materials; - intmax_models; - br_model **models; - br_pixelmap **pixelmaps; - br_pixelmap **shade_tables; - br_material **materials; - br_pixelmap **saved_colour_maps; -}; -struct tSave_game { - charslot_name[16]; - charcar_name[16]; - charplayer_name[2][14]; - tRace_save_inforace_info[100]; - tOpponent_save_infoopponent_info[48]; - tU32credits; - tU32rank; - tU32skill_level; - tU32game_completed; - tU32number_of_cars; - tU32cars_available[60]; - tU32current_car_index; - tU32current_race_index; - tU32redo_race_index; - tU32frank_or_annitude; - tU32power_up_levels[3]; - tU32version; - tU32checksum; -}; -struct tPed_subs { - intorig; - intsubs; -}; -struct tRadio_bastards { - intcount; - inttop; - intcurrent_value; - intleft[5]; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tPixelmap_user_data { - tU16orig_width; - tU16orig_height; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct v11group { - void *stored; - v11face *faces; - br_colour *face_colours; - br_uint_16 *face_user; - fmt_vertex *vertices; - br_colour *vertex_colours; - br_uint_16 *vertex_user; - br_uint_16nfaces; - br_uint_16nvertices; - br_uint_16nedges; -}; -struct v11model { - br_size_tsize; - br_uint_32flags; - br_uint_16ngroups; - br_vector3pivot; - v11group *groups; -}; -struct tMatrix_and_actor { - br_matrix34 *m; - br_actor *a; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tReduced_pos tReduced_pos; -typedef struct tIncident_info tIncident_info; -typedef tU16 tChunk_subject_index; -typedef struct tChanged_vertex tChanged_vertex; -typedef struct tPipe_actor_rstyle_data tPipe_actor_rstyle_data; -typedef struct tPipe_actor_translate_data tPipe_actor_translate_data; -typedef struct tPipe_actor_transform_data tPipe_actor_transform_data; -typedef struct tPipe_actor_create_data tPipe_actor_create_data; -typedef struct tPipe_actor_destroy_data tPipe_actor_destroy_data; -typedef struct tPipe_actor_relink_data tPipe_actor_relink_data; -typedef struct tPipe_actor_material_data tPipe_actor_material_data; -typedef struct tPipe_face_material_data tPipe_face_material_data; -typedef struct tPipe_material_trans_data tPipe_material_trans_data; -typedef struct tPipe_material_pixelmap_data tPipe_material_pixelmap_data; -typedef struct tPipe_model_geometry_data tPipe_model_geometry_data; -typedef struct tSmudged_vertex tSmudged_vertex; -typedef struct tPipe_smudge_data tPipe_smudge_data; -typedef struct tPipe_pedestrian_data tPipe_pedestrian_data; -typedef struct tPipe_frame_boundary_data tPipe_frame_boundary_data; -typedef struct tPipe_car_data tPipe_car_data; -typedef struct tPipe_sound_data tPipe_sound_data; -typedef struct tPipe_damage_data tPipe_damage_data; -typedef struct tPipe_special_data tPipe_special_data; -typedef struct tPipe_ped_gib_data tPipe_ped_gib_data; -typedef struct tPipe_incident_data tPipe_incident_data; -typedef struct tPipe_spark_data tPipe_spark_data; -typedef struct tPipe_shrapnel_data tPipe_shrapnel_data; -typedef struct tPipe_screen_shake_data tPipe_screen_shake_data; -typedef struct tPipe_non_car_data tPipe_non_car_data; -typedef struct tPipe_smoke_data tPipe_smoke_data; -typedef struct tPipe_smoke_column_data tPipe_smoke_column_data; -typedef struct tPipe_flame_data tPipe_flame_data; -typedef struct tPipe_splash_data tPipe_splash_data; -typedef struct tPipe_prox_ray_data tPipe_prox_ray_data; -typedef struct tPipe_oil_spill_data tPipe_oil_spill_data; -typedef struct tPipe_groove_stop_data tPipe_groove_stop_data; -typedef struct tPipe_skid_adjustment tPipe_skid_adjustment; -typedef struct tPipe_chunk tPipe_chunk; -typedef struct tPipe_session tPipe_session; -typedef struct tCollison_data tCollison_data; -typedef struct tSave_camera tSave_camera; - -typedef enum tShadow_level { - eShadow_none = 0, - eShadow_us_only = 1, - eShadow_us_and_opponents = 2, - eShadow_everyone = 3 -} tShadow_level; - - -typedef enum tPipe_chunk_type { - ePipe_chunk_actor_rstyle = 0, - ePipe_chunk_actor_translate = 1, - ePipe_chunk_actor_transform = 2, - ePipe_chunk_actor_create = 3, - ePipe_chunk_actor_destroy = 4, - ePipe_chunk_actor_relink = 5, - ePipe_chunk_actor_material = 6, - ePipe_chunk_face_material = 7, - ePipe_chunk_material_trans = 8, - ePipe_chunk_material_pixelmap = 9, - ePipe_chunk_model_geometry = 10, - ePipe_chunk_pedestrian = 11, - ePipe_chunk_frame_boundary = 12, - ePipe_chunk_car = 13, - ePipe_chunk_sound = 14, - ePipe_chunk_damage = 15, - ePipe_chunk_special = 16, - ePipe_chunk_ped_gib = 17, - ePipe_chunk_incident = 18, - ePipe_chunk_spark = 19, - ePipe_chunk_shrapnel = 20, - ePipe_chunk_screen_shake = 21, - ePipe_chunk_groove_stop = 22, - ePipe_chunk_non_car = 23, - ePipe_chunk_smoke = 24, - ePipe_chunk_oil_spill = 25, - ePipe_chunk_smoke_column = 26, - ePipe_chunk_flame = 27, - ePipe_chunk_smudge = 28, - ePipe_chunk_splash = 29, - ePipe_chunk_prox_ray = 30, - ePipe_chunk_skid_adjustment = 31, - ePipe_chunk_enum_count = 32 -} tPipe_chunk_type; - - -typedef enum tSpecial_type { - ePipe_special_fade = 0, - ePipe_special_giant_ped_on = 1, - ePipe_special_giant_ped_off = 2, - ePipe_special_min_ped_on = 3, - ePipe_special_min_ped_off = 4 -} tSpecial_type; - - -typedef enum tIncident_type { - eIncident_ped = 0, - eIncident_car = 1, - eIncident_wall = 2, - eNo_incident = 3 -} tIncident_type; - - -typedef enum tAction_replay_camera_type { - eAction_replay_standard = 0, - eAction_replay_tv = 1, - eAction_replay_action = 2 -} tAction_replay_camera_type; - - -typedef enum tKey_down_result { - tKey_down_no = 0, - tKey_down_yes = 1, - tKey_down_still = 2, - tKey_down_repeat = 3 -} tKey_down_result; - -typedef int dr_pick2d_cbfn(br_actor*, br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, br_scalar); -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tReduced_pos { - tS16v[3]; -}; -struct tIncident_info { - struct { - tCar_spec *car; - br_vector3impact_point; - }; - struct { - br_actor *ped_actor; - br_actor *murderer_actor; - }; - struct { - br_vector3pos; - }; -}; -struct tChanged_vertex { - tU16vertex_index; - br_vector3delta_coordinates; -}; -struct tPipe_actor_rstyle_data { - tU8new_rstyle; -}; -struct tPipe_actor_translate_data { - br_vector3new_translation; -}; -struct tPipe_actor_transform_data { - br_matrix34new_transformation; -}; -struct tPipe_actor_create_data { - tU8dummy; -}; -struct tPipe_actor_destroy_data { - tU8dummy; -}; -struct tPipe_actor_relink_data { - tChunk_subject_indexnew_parent; -}; -struct tPipe_actor_material_data { - tChunk_subject_indexnew_material; -}; -struct tPipe_face_material_data { - tU16face_index; - tChunk_subject_indexnew_material; -}; -struct tPipe_material_trans_data { - br_matrix23new_transformation; -}; -struct tPipe_material_pixelmap_data { - tChunk_subject_indexnew_pixelmap; -}; -struct tPipe_model_geometry_data { - tU16vertex_count; - intmodel_index; - tChanged_vertexvertex_changes[1]; -}; -struct tSmudged_vertex { - tU16vertex_index; - tU16light_index; -}; -struct tPipe_smudge_data { - tU16vertex_count; - intmodel_index; - tSmudged_vertexvertex_changes[1]; -}; -struct tPipe_pedestrian_data { - tU8action_and_frame_index; - tS8hit_points; - tU16parent; - br_vector3new_translation; - floatspin_period; - br_actor *parent_actor; - br_vector3offset; - br_scalarjump_magnitude; -}; -struct tPipe_frame_boundary_data { - tU32time; -}; -struct tPipe_car_data { - br_matrix34transformation; - br_vector3velocity; - tS16speedo_speed; - tS16steering_angle; - tU16revs_and_gear; - tS8lf_sus_position; - tS8rf_sus_position; - tS8lr_sus_position; - tS8rr_sus_position; -}; -struct tPipe_sound_data { - tS3_pitchpitch; - br_vector3position; - tU16outlet_index; - tU16volume; -}; -struct tPipe_damage_data { - tS8damage_delta[12]; -}; -struct tPipe_special_data { - tU8dummy; - tS8padding; -}; -struct tPipe_ped_gib_data { - tU16ped_parent_index; - tU8size; - tU8gib_index; - br_matrix34transform; -}; -struct tPipe_incident_data { - floatseverity; - struct { - struct { - tU16car_ID; - br_vector3impact_point; - }; - struct { - tU16ped_index; - br_actor *actor; - }; - struct { - br_vector3pos; - }; - }; -}; -struct tPipe_spark_data { - br_vector3pos; - br_vector3v; -}; -struct tPipe_shrapnel_data { - br_vector3pos; - tU16age; - br_material *material; -}; -struct tPipe_screen_shake_data { - tS8wobble_x; - tS8wobble_y; -}; -struct tPipe_non_car_data { - br_actor *actor; - br_matrix34mat; -}; -struct tPipe_smoke_data { - tReduced_pospos; - tU16radius; - tU8strength; - tU8type; -}; -struct tPipe_smoke_column_data { - intcar_ID; - tU16vertex; -}; -struct tPipe_flame_data { - tS16frame_count; - br_scalarscale_x; - br_scalarscale_y; - br_scalaroffset_x; - br_scalaroffset_z; -}; -struct tPipe_splash_data { - br_scalard; - br_vector3normal; -}; -struct tPipe_prox_ray_data { - tU16ped_index; - tU16car_ID; - tU32time; -}; -struct tPipe_oil_spill_data { - br_matrix34mat; - br_scalarfull_size; - br_scalargrow_rate; - tU32spill_time; - tU32previous_stop_time; - tCar_spec *car; - br_vector3original_pos; - br_pixelmap *pixelmap; -}; -struct tPipe_groove_stop_data { - intpath_interrupt; - intobject_interrupt; - floatpath_resumption; - floatobject_resumption; - br_matrix34matrix; -}; -struct tPipe_skid_adjustment { - br_matrix34matrix; - intmaterial_index; -}; -struct tPipe_chunk { - tChunk_subject_indexsubject_index; - struct { - tPipe_actor_rstyle_dataactor_rstyle_data; - tPipe_actor_translate_dataactor_translate_data; - tPipe_actor_transform_dataactor_transform_data; - tPipe_actor_create_dataactor_create_data; - tPipe_actor_destroy_dataactor_destroy_data; - tPipe_actor_relink_dataactor_relink_data; - tPipe_actor_material_dataactor_material_data; - tPipe_face_material_dataface_material_data; - tPipe_material_trans_datamaterial_trans_data; - tPipe_material_pixelmap_datamaterial_pixelmap_data; - tPipe_model_geometry_datamodel_geometry_data; - tPipe_pedestrian_datapedestrian_data; - tPipe_frame_boundary_dataframe_boundary_data; - tPipe_car_datacar_data; - tPipe_sound_datasound_data; - tPipe_damage_datadamage_data; - tPipe_special_dataspecial_data; - tPipe_ped_gib_dataped_gib_data; - tPipe_incident_dataincident_data; - tPipe_spark_dataspark_data; - tPipe_shrapnel_datashrapnel_data; - tPipe_screen_shake_datascreen_shake_data; - tPipe_groove_stop_datagroove_stop_data; - tPipe_non_car_datanon_car_data; - tPipe_smoke_datasmoke_data; - tPipe_oil_spill_dataoil_data; - tPipe_smoke_column_datasmoke_column_data; - tPipe_flame_dataflame_data; - tPipe_smudge_datasmudge_data; - tPipe_splash_datasplash_data; - tPipe_prox_ray_dataprox_ray_data; - tPipe_skid_adjustmentskid_adjustment; - }; -}; -struct tPipe_session { - tPipe_chunk_typechunk_type; - tU8number_of_chunks; - tPipe_chunkchunks; -}; -struct tCollison_data { - intref; - tCollision_info *car; -}; -struct tSave_camera { - intsaved; - br_scalarzoom; - br_angleyaw; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tToggle_element tToggle_element; -typedef void * tEdit_func(); -typedef struct tCheat tCheat; - -typedef enum tEdit_mode { - eEdit_mode_cheat = 0, - eEdit_mode_acc = 1, - eEdit_mode_spec_vol = 2, - eEdit_mode_ped = 3, - eEdit_mode_opp = 4, - eEdit_mode_pratcam = 5, - eEdit_mode_depth = 6, - eEdit_mode_damage = 7, - eEdit_mode_bonnet = 8, - eEdit_mode_options = 9, - eEdit_mode_count = 10 -} tEdit_mode; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tToggle_element { - intkey1; - intkey2; - intin_game_only; - intexact_modifiers; - inton_last_time; - void (*action_proc)(); -}; -struct tCheat { - tU32code; - tU32code2; - void (*action_proc)(int); - intnum; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct _tag_sos_evds_struct _SOS_EVDS_STRUCT; -typedef struct _tag_sos_vds_struct _SOS_VDS_STRUCT; -typedef struct _tag_sos_sample _SOS_SAMPLE; -typedef _SOS_SAMPLE * PSOSSAMPLE; -typedef struct _tagCAPABILITIES _SOS_CAPABILITIES; -typedef _SOS_CAPABILITIES * PSOSCAPABILITIES; -typedef struct _SOS_HARDWARE _SOS_HARDWARE; -typedef _SOS_HARDWARE * PSOSHARDWARE; -typedef struct _tag_sos_driver _SOS_DIGI_DRIVER; -typedef _SOS_DIGI_DRIVER * PSOSDIGIDRIVER; -typedef struct _SOS_DRV_FILEHEADER _SOS_DRV_FILEHEADER; -typedef _SOS_DRV_FILEHEADER * PSOSDRVFILEHEADER; -typedef struct _SOS_DRV_DRIVERHEADER _SOS_DRV_DRIVERHEADER; -typedef _SOS_DRV_DRIVERHEADER * PSOSDRVDRIVERHEADER; -typedef struct _tag_sos_system _SOS_SYSTEM; -typedef _SOS_SYSTEM * PSOSSYSTEM; -typedef struct _tag_sos_det_system _SOS_DET_SYSTEM; -typedef _SOS_DET_SYSTEM * PSOSDETSYSTEM; -typedef struct _tag_sos_timer_system _SOS_TIMER_SYSTEM; -typedef _SOS_TIMER_SYSTEM * PSOSTIMERSYSTEM; -typedef int ptrdiff_t; -typedef struct SmackTag Smack; -typedef struct SmackSumTag SmackSum; -typedef void * SmackTimerSetupType(); -typedef unsigned long * SmackTimerReadType(); -typedef void * SmackTimerDoneType(); -typedef struct _heapinfo _HEAPINFO; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct _tag_sos_evds_struct { - unsigned intregion_size; - unsigned intoffset; - unsigned intsegment; - unsigned shortnumber_available; - unsigned shortnumber_used; - unsigned intpage0; -}; -struct _tag_sos_vds_struct { - unsigned intregion_size; - unsigned intoffset; - unsigned shortsegment; - unsigned shortID; - unsigned intphysical; -}; -struct _tag_sos_sample { - PSTRpSample; - PSTRpSampleCurrent; - PSTRpSampleLoop; - DWORDwLength; - DWORDwLoopLength; - DWORDwLoopEndLength; - DWORDwLoopStage; - DWORDwID; - DWORDwFlags; - DWORDwPriority; - DWORDhSample; - DWORDwVolume; - DWORDwLoopCount; - DWORDwRate; - DWORDwBitsPerSample; - DWORDwChannels; - DWORDwFormat; - DWORDwPanPosition; - DWORDwPanSpeed; - DWORDwPanStart; - DWORDwPanEnd; - DWORDwPanMode; - DWORDwTotalBytesProcessed; - void (*pfnSampleProcessed)(_tag_sos_sample*); - void (*pfnSampleDone)(_tag_sos_sample*); - void (*pfnSampleLoop)(_tag_sos_sample*); - DWORDwSystem[16]; - DWORDwUser[16]; - _tag_sos_sample *pLink; - _tag_sos_sample *pNext; -}; -struct _tagCAPABILITIES { - BYTEszDeviceName[32]; - W32wDeviceVersion; - W32wBitsPerSample; - W32wChannels; - W32wMinRate; - W32wMaxRate; - W32wMixerOnBoard; - W32wMixerFlags; - W32wFlags; - short *lpPortList; - short *lpDMAList; - short *lpIRQList; - short *lpRateList; - W32fBackground; - W32wID; - W32wTimerID; -}; -struct _SOS_HARDWARE { - W32wPort; - W32wIRQ; - W32wDMA; - W32wParam; -}; -struct _tag_sos_driver { - W32wFlags; - DWORDwDriverRate; - DWORDwDriverChannels; - DWORDwDriverBitsPerSample; - DWORDwDriverFormat; - DWORDwMixerChannels; - DWORDwDMACountRegister; - DWORDwDMAPosition; - DWORDwDMALastPosition; - DWORDwDMADistance; - PSTRpXFERPosition; - DWORDwXFERJumpAhead; - _SOS_SAMPLE *pSampleList; - void (*pfnPseudoDMAFunction)(); - PSTRpDMABuffer; - PSTRpDMABufferEnd; - DWORDwDMABufferSize; - PSTRpMixingBuffer; - PSTRpMixingBufferEnd; - DWORDwMixingBufferSize; - DWORDwActiveChannels; - _SOS_SAMPLE *pSamples; - _SOS_HARDWAREsHardware; - _SOS_CAPABILITIESsCaps; - LPSTRlpDriverDS; - LPSTRlpDriverCS; - W32wSize; - DWORDdwLinear; - DWORDdwDMAPhysical; - LPSTRlpDMABuffer; - W32hMemory; - W32wDMARealSeg; - W32wID; - void (*pfnMixFunction)(); -}; -struct _SOS_DRV_FILEHEADER { - BYTEszName[32]; - W32wDrivers; - W32lOffset; - W32lFileSize; -}; -struct _SOS_DRV_DRIVERHEADER { - BYTEszName[32]; - W32lNextDriver; - W32wSize; - W32wDeviceID; - W32wExtenderType; -}; -struct _tag_sos_system { - W32wFlags; - BYTEszDriverPath[128]; - BYTEszTempDriverPath[128]; - PSOSDIGIDRIVERpDriver[5]; - _SOS_VDS_STRUCTsVDS; - _SOS_DRV_FILEHEADERsFileHeader; - _SOS_DRV_DRIVERHEADERsDriverHeader; - PSTR (*pMemAllocFunction)(DWORD); - void (*pMemFreeFunction)(PSTR, W32); -}; -struct _tag_sos_det_system { - W32wFlags; - BYTEszDriverPath[128]; - BYTEszTempDriverPath[128]; - _SOS_DRV_FILEHEADERsFileHeader; - _SOS_DRV_DRIVERHEADERsDriverHeader; - _SOS_CAPABILITIESsCaps; - PSOSCAPABILITIESpCaps; - LPSTRlpBufferDS; - LPSTRlpBufferCS; - W32hFile; - DWORDdwDriverIndex; - W32wDriverIndexCur; - W32hMemory; - DWORDdwLinear; -}; -struct _tag_sos_timer_system { - W32wFlags; - W32wChipDivisor; - void (*pfnEvent[16])(); - W32wEventRate[16]; - DWORDdwAdditiveFraction[16]; - DWORDdwCurrentSummation[16]; - W32wMIDIEventSongHandle[16]; - W32wMIDIActiveSongHandle; -}; -struct SmackTag { - unsigned longVersion; - unsigned longWidth; - unsigned longHeight; - unsigned longFrames; - unsigned longMSPerFrame; - unsigned longSmackerType; - unsigned longLargestInTrack[7]; - unsigned longtablesize; - unsigned longcodesize; - unsigned longabsize; - unsigned longdetailsize; - unsigned longtypesize; - unsigned longTrackType[7]; - unsigned longextra; - unsigned longNewPalette; - unsigned charPalette[772]; - unsigned longPalType; - unsigned longFrameNum; - unsigned longFrameSize; - unsigned longSndSize; - unsigned longLastRectx; - unsigned longLastRecty; - unsigned longLastRectw; - unsigned longLastRecth; - unsigned longOpenFlags; - unsigned longLeftOfs; - unsigned longTopOfs; - unsigned longReadError; - unsigned longaddr32; -}; -struct SmackSumTag { - unsigned longTotalTime; - unsigned longMS100PerFrame; - unsigned longTotalOpenTime; - unsigned longTotalFrames; - unsigned longSkippedFrames; - unsigned longSoundSkips; - unsigned longTotalBlitTime; - unsigned longTotalReadTime; - unsigned longTotalDecompTime; - unsigned longTotalBackReadTime; - unsigned longTotalReadSpeed; - unsigned longSlowestFrameTime; - unsigned longSlowest2FrameTime; - unsigned longSlowestFrameNum; - unsigned longSlowest2FrameNum; - unsigned longAverageFrameSize; - unsigned longHighest1SecRate; - unsigned longHighest1SecFrame; - unsigned longHighestMemAmount; - unsigned longTotalExtraMemory; - unsigned longHighestExtraUsed; -}; -struct _heapinfo { - void *_pentry; - size_t_size; - int_useflag; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; - -typedef enum tSpec_vol_depth_effect { - eSpec_dep_acid = 0, - eSpec_dep_water = 1, - eSpec_dep_slight_fog = 2, - eSpec_dep_med_fog = 3, - eSpec_dep_thick_fog = 4 -} tSpec_vol_depth_effect; - - -typedef enum tSpec_vol_cam_effect { - eSpec_cam_wobble = 0 -} tSpec_vol_cam_effect; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tHeadup tHeadup; -typedef struct tQueued_headup tQueued_headup; - -typedef enum tHeadup_type { - eHeadup_unused = 0, - eHeadup_text = 1, - eHeadup_coloured_text = 2, - eHeadup_image = 3, - eHeadup_fancy = 4, - eHeadup_box_text = 5 -} tHeadup_type; - - -typedef enum tFancy_stage { - eFancy_stage_incoming = 0, - eFancy_stage_halting = 1, - eFancy_stage_waiting = 2, - eFancy_stage_readying = 3, - eFancy_stage_leaving = 4 -} tFancy_stage; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tHeadup { - tHeadup_typetype; - intx; - inty; - intoriginal_x; - intright_edge; - intflash_period; - intslot_index; - intdimmed_background; - intdim_left; - intdim_top; - intdim_right; - intdim_bottom; - intclever; - intcockpit_anchored; - intflash_state; - tJustificationjustification; - tU32end_time; - tU32last_flash; - struct { - struct { - chartext[250]; - intcolour; - br_font *font; - }; - struct { - chartext[250]; - tDR_font *coloured_font; - }; - struct { - br_pixelmap *image; - }; - struct { - br_pixelmap *image; - intoffset; - intshear_amount; - intend_offset; - tFancy_stagefancy_stage; - tU32start_time; - }; - }; -}; -struct tQueued_headup { - intflash_rate; - intlifetime; - intfont_index; - chartext[256]; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tFlicette tFlicette; -typedef struct tMouse_area tMouse_area; -typedef struct tRectile tRectile; -typedef struct tInterface_spec tInterface_spec; -typedef unsigned long time_t; -typedef unsigned long clock_t; -typedef struct tm tm; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tFlicette { - intflic_index; - intx[2]; - inty[2]; -}; -struct tMouse_area { - intleft[2]; - inttop[2]; - intright[2]; - intbottom[2]; - intnew_choice; - intnew_mode; - intavailable_when_typing; - int (*mouse_click)(int*, int*, int, int); -}; -struct tRectile { - intleft[2]; - inttop[2]; - intright[2]; - intbottom[2]; -}; -struct tInterface_spec { - intinitial_imode; - intfirst_opening_flic; - intsecond_opening_flic; - intend_flic_go_ahead; - intend_flic_escaped; - intend_flic_otherwise; - intflic_bunch_to_load; - intmove_left_new_mode[2]; - intmove_left_delta[2]; - intmove_left_min[2]; - intmove_left_max[2]; - int (*move_left_proc[2])(int*, int*); - intmove_right_new_mode[2]; - intmove_right_delta[2]; - intmove_right_min[2]; - intmove_right_max[2]; - int (*move_right_proc[2])(int*, int*); - intmove_up_new_mode[2]; - intmove_up_delta[2]; - intmove_up_min[2]; - intmove_up_max[2]; - int (*move_up_proc[2])(int*, int*); - intmove_down_new_mode[2]; - intmove_down_delta[2]; - intmove_down_min[2]; - intmove_down_max[2]; - int (*move_down_proc[2])(int*, int*); - intgo_ahead_allowed[2]; - int (*go_ahead_proc[2])(int*, int*); - intescape_allowed[2]; - int (*escape_proc[2])(int*, int*); - int (*exit_proc)(int*, int*); - void (*draw_proc)(int, int); - tU32time_out; - void (*start_proc1)(); - void (*start_proc2)(); - int (*done_proc)(int, int, int, int, int); - intfont_needed; - inttypeable[2]; - void (*get_original_string)(int, int, char*, int*); - intescape_code; - intdont_save_or_load; - intnumber_of_button_flics; - tFlicette *flicker_on_flics; - tFlicette *flicker_off_flics; - tFlicette *pushed_flics; - intnumber_of_mouse_areas; - tMouse_area *mouse_areas; - intnumber_of_recopy_areas; - tRectile *recopy_areas; -}; -struct tm { - inttm_sec; - inttm_min; - inttm_hour; - inttm_mday; - inttm_mon; - inttm_year; - inttm_wday; - inttm_yday; - inttm_isdst; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fw_fn_table fw_fn_table; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; - -typedef enum view_to_screen_type { - BR_VTOS_PARALLEL = 0, - BR_VTOS_PERSPECTIVE = 1, - BR_VTOS_4X4 = 2 -} view_to_screen_type; - -typedef void dev_fill_cbfn(br_device*, br_pixelmap*); -typedef void dev_rectangle_copy_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16, br_pixelmap*, br_uint_16); -typedef void dev_rectangle_fill_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16); -typedef void dev_dirty_rectangle_copy_cbfn(br_device*, br_pixelmap*, br_pixelmap*, br_uint_16, br_uint_16); -typedef void dev_dirty_rectangle_fill_cbfn(br_device*, br_pixelmap*, br_uint_16, br_uint_16); -typedef void dev_plot_cbfn(br_device*, br_pixelmap*, br_uint_16); -typedef void dev_copy_cbfn(br_device*, br_pixelmap*, br_pixelmap*); -typedef void dev_line_cbfn(br_device*, br_pixelmap*, br_int_16, br_int_16); -typedef void dev_copy_bits_cbfn(br_device*, br_pixelmap*, br_int_16, br_int_16, br_uint_8*, br_uint_16); -typedef br_pixelmap* dev_double_buffer_cbfn(br_device*, br_pixelmap*, br_pixelmap*); -typedef br_pixelmap* dev_match_cbfn(br_device*, br_pixelmap*); -typedef br_pixelmap* dev_clone_cbfn(br_device*, br_pixelmap*); -typedef void dev_free_cbfn(br_device*, br_pixelmap*); -typedef int dr_modelpick2d_cbfn(br_model*, br_material*, br_vector3*, br_vector3*, br_scalar, int, int, int, br_vector3*); -typedef int dr_pick3d_cbfn(br_actor*, br_model*, br_material*, br_matrix34*, br_bounds*); -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fw_fn_table { - br_surface_fn *light; - br_surface_fn *light_material; - br_surface_fn *light_vertex; - br_surface_fn *light_texture; - br_face_surface_fn *face_light; - br_light_sub_fn *direct; - br_light_sub_fn *point; - br_light_sub_fn *point_attn; - br_light_sub_fn *spot; - br_light_sub_fn *spot_attn; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tFlic_spec tFlic_spec; -typedef struct tFlic_bunch tFlic_bunch; -typedef struct tTranslation_record tTranslation_record; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tFlic_spec { - char *file_name; - intinterruptable; - intqueued; - intframe_rate; - intrepeat; - intx_offset; - inty_offset; - tS8 *data_ptr; - tU32the_size; -}; -struct tFlic_bunch { - charcount; - int *indexes; -}; -struct tTranslation_record { - intflic_index; - intx; - inty; - intfont_index; - intglobal; - intevery_frame; - tJustificationjustification; - char *text; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct exception_struct tException_node; - -typedef enum tVehicle_category { - eVehicle_self = 0, - eVehicle_opponent = 1, - eVehicle_rozzer = 2, - eVehicle_drone = 3 -} tVehicle_category; - -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tTransient_bm tTransient_bm; -typedef struct tCursor_giblet tCursor_giblet; -typedef struct tWobble_spec tWobble_spec; -typedef struct tConcussion tConcussion; -typedef struct tSaved_table tSaved_table; -typedef struct tClip_details tClip_details; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tTransient_bm { - br_pixelmap *pixmap; - intin_use; - intx_coord; - inty_coord; - intorder_number; - intuser_data; -}; -struct tCursor_giblet { - intcurrent_giblet; - intsequence_index; - intlanded; - inttransient_index; - floatx_speed; - floaty_speed; - floatx_coord; - floaty_coord; - floatthe_speed; - tU32last_giblet_change; - tU32giblet_change_period; - tU32e_t_a; -}; -struct tWobble_spec { - floatamplitude_x; - floatamplitude_y; - floatperiod; - inttime_started; -}; -struct tConcussion { - intconcussed; - br_matrix34amplitudes; - br_matrix34periods; - tU32time_started; -}; -struct tSaved_table { - br_pixelmap *original; - br_pixelmap *copy; -}; -struct tClip_details { - br_actor *clip; - br_scalarlength; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tS3_channel tS3_channel; -typedef struct tS3_outlet tS3_outlet; -typedef struct tS3_descriptor tS3_descriptor; -typedef struct tS3_sound_source tS3_sound_source; -typedef struct tS3_sample tS3_sample; -typedef struct tS3_hardware_info tS3_hardware_info; - -typedef enum tS3_sound_type { - eS3_ST_sample = 0, - eS3_ST_midi = 1, - eS3_ST_cda = 2 -} tS3_sound_type; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tS3_channel { - intactive; - inttermination_reason; - intneeds_service; - intrepetitions; - intrate; - intspatial_sound; - unsigned intsong_handle; - tS3_sound_tagtag; - tS3_typetype; - tS3_volumeleft_volume; - tS3_volumeright_volume; - floatvolume_multiplier; - tS3_vector3position; - tS3_vector3velocity; - tS3_vector3lastpos; - tS3_volumeinitial_volume; - tS3_pitchinitial_pitch; - floatpMax_distance_squared; - tS3_outlet *owner_outlet; - tS3_descriptor *descriptor; - tS3_channel *next; - char *type_struct_sample; - char *type_struct_midi; - char *type_struct_cda; - tS3_sound_source *sound_source_ptr; -}; -struct tS3_outlet { - intid; - intmax_channels; - intindependent_pitch; - tS3_channel *channel_list; - tS3_outlet *prev; - tS3_outlet *next; - tS3_outlet_callback *callback; -}; -struct tS3_descriptor { - tS3_sound_idid; - tS3_typetype; - tS3_prioritypriority; - tS3_repeatsrepeats; - tS3_volumemin_volume; - tS3_volumemax_volume; - tS3_pitchmin_pitch; - tS3_pitchmax_pitch; - tS3_speedmin_speed; - tS3_speedmax_speed; - tS3_descriptor *prev; - tS3_descriptor *next; - intflags; - intmidi_song_handle; - intspecial_fx; - intmemory_proxy; - char *sound_data; - char *filename; -}; -struct tS3_sound_source { - tS3_channel *channel; - intbrender_vector; - void *position_ptr; - void *velocity_ptr; - tS3_outlet *bound_outlet; - tS3_sound_source *prev; - tS3_sound_source *next; - intambient; - tS3_repeatsambient_repeats; - inttime_since_last_played; - tS3_sound_idsound_id; - floatmax_distance_sq; - intperiod; - tS3_volumevolume; - tS3_pitchpitch; - tS3_speedspeed; - tS3_sound_tagtag; -}; -struct tS3_sample { - intsize; - intrate; - intresolution; - intchannels; - char *dataptr; - void *freeptr; -}; -struct tS3_hardware_info { - intdevice_installed; - inttimer_installed; - intnum_channels; - intmax_resolution; - intstereo_flag; - intmax_sample_rate; - intmin_sample_rate; - intindependent_pitch; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tModel_pool tModel_pool; -typedef struct tHeadup_info tHeadup_info; - -typedef enum tNet_head_avail { - eNet_or_otherwise = 0, - eNet_only = 1, - eNot_net = 2, - eNot_ever_ever_ever = 3 -} tNet_head_avail; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tModel_pool { - br_model **model_array; - intmodel_count; -}; -struct tHeadup_info { - char *name; - tNet_head_availavail; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; - -typedef enum tTime_bonus_state { - eTime_bonus_none = 0, - eTime_bonus_initial_pause = 1, - eTime_bonus_race_bonus = 2, - eTime_bonus_tb_up = 3, - eTime_bonus_tb_pause = 4, - eTime_bonus_tb_down = 5, - eTime_bonus_end_pause = 6 -} tTime_bonus_state; - - -typedef enum tInfo_mode { - eInfo_regular = 0, - eInfo_pcam_car = 1, - eInfo_nearby_mat = 2, - eInfo_count = 3 -} tInfo_mode; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tHeadup_pair tHeadup_pair; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tHeadup_pair { - intplayer_index; - intscore; - intout_of_game; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tMax_message tMax_message; -typedef struct tMid_message tMid_message; -typedef struct tMin_message tMin_message; -typedef struct tGuaranteed_message tGuaranteed_message; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tMax_message { - charbuffer[516]; -}; -struct tMid_message { - charbuffer[132]; -}; -struct tMin_message { - charbuffer[36]; -}; -struct tGuaranteed_message { - tNet_message *message; - tU32send_time; - tU32next_resend_time; - tU32resend_period; - intrecieved; - tPD_net_player_infopd_address; - int (*NotifyFail)(tU32, tNet_message*); - tU32guarantee_number; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tJoinable_game tJoinable_game; - -typedef enum tJoin_or_host_result { - eJoin_or_host_cancel = 0, - eJoin_or_host_join = 1, - eJoin_or_host_host = 2 -} tJoin_or_host_result; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tJoinable_game { - tNet_game_details *game; - tU32time; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tOil_spill_info tOil_spill_info; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tOil_spill_info { - br_actor *actor; - tCar_spec *car; - tU32spill_time; - tU32stop_time; - br_scalarfull_size; - br_scalarcurrent_size; - br_scalargrow_rate; - br_vector3original_pos; - br_vector3pos; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; - -typedef enum tJoy_calib_stage { - eJoy_calib_tl_1 = 0, - eJoy_calib_br_1 = 1, - eJoy_calib_cn_1 = 2, - eJoy_calib_tl_2 = 3, - eJoy_calib_br_2 = 4, - eJoy_calib_cn_2 = 5 -} tJoy_calib_stage; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tPed_choice tPed_choice; -typedef struct tPedestrian_instruction tPedestrian_instruction; -typedef struct tBearing_sequence tBearing_sequence; -typedef struct tPedestrian_action tPedestrian_action; -typedef struct tPed_frame_info tPed_frame_info; -typedef struct tPedestrian_sequence tPedestrian_sequence; -typedef struct tPedestrian_data tPedestrian_data; -typedef struct tPed_gib tPed_gib; -typedef struct tPed_gib_materials tPed_gib_materials; -typedef struct tProximity_ray tProximity_ray; - -typedef enum tPed_instruc_type { - ePed_instruc_point = 0, - ePed_instruc_xpoint = 1, - ePed_instruc_bchoice = 2, - ePed_instruc_fchoice = 3, - ePed_instruc_dead = 4, - ePed_instruc_bmarker = 5, - ePed_instruc_fmarker = 6, - ePed_instruc_baction = 7, - ePed_instruc_faction = 8, - ePed_instruc_reverse = 9 -} tPed_instruc_type; - - -typedef enum tPed_frame_rate_type { - ePed_frame_fixed = 0, - ePed_frame_speed = 1, - ePed_frame_variable = 2 -} tPed_frame_rate_type; - - -typedef enum tPed_collide_type { - ePed_collide_none = 255, - ePed_collide_on = 0 -} tPed_collide_type; - - -typedef enum tPed_hit_position { - ePed_hit_unknown = 0, - ePed_hit_front = 1, - ePed_hit_back = 2, - ePed_hit_rside = 3, - ePed_hit_lside = 4 -} tPed_hit_position; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tPed_choice { - tU16danger_level; - tU8percentage_chance; - tU8marker_ref; -}; -struct tPedestrian_instruction { - tPed_instruc_typetype; - struct { - struct { - br_vector3position; - intirreversable; - }; - struct { - intnumber_of_choices; - tPed_choicechoices[2]; - }; - struct { - intdeath_sequence; - }; - struct { - intmarker_ref; - }; - struct { - intaction_index; - }; - }; -}; -struct tBearing_sequence { - intsequence_index; - floatmax_bearing; -}; -struct tPedestrian_action { - floatdanger_level; - floatpercentage_chance; - intnumber_of_bearings; - intnumber_of_sounds; - intsounds[3]; - tBearing_sequencesequences[7]; - floatinitial_speed; - floatlooping_speed; - tU32reaction_time; -}; -struct tPed_frame_info { - br_vector2offset; - intflipped; - br_pixelmap *pixelmap; -}; -struct tPedestrian_sequence { - tPed_frame_rate_typeframe_rate_type; - floatframe_rate_factor1; - floatframe_rate_factor2; - intnumber_of_frames; - intlooping_frame_start; - tPed_frame_infoframes[10]; -}; -struct tPedestrian_data { - intmagic_number; - br_scalarheight; - br_scalarjump_magnitude; - br_scalarcar_to_ped; - br_scalarmin_x; - br_scalarmax_x; - intcredits_value; - inthit_points; - intnumber_of_exploding_sounds; - intexploding_sounds[3]; - intfalling_sound; - intlast_sound_action; - tU16killers_ID; - br_scalarwidth; - br_scalarheight2; - tCar_spec *fate; - br_actor *actor; - tPlayer_IDmurderer; - tPedestrian_instruction *instruction_list; - tPedestrian_action *action_list; - tU8ref_number; - tU8active; - tU8munged; - tU8collided_last_time; - tU8flipped; - tU8reverse_frames; - tU8sent_dead_message; - tS8image_index; - tS8number_of_actions; - tS8number_of_instructions; - tS8first_instruction; - tS8current_instruction; - tS8fatal_car_impact_action; - tS8non_fatal_car_impact_action; - tS8after_impact_action; - tS8fatal_ground_impact_action; - tS8non_fatal_ground_impact_action; - tS8giblets_action; - tS8current_sequence; - tS8current_action; - tS8current_action_mode; - tS8current_frame; - tS8number_of_sequences; - tS8done_initial; - tS8giblets_being_sat_upon; - tS8mid_air; - tS8instruction_direction; - tS8irreversable; - tS8frightened_of_us; - tS8cloned; - floatcurrent_speed; - floatacceleration; - floatspin_period; - tU32last_frame; - tU32last_action_change; - tU32last_sound_make; - tS32respawn_time; - br_vector3pos; - br_vector3direction; - br_vector3from_pos; - br_vector3to_pos; - br_vector3offset; - floatfalling_speed; - tSpecial_volume *last_special_volume; - tPedestrian_sequence *sequences; - tS3_sound_taglast_sound; - br_pixelmap *colour_map; -}; -struct tPed_gib { - br_actor *actor; - br_scalarx_speed; - br_scalary_speed; - intsize; - intlast_frame; - intgib_index; - intparent_index; - tU32start_time; - tU32end_time; - tU32flip_period; -}; -struct tPed_gib_materials { - intcount; - br_material *materials[5]; -}; -struct tProximity_ray { - tCar_spec *car; - tPedestrian_data *ped; - tU32start_time; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tPiped_registration_snapshot tPiped_registration_snapshot; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tPiped_registration_snapshot { - intpiped_actors_count; - intpiped_models_count; - intpiped_materials_count; - intpiped_pixelmaps_count; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tHeadup_icon tHeadup_icon; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tHeadup_icon { - tPowerup *powerup; - intfizzle_stage; - intfizzle_direction; - tU32fizzle_start; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tPrat_flic_spec tPrat_flic_spec; -typedef struct tPrat_alternative tPrat_alternative; -typedef struct tPrat_flic_chunk tPrat_flic_chunk; -typedef struct tPrat_sequence tPrat_sequence; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tPrat_flic_spec { - char *data; - tU32data_length; -}; -struct tPrat_alternative { - intref; - intchance; - intnumber_of_sounds; - intsound_ids[8]; - intsound_chance; -}; -struct tPrat_flic_chunk { - intnumber_of_alternatives; - tPrat_alternativealternatives[6]; -}; -struct tPrat_sequence { - intnumber_of_chunks; - intprecedence; - intrepeat_chunk; - tPrat_flic_chunkchunks[6]; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; - -typedef enum tGrid_draw { - eGrid_draw_none = 0, - eGrid_draw_icons_only = 1, - eGrid_draw_all = 2 -} tGrid_draw; - - -typedef enum tNet_synch_mode { - eNet_synch_host_first = 0, - eNet_synch_host_subsequent = 1, - eNet_synch_client = 2 -} tNet_synch_mode; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tWreck_info tWreck_info; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tWreck_info { - br_actor *actor; - br_matrix34rotation; - br_matrix34original_matrix; - intcustomised; - intcar_index; - floatpos_x; - floatpos_y; - tVehicle_typecar_type; - br_scalarscaling_factor; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tRectangle tRectangle; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tRectangle { - intleft; - inttop; - intright; - intbottom; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tSkid tSkid; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tSkid { - br_actor *actor; - br_vector3normal; - br_vector3pos; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tSpark tSpark; -typedef struct tShrapnel tShrapnel; -typedef struct tSmoke tSmoke; -typedef struct tSmoke_column tSmoke_column; -typedef struct tSplash tSplash; -typedef struct tBRender_smoke tBRender_smoke; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tSpark { - intcount; - br_vector3pos; - br_vector3v; - br_vector3length; - br_vector3normal; - tU32time_sync; - tCar_spec *car; - tU8colour; -}; -struct tShrapnel { - br_actor *actor; - br_vector3v; - tU32time_sync; - tU32age; - br_scalarshear1; - br_scalarshear2; - br_vector3axis; -}; -struct tSmoke { - tU32time_sync; - br_vector3pos; - br_vector3v; - br_scalarradius; - br_scalarstrength; - br_scalardecay_factor; - tU8type; - tU8pipe_me; -}; -struct tSmoke_column { - tCar_spec *car; - tU32time; - tU32lifetime; - tU32count; - intcolour; - intwhiter; - br_actor *flame_actor; - intframe_count[3]; - br_vector3pos; - br_scalarscale_x[3]; - br_scalarscale_y[3]; - br_scalaroffset_x[3]; - br_scalaroffset_z[3]; - tU32smudge_timer; - intvertex_index; - intupright; -}; -struct tSplash { - br_actor *actor; - br_vector3v; - intjust_done; - br_scalarsize; - br_scalarscale_x; -}; -struct tBRender_smoke { - br_vector3pos; - br_scalarr; - br_scalarstrength; - br_colourcol; - br_scalaraspect; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tRGB_colour tRGB_colour; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tRGB_colour { - intred; - intgreen; - intblue; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct fmt_vertex DR_VERTEX; -typedef struct v11face DR_FACE; -typedef struct tFunkotronic_spec tFunkotronic_spec; -typedef struct tGroovidelic_spec tGroovidelic_spec; -typedef br_material* * tPMFMCB(br_model*, tU16); - -typedef enum tMatrix_mod_type { - eMatrix_mod_none = 255, - eMatrix_mod_spin = 0, - eMatrix_mod_rock = 1, - eMatrix_mod_throb = 2, - eMatrix_mod_slither = 3, - eMatrix_mod_roll = 4 -} tMatrix_mod_type; - - -typedef enum tTexture_animation_type { - eTexture_animation_none = 255, - eTexture_animation_frames = 0, - eTexture_animation_flic = 1 -} tTexture_animation_type; - - -typedef enum tMove_mode { - eMove_none = 255, - eMove_linear = 0, - eMove_harmonic = 1, - eMove_flash = 2, - eMove_controlled = 3, - eMove_absolute = 4, - eMove_continuous = 5 -} tMove_mode; - - -typedef enum tFunk_trigger_mode { - eFunk_mode_constant = 0, - eFunk_mode_distance = 1, - eFunk_mode_last_lap_only = 2, - eFunk_mode_all_laps_but_last = 3 -} tFunk_trigger_mode; - - -typedef enum tGroove_trigger_mode { - eGroove_mode_constant = 0, - eGroove_mode_distance = 1 -} tGroove_trigger_mode; - - -typedef enum tGroove_path_mode { - eGroove_path_none = 255, - eGroove_path_straight = 0, - eGroove_path_circular = 1 -} tGroove_path_mode; - - -typedef enum tGroove_object_mode { - eGroove_object_none = 255, - eGroove_object_spin = 0, - eGroove_object_rock = 1, - eGroove_object_throb = 2, - eGroove_object_shear = 3 -} tGroove_object_mode; - - -typedef enum tGroove_axis_mode { - eGroove_axis_x = 0, - eGroove_axis_y = 1, - eGroove_axis_z = 2 -} tGroove_axis_mode; - - -typedef enum tAnimation_time_mode { - eTime_mode_approximate = 0, - eTime_mode_accurate = 1 -} tAnimation_time_mode; - - -typedef enum tInterrupt_status { - eInterrupt_none = 0, - eInterrupt_less_than = 1, - eInterrupt_greater_than = 2 -} tInterrupt_status; - - -typedef enum tRotate_mode { - eRotate_mode_x = 0, - eRotate_mode_y = 1, - eRotate_mode_z = 2 -} tRotate_mode; - - -typedef enum tScale_mode { - eScale_mode_all = 0, - eScale_mode_x = 1, - eScale_mode_y = 2, - eScale_mode_z = 3 -} tScale_mode; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct tFunkotronic_spec { - intowner; - br_material *material; - tFunk_trigger_modemode; - tMatrix_mod_typematrix_mod_type; - tMove_modematrix_mode; - struct { - struct { - floatperiod; - }; - struct { - floatperiod; - br_scalarx_centre; - br_scalary_centre; - floatrock_angle; - }; - struct { - floatx_period; - floaty_period; - br_scalarx_centre; - br_scalary_centre; - floatx_magnitude; - floaty_magnitude; - }; - struct { - floatx_period; - floaty_period; - floatx_magnitude; - floaty_magnitude; - }; - struct { - floatx_period; - floaty_period; - }; - }; - tMove_modelighting_animation_type; - floatlighting_animation_period; - floatambient_base; - floatambient_delta; - floatdirect_base; - floatdirect_delta; - floatspecular_base; - floatspecular_delta; - tTexture_animation_typetexture_animation_type; - tAnimation_time_modetime_mode; - floatlast_frame; - struct { - struct { - tMove_modemode; - floatperiod; - inttexture_count; - intcurrent_frame; - br_pixelmap *textures[8]; - }; - struct { - tU8 *flic_data; - tU32flic_data_length; - tFlic_descriptorflic_descriptor; - }; - }; - intproximity_count; - br_vector3 *proximity_array; -}; -struct tGroovidelic_spec { - intowner; - intdone_this_frame; - br_actor *actor; - tLollipop_modelollipop_mode; - tGroove_trigger_modemode; - tGroove_path_modepath_type; - tMove_modepath_mode; - tInterrupt_statuspath_interrupt_status; - floatpath_resumption_value; - struct { - struct { - floatperiod; - floatx_delta; - floaty_delta; - floatz_delta; - br_vector3centre; - }; - struct { - floatperiod; - floatradius; - br_vector3centre; - tGroove_axis_modeaxis; - }; - }; - br_vector3object_centre; - br_vector3object_position; - tGroove_object_modeobject_type; - tMove_modeobject_mode; - tInterrupt_statusobject_interrupt_status; - floatobject_resumption_value; - struct { - struct { - floatperiod; - tGroove_axis_modeaxis; - }; - struct { - floatperiod; - floatmax_angle; - floatcurrent_angle; - tGroove_axis_modeaxis; - }; - struct { - floatx_period; - floaty_period; - floatz_period; - floatx_magnitude; - floaty_magnitude; - floatz_magnitude; - }; - struct { - floatx_period; - floaty_period; - floatz_period; - floatx_magnitude; - floaty_magnitude; - floatz_magnitude; - }; - }; -}; -typedef struct DWORDREGS DWORDREGS; -typedef struct WORDREGS WORDREGS; -typedef struct BYTEREGS BYTEREGS; -typedef struct REGS REGS; -typedef struct SREGS SREGS; -typedef struct REGPACKB REGPACKB; -typedef struct REGPACKW REGPACKW; -typedef struct REGPACKX REGPACKX; -typedef struct REGPACK REGPACK; -typedef struct INTPACKX INTPACKX; -typedef struct INTPACKW INTPACKW; -typedef struct INTPACKB INTPACKB; -typedef struct INTPACK INTPACK; -typedef struct _DOSERROR _DOSERROR; -typedef struct DOSERROR DOSERROR; -typedef struct dosdate_t dosdate_t; -typedef struct dostime_t dostime_t; -typedef struct find_t find_t; -typedef struct _diskfree_t _diskfree_t; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef struct tPD_net_game_info tPD_net_game_info; -typedef struct tIPX_netnum tIPX_netnum; -typedef struct tRM_info tRM_info; -struct DWORDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflag; -}; -struct WORDREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; - unsigned intcflag; -}; -struct BYTEREGS { - unsigned charal; - unsigned charah; - unsigned short_1; - unsigned charbl; - unsigned charbh; - unsigned short_2; - unsigned charcl; - unsigned charch; - unsigned short_3; - unsigned chardl; - unsigned chardh; - unsigned short_4; -}; -struct REGS { - DWORDREGSx; - WORDREGSw; - BYTEREGSh; -}; -struct SREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct REGPACKB { - unsigned charal; - unsigned charah; - unsigned short_1; - unsigned charbl; - unsigned charbh; - unsigned short_2; - unsigned charcl; - unsigned charch; - unsigned short_3; - unsigned chardl; - unsigned chardh; - unsigned short_4; -}; -struct REGPACKW { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortbp; - unsigned short_5; - unsigned shortsi; - unsigned short_6; - unsigned shortdi; - unsigned short_7; - unsigned shortds; - unsigned shortes; - unsigned shortfs; - unsigned shortgs; - unsigned intflags; -}; -struct REGPACKX { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intebp; - unsigned intesi; - unsigned intedi; - unsigned shortds; - unsigned shortes; - unsigned shortfs; - unsigned shortgs; - unsigned intflags; -}; -struct REGPACK { - REGPACKBh; - REGPACKWw; - REGPACKXx; -}; -struct INTPACKX { - unsigned intgs; - unsigned intfs; - unsigned intes; - unsigned intds; - unsigned intedi; - unsigned intesi; - unsigned intebp; - unsigned intesp; - unsigned intebx; - unsigned intedx; - unsigned intecx; - unsigned inteax; - unsigned inteip; - unsigned intcs; - unsigned intflags; -}; -struct INTPACKW { - unsigned shortgs; - unsigned short_1; - unsigned shortfs; - unsigned short_2; - unsigned shortes; - unsigned short_3; - unsigned shortds; - unsigned short_4; - unsigned shortdi; - unsigned short_5; - unsigned shortsi; - unsigned short_6; - unsigned shortbp; - unsigned short_7; - unsigned shortsp; - unsigned short_8; - unsigned shortbx; - unsigned short_9; - unsigned shortdx; - unsigned short_a; - unsigned shortcx; - unsigned short_b; - unsigned shortax; - unsigned short_c; - unsigned shortip; - unsigned short_d; - unsigned shortcs; - unsigned short_e; - unsigned intflags; -}; -struct INTPACKB { - unsigned charbl; - unsigned charbh; - unsigned short_1; - unsigned chardl; - unsigned chardh; - unsigned short_2; - unsigned charcl; - unsigned charch; - unsigned short_3; - unsigned charal; - unsigned charah; - unsigned short_4; -}; -struct INTPACK { - INTPACKBh; - INTPACKWw; - INTPACKXx; -}; -struct _DOSERROR { - intexterror; - charerrclass; - charaction; - charlocus; -}; -struct DOSERROR { - intexterror; - charclass; - charaction; - charlocus; -}; -struct dosdate_t { - unsigned charday; - unsigned charmonth; - unsigned shortyear; - unsigned chardayofweek; -}; -struct dostime_t { - unsigned charhour; - unsigned charminute; - unsigned charsecond; - unsigned charhsecond; -}; -struct find_t { - charreserved[21]; - charattrib; - unsigned shortwr_time; - unsigned shortwr_date; - unsigned longsize; - charname[13]; -}; -struct _diskfree_t { - unsigned shorttotal_clusters; - unsigned shortavail_clusters; - unsigned shortsectors_per_cluster; - unsigned shortbytes_per_sector; -}; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct tPD_net_game_info { - _IPX_LOCAL_TARGETaddr_ipx; - tU32last_response; -}; -struct tIPX_netnum { - BYTEbNetwork[4]; -}; -struct tRM_info { - unsigned longEDI; - unsigned longESI; - unsigned longEBP; - unsigned longreserved; - unsigned longEBX; - unsigned longEDX; - unsigned longECX; - unsigned longEAX; - unsigned shortflags; - unsigned shortES; - unsigned shortDS; - unsigned shortFS; - unsigned shortGS; - unsigned shortIP; - unsigned shortCS; - unsigned shortSP; - unsigned shortSS; -}; -typedef struct __iobuf FILE; -typedef struct _tagRMI_REGS _RMI_REGS; -typedef struct _tagBREGS _HMI_BREGS; -typedef struct _tagWREGS _HMI_WREGS; -typedef struct _tagDREGS _HMI_DREGS; -typedef struct _tagSREGS _HMI_SREGS; -typedef struct _tagIPX_HEADER _IPX_HEADER; -typedef struct _tagIPX_ECB _IPX_ECB; -typedef struct _tagIPX_INTERNET_ADDR _IPX_INTERNET_ADDR; -typedef struct _tagIPX_NETWORK_ADDR _IPX_NETWORK_ADDR; -typedef struct _tagIPX_LOCAL_TARGET _IPX_LOCAL_TARGET; -typedef struct _tagIPX_ELEMENT _IPX_ELEMENT; -typedef struct _tag_NETBIOS_NCB _NETBIOS_NCB; -typedef struct _tagNETBIOS_ADAPTER_STATUS _NETBIOS_ADAPTER_STATUS; -typedef struct _tagNETBIOS_ELEMENT _NETBIOS_ELEMENT; -typedef struct _tagNETBIOS_LOCAL_TARGET _NETBIOS_LOCAL_TARGET; -typedef struct _tagXFER_BLOCK_HEADER _XFER_BLOCK_HEADER; -typedef struct tCar_spec_struct tCar_spec; -typedef struct tPath_node_struct tPath_node; -typedef struct tPath_section_struct tPath_section; -typedef struct exception_struct tException_node; -typedef unsigned int ino_t; -typedef int dev_t; -typedef long off_t; -typedef struct dirent DIR; -typedef struct _heapinfo _HEAPINFO; -typedef struct dosio_event dosio_event; -typedef struct dosio_event_queue dosio_event_queue; -typedef struct _stat _stat; -typedef struct stat stat; -typedef struct tMem_info tMem_info; - -typedef enum dosio_event_type { - DOSIO_EVENT_KEY_DOWN = 0, - DOSIO_EVENT_KEY_UP = 1, - DOSIO_EVENT_POINTER1_DOWN = 2, - DOSIO_EVENT_POINTER1_UP = 3, - DOSIO_EVENT_POINTER2_DOWN = 4, - DOSIO_EVENT_POINTER2_UP = 5, - DOSIO_EVENT_POINTER3_DOWN = 6, - DOSIO_EVENT_POINTER3_UP = 7, - DOSIO_EVENT_POINTER_MOVE = 8, - DOSIO_EVENT_MAX = 9 -} dosio_event_type; - - -typedef enum dosio_event_qual { - DOSIO_QUAL_SHIFT = 1, - DOSIO_QUAL_CONTROL = 2, - DOSIO_QUAL_ALT = 4 -} dosio_event_qual; - -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -struct _tagRMI_REGS { - longEDI; - longESI; - longEBP; - longreserved_by_system; - longEBX; - longEDX; - longECX; - longEAX; - shortflags; - shortES; - shortDS; - shortFS; - shortGS; - shortIP; - shortCS; - shortSP; - shortSS; -}; -struct _tagBREGS { - charal; - charah; - unsigned short_1; - charbl; - charbh; - unsigned short_2; - charcl; - charch; - unsigned short_3; - chardl; - chardh; - unsigned short_4; -}; -struct _tagWREGS { - unsigned shortax; - unsigned short_1; - unsigned shortbx; - unsigned short_2; - unsigned shortcx; - unsigned short_3; - unsigned shortdx; - unsigned short_4; - unsigned shortsi; - unsigned short_5; - unsigned shortdi; - unsigned short_6; -}; -struct _tagDREGS { - unsigned inteax; - unsigned intebx; - unsigned intecx; - unsigned intedx; - unsigned intesi; - unsigned intedi; - unsigned intcflags; -}; -struct _tagSREGS { - unsigned shortes; - unsigned shortcs; - unsigned shortss; - unsigned shortds; - unsigned shortfs; - unsigned shortgs; -}; -struct _tagIPX_HEADER { - USHORTwChecksum; - USHORTwLength; - BYTEbTransportControl; - BYTEbPacketType; - BYTEbDestNetworkNumber[4]; - BYTEbDestNetworkNode[6]; - USHORTwDestNetworkSocket; - BYTEbSourceNetworkNumber[4]; - BYTEbSourceNetworkNode[6]; - USHORTwSourceNetworkSocket; -}; -struct _tagIPX_ECB { - PSTRpLinkAddress; - PSTRpESRRoutine; - BYTEbInUse; - BYTEbCompletionCode; - USHORTwSocket; - USHORTwConnectionID; - USHORTwWorkSpace; - BYTEbDriverWorkSpace[12]; - BYTEbImmediateAddress[6]; - USHORTwPacketCount; - _ECB_PACKETsPacket[2]; -}; -struct _tagIPX_INTERNET_ADDR { - BYTEbNetwork[4]; - BYTEbNode[6]; -}; -struct _tagIPX_NETWORK_ADDR { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbSocket[2]; -}; -struct _tagIPX_LOCAL_TARGET { - _IPX_INTERNET_ADDRsInternetAddr; - BYTEbImmediate[6]; -}; -struct _tagIPX_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _IPX_HEADERsHeader; - _IPX_ECBsECB; - _IPX_ECB *pECB; - _IPX_HEADER *pIPXHeader; - PSTRpHeader; - USHORTwHSize; -}; -struct _tag_NETBIOS_NCB { - BYTEbCommand; - BYTEbReturnCode; - BYTEbLocalSession; - BYTEbNetworkNameNumber; - _PTRsPtr; - USHORTwLength; - BYTEbCallName[16]; - BYTEbName[16]; - BYTEbReceiveTimeOut; - BYTEbSendTimeOut; - PSTRpPostFunction; - BYTEbAdapter; - BYTEbCompletionCode; - BYTEbReserve[14]; -}; -struct _tagNETBIOS_ADAPTER_STATUS { - BYTEbCardID[6]; - BYTEbReleaseLevel; - BYTEbReserved1; - BYTEbTypeOfAdapter; - BYTEbOldOrNewParameters; - USHORTwReportingPeriodMinutes; - USHORTwFrameRejectReceivedCount; - USHORTwFrameRejectSentCount; - USHORTwReceivedDataFrameErrors; - USHORTwUnsuccessfulTransmissions; - LONGdwGoodTransmissions; - LONGdwGoodReceptions; - USHORTwRetransmissions; - USHORTwExhaustedResourceCount; - USHORTwT1TimerExpiredCount; - USHORTwTITimerExpiredCount; - BYTEbReserved2[4]; - USHORTwAvailableNCBS; - USHORTwMaxNCBSConfigured; - USHORTwMaxNCBSPossible; - USHORTwBufferOrStationBusyCount; - USHORTwMaxDatagramSize; - USHORTwPendingSessions; - USHORTwMaxSessionsConfigured; - USHORTwMaxSessionsPossible; - USHORTwMaxFrameSize; - USHORTwNameCount; - struct { - BYTEbName[16]; - BYTEbNameNumber; - BYTEbNameStatus; - }; -}; -struct _tagNETBIOS_ELEMENT { - USHORTwFlags; - USHORTwOffset; - _NETBIOS_NCBsNCB; - _NETBIOS_NCB *pNCB; - PSTRpHeader; - USHORTwHSize; -}; -struct _tagNETBIOS_LOCAL_TARGET { - BYTEbNode[16]; -}; -struct _tagXFER_BLOCK_HEADER { - W32wSequence; - W32wType; - W32wID; - W32wLength; - W32wNode; - W32wUser1; -}; -struct tCar_spec_struct { - intindex; - intdisabled; - tDriverdriver; - br_actor *car_master_actor; - br_scalarmin_torque_squared; - br_scalarbreak_off_radians_squared; - br_vector3v; - br_vector3old_v; - br_vector3velocity_car_space; - br_matrix34oldmat; - br_matrix34old_frame_mat; - br_vector3pos; - br_vector3omega; - br_vector3oldomega; - br_scalarM; - intinfinite_mass; - br_vector3I; - br_vector3cmpos; - intextra_point_num; - br_boundsbounds[3]; - br_boundsmax_bounds[2]; - br_vector3extra_points[6]; - br_scalaroriginal_extra_points_z[6]; - br_vector3old_point; - br_vector3old_norm; - intbox_face_start; - intbox_face_end; - intbox_face_ref; - br_matrix34last_box_inv_mat; - br_boundslast_box; - intdoing_nothing_flag; - tSpecial_volume *last_special_volume; - tSpecial_volume *auto_special_volume; - intframe_collision_flag; - intcollision_flag; - intmax_shrapnel_material; - br_vector3direction; - floatspeed; - tU16car_ID; - br_material *shrapnel_material[3]; - br_boundsbounds_world_space; - tBounds_typebounds_ws_type; - tU16fire_vertex[12]; - tU16num_smoke_columns; - br_vector3water_normal; - br_scalarwater_d; - br_scalarwater_depth_factor; - tNet_message_mechanics_infomessage; - tU32last_car_car_collision; - br_scalardt; - tCar_spec_struct *who_last_hit_me; - charname[32]; - chardriver_name[32]; - chargrid_icon_names[3][14]; - tS8 *cockpit_images[3]; - br_pixelmap *prat_cam_left; - br_pixelmap *prat_cam_top; - br_pixelmap *prat_cam_right; - br_pixelmap *prat_cam_bottom; - br_pixelmap *prat_cam_dummy; - br_pixelmap *speedo_image[2]; - br_pixelmap *tacho_image[2]; - br_pixelmap *damage_background; - br_pixelmap *lhands_images[7]; - br_pixelmap *rhands_images[7]; - br_pixelmap *grid_icon_image; - br_pixelmap *gears_image; - intfg_index; - intunderwater_ability; - intinvulnerable; - intwall_climber_mode; - intcan_be_stolen; - inthas_been_stolen; - intactive; - intknackered; - intpre_car_col_knackered; - intrender_left[3]; - intrender_top[3]; - intrender_right[3]; - intrender_bottom[3]; - intmirror_left; - intmirror_top; - intmirror_right; - intmirror_bottom; - intprat_left; - intprat_top; - intprat_right; - intprat_bottom; - intspeedo_x[2]; - intspeedo_y[2]; - intspeedo_centre_x[2]; - intspeedo_centre_y[2]; - intspeedo_x_pitch[2]; - intspeedo_y_pitch[2]; - intspeedo_radius_1[2]; - intspeedo_radius_2[2]; - intspeedo_start_angle[2]; - intspeedo_end_angle[2]; - intspeedo_needle_colour[2]; - inttacho_x[2]; - inttacho_y[2]; - inttacho_centre_x[2]; - inttacho_centre_y[2]; - inttacho_x_pitch[2]; - inttacho_y_pitch[2]; - inttacho_radius_1[2]; - inttacho_radius_2[2]; - inttacho_start_angle[2]; - inttacho_end_angle[2]; - inttacho_needle_colour[2]; - intgear_x[2]; - intgear_y[2]; - intred_line; - intlhands_x[7]; - intlhands_y[7]; - intrhands_x[7]; - intrhands_y[7]; - intnumber_of_hands_images; - intmax_speed; - intdamage_x_offset; - intdamage_y_offset; - intdamage_background_x; - intdamage_background_y; - intdim_count[2]; - intdim_left[2][4]; - intdim_top[2][4]; - intdim_right[2][4]; - intdim_bottom[2][4]; - intcar_actor_count; - intcurrent_car_actor; - intprincipal_car_actor; - intcar_model_variable; - intnumber_of_steerable_wheels; - intsteering_ref[6]; - intlf_sus_ref[4]; - intrf_sus_ref[4]; - intlr_sus_ref[2]; - intrr_sus_ref[2]; - intdriven_wheels_spin_ref_1; - intdriven_wheels_spin_ref_2; - intdriven_wheels_spin_ref_3; - intdriven_wheels_spin_ref_4; - intnon_driven_wheels_spin_ref_1; - intnon_driven_wheels_spin_ref_2; - intnon_driven_wheels_spin_ref_3; - intnon_driven_wheels_spin_ref_4; - intengine_noises[3]; - floatdriver_x_offset; - floatdriver_y_offset; - floatdriver_z_offset; - floatmirror_x_offset; - floatmirror_y_offset; - floatmirror_z_offset; - floatrearview_camera_angle; - floathead_left_angle; - floathead_right_angle; - floatsteering_angle; - floatspeedo_speed; - floatlf_sus_position; - floatrf_sus_position; - floatlr_sus_position; - floatrr_sus_position; - floatdriven_wheels_circum; - floatnon_driven_wheels_circum; - floatbounce_rate; - floatbounce_amount; - floatcollision_mass_multiplier; - floatdamage_multiplier; - floatgrip_multiplier; - floatengine_power_multiplier; - tDamage_unitdamage_units[12]; - tU8frame_start_damage[12]; - tImpact_locationlast_impact_location; - tDamage_programdamage_programs[6]; - tHeadup_slotheadup_slots[2][20]; - tParts_specpower_ups[3]; - intcar_actor_pipe_ref; - tCar_actorcar_model_actors[5]; - br_material *screen_material; - br_material *screen_material_source; - br_matrix34last_safe_positions[5]; - intwheel_slip; - br_scalardamping; - br_scalarsk[2]; - br_scalarsb[2]; - br_scalarsusp_give[2]; - br_scalarsusp_height[2]; - br_scalarride_height; - br_vector3wpos[4]; - br_scalarcurvature; - br_scalarmaxcurve; - br_scalarturn_speed; - br_scalaroldd[4]; - intmaterial_index[4]; - intdust_time[4]; - br_scalarmu[3]; - br_scalarfriction_elipticity; - br_scalardown_force_speed; - intdown_force_flag; - br_scalarinitial_brake; - br_scalarbrake_increase; - br_scalarfreduction; - br_scalaracc_force; - br_scalartorque; - br_scalarbrake_force; - inttraction_control; - br_scalarrolling_r_front; - br_scalarrolling_r_back; - tCar_controlskeys; - tJoystickjoystick; - intpedals_xy; - intnumber_of_wheels_on_ground; - br_actor *wheel_actors[6]; - floatwheel_rot_pos[4]; - br_scalarwheel_dam_offset[4]; - br_scalardamage_magnitude_accumulator; - br_scalarrevs; - br_scalartarget_revs; - br_vector3road_normal; - br_scalarmax_force_front; - br_scalarmax_force_rear; - intgear; - intjust_changed_gear; - intmax_gear; - br_scalarspeed_revs_ratio; - br_scalarforce_torque_ratio; - tS3_sound_source_ptrsound_source; - br_matrix34pre_car_col_mat; - br_scalarpre_car_col_speed; - br_vector3pre_car_col_direction; - br_vector3pre_car_col_velocity; - br_vector3pre_car_col_velocity_car_space; - br_vector3velocity_bu_per_sec; - floatlast_col_prop_x; - floatlast_col_prop_y; - floatlast_col_prop_z; - tU32time_last_hit; - tU32time_last_victim; - tCar_spec_struct *last_hit_by; - tCar_spec_struct *last_culprit; - intno_of_processes_recording_my_trail; - tPursuee_trailmy_trail; - unsigned intgrudge_raised_recently; - unsigned intbig_bang; - unsigned intscary_bang; - tU32last_collision_time; - tU32last_time_we_touched_a_player; - tU32end_steering_damage_effect; - tU32end_trans_damage_effect; - intfalse_key_left; - intfalse_key_right; - tCar_spec_struct *last_person_to_hit_us; - tCar_spec_struct *last_person_we_hit; - br_vector3engine_pos; - br_model *last_wheel_models[4]; - intlast_wheel_faces[4]; - tU32shadow_intersection_flags; - tU32last_bounce; - unsigned intnew_skidding; - unsigned intold_skidding; - tU16old_skid[4]; - br_vector3prev_skid_pos[4]; - br_vector3skid_line_start[4]; - br_vector3skid_line_end[4]; - br_vector3nor[4]; - br_vector3prev_nor[4]; - br_vector3special_start[4]; - br_scalaroil_remaining[4]; - br_scalarblood_remaining[4]; - br_scalartotal_length[4]; - floatproxy_ray_distance; - tS32powerups[64]; - tU32time_to_recover; - tU32repair_time; - intpower_up_levels[3]; - tS3_sound_taghorn_sound_tag; -}; -struct tPath_node_struct { - br_vector3p; - tS16sections[8]; - tU8number_of_sections; -}; -struct tPath_section_struct { - tS16node_indices[2]; - tU8min_speed[2]; - tU8max_speed[2]; - br_scalarwidth; - br_scalarlength; - tU8type; - tU8one_way; -}; -struct exception_struct { - tException_listnext; - char *name; - intflags; -}; -struct dirent { - chard_dta[21]; - chard_attr; - unsigned shortd_time; - unsigned shortd_date; - longd_size; - chard_name[13]; - unsigned shortd_ino; - chard_first; -}; -struct _heapinfo { - void *_pentry; - size_t_size; - int_useflag; -}; -struct dosio_event { - br_uint_16type; - br_uint_16qualifiers; - br_uint_32value_1; - br_uint_32value_2; -}; -struct dosio_event_queue { - br_uint_16total; - br_uint_16count; - br_uint_16head; - br_uint_16tail; - dosio_eventslots[1]; -}; -struct _stat { - dev_tst_dev; - ino_tst_ino; - unsigned shortst_mode; - shortst_nlink; - unsigned longst_uid; - shortst_gid; - dev_tst_rdev; - off_tst_size; - time_tst_atime; - time_tst_mtime; - time_tst_ctime; - time_tst_btime; - unsigned longst_attr; - unsigned longst_archivedID; - unsigned longst_updatedID; - unsigned shortst_inheritedRightsMask; - unsigned charst_originatingNameSpace; - unsigned charst_name[13]; -}; -struct stat { - dev_tst_dev; - ino_tst_ino; - unsigned shortst_mode; - shortst_nlink; - unsigned longst_uid; - shortst_gid; - dev_tst_rdev; - off_tst_size; - time_tst_atime; - time_tst_mtime; - time_tst_ctime; - time_tst_btime; - unsigned longst_attr; - unsigned longst_archivedID; - unsigned longst_updatedID; - unsigned shortst_inheritedRightsMask; - unsigned charst_originatingNameSpace; - unsigned charst_name[13]; -}; -struct tMem_info { - unsigned intlargest_block_avail; - unsigned intmax_unlocked_page; - unsigned intlargest_lockable_page; - unsigned intlin_addr_space; - unsigned intnum_free_pages_avail; - unsigned intnum_physical_pages_free; - unsigned inttotal_physical_pages; - unsigned intfree_lin_addr_space; - unsigned intsize_of_page_file; - unsigned intreserved[3]; -}; -typedef struct pm_temp_edge pm_temp_edge; -typedef struct v11face v11face; -typedef struct fmt_vertex fmt_vertex; -typedef struct prep_vertex prep_vertex; -struct pm_temp_edge { - pm_temp_edge *next; - br_uint_16first; - br_uint_16last; - charother; -}; -struct v11face { - br_uint_16vertices[3]; - br_uint_16edges[3]; - br_vector4eqn; -}; -struct fmt_vertex { - br_vector3p; - br_vector2map; - br_vector3n; -}; -struct prep_vertex { - br_vector3n; - br_uint_16v; - br_uint_16f; -}; -typedef struct order_info order_info; -struct order_info { - br_uint_8a0; - br_uint_8a1; - br_uint_8a2; - br_uint_8_pad[1]; -}; -typedef struct transform_type transform_type; -struct transform_type { - br_uint_32id; - br_file_struct *fs; -}; -typedef struct resource_header resource_header; -struct resource_header { - br_simple_nodenode; - br_simple_listchildren; - br_uint_8size_l; - br_uint_8size_m; - br_uint_8size_h; - br_uint_8class; - void *magic_ptr; - intmagic_num; -}; -typedef struct host_real_memory host_real_memory; -typedef struct host_regs host_regs; -typedef struct host_info host_info; -struct host_real_memory { - br_uint_32pm_off; - br_uint_16pm_seg; - br_uint_16_reserved; - br_uint_16rm_off; - br_uint_16rm_seg; -}; -struct host_regs { - struct { - br_uint_32edi; - br_uint_32esi; - br_uint_32ebp; - br_uint_32_res; - br_uint_32ebx; - br_uint_32edx; - br_uint_32ecx; - br_uint_32eax; - br_uint_16flags; - br_uint_16es; - br_uint_16ds; - br_uint_16fs; - br_uint_16gs; - br_uint_16ip; - br_uint_16cs; - br_uint_16sp; - br_uint_16ss; - }; - struct { - br_uint_16di; - br_uint_16_pad0; - br_uint_16si; - br_uint_16_pad1; - br_uint_16bp; - br_uint_16_pad2; - br_uint_16_res; - br_uint_16_pad3; - br_uint_16bx; - br_uint_16_pad4; - br_uint_16dx; - br_uint_16_pad5; - br_uint_16cx; - br_uint_16_pad6; - br_uint_16ax; - br_uint_16_pad7; - br_uint_16flags; - br_uint_16es; - br_uint_16ds; - br_uint_16fs; - br_uint_16gs; - br_uint_16ip; - br_uint_16cs; - br_uint_16sp; - br_uint_16ss; - }; - struct { - br_uint_32_pad0[4]; - br_uint_8bl; - br_uint_8bh; - br_uint_8_pad1; - br_uint_8_pad2; - br_uint_8dl; - br_uint_8dh; - br_uint_8_pad3; - br_uint_8_pad4; - br_uint_8cl; - br_uint_8ch; - br_uint_8_pad5; - br_uint_8_pad6; - br_uint_8al; - br_uint_8ah; - br_uint_8_pad7; - br_uint_8_pad8; - }; -}; -struct host_info { - br_uint_32size; - charidentifier[40]; - br_uint_32capabilities; - br_tokenprocessor_family; - br_tokenprocessor_type; -}; -typedef struct file_info file_info; -struct file_info { - br_uint_32type; - br_uint_32version; -}; -typedef struct pm_type_info pm_type_info; -typedef struct match_tokens match_tokens; -struct pm_type_info { - br_uint_16bits; - br_uint_16file_size; - br_uint_16align; - br_uint_16channels; -}; -struct match_tokens { - br_tokenuse; - br_uint_8pixel_type; - br_int_32pixel_bits; - br_int_32width; - br_int_32height; - br_object *renderer; -}; -typedef struct object_list object_list; -typedef struct object_list_entry object_list_entry; -typedef struct token_match token_match; -struct object_list { - br_simple_listl; -}; -struct object_list_entry { - br_simple_noden; - br_object *h; -}; -struct token_match { - br_token_value *original; - br_token_value *query; - br_int_32n; - void *extra; - br_size_textra_size; -}; -typedef struct token_type token_type; -struct token_type { - char *identifier; - br_tokentype; - intlength; -}; -typedef struct __iobuf FILE; -struct __iobuf { - unsigned char *_ptr; - int_cnt; - unsigned char *_base; - unsigned int_flag; - int_handle; - unsigned int_bufsize; - unsigned char_ungotten; - unsigned char_tmpfchar; -}; -typedef struct export_directory export_directory; -typedef struct import_directory import_directory; -typedef struct basereloc_header basereloc_header; -typedef struct msdos_header msdos_header; -typedef struct coff_header coff_header; -typedef struct nt_optional_header nt_optional_header; -typedef struct section_header section_header; -struct export_directory { - br_uint_32flags; - br_uint_32timestamp; - br_uint_16major_version; - br_uint_16minor_version; - br_uint_32name; - br_uint_32ordinal_base; - br_uint_32n_entries; - br_uint_32n_names; - br_uint_32export_table; - br_uint_32name_table; - br_uint_32ordinal_table; -}; -struct import_directory { - br_uint_32lookup_table; - br_uint_32timestamp; - br_uint_32forwarder; - br_uint_32name; - br_uint_32address_table; -}; -struct basereloc_header { - br_uint_32rva; - br_uint_32size; -}; -struct msdos_header { - br_uint_16magic; - br_uint_16last_page_bytes; - br_uint_16pages; - br_uint_16n_relocations; - br_uint_16header_size; - br_uint_16minalloc; - br_uint_16maxalloc; - br_uint_16start_ss; - br_uint_16start_sp; - br_uint_16checksum; - br_uint_16start_ip; - br_uint_16start_cs; - br_uint_16reloc_offset; - br_uint_16overlay_number; - br_uint_16_reserved0[4]; - br_uint_16oem_id; - br_uint_16oem_info; - br_uint_16_reserved1[10]; - br_uint_32new_header_offset; -}; -struct coff_header { - br_uint_16machine; - br_uint_16n_sections; - br_uint_32time_date; - br_uint_32symbols_offset; - br_uint_32n_symbols; - br_uint_16opt_header_size; - br_uint_16flags; -}; -struct nt_optional_header { - br_uint_16magic; - br_uint_8l_major; - br_uint_8l_minor; - br_uint_32code_size; - br_uint_32data_size; - br_uint_32bss_size; - br_uint_32entry_point; - br_uint_32code_base; - br_uint_32data_base; - br_uint_32image_base; - br_uint_32section_alignment; - br_uint_32file_alignment; - br_uint_16os_major; - br_uint_16os_minor; - br_uint_16user_major; - br_uint_16user_minor; - br_uint_16subsys_major; - br_uint_16subsys_minor; - br_uint_32_reserved; - br_uint_32image_size; - br_uint_32header_size; - br_uint_32file_checksum; - br_uint_16subsystem; - br_uint_16dll_flags; - br_uint_32stack_reserve_size; - br_uint_32stack_commit_size; - br_uint_32heap_reserve_size; - br_uint_32heap_commit_size; - br_uint_32loader_flags; - br_uint_32n_data_directories; - struct { - br_uint_32rva; - br_uint_32size; - }; -}; -struct section_header { - br_uint_8section_name[8]; - br_uint_32virtual_size; - br_uint_32rva; - br_uint_32data_size; - br_uint_32data_offset; - br_uint_32relocs_offset; - br_uint_32linenums_offset; - br_uint_16n_relocs; - br_uint_16n_linenums; - br_uint_32flags; -}; -typedef struct host_interrupt_hook host_interrupt_hook; -typedef struct host_exception_hook host_exception_hook; -struct host_interrupt_hook { - br_uint_8vector; - br_booleanactive; - br_uint_32old_offset; - br_uint_16old_sel; -}; -struct host_exception_hook { - br_uint_8exception; - br_booleanactive; - br_uint_32old_offset; - br_uint_16old_sel; - br_uint_8scratch[256]; -}; -typedef struct ldt ldt; -struct ldt { - unsigned longlimit_0: 10; - unsigned longbase_0: 10; - unsigned longbase_1: 8; - unsigned longtype: 4; - unsigned longapplication: 1; - unsigned longdpl: 2; - unsigned longpresent: 1; - unsigned longlimit_1: 4; - unsigned longsystem: 1; - unsigned longreserved: 1; - unsigned longuse32: 1; - unsigned longgranularity: 1; - unsigned longbase_2: 8; -}; - -#endif \ No newline at end of file