mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Moved restuff
This commit is contained in:
parent
8908890d72
commit
410fa7ac15
94 changed files with 0 additions and 931721 deletions
File diff suppressed because one or more lines are too long
|
@ -1,180 +0,0 @@
|
||||||
= CGame file list
|
|
||||||
|
|
||||||
== Source files
|
|
||||||
|
|
||||||
- /root/gcc-2.95.2/gcc/./frame.c
|
|
||||||
- /root/gcc-2.95.2/gcc/./libgcc2.c
|
|
||||||
- /source/cgame/cg_beam.cpp
|
|
||||||
- /source/cgame/cg_commands.cpp
|
|
||||||
- /source/cgame/cg_consolecmds.c
|
|
||||||
- /source/cgame/cg_drawtools.cpp
|
|
||||||
- /source/cgame/cg_ents.c
|
|
||||||
- /source/cgame/cg_lightstyles.cpp
|
|
||||||
- /source/cgame/cg_main.c
|
|
||||||
- /source/cgame/cg_marks.c
|
|
||||||
- /source/cgame/cg_modelanim.c
|
|
||||||
- /source/cgame/cg_nature.cpp
|
|
||||||
- /source/cgame/cg_parsemsg.cpp
|
|
||||||
- /source/cgame/cg_player.cpp
|
|
||||||
- /source/cgame/cg_playerstate.c
|
|
||||||
- /source/cgame/cg_predict.c
|
|
||||||
- /source/cgame/cg_scoreboard.cpp
|
|
||||||
- /source/cgame/cg_servercmds.c
|
|
||||||
- /source/cgame/cg_snapshot.c
|
|
||||||
- /source/cgame/cg_sound.cpp
|
|
||||||
- /source/cgame/cg_specialfx.cpp
|
|
||||||
- /source/cgame/cg_swipe.cpp
|
|
||||||
- /source/cgame/cg_tempmodels.cpp
|
|
||||||
- /source/cgame/cg_testemitter.cpp
|
|
||||||
- /source/cgame/cg_ui.cpp
|
|
||||||
- /source/cgame/cg_vehicle.cpp
|
|
||||||
- /source/cgame/cg_view.c
|
|
||||||
- /source/cgame/cg_viewmodelanim.c
|
|
||||||
- /source/cgame/cg_volumetricsmoke.cpp
|
|
||||||
- /source/fgame/bg_pmove.c
|
|
||||||
- /source/qcommon/assertive.c
|
|
||||||
- /source/qcommon/class.cpp
|
|
||||||
- /source/qcommon/con_set.cpp
|
|
||||||
- /source/qcommon/lightclass.cpp
|
|
||||||
- /source/qcommon/listener.cpp
|
|
||||||
- /source/qcommon/mathlib.c
|
|
||||||
- /source/qcommon/q_math.c
|
|
||||||
- /source/qcommon/q_mathsys.c
|
|
||||||
- /source/qcommon/q_shared.c
|
|
||||||
- /source/qcommon/script.cpp
|
|
||||||
- /source/qcommon/str.cpp
|
|
||||||
- /source/script/scriptexception.cpp
|
|
||||||
- /source/script/scriptvariable.cpp
|
|
||||||
- /source/unix/unix_assert.c
|
|
||||||
- /source/win32/win_bounds.cpp
|
|
||||||
|
|
||||||
== Header files
|
|
||||||
|
|
||||||
- ../include/ansidecl.h
|
|
||||||
- ../include/getopt.h
|
|
||||||
- /config/dbxelf.h
|
|
||||||
- /config/i386/att.h
|
|
||||||
- /config/i386/i386.h
|
|
||||||
- /config/i386/linux.h
|
|
||||||
- /config/i386/perform.h
|
|
||||||
- /config/i386/unix.h
|
|
||||||
- /config/i386/xm-i386.h
|
|
||||||
- /config/linux.h
|
|
||||||
- /config/svr4.h
|
|
||||||
- /cp/tinfo.h
|
|
||||||
- /defaults.h
|
|
||||||
- /dwarf2.h
|
|
||||||
- /eh-common.h
|
|
||||||
- /frame.h
|
|
||||||
- /gansidecl.h
|
|
||||||
- /gthr-single.h
|
|
||||||
- /gthr.h
|
|
||||||
- /include/stdarg.h
|
|
||||||
- /include/stddef.h
|
|
||||||
- /machmode.h
|
|
||||||
- /source/cgame/cg_commands.h
|
|
||||||
- /source/cgame/cg_local.h
|
|
||||||
- /source/cgame/cg_parsemsg.h
|
|
||||||
- /source/cgame/cg_public.h
|
|
||||||
- /source/cgame/cg_specialfx.h
|
|
||||||
- /source/cgame/tr_types.h
|
|
||||||
- /source/fgame/bg_public.h
|
|
||||||
- /source/fgame/const_str.h
|
|
||||||
- /source/profile/profile.h
|
|
||||||
- /source/qcommon/alias.h
|
|
||||||
- /source/qcommon/assertive.h
|
|
||||||
- /source/qcommon/class.h
|
|
||||||
- /source/qcommon/cl_no_ui.h
|
|
||||||
- /source/qcommon/cm_public.h
|
|
||||||
- /source/qcommon/container.h
|
|
||||||
- /source/qcommon/con_arrayset.h
|
|
||||||
- /source/qcommon/con_map.h
|
|
||||||
- /source/qcommon/con_set.h
|
|
||||||
- /source/qcommon/lightclass.h
|
|
||||||
- /source/qcommon/linklist.h
|
|
||||||
- /source/qcommon/listener.h
|
|
||||||
- /source/qcommon/mathlib.h
|
|
||||||
- /source/qcommon/mem_blockalloc.h
|
|
||||||
- /source/qcommon/msg.h
|
|
||||||
- /source/qcommon/qcommon.h
|
|
||||||
- /source/qcommon/qfiles.h
|
|
||||||
- /source/qcommon/q_shared.h
|
|
||||||
- /source/qcommon/script.h
|
|
||||||
- /source/qcommon/short3.h
|
|
||||||
- /source/qcommon/str.h
|
|
||||||
- /source/qcommon/surfaceflags.h
|
|
||||||
- /source/qcommon/symbol_declasher.h
|
|
||||||
- /source/qcommon/tiki.h
|
|
||||||
- /source/qcommon/tiki_script.h
|
|
||||||
- /source/qcommon/vector.h
|
|
||||||
- /source/qcommon/warn4.h
|
|
||||||
- /source/script/scriptexception.h
|
|
||||||
- /source/script/scriptopcodes.h
|
|
||||||
- /source/script/scriptvariable.h
|
|
||||||
- /source/skeletor/skeletor_model_file_format.h
|
|
||||||
- /source/skeletor/SkelMat3.h
|
|
||||||
- /source/skeletor/SkelMat4.h
|
|
||||||
- /source/skeletor/SkelQuat.h
|
|
||||||
- /source/skeletor/SkelVec3.h
|
|
||||||
- /source/skeletor/SkelVec4.h
|
|
||||||
- /source/system/appmem.h
|
|
||||||
- /source/tiki/tiki_shared.h
|
|
||||||
- /source/ui/keycodes.h
|
|
||||||
- /tconfig.h
|
|
||||||
- /tm.h
|
|
||||||
- /usr/include/alloca.h
|
|
||||||
- /usr/include/asm/param.h
|
|
||||||
- /usr/include/asm/sigcontext.h
|
|
||||||
- /usr/include/assert.h
|
|
||||||
- /usr/include/bits/confname.h
|
|
||||||
- /usr/include/bits/endian.h
|
|
||||||
- /usr/include/bits/huge_val.h
|
|
||||||
- /usr/include/bits/local_lim.h
|
|
||||||
- /usr/include/bits/mathcalls.h
|
|
||||||
- /usr/include/bits/mathdef.h
|
|
||||||
- /usr/include/bits/mathinline.h
|
|
||||||
- /usr/include/bits/posix1_lim.h
|
|
||||||
- /usr/include/bits/posix2_lim.h
|
|
||||||
- /usr/include/bits/posix_opt.h
|
|
||||||
- /usr/include/bits/select.h
|
|
||||||
- /usr/include/bits/sigaction.h
|
|
||||||
- /usr/include/bits/sigcontext.h
|
|
||||||
- /usr/include/bits/siginfo.h
|
|
||||||
- /usr/include/bits/signum.h
|
|
||||||
- /usr/include/bits/sigset.h
|
|
||||||
- /usr/include/bits/sigstack.h
|
|
||||||
- /usr/include/bits/stdio.h
|
|
||||||
- /usr/include/bits/stdio_lim.h
|
|
||||||
- /usr/include/bits/string.h
|
|
||||||
- /usr/include/bits/string2.h
|
|
||||||
- /usr/include/bits/time.h
|
|
||||||
- /usr/include/bits/types.h
|
|
||||||
- /usr/include/ctype.h
|
|
||||||
- /usr/include/endian.h
|
|
||||||
- /usr/include/features.h
|
|
||||||
- /usr/include/getopt.h
|
|
||||||
- /usr/include/gnu/stubs.h
|
|
||||||
- /usr/include/libio.h
|
|
||||||
- /usr/include/limits.h
|
|
||||||
- /usr/include/linux/limits.h
|
|
||||||
- /usr/include/linux/param.h
|
|
||||||
- /usr/include/malloc.h
|
|
||||||
- /usr/include/math.h
|
|
||||||
- /usr/include/memory.h
|
|
||||||
- /usr/include/signal.h
|
|
||||||
- /usr/include/stdio.h
|
|
||||||
- /usr/include/stdlib.h
|
|
||||||
- /usr/include/string.h
|
|
||||||
- /usr/include/sys/cdefs.h
|
|
||||||
- /usr/include/sys/param.h
|
|
||||||
- /usr/include/sys/select.h
|
|
||||||
- /usr/include/sys/sysmacros.h
|
|
||||||
- /usr/include/sys/types.h
|
|
||||||
- /usr/include/time.h
|
|
||||||
- /usr/include/unistd.h
|
|
||||||
- /usr/include/_G_config.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/float.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/limits.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdarg.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stddef.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/syslimits.h
|
|
|
@ -1,12 +0,0 @@
|
||||||
comp( x < y )
|
|
||||||
comp( x == y )
|
|
||||||
|
|
||||||
comp & 0x100: x < y
|
|
||||||
(comp & 0x4100) != 0: x <= y
|
|
||||||
(comp & 0x4100) == 0: x > y
|
|
||||||
( HIBYTE( comp ) & 0x45 ) != 1: x >= y
|
|
||||||
( HIBYTE( comp ) & 0x45 ) == 1: x < y
|
|
||||||
( HIBYTE( comp ) & 0x45 - 1 ) < 0x40: x <= y
|
|
||||||
( HIBYTE( comp ) & 0x45 - 1 ) >= 0x40: x > y
|
|
||||||
( HIBYTE( comp ) & 0x45 ) == 0x40: x == y
|
|
||||||
( HIBYTE( comp ) & 0x45 ) != 0x40: x != y
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,372 +0,0 @@
|
||||||
= Game file list
|
|
||||||
|
|
||||||
== Source files
|
|
||||||
|
|
||||||
- /root/gcc-2.95.2/gcc/./frame.c
|
|
||||||
- /root/gcc-2.95.2/gcc/./libgcc2.c
|
|
||||||
- /source/fgame/abstractscript.cpp
|
|
||||||
- /source/fgame/actor.cpp
|
|
||||||
- /source/fgame/actorenemy.cpp
|
|
||||||
- /source/fgame/actorpath.cpp
|
|
||||||
- /source/fgame/actor_aim.cpp
|
|
||||||
- /source/fgame/actor_alarm.cpp
|
|
||||||
- /source/fgame/actor_anim.cpp
|
|
||||||
- /source/fgame/actor_animapi.cpp
|
|
||||||
- /source/fgame/actor_animcurious.cpp
|
|
||||||
- /source/fgame/actor_balcony.cpp
|
|
||||||
- /source/fgame/actor_cover.cpp
|
|
||||||
- /source/fgame/actor_curious.cpp
|
|
||||||
- /source/fgame/actor_disguise_common.cpp
|
|
||||||
- /source/fgame/actor_disguise_officer.cpp
|
|
||||||
- /source/fgame/actor_disguise_rover.cpp
|
|
||||||
- /source/fgame/actor_disguise_salute.cpp
|
|
||||||
- /source/fgame/actor_disguise_sentry.cpp
|
|
||||||
- /source/fgame/actor_dog.cpp
|
|
||||||
- /source/fgame/actor_grenade.cpp
|
|
||||||
- /source/fgame/actor_idle.cpp
|
|
||||||
- /source/fgame/actor_killed.cpp
|
|
||||||
- /source/fgame/actor_machinegunner.cpp
|
|
||||||
- /source/fgame/actor_noclip.cpp
|
|
||||||
- /source/fgame/actor_pain.cpp
|
|
||||||
- /source/fgame/actor_patrol.cpp
|
|
||||||
- /source/fgame/actor_runner.cpp
|
|
||||||
- /source/fgame/actor_turret.cpp
|
|
||||||
- /source/fgame/actor_weaponless.cpp
|
|
||||||
- /source/fgame/ammo.cpp
|
|
||||||
- /source/fgame/animate.cpp
|
|
||||||
- /source/fgame/animationevent.cpp
|
|
||||||
- /source/fgame/archive.cpp
|
|
||||||
- /source/fgame/armor.cpp
|
|
||||||
- /source/fgame/barrels.cpp
|
|
||||||
- /source/fgame/beam.cpp
|
|
||||||
- /source/fgame/bg_pmove.c
|
|
||||||
- /source/fgame/body.cpp
|
|
||||||
- /source/fgame/bspline.cpp
|
|
||||||
- /source/fgame/camera.cpp
|
|
||||||
- /source/fgame/characterstate.cpp
|
|
||||||
- /source/fgame/class.cpp
|
|
||||||
- /source/fgame/consoleevent.cpp
|
|
||||||
- /source/fgame/con_timer.cpp
|
|
||||||
- /source/fgame/crates.cpp
|
|
||||||
- /source/fgame/debuglines.cpp
|
|
||||||
- /source/fgame/decals.cpp
|
|
||||||
- /source/fgame/dm_manager.cpp
|
|
||||||
- /source/fgame/doors.cpp
|
|
||||||
- /source/fgame/earthquake.cpp
|
|
||||||
- /source/fgame/effectentity.cpp
|
|
||||||
- /source/fgame/entity.cpp
|
|
||||||
- /source/fgame/explosion.cpp
|
|
||||||
- /source/fgame/flamethrower.cpp
|
|
||||||
- /source/fgame/game.cpp
|
|
||||||
- /source/fgame/gamecmds.cpp
|
|
||||||
- /source/fgame/gamecvars.cpp
|
|
||||||
- /source/fgame/gamescript.cpp
|
|
||||||
- /source/fgame/gibs.cpp
|
|
||||||
- /source/fgame/grenadehint.cpp
|
|
||||||
- /source/fgame/g_main.cpp
|
|
||||||
- /source/fgame/g_mmove.cpp
|
|
||||||
- /source/fgame/g_phys.cpp
|
|
||||||
- /source/fgame/g_session.cpp
|
|
||||||
- /source/fgame/g_spawn.cpp
|
|
||||||
- /source/fgame/g_utils.cpp
|
|
||||||
- /source/fgame/g_vmove.cpp
|
|
||||||
- /source/fgame/health.cpp
|
|
||||||
- /source/fgame/inventoryitem.cpp
|
|
||||||
- /source/fgame/ipfilter.cpp
|
|
||||||
- /source/fgame/item.cpp
|
|
||||||
- /source/fgame/level.cpp
|
|
||||||
- /source/fgame/light.cpp
|
|
||||||
- /source/fgame/lightstyleclass.cpp
|
|
||||||
- /source/fgame/listener.cpp
|
|
||||||
- /source/fgame/lodthing.cpp
|
|
||||||
- /source/fgame/misc.cpp
|
|
||||||
- /source/fgame/movegrid.cpp
|
|
||||||
- /source/fgame/mover.cpp
|
|
||||||
- /source/fgame/nature.cpp
|
|
||||||
- /source/fgame/navigate.cpp
|
|
||||||
- /source/fgame/object.cpp
|
|
||||||
- /source/fgame/parm.cpp
|
|
||||||
- /source/fgame/player.cpp
|
|
||||||
- /source/fgame/playerstart.cpp
|
|
||||||
- /source/fgame/player_animation.cpp
|
|
||||||
- /source/fgame/player_combat.cpp
|
|
||||||
- /source/fgame/player_conditionals.cpp
|
|
||||||
- /source/fgame/player_util.cpp
|
|
||||||
- /source/fgame/portal.cpp
|
|
||||||
- /source/fgame/scriptmaster.cpp
|
|
||||||
- /source/fgame/scriptslave.cpp
|
|
||||||
- /source/fgame/scriptthread.cpp
|
|
||||||
- /source/fgame/scriptthreadlabel.cpp
|
|
||||||
- /source/fgame/scriptvariable.cpp
|
|
||||||
- /source/fgame/scriptvm.cpp
|
|
||||||
- /source/fgame/sentient.cpp
|
|
||||||
- /source/fgame/sentient_combat.cpp
|
|
||||||
- /source/fgame/simpleactor.cpp
|
|
||||||
- /source/fgame/simpleentity.cpp
|
|
||||||
- /source/fgame/soundman.cpp
|
|
||||||
- /source/fgame/spawners.cpp
|
|
||||||
- /source/fgame/specialfx.cpp
|
|
||||||
- /source/fgame/statescript.cpp
|
|
||||||
- /source/fgame/trigger.cpp
|
|
||||||
- /source/fgame/vehicle.cpp
|
|
||||||
- /source/fgame/VehicleCollisionEntity.cpp
|
|
||||||
- /source/fgame/VehicleHalfTrack.cpp
|
|
||||||
- /source/fgame/VehicleSlot.cpp
|
|
||||||
- /source/fgame/VehicleSoundEntity.cpp
|
|
||||||
- /source/fgame/VehicleTank.cpp
|
|
||||||
- /source/fgame/vehicleturret.cpp
|
|
||||||
- /source/fgame/VehicleWheelsX2.cpp
|
|
||||||
- /source/fgame/VehicleWheelsX4.cpp
|
|
||||||
- /source/fgame/viewthing.cpp
|
|
||||||
- /source/fgame/weapon.cpp
|
|
||||||
- /source/fgame/weapturret.cpp
|
|
||||||
- /source/fgame/weaputils.cpp
|
|
||||||
- /source/fgame/windows.cpp
|
|
||||||
- /source/fgame/worldspawn.cpp
|
|
||||||
- /source/parser/lex.yy.c
|
|
||||||
- /source/parser/lex_source.txt
|
|
||||||
- /source/parser/parsetree.cpp
|
|
||||||
- /source/parser/y.tab.c
|
|
||||||
- /source/parser/yacc_source.txt
|
|
||||||
- /source/qcommon/assertive.c
|
|
||||||
- /source/qcommon/calltrace.cpp
|
|
||||||
- /source/qcommon/class.cpp
|
|
||||||
- /source/qcommon/con_set.cpp
|
|
||||||
- /source/qcommon/con_timer.cpp
|
|
||||||
- /source/qcommon/lightclass.cpp
|
|
||||||
- /source/qcommon/listener.cpp
|
|
||||||
- /source/qcommon/lz77.cpp
|
|
||||||
- /source/qcommon/mathlib.c
|
|
||||||
- /source/qcommon/mem_tempalloc.cpp
|
|
||||||
- /source/qcommon/q_math.c
|
|
||||||
- /source/qcommon/q_mathsys.c
|
|
||||||
- /source/qcommon/q_shared.c
|
|
||||||
- /source/qcommon/script.cpp
|
|
||||||
- /source/qcommon/str.cpp
|
|
||||||
- /source/script/scriptclass.cpp
|
|
||||||
- /source/script/scriptcompiler.cpp
|
|
||||||
- /source/script/scriptexception.cpp
|
|
||||||
- /source/script/scriptopcodes.cpp
|
|
||||||
- /source/script/scriptvariable.cpp
|
|
||||||
- /source/script/scriptvm.cpp
|
|
||||||
- /source/unix/unix_assert.c
|
|
||||||
- /source/win32/win_bounds.cpp
|
|
||||||
|
|
||||||
== Header files
|
|
||||||
|
|
||||||
- ../include/ansidecl.h
|
|
||||||
- ../include/getopt.h
|
|
||||||
- /config/dbxelf.h
|
|
||||||
- /config/i386/att.h
|
|
||||||
- /config/i386/i386.h
|
|
||||||
- /config/i386/linux.h
|
|
||||||
- /config/i386/perform.h
|
|
||||||
- /config/i386/unix.h
|
|
||||||
- /config/i386/xm-i386.h
|
|
||||||
- /config/linux.h
|
|
||||||
- /config/svr4.h
|
|
||||||
- /cp/tinfo.h
|
|
||||||
- /defaults.h
|
|
||||||
- /dwarf2.h
|
|
||||||
- /eh-common.h
|
|
||||||
- /frame.h
|
|
||||||
- /gansidecl.h
|
|
||||||
- /gthr-single.h
|
|
||||||
- /gthr.h
|
|
||||||
- /include/stdarg.h
|
|
||||||
- /include/stddef.h
|
|
||||||
- /machmode.h
|
|
||||||
- /source/cgame/cg_parsemsg.h
|
|
||||||
- /source/cgame/cg_public.h
|
|
||||||
- /source/cgame/tr_types.h
|
|
||||||
- /source/fgame/abstractscript.h
|
|
||||||
- /source/fgame/actor.h
|
|
||||||
- /source/fgame/actorenemy.h
|
|
||||||
- /source/fgame/actorpath.h
|
|
||||||
- /source/fgame/ammo.h
|
|
||||||
- /source/fgame/animate.h
|
|
||||||
- /source/fgame/animationevent.h
|
|
||||||
- /source/fgame/archive.h
|
|
||||||
- /source/fgame/armor.h
|
|
||||||
- /source/fgame/barrels.h
|
|
||||||
- /source/fgame/beam.h
|
|
||||||
- /source/fgame/bg_local.h
|
|
||||||
- /source/fgame/bg_public.h
|
|
||||||
- /source/fgame/body.h
|
|
||||||
- /source/fgame/bspline.h
|
|
||||||
- /source/fgame/camera.h
|
|
||||||
- /source/fgame/characterstate.h
|
|
||||||
- /source/fgame/consoleevent.h
|
|
||||||
- /source/fgame/const_str.h
|
|
||||||
- /source/fgame/debuglines.h
|
|
||||||
- /source/fgame/decals.h
|
|
||||||
- /source/fgame/dm_manager.h
|
|
||||||
- /source/fgame/doors.h
|
|
||||||
- /source/fgame/earthquake.h
|
|
||||||
- /source/fgame/effectentity.h
|
|
||||||
- /source/fgame/entity.h
|
|
||||||
- /source/fgame/explosion.h
|
|
||||||
- /source/fgame/flamethrower.h
|
|
||||||
- /source/fgame/game.h
|
|
||||||
- /source/fgame/gamecmds.h
|
|
||||||
- /source/fgame/gamecvars.h
|
|
||||||
- /source/fgame/gamescript.h
|
|
||||||
- /source/fgame/gibs.h
|
|
||||||
- /source/fgame/grenadehint.h
|
|
||||||
- /source/fgame/g_local.h
|
|
||||||
- /source/fgame/g_main.h
|
|
||||||
- /source/fgame/g_mpublic.h
|
|
||||||
- /source/fgame/g_phys.h
|
|
||||||
- /source/fgame/g_public.h
|
|
||||||
- /source/fgame/g_session.h
|
|
||||||
- /source/fgame/g_spawn.h
|
|
||||||
- /source/fgame/g_utils.h
|
|
||||||
- /source/fgame/health.h
|
|
||||||
- /source/fgame/inventoryitem.h
|
|
||||||
- /source/fgame/ipfilter.h
|
|
||||||
- /source/fgame/item.h
|
|
||||||
- /source/fgame/level.h
|
|
||||||
- /source/fgame/light.h
|
|
||||||
- /source/fgame/lightstyleclass.h
|
|
||||||
- /source/fgame/lodthing.h
|
|
||||||
- /source/fgame/misc.h
|
|
||||||
- /source/fgame/movegrid.h
|
|
||||||
- /source/fgame/mover.h
|
|
||||||
- /source/fgame/nature.h
|
|
||||||
- /source/fgame/navigate.h
|
|
||||||
- /source/fgame/object.h
|
|
||||||
- /source/fgame/parm.h
|
|
||||||
- /source/fgame/player.h
|
|
||||||
- /source/fgame/playerstart.h
|
|
||||||
- /source/fgame/portal.h
|
|
||||||
- /source/fgame/scriptlabel.h
|
|
||||||
- /source/fgame/scriptmaster.h
|
|
||||||
- /source/fgame/scriptslave.h
|
|
||||||
- /source/fgame/scriptthread.h
|
|
||||||
- /source/fgame/scriptthreadlabel.h
|
|
||||||
- /source/fgame/sentient.h
|
|
||||||
- /source/fgame/simpleactor.h
|
|
||||||
- /source/fgame/simpleentity.h
|
|
||||||
- /source/fgame/soundman.h
|
|
||||||
- /source/fgame/spawners.h
|
|
||||||
- /source/fgame/specialfx.h
|
|
||||||
- /source/fgame/spline.h
|
|
||||||
- /source/fgame/statescript.h
|
|
||||||
- /source/fgame/trigger.h
|
|
||||||
- /source/fgame/vehicle.h
|
|
||||||
- /source/fgame/VehicleCollisionEntity.h
|
|
||||||
- /source/fgame/VehicleSlot.h
|
|
||||||
- /source/fgame/VehicleSoundEntity.h
|
|
||||||
- /source/fgame/vehicleturret.h
|
|
||||||
- /source/fgame/viewthing.h
|
|
||||||
- /source/fgame/weapon.h
|
|
||||||
- /source/fgame/weapturret.h
|
|
||||||
- /source/fgame/weaputils.h
|
|
||||||
- /source/fgame/worldspawn.h
|
|
||||||
- /source/parser/parser.h
|
|
||||||
- /source/parser/parsetree.h
|
|
||||||
- /source/profile/profile.h
|
|
||||||
- /source/qcommon/alias.h
|
|
||||||
- /source/qcommon/assertive.h
|
|
||||||
- /source/qcommon/calltrace.h
|
|
||||||
- /source/qcommon/class.h
|
|
||||||
- /source/qcommon/cm_public.h
|
|
||||||
- /source/qcommon/container.h
|
|
||||||
- /source/qcommon/con_arrayset.h
|
|
||||||
- /source/qcommon/con_map.h
|
|
||||||
- /source/qcommon/con_set.h
|
|
||||||
- /source/qcommon/con_timer.h
|
|
||||||
- /source/qcommon/lightclass.h
|
|
||||||
- /source/qcommon/linklist.h
|
|
||||||
- /source/qcommon/listener.h
|
|
||||||
- /source/qcommon/lz77.h
|
|
||||||
- /source/qcommon/mathlib.h
|
|
||||||
- /source/qcommon/mem_blockalloc.h
|
|
||||||
- /source/qcommon/mem_tempalloc.h
|
|
||||||
- /source/qcommon/msg.h
|
|
||||||
- /source/qcommon/qcommon.h
|
|
||||||
- /source/qcommon/qfiles.h
|
|
||||||
- /source/qcommon/q_shared.h
|
|
||||||
- /source/qcommon/script.h
|
|
||||||
- /source/qcommon/short3.h
|
|
||||||
- /source/qcommon/str.h
|
|
||||||
- /source/qcommon/surfaceflags.h
|
|
||||||
- /source/qcommon/symbol_declasher.h
|
|
||||||
- /source/qcommon/tiki.h
|
|
||||||
- /source/qcommon/tiki_script.h
|
|
||||||
- /source/qcommon/vector.h
|
|
||||||
- /source/qcommon/warn4.h
|
|
||||||
- /source/script/scriptclass.h
|
|
||||||
- /source/script/scriptcompiler.h
|
|
||||||
- /source/script/scriptexception.h
|
|
||||||
- /source/script/scriptopcodes.h
|
|
||||||
- /source/script/scriptvariable.h
|
|
||||||
- /source/script/scriptvm.h
|
|
||||||
- /source/skeletor/skeletor_animation_file_format.h
|
|
||||||
- /source/skeletor/skeletor_fgame_exports.h
|
|
||||||
- /source/skeletor/skeletor_model_file_format.h
|
|
||||||
- /source/skeletor/SkelMat3.h
|
|
||||||
- /source/skeletor/SkelMat4.h
|
|
||||||
- /source/skeletor/SkelQuat.h
|
|
||||||
- /source/skeletor/SkelVec3.h
|
|
||||||
- /source/skeletor/SkelVec4.h
|
|
||||||
- /source/system/appmem.h
|
|
||||||
- /source/tiki/tiki_shared.h
|
|
||||||
- /tconfig.h
|
|
||||||
- /tm.h
|
|
||||||
- /usr/include/alloca.h
|
|
||||||
- /usr/include/asm/param.h
|
|
||||||
- /usr/include/asm/sigcontext.h
|
|
||||||
- /usr/include/assert.h
|
|
||||||
- /usr/include/bits/confname.h
|
|
||||||
- /usr/include/bits/endian.h
|
|
||||||
- /usr/include/bits/huge_val.h
|
|
||||||
- /usr/include/bits/local_lim.h
|
|
||||||
- /usr/include/bits/mathcalls.h
|
|
||||||
- /usr/include/bits/mathdef.h
|
|
||||||
- /usr/include/bits/mathinline.h
|
|
||||||
- /usr/include/bits/posix1_lim.h
|
|
||||||
- /usr/include/bits/posix2_lim.h
|
|
||||||
- /usr/include/bits/posix_opt.h
|
|
||||||
- /usr/include/bits/select.h
|
|
||||||
- /usr/include/bits/sigaction.h
|
|
||||||
- /usr/include/bits/sigcontext.h
|
|
||||||
- /usr/include/bits/siginfo.h
|
|
||||||
- /usr/include/bits/signum.h
|
|
||||||
- /usr/include/bits/sigset.h
|
|
||||||
- /usr/include/bits/sigstack.h
|
|
||||||
- /usr/include/bits/stdio.h
|
|
||||||
- /usr/include/bits/stdio_lim.h
|
|
||||||
- /usr/include/bits/string.h
|
|
||||||
- /usr/include/bits/string2.h
|
|
||||||
- /usr/include/bits/time.h
|
|
||||||
- /usr/include/bits/types.h
|
|
||||||
- /usr/include/ctype.h
|
|
||||||
- /usr/include/endian.h
|
|
||||||
- /usr/include/features.h
|
|
||||||
- /usr/include/getopt.h
|
|
||||||
- /usr/include/gnu/stubs.h
|
|
||||||
- /usr/include/libio.h
|
|
||||||
- /usr/include/limits.h
|
|
||||||
- /usr/include/linux/limits.h
|
|
||||||
- /usr/include/linux/param.h
|
|
||||||
- /usr/include/malloc.h
|
|
||||||
- /usr/include/math.h
|
|
||||||
- /usr/include/memory.h
|
|
||||||
- /usr/include/signal.h
|
|
||||||
- /usr/include/stdio.h
|
|
||||||
- /usr/include/stdlib.h
|
|
||||||
- /usr/include/string.h
|
|
||||||
- /usr/include/sys/cdefs.h
|
|
||||||
- /usr/include/sys/param.h
|
|
||||||
- /usr/include/sys/select.h
|
|
||||||
- /usr/include/sys/sysmacros.h
|
|
||||||
- /usr/include/sys/types.h
|
|
||||||
- /usr/include/time.h
|
|
||||||
- /usr/include/unistd.h
|
|
||||||
- /usr/include/_G_config.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/float.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/limits.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdarg.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stddef.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/syslimits.h
|
|
File diff suppressed because one or more lines are too long
|
@ -1,548 +0,0 @@
|
||||||
= Engine file list
|
|
||||||
|
|
||||||
== Source files
|
|
||||||
|
|
||||||
- /source/client/cl_cgame.c
|
|
||||||
- /source/client/cl_cin.c
|
|
||||||
- /source/client/cl_consolecmds.cpp
|
|
||||||
- /source/client/cl_input.c
|
|
||||||
- /source/client/cl_inv.cpp
|
|
||||||
- /source/client/cl_invrender.cpp
|
|
||||||
- /source/client/cl_keys.c
|
|
||||||
- /source/client/cl_main.c
|
|
||||||
- /source/client/cl_net_chan.c
|
|
||||||
- /source/client/cl_parse.c
|
|
||||||
- /source/client/cl_scrn.c
|
|
||||||
- /source/client/cl_ui.cpp
|
|
||||||
- /source/client/cl_uibind.cpp
|
|
||||||
- /source/client/cl_uidmbox.cpp
|
|
||||||
- /source/client/cl_uifilepicker.cpp
|
|
||||||
- /source/client/cl_uigmbox.cpp
|
|
||||||
- /source/client/cl_uilangame.cpp
|
|
||||||
- /source/client/cl_uiloadsave.cpp
|
|
||||||
- /source/client/cl_uimaprunner.cpp
|
|
||||||
- /source/client/cl_uiminicon.cpp
|
|
||||||
- /source/client/cl_uimpmappicker.cpp
|
|
||||||
- /source/client/cl_uiplayermodelpicker.cpp
|
|
||||||
- /source/client/cl_uiserverlist.cpp
|
|
||||||
- /source/client/cl_uisoundpicker.cpp
|
|
||||||
- /source/client/cl_uistd.cpp
|
|
||||||
- /source/client/cl_uiview3d.cpp
|
|
||||||
- /source/client/skel_imports.cpp
|
|
||||||
- /source/client/snd_dma_new.cpp
|
|
||||||
- /source/client/snd_info.cpp
|
|
||||||
- /source/client/snd_mem.c
|
|
||||||
- /source/client/snd_openal_new.cpp
|
|
||||||
- /source/client/tiki_imports.cpp
|
|
||||||
- /source/client/usignal.cpp
|
|
||||||
- /source/ff/cl_ff.c
|
|
||||||
- /source/ff/snd_ff.c
|
|
||||||
- /source/gamespy/darray.c
|
|
||||||
- /source/gamespy/gserver.c
|
|
||||||
- /source/gamespy/gserverlist.c
|
|
||||||
- /source/gamespy/gutil.c
|
|
||||||
- /source/gamespy/hashtable.c
|
|
||||||
- /source/gamespy/md5c.c
|
|
||||||
- /source/gamespy/nonport.c
|
|
||||||
- /source/gamespy/sv_gamespy.c
|
|
||||||
- /source/gamespy/sv_gqueryreporting.c
|
|
||||||
- /source/jpeg-6/jcapimin.c
|
|
||||||
- /source/jpeg-6/jccoefct.c
|
|
||||||
- /source/jpeg-6/jccolor.c
|
|
||||||
- /source/jpeg-6/jcdctmgr.c
|
|
||||||
- /source/jpeg-6/jchuff.c
|
|
||||||
- /source/jpeg-6/jcinit.c
|
|
||||||
- /source/jpeg-6/jcmainct.c
|
|
||||||
- /source/jpeg-6/jcmarker.c
|
|
||||||
- /source/jpeg-6/jcmaster.c
|
|
||||||
- /source/jpeg-6/jcomapi.c
|
|
||||||
- /source/jpeg-6/jcparam.c
|
|
||||||
- /source/jpeg-6/jcphuff.c
|
|
||||||
- /source/jpeg-6/jcprepct.c
|
|
||||||
- /source/jpeg-6/jcsample.c
|
|
||||||
- /source/jpeg-6/jctrans.c
|
|
||||||
- /source/jpeg-6/jdapimin.c
|
|
||||||
- /source/jpeg-6/jdapistd.c
|
|
||||||
- /source/jpeg-6/jdatadst.c
|
|
||||||
- /source/jpeg-6/jdatasrc.c
|
|
||||||
- /source/jpeg-6/jdcoefct.c
|
|
||||||
- /source/jpeg-6/jdcolor.c
|
|
||||||
- /source/jpeg-6/jddctmgr.c
|
|
||||||
- /source/jpeg-6/jdhuff.c
|
|
||||||
- /source/jpeg-6/jdinput.c
|
|
||||||
- /source/jpeg-6/jdmainct.c
|
|
||||||
- /source/jpeg-6/jdmarker.c
|
|
||||||
- /source/jpeg-6/jdmaster.c
|
|
||||||
- /source/jpeg-6/jdpostct.c
|
|
||||||
- /source/jpeg-6/jdsample.c
|
|
||||||
- /source/jpeg-6/jdtrans.c
|
|
||||||
- /source/jpeg-6/jerror.c
|
|
||||||
- /source/jpeg-6/jfdctflt.c
|
|
||||||
- /source/jpeg-6/jidctflt.c
|
|
||||||
- /source/jpeg-6/jmemmgr.c
|
|
||||||
- /source/jpeg-6/jmemnobs.c
|
|
||||||
- /source/jpeg-6/jutils.c
|
|
||||||
- /source/profile/profile_main.c
|
|
||||||
- /source/qcommon/alias.c
|
|
||||||
- /source/qcommon/assertive.c
|
|
||||||
- /source/qcommon/circstr.c
|
|
||||||
- /source/qcommon/class.cpp
|
|
||||||
- /source/qcommon/cm_fencemask.c
|
|
||||||
- /source/qcommon/cm_load.c
|
|
||||||
- /source/qcommon/cm_patch.c
|
|
||||||
- /source/qcommon/cm_polylib.c
|
|
||||||
- /source/qcommon/cm_terrain.c
|
|
||||||
- /source/qcommon/cm_test.c
|
|
||||||
- /source/qcommon/cm_trace.c
|
|
||||||
- /source/qcommon/cm_trace_lbd.cpp
|
|
||||||
- /source/qcommon/cmd.c
|
|
||||||
- /source/qcommon/common.c
|
|
||||||
- /source/qcommon/con_set.cpp
|
|
||||||
- /source/qcommon/crc.c
|
|
||||||
- /source/qcommon/cvar.c
|
|
||||||
- /source/qcommon/files.c
|
|
||||||
- /source/qcommon/huffman.c
|
|
||||||
- /source/qcommon/lightclass.cpp
|
|
||||||
- /source/qcommon/listener.cpp
|
|
||||||
- /source/qcommon/lz77.cpp
|
|
||||||
- /source/qcommon/mathlib.c
|
|
||||||
- /source/qcommon/md4.c
|
|
||||||
- /source/qcommon/mem_tempalloc.cpp
|
|
||||||
- /source/qcommon/memory.c
|
|
||||||
- /source/qcommon/msg.c
|
|
||||||
- /source/qcommon/net_chan.c
|
|
||||||
- /source/qcommon/q_math.c
|
|
||||||
- /source/qcommon/q_mathsys.c
|
|
||||||
- /source/qcommon/q_shared.c
|
|
||||||
- /source/qcommon/script.cpp
|
|
||||||
- /source/qcommon/str.cpp
|
|
||||||
- /source/qcommon/tiki_main.cpp
|
|
||||||
- /source/qcommon/tiki_script.cpp
|
|
||||||
- /source/qcommon/unzip.c
|
|
||||||
- /source/renderer/surfaceflags.c
|
|
||||||
- /source/renderer/tr_backend.c
|
|
||||||
- /source/renderer/tr_bsp.c
|
|
||||||
- /source/renderer/tr_cmds.c
|
|
||||||
- /source/renderer/tr_curve.c
|
|
||||||
- /source/renderer/tr_draw.c
|
|
||||||
- /source/renderer/tr_flares.c
|
|
||||||
- /source/renderer/tr_font.cpp
|
|
||||||
- /source/renderer/tr_ghost.cpp
|
|
||||||
- /source/renderer/tr_image.c
|
|
||||||
- /source/renderer/tr_init.c
|
|
||||||
- /source/renderer/tr_light.c
|
|
||||||
- /source/renderer/tr_main.c
|
|
||||||
- /source/renderer/tr_marks.c
|
|
||||||
- /source/renderer/tr_marks_permanent.c
|
|
||||||
- /source/renderer/tr_model.cpp
|
|
||||||
- /source/renderer/tr_noise.c
|
|
||||||
- /source/renderer/tr_scene.c
|
|
||||||
- /source/renderer/tr_shade.c
|
|
||||||
- /source/renderer/tr_shade_calc.c
|
|
||||||
- /source/renderer/tr_shader.c
|
|
||||||
- /source/renderer/tr_shadows.c
|
|
||||||
- /source/renderer/tr_sky.c
|
|
||||||
- /source/renderer/tr_sky_portal.cpp
|
|
||||||
- /source/renderer/tr_sphere_shade.cpp
|
|
||||||
- /source/renderer/tr_sprite.c
|
|
||||||
- /source/renderer/tr_staticmodels.cpp
|
|
||||||
- /source/renderer/tr_sun_flare.cpp
|
|
||||||
- /source/renderer/tr_surface.c
|
|
||||||
- /source/renderer/tr_swipe.cpp
|
|
||||||
- /source/renderer/tr_terrain.c
|
|
||||||
- /source/renderer/tr_util.cpp
|
|
||||||
- /source/renderer/tr_vis.cpp
|
|
||||||
- /source/renderer/tr_world.c
|
|
||||||
- /source/script/scriptexception.cpp
|
|
||||||
- /source/script/scriptvariable.cpp
|
|
||||||
- /source/server/sv_ccmds.c
|
|
||||||
- /source/server/sv_client.c
|
|
||||||
- /source/server/sv_game.c
|
|
||||||
- /source/server/sv_init.c
|
|
||||||
- /source/server/sv_main.c
|
|
||||||
- /source/server/sv_net_chan.c
|
|
||||||
- /source/server/sv_snapshot.c
|
|
||||||
- /source/server/sv_snd.c
|
|
||||||
- /source/server/sv_world.c
|
|
||||||
- /source/skeletor/SkelMat3.cpp
|
|
||||||
- /source/skeletor/SkelMat4.cpp
|
|
||||||
- /source/skeletor/bonetable.cpp
|
|
||||||
- /source/skeletor/skeletor.cpp
|
|
||||||
- /source/skeletor/skeletor_loadanimation.cpp
|
|
||||||
- /source/skeletor/skeletor_model_files.cpp
|
|
||||||
- /source/skeletor/skeletor_saveanimation.cpp
|
|
||||||
- /source/skeletor/skeletor_utilities.cpp
|
|
||||||
- /source/skeletor/skeletorbones.cpp
|
|
||||||
- /source/skeletor/skelquat.cpp
|
|
||||||
- /source/skeletor/tokenizer.cpp
|
|
||||||
- /source/tiki/tiki_anim.cpp
|
|
||||||
- /source/tiki/tiki_cache.cpp
|
|
||||||
- /source/tiki/tiki_commands.cpp
|
|
||||||
- /source/tiki/tiki_files.cpp
|
|
||||||
- /source/tiki/tiki_frame.cpp
|
|
||||||
- /source/tiki/tiki_mesh.cpp
|
|
||||||
- /source/tiki/tiki_parse.cpp
|
|
||||||
- /source/tiki/tiki_skel.cpp
|
|
||||||
- /source/tiki/tiki_surface.cpp
|
|
||||||
- /source/tiki/tiki_switcher.cpp
|
|
||||||
- /source/tiki/tiki_tag.cpp
|
|
||||||
- /source/tiki/tiki_utility.cpp
|
|
||||||
- /source/uilib/console.cpp
|
|
||||||
- /source/uilib/ucolor.cpp
|
|
||||||
- /source/uilib/ui_init.cpp
|
|
||||||
- /source/uilib/uibind.cpp
|
|
||||||
- /source/uilib/uibindlist.cpp
|
|
||||||
- /source/uilib/uibutton.cpp
|
|
||||||
- /source/uilib/uicheckbox.cpp
|
|
||||||
- /source/uilib/uiconsole.cpp
|
|
||||||
- /source/uilib/uidialog.cpp
|
|
||||||
- /source/uilib/uifield.cpp
|
|
||||||
- /source/uilib/uifloatwnd.cpp
|
|
||||||
- /source/uilib/uifont.cpp
|
|
||||||
- /source/uilib/uiglobalgamelist.cpp
|
|
||||||
- /source/uilib/uihorizscroll.cpp
|
|
||||||
- /source/uilib/uilabel.cpp
|
|
||||||
- /source/uilib/uilangamelist.cpp
|
|
||||||
- /source/uilib/uilayout.cpp
|
|
||||||
- /source/uilib/uilist.cpp
|
|
||||||
- /source/uilib/uilistbox.cpp
|
|
||||||
- /source/uilib/uilistctrl.cpp
|
|
||||||
- /source/uilib/uimenu.cpp
|
|
||||||
- /source/uilib/uimledit.cpp
|
|
||||||
- /source/uilib/uinotepad.cpp
|
|
||||||
- /source/uilib/uipopupmenu.cpp
|
|
||||||
- /source/uilib/uipulldownmenu.cpp
|
|
||||||
- /source/uilib/uipulldownmenucontainer.cpp
|
|
||||||
- /source/uilib/uislider.cpp
|
|
||||||
- /source/uilib/uistatus.cpp
|
|
||||||
- /source/uilib/uivertscroll.cpp
|
|
||||||
- /source/uilib/uiwidget.cpp
|
|
||||||
- /source/uilib/uiwinman.cpp
|
|
||||||
- /source/unix/linux_general_extras.c
|
|
||||||
- /source/unix/linux_glimp_sdl.c
|
|
||||||
- /source/unix/linux_qgl.c
|
|
||||||
- /source/unix/unix_assert.c
|
|
||||||
- /source/unix/unix_main.c
|
|
||||||
- /source/unix/unix_net.c
|
|
||||||
- /source/unix/unix_shared.c
|
|
||||||
- /source/win32/win_bounds.cpp
|
|
||||||
- /source/win32/win_localization.cpp
|
|
||||||
|
|
||||||
== Header files
|
|
||||||
|
|
||||||
- ../include/features.h
|
|
||||||
- ../include/libc-symbols.h
|
|
||||||
- ../include/libintl.h
|
|
||||||
- ../include/locale.h
|
|
||||||
- ../include/sys/cdefs.h
|
|
||||||
- ../include/xlocale.h
|
|
||||||
- ../intl/libintl.h
|
|
||||||
- ../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h
|
|
||||||
- ../locale/locale.h
|
|
||||||
- ../locale/xlocale.h
|
|
||||||
- ../misc/sys/cdefs.h
|
|
||||||
- ../sysdeps/unix/sysv/linux/bits/sched.h
|
|
||||||
- ../sysdeps/unix/sysv/linux/bits/types.h
|
|
||||||
- ../sysdeps/unix/sysv/linux/_G_config.h
|
|
||||||
- /source/cgame/cg_parsemsg.h
|
|
||||||
- /source/cgame/cg_public.h
|
|
||||||
- /source/cgame/tr_types.h
|
|
||||||
- /source/client/client.h
|
|
||||||
- /source/client/cl_inv.h
|
|
||||||
- /source/client/cl_invrender.h
|
|
||||||
- /source/client/cl_ui.h
|
|
||||||
- /source/client/cl_uibind.h
|
|
||||||
- /source/client/cl_uidmbox.h
|
|
||||||
- /source/client/cl_uifilepicker.h
|
|
||||||
- /source/client/cl_uigmbox.h
|
|
||||||
- /source/client/cl_uilangame.h
|
|
||||||
- /source/client/cl_uiloadsave.h
|
|
||||||
- /source/client/cl_uimaprunner.h
|
|
||||||
- /source/client/cl_uiminicon.h
|
|
||||||
- /source/client/cl_uimpmappicker.h
|
|
||||||
- /source/client/cl_uiplayermodelpicker.h
|
|
||||||
- /source/client/cl_uiserverlist.h
|
|
||||||
- /source/client/cl_uisoundpicker.h
|
|
||||||
- /source/client/cl_uistd.h
|
|
||||||
- /source/client/cl_uiview3d.h
|
|
||||||
- /source/client/keys.h
|
|
||||||
- /source/client/snd_local.h
|
|
||||||
- /source/client/snd_local_new.h
|
|
||||||
- /source/client/snd_miles.h
|
|
||||||
- /source/client/snd_openal_new.h
|
|
||||||
- /source/client/snd_public.h
|
|
||||||
- /source/client/usignal.h
|
|
||||||
- /source/fgame/bg_public.h
|
|
||||||
- /source/fgame/const_str.h
|
|
||||||
- /source/fgame/g_public.h
|
|
||||||
- /source/gamespy/darray.h
|
|
||||||
- /source/gamespy/goaceng.h
|
|
||||||
- /source/gamespy/gserver.h
|
|
||||||
- /source/gamespy/gserverlist.h
|
|
||||||
- /source/gamespy/gutil.h
|
|
||||||
- /source/gamespy/hashtable.h
|
|
||||||
- /source/gamespy/md5.h
|
|
||||||
- /source/gamespy/nonport.h
|
|
||||||
- /source/gamespy/sv_gqueryreporting.h
|
|
||||||
- /source/jpeg-6/jchuff.h
|
|
||||||
- /source/jpeg-6/jconfig.h
|
|
||||||
- /source/jpeg-6/jdct.h
|
|
||||||
- /source/jpeg-6/jdhuff.h
|
|
||||||
- /source/jpeg-6/jerror.h
|
|
||||||
- /source/jpeg-6/jinclude.h
|
|
||||||
- /source/jpeg-6/jmemsys.h
|
|
||||||
- /source/jpeg-6/jmorecfg.h
|
|
||||||
- /source/jpeg-6/jpegint.h
|
|
||||||
- /source/jpeg-6/jpeglib.h
|
|
||||||
- /source/jpeg-6/jversion.h
|
|
||||||
- /source/Launch/RunMode.h
|
|
||||||
- /source/profile/profile.h
|
|
||||||
- /source/qcommon/alias.h
|
|
||||||
- /source/qcommon/assertive.h
|
|
||||||
- /source/qcommon/circstr.h
|
|
||||||
- /source/qcommon/class.h
|
|
||||||
- /source/qcommon/cl_no_ui.h
|
|
||||||
- /source/qcommon/cm_local.h
|
|
||||||
- /source/qcommon/cm_patch.h
|
|
||||||
- /source/qcommon/cm_polylib.h
|
|
||||||
- /source/qcommon/cm_public.h
|
|
||||||
- /source/qcommon/cm_terrain.h
|
|
||||||
- /source/qcommon/container.h
|
|
||||||
- /source/qcommon/con_arrayset.h
|
|
||||||
- /source/qcommon/con_map.h
|
|
||||||
- /source/qcommon/con_set.h
|
|
||||||
- /source/qcommon/crc.h
|
|
||||||
- /source/qcommon/lightclass.h
|
|
||||||
- /source/qcommon/linklist.h
|
|
||||||
- /source/qcommon/listener.h
|
|
||||||
- /source/qcommon/lz77.h
|
|
||||||
- /source/qcommon/mathlib.h
|
|
||||||
- /source/qcommon/mem_blockalloc.h
|
|
||||||
- /source/qcommon/mem_tempalloc.h
|
|
||||||
- /source/qcommon/msg.h
|
|
||||||
- /source/qcommon/qcommon.h
|
|
||||||
- /source/qcommon/qfiles.h
|
|
||||||
- /source/qcommon/q_shared.h
|
|
||||||
- /source/qcommon/script.h
|
|
||||||
- /source/qcommon/short3.h
|
|
||||||
- /source/qcommon/str.h
|
|
||||||
- /source/qcommon/surfaceflags.h
|
|
||||||
- /source/qcommon/symbol_declasher.h
|
|
||||||
- /source/qcommon/tiki.h
|
|
||||||
- /source/qcommon/tiki_script.h
|
|
||||||
- /source/qcommon/unzip.h
|
|
||||||
- /source/qcommon/vector.h
|
|
||||||
- /source/qcommon/warn4.h
|
|
||||||
- /source/renderer/qgl.h
|
|
||||||
- /source/renderer/tr_ghost.h
|
|
||||||
- /source/renderer/tr_local.h
|
|
||||||
- /source/renderer/tr_public.h
|
|
||||||
- /source/renderer/tr_vis.h
|
|
||||||
- /source/script/scriptexception.h
|
|
||||||
- /source/script/scriptopcodes.h
|
|
||||||
- /source/script/scriptvariable.h
|
|
||||||
- /source/server/server.h
|
|
||||||
- /source/skeletor/skeletor.h
|
|
||||||
- /source/skeletor/skeletor_animation_file_format.h
|
|
||||||
- /source/skeletor/skeletor_fgame_exports.h
|
|
||||||
- /source/skeletor/skeletor_internal.h
|
|
||||||
- /source/skeletor/skeletor_model_file_format.h
|
|
||||||
- /source/skeletor/skeletor_name_lists.h
|
|
||||||
- /source/skeletor/skeletor_renderer_exports.h
|
|
||||||
- /source/skeletor/SkelMat3.h
|
|
||||||
- /source/skeletor/SkelMat4.h
|
|
||||||
- /source/skeletor/SkelQuat.h
|
|
||||||
- /source/skeletor/SkelVec3.h
|
|
||||||
- /source/skeletor/SkelVec4.h
|
|
||||||
- /source/skeletor/tokenizer.h
|
|
||||||
- /source/system/appmem.h
|
|
||||||
- /source/tiki/tiki_shared.h
|
|
||||||
- /source/ui/keycodes.h
|
|
||||||
- /source/uilib/console.h
|
|
||||||
- /source/uilib/editfield.h
|
|
||||||
- /source/uilib/keycodes.h
|
|
||||||
- /source/uilib/stack.h
|
|
||||||
- /source/uilib/ucolor.h
|
|
||||||
- /source/uilib/uibind.h
|
|
||||||
- /source/uilib/uibindlist.h
|
|
||||||
- /source/uilib/uibutton.h
|
|
||||||
- /source/uilib/uicheckbox.h
|
|
||||||
- /source/uilib/uicommon.h
|
|
||||||
- /source/uilib/uiconsole.h
|
|
||||||
- /source/uilib/uidialog.h
|
|
||||||
- /source/uilib/uifield.h
|
|
||||||
- /source/uilib/uifloatwnd.h
|
|
||||||
- /source/uilib/uifont.h
|
|
||||||
- /source/uilib/uiglobalgamelist.h
|
|
||||||
- /source/uilib/uihorizscroll.h
|
|
||||||
- /source/uilib/uilabel.h
|
|
||||||
- /source/uilib/uilangamelist.h
|
|
||||||
- /source/uilib/uilayout.h
|
|
||||||
- /source/uilib/uilist.h
|
|
||||||
- /source/uilib/uilistbox.h
|
|
||||||
- /source/uilib/uilistctrl.h
|
|
||||||
- /source/uilib/uimenu.h
|
|
||||||
- /source/uilib/uimledit.h
|
|
||||||
- /source/uilib/uinotepad.h
|
|
||||||
- /source/uilib/uipoint2d.h
|
|
||||||
- /source/uilib/uipopupmenu.h
|
|
||||||
- /source/uilib/uipulldownmenu.h
|
|
||||||
- /source/uilib/uipulldownmenucontainer.h
|
|
||||||
- /source/uilib/uirect2d.h
|
|
||||||
- /source/uilib/uisize2d.h
|
|
||||||
- /source/uilib/uislider.h
|
|
||||||
- /source/uilib/uistatus.h
|
|
||||||
- /source/uilib/uivertscroll.h
|
|
||||||
- /source/uilib/uiwidget.h
|
|
||||||
- /source/uilib/uiwinman.h
|
|
||||||
- /source/uilib/ui_extern.h
|
|
||||||
- /source/uilib/ui_local.h
|
|
||||||
- /source/uilib/ui_public.h
|
|
||||||
- /source/uilib/ulist.h
|
|
||||||
- /source/uilib/usignal.h
|
|
||||||
- /source/unix/unix_glw.h
|
|
||||||
- /source/win32/win_localization.h
|
|
||||||
- /usr/include/alloca.h
|
|
||||||
- /usr/include/arpa/inet.h
|
|
||||||
- /usr/include/asm/errno.h
|
|
||||||
- /usr/include/asm/ioctl.h
|
|
||||||
- /usr/include/asm/ioctls.h
|
|
||||||
- /usr/include/asm/param.h
|
|
||||||
- /usr/include/asm/sigcontext.h
|
|
||||||
- /usr/include/asm/socket.h
|
|
||||||
- /usr/include/asm/sockios.h
|
|
||||||
- /usr/include/assert.h
|
|
||||||
- /usr/include/bits/byteswap.h
|
|
||||||
- /usr/include/bits/confname.h
|
|
||||||
- /usr/include/bits/dirent.h
|
|
||||||
- /usr/include/bits/dlfcn.h
|
|
||||||
- /usr/include/bits/endian.h
|
|
||||||
- /usr/include/bits/errno.h
|
|
||||||
- /usr/include/bits/fcntl.h
|
|
||||||
- /usr/include/bits/huge_val.h
|
|
||||||
- /usr/include/bits/in.h
|
|
||||||
- /usr/include/bits/ioctl-types.h
|
|
||||||
- /usr/include/bits/ioctls.h
|
|
||||||
- /usr/include/bits/ipc.h
|
|
||||||
- /usr/include/bits/local_lim.h
|
|
||||||
- /usr/include/bits/mathcalls.h
|
|
||||||
- /usr/include/bits/mathdef.h
|
|
||||||
- /usr/include/bits/mathinline.h
|
|
||||||
- /usr/include/bits/mman.h
|
|
||||||
- /usr/include/bits/posix1_lim.h
|
|
||||||
- /usr/include/bits/posix2_lim.h
|
|
||||||
- /usr/include/bits/posix_opt.h
|
|
||||||
- /usr/include/bits/select.h
|
|
||||||
- /usr/include/bits/setjmp.h
|
|
||||||
- /usr/include/bits/shm.h
|
|
||||||
- /usr/include/bits/sigaction.h
|
|
||||||
- /usr/include/bits/sigcontext.h
|
|
||||||
- /usr/include/bits/siginfo.h
|
|
||||||
- /usr/include/bits/signum.h
|
|
||||||
- /usr/include/bits/sigset.h
|
|
||||||
- /usr/include/bits/sigstack.h
|
|
||||||
- /usr/include/bits/sockaddr.h
|
|
||||||
- /usr/include/bits/socket.h
|
|
||||||
- /usr/include/bits/stat.h
|
|
||||||
- /usr/include/bits/stdio.h
|
|
||||||
- /usr/include/bits/stdio_lim.h
|
|
||||||
- /usr/include/bits/string.h
|
|
||||||
- /usr/include/bits/string2.h
|
|
||||||
- /usr/include/bits/time.h
|
|
||||||
- /usr/include/bits/types.h
|
|
||||||
- /usr/include/bits/uio.h
|
|
||||||
- /usr/include/bits/waitflags.h
|
|
||||||
- /usr/include/bits/waitstatus.h
|
|
||||||
- /usr/include/ctype.h
|
|
||||||
- /usr/include/dirent.h
|
|
||||||
- /usr/include/dlfcn.h
|
|
||||||
- /usr/include/endian.h
|
|
||||||
- /usr/include/errno.h
|
|
||||||
- /usr/include/fcntl.h
|
|
||||||
- /usr/include/features.h
|
|
||||||
- /usr/include/fnmatch.h
|
|
||||||
- /usr/include/fpu_control.h
|
|
||||||
- /usr/include/getopt.h
|
|
||||||
- /usr/include/gnu/stubs.h
|
|
||||||
- /usr/include/libio.h
|
|
||||||
- /usr/include/limits.h
|
|
||||||
- /usr/include/linux/errno.h
|
|
||||||
- /usr/include/linux/limits.h
|
|
||||||
- /usr/include/linux/param.h
|
|
||||||
- /usr/include/malloc.h
|
|
||||||
- /usr/include/math.h
|
|
||||||
- /usr/include/memory.h
|
|
||||||
- /usr/include/mntent.h
|
|
||||||
- /usr/include/netdb.h
|
|
||||||
- /usr/include/netinet/in.h
|
|
||||||
- /usr/include/paths.h
|
|
||||||
- /usr/include/pwd.h
|
|
||||||
- /usr/include/rpc/netdb.h
|
|
||||||
- /usr/include/setjmp.h
|
|
||||||
- /usr/include/signal.h
|
|
||||||
- /usr/include/stdint.h
|
|
||||||
- /usr/include/stdio.h
|
|
||||||
- /usr/include/stdlib.h
|
|
||||||
- /usr/include/string.h
|
|
||||||
- /usr/include/sys/cdefs.h
|
|
||||||
- /usr/include/sys/ioctl.h
|
|
||||||
- /usr/include/sys/ipc.h
|
|
||||||
- /usr/include/sys/mman.h
|
|
||||||
- /usr/include/sys/param.h
|
|
||||||
- /usr/include/sys/select.h
|
|
||||||
- /usr/include/sys/shm.h
|
|
||||||
- /usr/include/sys/socket.h
|
|
||||||
- /usr/include/sys/stat.h
|
|
||||||
- /usr/include/sys/sysmacros.h
|
|
||||||
- /usr/include/sys/time.h
|
|
||||||
- /usr/include/sys/ttydefaults.h
|
|
||||||
- /usr/include/sys/types.h
|
|
||||||
- /usr/include/sys/uio.h
|
|
||||||
- /usr/include/sys/wait.h
|
|
||||||
- /usr/include/time.h
|
|
||||||
- /usr/include/unistd.h
|
|
||||||
- /usr/include/_G_config.h
|
|
||||||
- /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/float.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/limits.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdarg.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stddef.h
|
|
||||||
- /usr/local/gcc2byteunicode/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/syslimits.h
|
|
||||||
- /usr/local/include/AL/al.h
|
|
||||||
- /usr/local/include/AL/alc.h
|
|
||||||
- /usr/local/include/AL/alctypes.h
|
|
||||||
- /usr/local/include/AL/altypes.h
|
|
||||||
- /usr/local/include/AL/alut.h
|
|
||||||
- /usr/local/include/AL/aluttypes.h
|
|
||||||
- /usr/local/include/SDL/begin_code.h
|
|
||||||
- /usr/local/include/SDL/close_code.h
|
|
||||||
- /usr/local/include/SDL/SDL.h
|
|
||||||
- /usr/local/include/SDL/SDL_active.h
|
|
||||||
- /usr/local/include/SDL/SDL_audio.h
|
|
||||||
- /usr/local/include/SDL/SDL_byteorder.h
|
|
||||||
- /usr/local/include/SDL/SDL_cdrom.h
|
|
||||||
- /usr/local/include/SDL/SDL_error.h
|
|
||||||
- /usr/local/include/SDL/SDL_events.h
|
|
||||||
- /usr/local/include/SDL/SDL_getenv.h
|
|
||||||
- /usr/local/include/SDL/SDL_joystick.h
|
|
||||||
- /usr/local/include/SDL/SDL_keyboard.h
|
|
||||||
- /usr/local/include/SDL/SDL_keysym.h
|
|
||||||
- /usr/local/include/SDL/SDL_main.h
|
|
||||||
- /usr/local/include/SDL/SDL_mouse.h
|
|
||||||
- /usr/local/include/SDL/SDL_mutex.h
|
|
||||||
- /usr/local/include/SDL/SDL_quit.h
|
|
||||||
- /usr/local/include/SDL/SDL_rwops.h
|
|
||||||
- /usr/local/include/SDL/SDL_timer.h
|
|
||||||
- /usr/local/include/SDL/SDL_types.h
|
|
||||||
- /usr/local/include/SDL/SDL_version.h
|
|
||||||
- /usr/local/include/SDL/SDL_video.h
|
|
||||||
- /usr/src/bs/BUILD/glibc/build-i386-linux/config.h
|
|
||||||
- /usr/X11R6/include/GL/gl.h
|
|
||||||
- /usr/X11R6/include/GL/glext.h
|
|
||||||
- /usr/X11R6/include/GL/glx.h
|
|
||||||
- /usr/X11R6/include/GL/glxtokens.h
|
|
||||||
- /usr/X11R6/include/X11/X.h
|
|
||||||
- /usr/X11R6/include/X11/Xfuncproto.h
|
|
||||||
- /usr/X11R6/include/X11/Xlib.h
|
|
||||||
- /usr/X11R6/include/X11/Xosdefs.h
|
|
||||||
- /usr/X11R6/include/X11/Xutil.h
|
|
|
@ -1,11 +0,0 @@
|
||||||
0x0 = eax
|
|
||||||
0x1 = ecx
|
|
||||||
0x2 = edx
|
|
||||||
0x3 = ebx
|
|
||||||
0x4 = ?
|
|
||||||
0x5 = ?
|
|
||||||
0x6 = esi
|
|
||||||
0x7 = edi
|
|
||||||
0xB = fst7
|
|
||||||
0xC = fst7
|
|
||||||
0xD = fst6
|
|
|
@ -1,21 +0,0 @@
|
||||||
13 = Entity::ShowInfo
|
|
||||||
25 = Entity::setAngles
|
|
||||||
33 = Entity::Postthink
|
|
||||||
34 = Entity::Think
|
|
||||||
46 = Entity::EndFrame
|
|
||||||
47 = Entity::CalcBlend
|
|
||||||
52 = Entity::PreAnimate
|
|
||||||
53 = Entity::PostAnimate
|
|
||||||
55 = Entity::DumpAnimInfo
|
|
||||||
58 = Projectile::DoDecal
|
|
||||||
60 = Item::GetOwner
|
|
||||||
70 = Player::SetViewAngles (player)
|
|
||||||
72 = Player::GetViewAngles (player)
|
|
||||||
74 = Player::GunTarget (player)
|
|
||||||
75 = Item::getName( item )
|
|
||||||
93 = Weapon::SetWeaponAnim
|
|
||||||
95 = Weapon::StopWeaponAnim
|
|
||||||
|
|
||||||
vehicle
|
|
||||||
169 = Vehicle::SetSlotsNonSolid
|
|
||||||
170 = Vehicle::SetSlotsSolid
|
|
|
@ -1 +0,0 @@
|
||||||
\r\n\t(\r\n\tPARAMETERS\r\n\t)\r\n\r\n{\r\n\t// FIXME: stub\r\n\tSTUB();\r\n}\r\n
|
|
|
@ -1,5 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common_aa.h"
|
|
||||||
#include "ida_game_aa.h"
|
|
||||||
#include "ida_cgame_aa.h"
|
|
|
@ -1,5 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_base.h"
|
|
||||||
|
|
||||||
#include "ida_cgame_ta.h"
|
|
|
@ -1,5 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common_tt.h"
|
|
||||||
#include "ida_game_tt.h"
|
|
||||||
#include "ida_cgame_tt.h"
|
|
|
@ -1,3 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
|
@ -1,4 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_app.h"
|
|
||||||
#include "ida_common_aa.h"
|
|
|
@ -1,303 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_app.h"
|
|
||||||
#include "ida_common_ta.h"
|
|
||||||
|
|
||||||
typedef struct clSnapshot_s
|
|
||||||
{
|
|
||||||
qboolean valid;
|
|
||||||
int snapFlags;
|
|
||||||
int serverTime;
|
|
||||||
int serverTimeResidual;
|
|
||||||
int messageNum;
|
|
||||||
int deltaNum;
|
|
||||||
int ping;
|
|
||||||
unsigned char areamask[32];
|
|
||||||
int cmdNum;
|
|
||||||
playerState_t ps;
|
|
||||||
int numEntities;
|
|
||||||
int parseEntitiesNum;
|
|
||||||
int serverCommandNum;
|
|
||||||
int number_of_sounds;
|
|
||||||
server_sound_t sounds[64];
|
|
||||||
|
|
||||||
} clSnapshot_t;
|
|
||||||
|
|
||||||
typedef struct clientActive_s
|
|
||||||
{
|
|
||||||
int timeoutcount;
|
|
||||||
clSnapshot_t snap;
|
|
||||||
int serverTime;
|
|
||||||
int oldServerTime;
|
|
||||||
int serverStartTime;
|
|
||||||
int oldFrameServerTime;
|
|
||||||
int serverTimeDelta;
|
|
||||||
qboolean extrapolatedSnapshot;
|
|
||||||
qboolean newSnapshots;
|
|
||||||
gameState_t gameState;
|
|
||||||
char mapname[64];
|
|
||||||
int parseEntitiesNum;
|
|
||||||
int mouseDx[2];
|
|
||||||
int mouseDy[2];
|
|
||||||
int mouseIndex;
|
|
||||||
int mousex;
|
|
||||||
int mousey;
|
|
||||||
unsigned int mouseButtons;
|
|
||||||
int joystickAxis[6];
|
|
||||||
usercmd_t cmds[128];
|
|
||||||
int cmdNumber;
|
|
||||||
outPacket_t outPackets[32];
|
|
||||||
vec3_t viewangles;
|
|
||||||
int serverId;
|
|
||||||
clSnapshot_t snapshots[32];
|
|
||||||
entityState_t entityBaselines[1024];
|
|
||||||
entityState_t parseEntities[2048];
|
|
||||||
|
|
||||||
} clientActive_t;
|
|
||||||
|
|
||||||
typedef struct clientConnection_s
|
|
||||||
{
|
|
||||||
int clientNum;
|
|
||||||
int lastPacketSentTime;
|
|
||||||
int lastPacketTime;
|
|
||||||
netAdr_t serverAddress;
|
|
||||||
int connectTime;
|
|
||||||
int connectStartTime;
|
|
||||||
int connectPacketCount;
|
|
||||||
char serverMessage[1024];
|
|
||||||
int challenge;
|
|
||||||
int checksumFeed;
|
|
||||||
int reliableSequence;
|
|
||||||
int reliableAcknowledge;
|
|
||||||
char reliableCommands[512][2048];
|
|
||||||
int serverMessageSequence;
|
|
||||||
char serverCommands[512][2048];
|
|
||||||
int serverCommandSequence;
|
|
||||||
int download;
|
|
||||||
char downloadTempName[256];
|
|
||||||
char downloadName[256];
|
|
||||||
int downloadNumber;
|
|
||||||
int downloadBlock;
|
|
||||||
int downloadCount;
|
|
||||||
int downloadSize;
|
|
||||||
char downloadList[1350];
|
|
||||||
int downloadRestart;
|
|
||||||
char demoName[64];
|
|
||||||
int demorecording;
|
|
||||||
int demoplaying;
|
|
||||||
int demowaiting;
|
|
||||||
int firstDemoFrameSkipped;
|
|
||||||
int demofile;
|
|
||||||
int timeDemoFrames;
|
|
||||||
int timeDemoStart;
|
|
||||||
int timeDemoBaseTime;
|
|
||||||
|
|
||||||
netChan_t netChan;
|
|
||||||
|
|
||||||
} clientConnection_t;
|
|
||||||
|
|
||||||
typedef struct clientSnapshot_s
|
|
||||||
{
|
|
||||||
int areabytes;
|
|
||||||
unsigned char areabits[32];
|
|
||||||
playerState_t ps;
|
|
||||||
int num_entities;
|
|
||||||
int first_entity;
|
|
||||||
int messageSent;
|
|
||||||
int messageAcked;
|
|
||||||
int messageSize;
|
|
||||||
|
|
||||||
} clientSnapshot_t;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct client_s
|
|
||||||
{
|
|
||||||
clientState_t state;
|
|
||||||
char userinfo[MAX_INFOSTRING];
|
|
||||||
int reliableSequence;
|
|
||||||
int reliableAcknowledge;
|
|
||||||
char reliableCommands[MAX_RELIABLECOMMANDS][MAX_STRING_CHARS];
|
|
||||||
int reliableSent;
|
|
||||||
int messageAcknowledge;
|
|
||||||
int gamestateMessageNum;
|
|
||||||
int challenge;
|
|
||||||
struct usercmd_s lastUsercmd;
|
|
||||||
struct userEyes_s lastEyeinfo;
|
|
||||||
int lastMessageNum;
|
|
||||||
int lastClientCommand;
|
|
||||||
char lastClientCommandString[MAX_STRING_CHARS];
|
|
||||||
struct gentity_s *gentity;
|
|
||||||
char name[MAX_NAMELENGTH];
|
|
||||||
char downloadName[MAX_QPATH];
|
|
||||||
fileHandle_t download;
|
|
||||||
int downloadSize;
|
|
||||||
int downloadCount;
|
|
||||||
int downloadClientBlock;
|
|
||||||
int downloadCurrentBlock;
|
|
||||||
int downloadXmitBlock;
|
|
||||||
unsigned char *downloadBlocks[MAX_DOWNLOADWINDOW];
|
|
||||||
int downloadBlockSize[MAX_DOWNLOADWINDOW];
|
|
||||||
qboolean downloadEOF;
|
|
||||||
int downloadSendTime;
|
|
||||||
int deltaMessage;
|
|
||||||
int nextReliableTime;
|
|
||||||
int lastPacketTime;
|
|
||||||
int lastConnectTime;
|
|
||||||
int nextSnapshotTime;
|
|
||||||
qboolean rateDelayed;
|
|
||||||
int timeoutCount;
|
|
||||||
clientSnapshot_t frames[PACKET_BACKUP];
|
|
||||||
int ping;
|
|
||||||
int rate;
|
|
||||||
int snapshotMsec;
|
|
||||||
netChan_t netchan;
|
|
||||||
int unknown1_0;
|
|
||||||
int unknown1_1;
|
|
||||||
int netprofile;
|
|
||||||
int unknown2_0[417];
|
|
||||||
server_sound_t sounds[64];
|
|
||||||
int numberOfSounds;
|
|
||||||
qboolean locprint;
|
|
||||||
int locprintX;
|
|
||||||
int locprintY;
|
|
||||||
char stringToPrint[256];
|
|
||||||
int radarInfo;
|
|
||||||
int lastRadarTime[128];
|
|
||||||
int gcdNum;
|
|
||||||
int unknown3_0[15];
|
|
||||||
int unknown4_0;
|
|
||||||
qboolean isPure;
|
|
||||||
|
|
||||||
} client_t;
|
|
||||||
|
|
||||||
typedef struct clientStatic_s {
|
|
||||||
int startStage;
|
|
||||||
connstate_t state;
|
|
||||||
int loading;
|
|
||||||
int keyCatchers;
|
|
||||||
qboolean vid_restart;
|
|
||||||
qboolean cddialog;
|
|
||||||
qboolean no_menus;
|
|
||||||
char servername[256];
|
|
||||||
qboolean rendererRegistered;
|
|
||||||
qboolean cgameStarted;
|
|
||||||
qboolean uiStarted;
|
|
||||||
qboolean timeScaled;
|
|
||||||
int framecount;
|
|
||||||
int frametime;
|
|
||||||
float serverFrameTime;
|
|
||||||
int realtime;
|
|
||||||
int realFrametime;
|
|
||||||
int numlocalservers;
|
|
||||||
serverInfo_t localServers[128];
|
|
||||||
qboolean bNewLocalServerInfo;
|
|
||||||
int numglobalservers;
|
|
||||||
serverInfo_t globalServers[2048];
|
|
||||||
int numGlobalServerAddresses;
|
|
||||||
serverAddress_t globalServerAddresses[2048];
|
|
||||||
int numfavoriteservers;
|
|
||||||
serverInfo_t favoriteServers[128];
|
|
||||||
int nummplayerservers;
|
|
||||||
serverInfo_t mplayerServers[128];
|
|
||||||
int pingUpdateSource;
|
|
||||||
int masterNum;
|
|
||||||
netAdr_t updateServer;
|
|
||||||
char updateChallenge[2048];
|
|
||||||
char updateInfoString[1350];
|
|
||||||
netAdr_t authorizeServer;
|
|
||||||
int unknown1_0[1024];
|
|
||||||
glconfig_t glconfig;
|
|
||||||
int total_tris;
|
|
||||||
int total_verts;
|
|
||||||
int total_texels;
|
|
||||||
int world_tris;
|
|
||||||
int world_verts;
|
|
||||||
int character_lights;
|
|
||||||
int unknown2_0;
|
|
||||||
hdelement_t HudDrawElements[256];
|
|
||||||
clientAnim_t anim;
|
|
||||||
stopWatch_t stopwatch;
|
|
||||||
void* savedCgameState;
|
|
||||||
int savedCgameStateSize;
|
|
||||||
char gcdResponse[73];
|
|
||||||
int unknown3_0;
|
|
||||||
int currentRate;
|
|
||||||
} clientStatic_t;
|
|
||||||
|
|
||||||
typedef struct serverStatic_s
|
|
||||||
{
|
|
||||||
qboolean initialized;
|
|
||||||
int snapFlagServerBit;
|
|
||||||
int time;
|
|
||||||
int startTime;
|
|
||||||
int lastTime;
|
|
||||||
int serverLagTime;
|
|
||||||
qboolean autosave;
|
|
||||||
int mapTime;
|
|
||||||
client_t *clients;
|
|
||||||
int iNumClients;
|
|
||||||
int numSnapshotEntities;
|
|
||||||
int nextSnapshotEntities;
|
|
||||||
entityState_t *snapshotEntities;
|
|
||||||
int nextHeartbeatTime;
|
|
||||||
challenge_t challenges[1024];
|
|
||||||
netAdr_t redirectAddress;
|
|
||||||
netAdr_t authorizeAddress;
|
|
||||||
char gameName[64];
|
|
||||||
char mapName[64];
|
|
||||||
char rawServerName[64];
|
|
||||||
int areaBitsWarningTime;
|
|
||||||
qboolean soundsNeedLoad;
|
|
||||||
char tmFileName[64];
|
|
||||||
int tmMoopcount;
|
|
||||||
int tmOffset;
|
|
||||||
sgSoundSystem_t soundSystem;
|
|
||||||
|
|
||||||
} serverStatic_t;
|
|
||||||
|
|
||||||
typedef struct server_s
|
|
||||||
{
|
|
||||||
serverState_t state;
|
|
||||||
qboolean restarting;
|
|
||||||
int serverId;
|
|
||||||
int restartedServerId;
|
|
||||||
int checksumFeed;
|
|
||||||
int snapshotCounter;
|
|
||||||
int timeResidual;
|
|
||||||
int nextFrameTime;
|
|
||||||
float frameTime;
|
|
||||||
cStaticModel_t *models[1024];
|
|
||||||
char *configstrings[2736];
|
|
||||||
svEntity_t svEntities[1024];
|
|
||||||
int farplane;
|
|
||||||
qboolean skyportal;
|
|
||||||
char *entityParsePoint;
|
|
||||||
gentity_t *gentities;
|
|
||||||
int gentitySize;
|
|
||||||
int num_entities;
|
|
||||||
playerState_t *gameClients;
|
|
||||||
int gameClientSize;
|
|
||||||
|
|
||||||
} server_t;
|
|
||||||
|
|
||||||
typedef struct qr_implementation_s {
|
|
||||||
int querysock;
|
|
||||||
int hbsock;
|
|
||||||
char gamename[64];
|
|
||||||
char secret_key[128];
|
|
||||||
qr_querycallback_t qr_basic_callback;
|
|
||||||
qr_querycallback_t qr_info_callback;
|
|
||||||
qr_querycallback_t qr_rules_callback;
|
|
||||||
qr_querycallback_t qr_players_callback;
|
|
||||||
long unsigned int lastheartbeat;
|
|
||||||
int queryid;
|
|
||||||
int packetnumber;
|
|
||||||
int qport;
|
|
||||||
char no_query;
|
|
||||||
int unk1;
|
|
||||||
int unk2;
|
|
||||||
int unk3;
|
|
||||||
int unk4;
|
|
||||||
int unk5;
|
|
||||||
void* udata;
|
|
||||||
} qr_implementation_t, *qr_t;
|
|
|
@ -1,197 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_app.h"
|
|
||||||
#include "ida_common_tt.h"
|
|
||||||
|
|
||||||
typedef struct clientActive_s
|
|
||||||
{
|
|
||||||
int timeoutcount;
|
|
||||||
clSnapshot_sh_t snap;
|
|
||||||
int serverTime;
|
|
||||||
int oldServerTime;
|
|
||||||
int serverStartTime;
|
|
||||||
int oldFrameServerTime;
|
|
||||||
int serverTimeDelta;
|
|
||||||
qboolean extrapolatedSnapshot;
|
|
||||||
qboolean newSnapshots;
|
|
||||||
gameState_sh_t gameState;
|
|
||||||
char mapname[64];
|
|
||||||
int parseEntitiesNum;
|
|
||||||
int mouseDx[2];
|
|
||||||
int mouseDy[2];
|
|
||||||
int mouseIndex;
|
|
||||||
int mousex;
|
|
||||||
int mousey;
|
|
||||||
unsigned int mouseButtons;
|
|
||||||
int joystickAxis[6];
|
|
||||||
userCmd_t cmds[128];
|
|
||||||
int cmdNumber;
|
|
||||||
outPacket_t outPackets[32];
|
|
||||||
vec3_t viewangles;
|
|
||||||
int serverId;
|
|
||||||
clSnapshot_sh_t snapshots[32];
|
|
||||||
entityState_t entityBaselines[1024];
|
|
||||||
entityState_t parseEntities[2048];
|
|
||||||
|
|
||||||
} clientActive_t;
|
|
||||||
|
|
||||||
typedef struct client_s
|
|
||||||
{
|
|
||||||
clientState_t state;
|
|
||||||
char userinfo[MAX_INFOSTRING];
|
|
||||||
int reliableSequence;
|
|
||||||
int reliableAcknowledge;
|
|
||||||
char reliableCommands[MAX_RELIABLECOMMANDS][MAX_STRING_CHARS];
|
|
||||||
int reliableSent;
|
|
||||||
int messageAcknowledge;
|
|
||||||
int gamestateMessageNum;
|
|
||||||
int challenge;
|
|
||||||
int unknown1;
|
|
||||||
struct usercmd_s lastUsercmd;
|
|
||||||
struct userEyes_s lastEyeinfo;
|
|
||||||
int lastMessageNum;
|
|
||||||
int lastClientCommand;
|
|
||||||
char lastClientCommandString[MAX_STRING_CHARS];
|
|
||||||
struct gentity_s *gentity;
|
|
||||||
char name[MAX_NAMELENGTH];
|
|
||||||
char downloadName[MAX_QPATH];
|
|
||||||
fileHandle_t download;
|
|
||||||
int downloadSize;
|
|
||||||
int downloadCount;
|
|
||||||
int downloadClientBlock;
|
|
||||||
int downloadCurrentBlock;
|
|
||||||
int downloadXmitBlock;
|
|
||||||
unsigned char *downloadBlocks[MAX_DOWNLOADWINDOW];
|
|
||||||
int downloadBlockSize[MAX_DOWNLOADWINDOW];
|
|
||||||
qboolean downloadEOF;
|
|
||||||
int downloadSendTime;
|
|
||||||
int deltaMessage;
|
|
||||||
int nextReliableTime;
|
|
||||||
int lastPacketTime;
|
|
||||||
int lastConnectTime;
|
|
||||||
int nextSnapshotTime;
|
|
||||||
qboolean rateDelayed;
|
|
||||||
int timeoutCount;
|
|
||||||
clientSnapshot_sh_t frames[PACKET_BACKUP];
|
|
||||||
int ping;
|
|
||||||
int rate;
|
|
||||||
int snapshotMsec;
|
|
||||||
netChan_t netchan;
|
|
||||||
int unknown2;
|
|
||||||
int unknown3;
|
|
||||||
int netprofile;
|
|
||||||
int unknown4[417];
|
|
||||||
server_sound_t sounds[64];
|
|
||||||
int numberOfSounds;
|
|
||||||
qboolean locprint;
|
|
||||||
int locprintX;
|
|
||||||
int locprintY;
|
|
||||||
char stringToPrint[256];
|
|
||||||
int radarInfo;
|
|
||||||
int lastRadarTime[128];
|
|
||||||
int gcdNum;
|
|
||||||
qboolean isPure;
|
|
||||||
|
|
||||||
} client_t;
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
netAdr_t adr;
|
|
||||||
char hostName[ 32 ];
|
|
||||||
char mapName[ 32 ];
|
|
||||||
char game[ 32 ];
|
|
||||||
char gameTypeString[ 32 ];
|
|
||||||
int netType;
|
|
||||||
int gameType;
|
|
||||||
int clients;
|
|
||||||
int maxClients;
|
|
||||||
int minPing;
|
|
||||||
int maxPing;
|
|
||||||
int ping;
|
|
||||||
qboolean visible;
|
|
||||||
qboolean unknown0_0;
|
|
||||||
} serverInfo_t;
|
|
||||||
|
|
||||||
typedef struct clientStatic_s {
|
|
||||||
int startStage;
|
|
||||||
connstate_t state;
|
|
||||||
int loading;
|
|
||||||
int keyCatchers;
|
|
||||||
qboolean vid_restart;
|
|
||||||
qboolean cddialog;
|
|
||||||
qboolean no_menus;
|
|
||||||
char servername[256];
|
|
||||||
qboolean rendererRegistered;
|
|
||||||
qboolean cgameStarted;
|
|
||||||
qboolean uiStarted;
|
|
||||||
qboolean timeScaled;
|
|
||||||
int framecount;
|
|
||||||
int frametime;
|
|
||||||
float serverFrameTime;
|
|
||||||
int realtime;
|
|
||||||
int realFrametime;
|
|
||||||
int numlocalservers;
|
|
||||||
serverInfo_t localServers[128];
|
|
||||||
qboolean bNewLocalServerInfo;
|
|
||||||
int numglobalservers;
|
|
||||||
serverInfo_t globalServers[2048];
|
|
||||||
int numGlobalServerAddresses;
|
|
||||||
serverAddress_t globalServerAddresses[2048];
|
|
||||||
int numfavoriteservers;
|
|
||||||
serverInfo_t favoriteServers[128];
|
|
||||||
int nummplayerservers;
|
|
||||||
serverInfo_t mplayerServers[128];
|
|
||||||
int pingUpdateSource;
|
|
||||||
int masterNum;
|
|
||||||
netAdr_t updateServer;
|
|
||||||
char updateChallenge[2048];
|
|
||||||
char updateInfoString[1350];
|
|
||||||
netAdr_t authorizeServer;
|
|
||||||
int unknown1_0[1024];
|
|
||||||
glconfig_t glconfig;
|
|
||||||
int total_tris;
|
|
||||||
int total_verts;
|
|
||||||
int total_texels;
|
|
||||||
int world_tris;
|
|
||||||
int world_verts;
|
|
||||||
int character_lights;
|
|
||||||
int unknown2_0;
|
|
||||||
hdelement_t HudDrawElements[256];
|
|
||||||
clientAnim_t anim;
|
|
||||||
stopWatch_sh_t stopwatch;
|
|
||||||
void* savedCgameState;
|
|
||||||
int savedCgameStateSize;
|
|
||||||
char gcdResponse[73];
|
|
||||||
int unknown3_0;
|
|
||||||
int currentRate;
|
|
||||||
} clientStatic_t;
|
|
||||||
|
|
||||||
typedef struct serverStatic_s
|
|
||||||
{
|
|
||||||
qboolean initialized;
|
|
||||||
int snapFlagServerBit;
|
|
||||||
int time;
|
|
||||||
int startTime;
|
|
||||||
int lastTime;
|
|
||||||
int serverLagTime;
|
|
||||||
qboolean autosave;
|
|
||||||
int mapTime;
|
|
||||||
client_t *clients;
|
|
||||||
int iNumClients;
|
|
||||||
int numSnapshotEntities;
|
|
||||||
int nextSnapshotEntities;
|
|
||||||
entityState_t *snapshotEntities;
|
|
||||||
int nextHeartbeatTime;
|
|
||||||
challenge_t challenges[1024];
|
|
||||||
netAdr_t redirectAddress;
|
|
||||||
netAdr_t authorizeAddress;
|
|
||||||
char gameName[64];
|
|
||||||
char mapName[64];
|
|
||||||
char rawServerName[64];
|
|
||||||
int areaBitsWarningTime;
|
|
||||||
qboolean soundsNeedLoad;
|
|
||||||
char tmFileName[64];
|
|
||||||
int tmMoopcount;
|
|
||||||
int tmOffset;
|
|
||||||
sgSoundSystem_t soundSystem;
|
|
||||||
|
|
||||||
} serverStatic_t;
|
|
|
@ -1,19 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
vec3_t i_vBarrel;
|
|
||||||
vec3_t i_vStart;
|
|
||||||
vec3_t *i_vEnd;
|
|
||||||
int i_iNumBullets;
|
|
||||||
qboolean iLarge;
|
|
||||||
int iTracerVisible;
|
|
||||||
qboolean bIgnoreEntities;
|
|
||||||
} bullet_tracer_t;
|
|
||||||
|
|
||||||
typedef struct Event2_s Event_CGAMEDLL;
|
|
||||||
|
|
||||||
#define MAX_TRACERS 32
|
|
||||||
#define MAX_BULLETS 1024
|
|
||||||
#define MAX_IMPACTS 64
|
|
|
@ -1,326 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_cgame.h"
|
|
||||||
#include "ida_common_aa.h"
|
|
||||||
|
|
||||||
typedef struct EffectsEventQueueNode_s {
|
|
||||||
Event_t *event;
|
|
||||||
int inttime;
|
|
||||||
int flags;
|
|
||||||
int entity_num;
|
|
||||||
struct EffectsEventQueueNode_s* prev;
|
|
||||||
struct EffectsEventQueueNode_s* next;
|
|
||||||
} EffectsEventQueueNode_t, EffectsEventQueueNode;
|
|
||||||
|
|
||||||
typedef struct beam_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
int entity;
|
|
||||||
int hModel;
|
|
||||||
int endtime;
|
|
||||||
Vector start;
|
|
||||||
Vector end;
|
|
||||||
float scale;
|
|
||||||
float alpha;
|
|
||||||
int flags;
|
|
||||||
int parent;
|
|
||||||
float max_offset;
|
|
||||||
float min_offset;
|
|
||||||
int numSubdivisions;
|
|
||||||
int overlap;
|
|
||||||
int beamshader;
|
|
||||||
unsigned char shaderRGBA[4];
|
|
||||||
int update_time;
|
|
||||||
int delay;
|
|
||||||
float life;
|
|
||||||
int numspherebeams;
|
|
||||||
float sphereradius;
|
|
||||||
int toggletime;
|
|
||||||
int toggledelay;
|
|
||||||
int active;
|
|
||||||
float alphastep;
|
|
||||||
int renderfx;
|
|
||||||
str name;
|
|
||||||
struct beam_s *next;
|
|
||||||
struct beam_s *prev;
|
|
||||||
} beam_t;
|
|
||||||
|
|
||||||
typedef struct cg_common_data_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
|
|
||||||
int life;
|
|
||||||
int createTime;
|
|
||||||
Vector origin;
|
|
||||||
Vector oldorigin;
|
|
||||||
Vector accel;
|
|
||||||
Vector angles;
|
|
||||||
Vector velocity;
|
|
||||||
Vector avelocity;
|
|
||||||
Vector parentOrigin;
|
|
||||||
Vector parentMins;
|
|
||||||
Vector parentMaxs;
|
|
||||||
Vector minVel;
|
|
||||||
Vector maxVel;
|
|
||||||
float color[4];
|
|
||||||
float alpha;
|
|
||||||
float scaleRate;
|
|
||||||
float scalemin;
|
|
||||||
float scalemax;
|
|
||||||
float bouncefactor;
|
|
||||||
int bouncecount;
|
|
||||||
int maxbouncecount;
|
|
||||||
str bouncesound;
|
|
||||||
int bouncesound_delay;
|
|
||||||
int flags;
|
|
||||||
int flags2;
|
|
||||||
dtiki_t* tiki;
|
|
||||||
int swarmfreq;
|
|
||||||
float swarmmaxspeed;
|
|
||||||
float swarmdelta;
|
|
||||||
float lightIntensity;
|
|
||||||
int lightType;
|
|
||||||
int fadeintime;
|
|
||||||
int fadedelay;
|
|
||||||
int parent;
|
|
||||||
int collisionmask;
|
|
||||||
int min_twinkletimeoff;
|
|
||||||
int max_twinkletimeoff;
|
|
||||||
int min_twinkletimeon;
|
|
||||||
int max_twinkletimeon;
|
|
||||||
int lightstyle;
|
|
||||||
int physicsRate;
|
|
||||||
float scale;
|
|
||||||
float scale2;
|
|
||||||
str swipe_shader;
|
|
||||||
str swipe_tag_start;
|
|
||||||
str swipe_tag_end;
|
|
||||||
str shadername;
|
|
||||||
float swipe_life;
|
|
||||||
float friction;
|
|
||||||
|
|
||||||
float decal_orientation;
|
|
||||||
float decal_radius;
|
|
||||||
} cg_common_data;
|
|
||||||
|
|
||||||
typedef struct enttracker_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
qboolean usedNumbers[256];
|
|
||||||
} enttracker_t;
|
|
||||||
|
|
||||||
typedef struct emittertime_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
int entity_number;
|
|
||||||
int last_emit_time;
|
|
||||||
Vector oldorigin;
|
|
||||||
qboolean active;
|
|
||||||
qboolean lerp_emitter;
|
|
||||||
} emittertime_t;
|
|
||||||
|
|
||||||
typedef struct Container_emittertime_s {
|
|
||||||
emittertime_t *objlist;
|
|
||||||
int numobjects;
|
|
||||||
int maxobjects;
|
|
||||||
} Container_emittertime_t;
|
|
||||||
|
|
||||||
typedef struct emitterthing_s {
|
|
||||||
enttracker_t base_enttracker_t;
|
|
||||||
Container_emittertime_t m_emittertimes;
|
|
||||||
qboolean startoff;
|
|
||||||
} emitterthing_t;
|
|
||||||
|
|
||||||
typedef struct commandtime_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
int entity_number;
|
|
||||||
int command_number;
|
|
||||||
int last_command_time;
|
|
||||||
} commandtime_t;
|
|
||||||
|
|
||||||
typedef struct Container_commandtime_s {
|
|
||||||
commandtime_t *objlist;
|
|
||||||
int numobjects;
|
|
||||||
int maxobjects;
|
|
||||||
} Container_commandtime_t;
|
|
||||||
|
|
||||||
typedef struct commandthing_s {
|
|
||||||
enttracker_t base_enttracker_t;
|
|
||||||
Container_commandtime_t m_commandtimes;
|
|
||||||
} commandthing_t;
|
|
||||||
|
|
||||||
typedef struct spawnthing_s {
|
|
||||||
emitterthing_t base_emitterthing_t;
|
|
||||||
Container_str m_modellist;
|
|
||||||
Container_str m_taglist;
|
|
||||||
cg_common_data cgd;
|
|
||||||
int entnum;
|
|
||||||
Vector origin_offset_base;
|
|
||||||
Vector origin_offset_amplitude;
|
|
||||||
Vector axis_offset_base;
|
|
||||||
Vector axis_offset_amplitude;
|
|
||||||
Vector randvel_base;
|
|
||||||
Vector randvel_amplitude;
|
|
||||||
Vector avelocity_base;
|
|
||||||
Vector avelocity_amplitude;
|
|
||||||
Vector angles_amplitude;
|
|
||||||
vec3_t axis[3];
|
|
||||||
vec3_t tag_axis[3];
|
|
||||||
float life_random;
|
|
||||||
float forwardVelocity;
|
|
||||||
float sphereRadius;
|
|
||||||
float coneHeight;
|
|
||||||
float spawnRate;
|
|
||||||
int lastTime;
|
|
||||||
int count;
|
|
||||||
int tagnum;
|
|
||||||
str emittername;
|
|
||||||
str animName;
|
|
||||||
float dcolor[3];
|
|
||||||
qboolean dlight;
|
|
||||||
int numtempmodels;
|
|
||||||
float linked_origin[3];
|
|
||||||
float linked_axis[3][3];
|
|
||||||
float fMinRangeSquared;
|
|
||||||
float fMaxRangeSquared;
|
|
||||||
str startTag;
|
|
||||||
str endTag;
|
|
||||||
float length;
|
|
||||||
float min_offset;
|
|
||||||
float max_offset;
|
|
||||||
float overlap;
|
|
||||||
float numSubdivisions;
|
|
||||||
float delay;
|
|
||||||
float toggledelay;
|
|
||||||
int beamflags;
|
|
||||||
int numspherebeams;
|
|
||||||
float endalpha;
|
|
||||||
float spreadx;
|
|
||||||
float spready;
|
|
||||||
qboolean use_last_trace_end;
|
|
||||||
} spawnthing_t;
|
|
||||||
|
|
||||||
typedef struct Container_spawnthing_s {
|
|
||||||
emittertime_t *objlist;
|
|
||||||
int numobjects;
|
|
||||||
int maxobjects;
|
|
||||||
} Container_spawnthing_t;
|
|
||||||
|
|
||||||
typedef struct ctempmodel_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
struct ctempmodel_s *next;
|
|
||||||
struct ctempmodel_s *prev;
|
|
||||||
|
|
||||||
cg_common_data cgd;
|
|
||||||
str modelname;
|
|
||||||
|
|
||||||
refEntity_t lastEnt;
|
|
||||||
refEntity_t ent;
|
|
||||||
|
|
||||||
int number;
|
|
||||||
int lastAnimTime;
|
|
||||||
int lastPhysicsTime;
|
|
||||||
int killTime;
|
|
||||||
int next_bouncesound_time;
|
|
||||||
int seed;
|
|
||||||
int twinkleTime;
|
|
||||||
int aliveTime;
|
|
||||||
qboolean addedOnce;
|
|
||||||
qboolean lastEntValid;
|
|
||||||
spawnthing_t* m_spawnthing;
|
|
||||||
} ctempmodel_t;
|
|
||||||
|
|
||||||
typedef struct cvssource_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
|
|
||||||
cvssource_s *next;
|
|
||||||
cvssource_s *prev;
|
|
||||||
cvssource_s *stnext;
|
|
||||||
int stindex;
|
|
||||||
Vector lastOrigin;
|
|
||||||
float lastRadius;
|
|
||||||
float lastDensity;
|
|
||||||
float lastColor[3];
|
|
||||||
float lastLighting[3];
|
|
||||||
Vector newOrigin;
|
|
||||||
float newRadius;
|
|
||||||
float newDensity;
|
|
||||||
float newColor[3];
|
|
||||||
float newLighting[3];
|
|
||||||
float ooRadius;
|
|
||||||
Vector velocity;
|
|
||||||
float startAlpha;
|
|
||||||
int roll;
|
|
||||||
Vector repulsion;
|
|
||||||
int lifeTime;
|
|
||||||
int collisionmask;
|
|
||||||
int parent;
|
|
||||||
int flags;
|
|
||||||
int flags2;
|
|
||||||
int smokeType;
|
|
||||||
float typeInfo;
|
|
||||||
float fadeMult;
|
|
||||||
float scaleMult;
|
|
||||||
int lastPhysicsTime;
|
|
||||||
int lastLightingTime;
|
|
||||||
qboolean lastValid;
|
|
||||||
} cvssource_t;
|
|
||||||
|
|
||||||
typedef struct cvssourcestate_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
Vector origin;
|
|
||||||
float color[3];
|
|
||||||
float radius;
|
|
||||||
float density;
|
|
||||||
} cvssourcestate_t;
|
|
||||||
|
|
||||||
typedef struct specialeffectcommand_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
spawnthing_t* emitter;
|
|
||||||
float fCommandTime;
|
|
||||||
struct {
|
|
||||||
short index;
|
|
||||||
short delta;
|
|
||||||
union {
|
|
||||||
void (*__pfn) ();
|
|
||||||
short int __delta2;
|
|
||||||
} __pfn_or_delta2;
|
|
||||||
} endfcn;
|
|
||||||
Event2 *pEvent;
|
|
||||||
} specialeffectcommand_t;
|
|
||||||
|
|
||||||
typedef struct specialeffect_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
int m_iCommandCount;
|
|
||||||
specialeffectcommand_t *m_commands[32];
|
|
||||||
} specialeffect_t;
|
|
||||||
|
|
||||||
typedef struct ClientGameCommandManager_s {
|
|
||||||
Listener2_t base_Listener;
|
|
||||||
spawnthing_t m_localemitter;
|
|
||||||
ctempmodel_t m_active_tempmodels;
|
|
||||||
ctempmodel_t *m_free_tempmodels;
|
|
||||||
ctempmodel_t m_tempmodels[1024];
|
|
||||||
cvssource_t m_active_vsssources;
|
|
||||||
cvssource_t *m_free_vsssources;
|
|
||||||
cvssource_t *m_vsssources;
|
|
||||||
int m_iAllocatedvsssources;
|
|
||||||
class spawnthing_t *m_spawnthing;
|
|
||||||
Container_spawnthing_t m_emitters;
|
|
||||||
int m_seed;
|
|
||||||
commandthing_t m_command_time_manager;
|
|
||||||
specialeffect_t *m_pCurrentSfx;
|
|
||||||
int m_iLastVSSRepulsionTime;
|
|
||||||
float m_fEventWait;
|
|
||||||
struct {
|
|
||||||
short index;
|
|
||||||
short delta;
|
|
||||||
union {
|
|
||||||
void (*__pfn) ();
|
|
||||||
short int __delta2;
|
|
||||||
} __pfn_or_delta2;
|
|
||||||
} endblockfcn;
|
|
||||||
} ClientGameCommandManager;
|
|
||||||
|
|
||||||
typedef struct ClientSpecialEffectsManager_s {
|
|
||||||
Listener2_t base_Listener;
|
|
||||||
specialeffect_t m_effects[99];
|
|
||||||
qboolean m_bEffectsLoaded;
|
|
||||||
int m_iNumPendingEvents;
|
|
||||||
} ClientSpecialEffectsManager;
|
|
|
@ -1,380 +0,0 @@
|
||||||
#pragma once
|
|
||||||
#include "ida_cgame.h"
|
|
||||||
#include "ida_common_ta.h"
|
|
||||||
|
|
||||||
typedef struct clientInfo_s
|
|
||||||
{
|
|
||||||
teamType_t team;
|
|
||||||
char name[64];
|
|
||||||
|
|
||||||
} clientInfo_t;
|
|
||||||
|
|
||||||
typedef struct cgs_s
|
|
||||||
{
|
|
||||||
gameState_t gameState;
|
|
||||||
glconfig_t glConfig;
|
|
||||||
float screenXScale;
|
|
||||||
float screenYScale;
|
|
||||||
float screenXBias;
|
|
||||||
int serverCommandSequence;
|
|
||||||
int processedSnapshotNum;
|
|
||||||
qboolean localServer;
|
|
||||||
int levelStartTime;
|
|
||||||
int matchEndTime;
|
|
||||||
int serverLagTime;
|
|
||||||
int gameType;
|
|
||||||
int dmFlags;
|
|
||||||
int teamFlags;
|
|
||||||
int fragLimit;
|
|
||||||
int timeLimit;
|
|
||||||
int maxClients;
|
|
||||||
int cinematic;
|
|
||||||
int mapChecksum;
|
|
||||||
char mapName[MAX_QPATH];
|
|
||||||
int voteTime;
|
|
||||||
int numVotesYes;
|
|
||||||
int numVotesNo;
|
|
||||||
int numUndecidedVotes;
|
|
||||||
qboolean voteRefreshed;
|
|
||||||
char voteString[1024];
|
|
||||||
int modelDraw[MAX_MODELS];
|
|
||||||
int unk1;
|
|
||||||
int soundPrecache[MAX_SOUNDS];
|
|
||||||
int numInlineModels;
|
|
||||||
int inlineDrawModel[MAX_MODELS];
|
|
||||||
vec3_t inlineModelMidpoints[MAX_MODELS];
|
|
||||||
media_t media;
|
|
||||||
|
|
||||||
} cgs_t;
|
|
||||||
|
|
||||||
typedef struct cg_s
|
|
||||||
{
|
|
||||||
int clientFrame;
|
|
||||||
int clientNum;
|
|
||||||
int demoPlayback;
|
|
||||||
int levelShot;
|
|
||||||
int latestSnapshotNum;
|
|
||||||
int latestSnapshotTime;
|
|
||||||
snapshot_t* snap;
|
|
||||||
snapshot_t* nextSnap;
|
|
||||||
snapshot_t activeSnapshots[MAX_ACTIVESNAPSHOTS];
|
|
||||||
float frameInterpolation;
|
|
||||||
int thisFrameTeleport;
|
|
||||||
int nextFrameTeleport;
|
|
||||||
int nextFrameCameraCut;
|
|
||||||
int frametime;
|
|
||||||
int time;
|
|
||||||
int physicsTime;
|
|
||||||
int renderingThirdPerson;
|
|
||||||
int hyperSpace;
|
|
||||||
playerState_t predictedPlayerState;
|
|
||||||
int validPPS;
|
|
||||||
int predictedErrorTime;
|
|
||||||
vec3_t predictedError;
|
|
||||||
int weaponCommand;
|
|
||||||
int weaponCommandSend;
|
|
||||||
vec3_t autoAngles;
|
|
||||||
vec3_t autoAxis[3];
|
|
||||||
vec3_t autoAnglesSlow;
|
|
||||||
vec3_t autoAxisSlow[3];
|
|
||||||
vec3_t autoAnglesFast;
|
|
||||||
vec3_t autoAxisFast[3];
|
|
||||||
refDef_t refdef;
|
|
||||||
vec3_t playerHeadPos;
|
|
||||||
vec3_t refdefViewAngles;
|
|
||||||
vec3_t currentViewPos;
|
|
||||||
vec3_t currentViewAngles;
|
|
||||||
float currentViewHeight;
|
|
||||||
float currentViewBobPhase;
|
|
||||||
float currentViewBobAmp;
|
|
||||||
int unk1[10];
|
|
||||||
dtiki_t* lastPlayerWorldModel;
|
|
||||||
dtiki_t* playerFPSModel;
|
|
||||||
int playerFPSModelHandle;
|
|
||||||
qboolean fpsModelLastFrame;
|
|
||||||
qboolean fpsOnGround;
|
|
||||||
dtiki_t* alliedPlayerModel;
|
|
||||||
int alliedPlayerModelHandle;
|
|
||||||
dtiki_t* axisPlayerModel;
|
|
||||||
int axisPlayerModelHandle;
|
|
||||||
vec3_t offsetViewAngles;
|
|
||||||
vec3_t lastHeadAngles;
|
|
||||||
vec3_t lastViewAngles;
|
|
||||||
vec3_t eyeOffsetMax;
|
|
||||||
float eyeOffsetFrac;
|
|
||||||
vec3_t soundOrg;
|
|
||||||
vec3_t soundAxis[3];
|
|
||||||
vec3_t cameraOrigin;
|
|
||||||
vec3_t cameraAngles;
|
|
||||||
float cameraFov;
|
|
||||||
float zoomSensitivity;
|
|
||||||
int intermissionDisplay;
|
|
||||||
int scoresRequestTime;
|
|
||||||
int showScores;
|
|
||||||
char scoresMenuName[256];
|
|
||||||
int instaMessageMenu;
|
|
||||||
int centerPrintTime;
|
|
||||||
int centerPrintCharWidth;
|
|
||||||
int centerPrintY;
|
|
||||||
char centerPrint[1024];
|
|
||||||
int centerPrintLines;
|
|
||||||
int matchStartTime;
|
|
||||||
refEntity_t testModelEntity;
|
|
||||||
char testModelName[MAX_QPATH];
|
|
||||||
int testGun;
|
|
||||||
float unk12;
|
|
||||||
float farplaneDistance;
|
|
||||||
float farplaneBias;
|
|
||||||
float farplaneColor[3];
|
|
||||||
int farplaneCull;
|
|
||||||
int skyboxFarplane;
|
|
||||||
qboolean renderTerrain;
|
|
||||||
float farclipOverride;
|
|
||||||
vec3_t farplaneColorOverride;
|
|
||||||
int skyPortal;
|
|
||||||
float skyAlpha;
|
|
||||||
vec3_t skyOrigin;
|
|
||||||
vec3_t skyAxis[3];
|
|
||||||
int skyboxSpeed;
|
|
||||||
vec2_t viewKick;
|
|
||||||
float viewKickRecenter;
|
|
||||||
float viewKickMinDecay;
|
|
||||||
float viewKickMaxDecay;
|
|
||||||
cobjective_t objectives[MAX_OBJECTIVES];
|
|
||||||
float objectivesAlphaTime;
|
|
||||||
float objectivesBaseAlpha;
|
|
||||||
float objectivesDesiredAlpha;
|
|
||||||
float objectivesCurrentAlpha;
|
|
||||||
int currentObjective;
|
|
||||||
crain_t rain;
|
|
||||||
int unk14[18];
|
|
||||||
clientInfo_t clientinfo[MAX_CLIENTS];
|
|
||||||
|
|
||||||
} cg_t;
|
|
||||||
|
|
||||||
typedef struct clientGameImport_s
|
|
||||||
{
|
|
||||||
int apiVersion;
|
|
||||||
|
|
||||||
void (*Printf)(char* fmt, ...);
|
|
||||||
void (*DPrintf)(char* fmt, ...);
|
|
||||||
void (*DebugPrintf)(char* fmt, ...);
|
|
||||||
void* (*Malloc)(int size);
|
|
||||||
void (*Free)(void* ptr);
|
|
||||||
void (*Error)(errorParm_t code, char* fmt, ...);
|
|
||||||
int (*Milliseconds)();
|
|
||||||
char* (*LV_ConvertString)(char* string);
|
|
||||||
cvar_t* (*Cvar_Get)(const char* varName, const char* varValue, int varFlags);
|
|
||||||
void (*Cvar_Set)(const char* varName, const char* varValue);
|
|
||||||
int (*Argc)();
|
|
||||||
char* (*Argv)(int arg);
|
|
||||||
char* (*Args)();
|
|
||||||
void (*AddCommand)(char* cmdName, xcommand_t cmdFunction);
|
|
||||||
void (*Cmd_Stuff)(const char* text);
|
|
||||||
void (*Cmd_Execute)(cbufExec_t execWhen, char* text);
|
|
||||||
void (*Cmd_TokenizeString)(char* textIn);
|
|
||||||
int (*FS_ReadFile)(char* qpath, void** buffer);
|
|
||||||
void (*FS_FreeFile)(void* buffer);
|
|
||||||
int (*FS_WriteFile)(char* qpath, void* buffer, int size);
|
|
||||||
void (*FS_WriteTextFile)(char* qpath, void* buffer, int size);
|
|
||||||
void (*FS_Unk1)();
|
|
||||||
void (*FS_Unk2)();
|
|
||||||
void (*SendConsoleCommand)(const char* text);
|
|
||||||
int (*MSG_ReadBits)(int bits);
|
|
||||||
int (*MSG_ReadChar)();
|
|
||||||
int (*MSG_ReadByte)();
|
|
||||||
int (*MSG_ReadSVC)();
|
|
||||||
int (*MSG_ReadShort)();
|
|
||||||
int (*MSG_ReadLong)();
|
|
||||||
float (*MSG_ReadFloat)();
|
|
||||||
char* (*MSG_ReadString)();
|
|
||||||
char* (*MSG_ReadStringLine)();
|
|
||||||
float (*MSG_ReadAngle8)();
|
|
||||||
float (*MSG_ReadAngle16)();
|
|
||||||
void (*MSG_ReadData)(void* data, int len);
|
|
||||||
float (*MSG_ReadCoord)();
|
|
||||||
void (*MSG_ReadDir)(vec3_t dir);
|
|
||||||
void (*SendClientCommand)(const char* text);
|
|
||||||
void (*CM_LoadMap)(char* name);
|
|
||||||
clipHandle_t(*CM_InlineModel)(int index);
|
|
||||||
int (*CM_NumInlineModels)();
|
|
||||||
int (*CM_PointContents)(vec3_t point, clipHandle_t model);
|
|
||||||
int (*CM_TransformedPointContents)(vec3_t point, clipHandle_t model, vec3_t origin, vec3_t angles);
|
|
||||||
void (*CM_BoxTrace)(trace_t* results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, int model, int brushMask, int cylinder);
|
|
||||||
void (*CM_TransformedBoxTrace)(trace_t* results, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int model, int brushMask, vec3_t origin, vec3_t angles, int cylinder);
|
|
||||||
clipHandle_t(*CM_TempBoxModel)(vec3_t mins, vec3_t maxs, int contents);
|
|
||||||
void (*CM_PrintBSPFileSizes)();
|
|
||||||
qboolean(*CM_LeafInPVS)(int leaf1, int leaf2);
|
|
||||||
int (*CM_PointLeafnum)(vec3_t p);
|
|
||||||
int (*R_MarkFragments)(int numPoints, vec3_t* points, vec3_t projection, int maxPoints, vec3_t pointBuffer, int maxFragments, markFragment_t* fragmentBuffer, float fRadiusSquared);
|
|
||||||
int (*R_MarkFragmentsForInlineModel)(clipHandle_t bmodel, vec3_t vAngles, vec3_t vOrigin, int numPoints, vec3_t* points, vec3_t projection, int maxPoints, vec3_t pointBuffer, int maxFragments, markFragment_t* fragmentBuffer, float fRadiusSquared);
|
|
||||||
void (*R_GetInlineModelBounds)(int index, vec3_t mins, vec3_t maxs);
|
|
||||||
void (*R_GetLightingForDecal)(vec3_t light, vec3_t facing, vec3_t origin);
|
|
||||||
void (*R_GetLightingForSmoke)(vec3_t light, vec3_t origin);
|
|
||||||
int (*R_GatherLightSources)(vec3_t pos, vec3_t* lightPos, vec3_t* lightIntensity, int maxLights);
|
|
||||||
void (*S_StartSound)(vec3_t origin, int entNum, int entChannel, sfxHandle_t sfxHandle, float volume, float minDist, float pitch, float maxDist, int streamed);
|
|
||||||
void (*S_StartLocalSound)(char* soundName, qboolean forceLoad);
|
|
||||||
void (*S_StopSound)(int entNum, int channel);
|
|
||||||
void (*S_ClearLoopingSounds)();
|
|
||||||
void (*S_AddLoopingSound)(vec3_t origin, vec3_t velocity, sfxHandle_t sfxHandle, float volume, float minDist, float maxDist, float pitch, int flags);
|
|
||||||
void (*S_Respatialize)(int entityNum, vec3_t head, vec3_t axis[3]);
|
|
||||||
void (*S_BeginRegistration)();
|
|
||||||
sfxHandle_t(*S_RegisterSound)(char* name, int streamed, qboolean forceLoad);
|
|
||||||
void (*S_EndRegistration)();
|
|
||||||
void (*S_UpdateEntity)(int entityNum, vec3_t origin, vec3_t velocity, qboolean useListener);
|
|
||||||
void (*S_SetReverb)(int reverbType, float reverbLevel);
|
|
||||||
void (*S_SetGlobalAmbientVolumeLevel)(float volume);
|
|
||||||
float (*S_GetSoundTime)(sfxHandle_t handle);
|
|
||||||
int (*S_ChannelNameToNum)(char* name);
|
|
||||||
char* (*S_ChannelNumToName)(int channel);
|
|
||||||
int (*S_IsSoundPlaying)(int channelNumber, char* name);
|
|
||||||
void (*MUSIC_NewSoundtrack)(char* name);
|
|
||||||
void (*MUSIC_UpdateMood)(musicMood_t current, musicMood_t fallback);
|
|
||||||
void (*MUSIC_UpdateVolume)(float volume, float fadeTime);
|
|
||||||
float* (*get_camera_offset)(qboolean* lookActive, qboolean* resetView);
|
|
||||||
void (*R_ClearScene)();
|
|
||||||
void (*R_RenderScene)(refdef_t* fd);
|
|
||||||
void (*R_LoadWorldMap)(char* name);
|
|
||||||
void (*R_PrintBSPFileSizes)();
|
|
||||||
int (*MapVersion)();
|
|
||||||
int (*R_MapVersion)();
|
|
||||||
qhandle_t(*R_RegisterModel)(char* name);
|
|
||||||
qhandle_t(*R_SpawnEffectModel)(char* name, vec3_t pos, vec3_t axis[3]);
|
|
||||||
qhandle_t(*R_RegisterServerModel)(char* name);
|
|
||||||
void (*R_Unk1)();
|
|
||||||
void (*R_UnregisterServerModel)(qhandle_t hModel);
|
|
||||||
qhandle_t(*R_RegisterShader)(char* name);
|
|
||||||
qhandle_t(*R_RegisterShaderNoMip)(char* name);
|
|
||||||
void (*R_Unk2)();
|
|
||||||
void (*R_AddRefEntityToScene)(refEntity_t* ent, int parentEntityNumber);
|
|
||||||
void (*R_AddRefSpriteToScene)(refEntity_t* ent);
|
|
||||||
void (*R_AddLightToScene)(vec3_t org, float intensity, float r, float g, float b, dlighttype_t type);
|
|
||||||
qboolean(*R_AddPolyToScene)(qhandle_t hShader, int numVerts, polyVert_t* verts, int renderFx);
|
|
||||||
void (*R_AddTerrainMarkToScene)(int terrainIndex, qhandle_t hShader, int numVerts, polyVert_t* verts, int renderFx);
|
|
||||||
void (*R_SetColor)(vec4_t rgba);
|
|
||||||
void (*R_DrawStretchPic)(float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader);
|
|
||||||
fontheader_t* (*R_LoadFont)(const char* name);
|
|
||||||
void (*R_DrawString)(fontheader_t* font, const char* text, float x, float y, int maxLen, qboolean virtualScreen);
|
|
||||||
refEntity_t* (*R_GetRenderEntity)(int entityNumber);
|
|
||||||
void (*R_ModelBounds)(clipHandle_t model, vec3_t mins, vec3_t maxs);
|
|
||||||
float (*R_ModelRadius)(qhandle_t handle);
|
|
||||||
float (*R_Noise)(float x, float y, float z, float t);
|
|
||||||
void (*R_DebugLine)(const vec3_t start, const vec3_t end, float r, float g, float b, float alpha);
|
|
||||||
baseShader_t* (*GetShader)(int shaderNum);
|
|
||||||
void (*R_SwipeBegin)(float thistime, float life, qhandle_t shader);
|
|
||||||
void (*R_SwipePoint)(vec3_t point1, vec3_t point2, float time);
|
|
||||||
void (*R_SwipeEnd)();
|
|
||||||
int (*R_GetShaderWidth)(qhandle_t hShader);
|
|
||||||
int (*R_GetShaderHeight)(qhandle_t hShader);
|
|
||||||
void (*R_DrawBox)(float x, float y, float w, float h);
|
|
||||||
void (*GetGameState)(gameState_t* gameState);
|
|
||||||
int (*GetSnapshot)(int snapshotNumber, snapshot_t* snapshot);
|
|
||||||
int (*GetServerStartTime)();
|
|
||||||
void (*SetTime)(float time);
|
|
||||||
void (*GetCurrentSnapshotNumber)(int* snapshotNumber, int* serverTime);
|
|
||||||
void (*GetGlconfig)(glconfig_t* glConfig);
|
|
||||||
qboolean(*GetParseEntityState)(int parseEntityNumber, entityState_t* state);
|
|
||||||
int (*GetCurrentCmdNumber)();
|
|
||||||
qboolean(*GetUserCmd)(int cmdNumber, userCmd_t* userCmd);
|
|
||||||
qboolean(*GetServerCommand)(int serverCommandNumber, qboolean differentServer);
|
|
||||||
qboolean(*Alias_Add)(char* alias, char* name, char* parameters);
|
|
||||||
qboolean(*Alias_ListAdd)(AliasList_t* list, char* alias, char* name, char* parameters);
|
|
||||||
char* (*Alias_FindRandom)(char* alias, AliasListNode_t** ret);
|
|
||||||
char* (*Alias_ListFindRandom)(AliasList_t* list, char* alias, AliasListNode_t** ret);
|
|
||||||
void (*Alias_Dump)();
|
|
||||||
void (*Alias_Clear)();
|
|
||||||
AliasList_t* (*AliasList_New)(char* name);
|
|
||||||
void (*Alias_ListFindRandomRange)(AliasList_t* list, char* alias, int* minIndex, int* maxIndex, float* totalWeight);
|
|
||||||
AliasList_t* (*Alias_GetGlobalList)();
|
|
||||||
void (*UI_ShowMenu)(char* name, qboolean bForce);
|
|
||||||
void (*UI_HideMenu)(char* name, qboolean bForce);
|
|
||||||
int (*UI_FontStringWidth)(fontheader_t* font, char* string, int maxLen);
|
|
||||||
void (*Key_Unk1)();
|
|
||||||
int (*Key_StringToKeynum)(char* str);
|
|
||||||
char* (*Key_KeynumToBindString)(int keyNum);
|
|
||||||
void (*Key_GetKeysForCommand)(char* command, int* key1, int* key2);
|
|
||||||
float (*GetFontHeight)(fontheader_t* font);
|
|
||||||
int (*TIKI_NumAnims)(dtiki_t* pmdl);
|
|
||||||
void (*TIKI_CalculateBounds)(dtiki_t* pmdl, float scale, vec3_t mins, vec3_t maxs);
|
|
||||||
char* (*TIKI_Name)(dtiki_t* tiki);
|
|
||||||
void* (*TIKI_GetSkeletor)(dtiki_t* tiki, int entNum);
|
|
||||||
void (*TIKI_SetEyeTargetPos)(dtiki_t* tiki, int entNum, vec3_t pos);
|
|
||||||
char* (*Anim_NameForNum)(dtiki_t* tiki, int animNum);
|
|
||||||
int (*Anim_NumForName)(dtiki_t* tiki, char* name);
|
|
||||||
int (*Anim_Random)(dtiki_t* tiki, char* name);
|
|
||||||
int (*Anim_NumFrames)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_Time)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_Frametime)(dtiki_t* tiki, int animNum);
|
|
||||||
void (*Anim_Delta)(dtiki_t* tiki, int animNum, vec3_t delta);
|
|
||||||
int (*Anim_Flags)(dtiki_t* tiki, int animNum);
|
|
||||||
int (*Anim_FlagsSkel)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_CrossblendTime)(dtiki_t* tiki, int animNum);
|
|
||||||
qboolean(*Anim_HasCommands)(dtiki_t* tiki, int animNum);
|
|
||||||
qboolean(*Frame_Commands)(dtiki_t* tiki, int animNum, int frameNum, dtikicmd_t* tikiCmds);
|
|
||||||
qboolean(*Frame_CommandsTime)(dtiki_t* pmdl, int animNum, float start, float end, dtikicmd_t* tikiCmd);
|
|
||||||
int (*Surface_NameToNum)(dtiki_t* pmdl, const char* name);
|
|
||||||
int (*Tag_NumForName)(dtiki_t* pmdl, const char* name);
|
|
||||||
char* (*Tag_NameForNum)(dtiki_t* pmdl, int animNum);
|
|
||||||
void (*ForceUpdatePose)(refEntity_t* model);
|
|
||||||
orientation_t* (*TIKI_Orientation)(orientation_t* orientation, refEntity_t* model, int tagNum);
|
|
||||||
qboolean (*TIKI_IsOnGround)(refEntity_t* model, int tagNum, float threshold);
|
|
||||||
void (*UI_ShowScoreBoard)(const char* menuName);
|
|
||||||
void (*UI_HideScoreBoard)();
|
|
||||||
void (*UI_SetScoreBoardItem)(int itemNumber, char* data1, char* data2, char* data3, char* data4, char* data5, char* data6, char* data7, char* data8, float* textColor, float* backColor, qboolean isHeader);
|
|
||||||
void (*UI_DeleteScoreBoardItems)(int maxIndex);
|
|
||||||
void (*UI_ToggleDMMessageConsole)(int consoleMode);
|
|
||||||
void (*unknown1_0)();
|
|
||||||
dtiki_t* (*TIKI_FindTiki)(char* path);
|
|
||||||
void (*LoadResource)(char* name);
|
|
||||||
void (*FS_CanonicalFilename)(char* name);
|
|
||||||
void (*CL_RestoreSavedCgameState)();
|
|
||||||
void (*CL_ClearSavedCgameState)();
|
|
||||||
|
|
||||||
cvar_t* fsDebug;
|
|
||||||
hdelement_t* hudDrawElements;
|
|
||||||
clientAnim_t* anim;
|
|
||||||
stopWatch_t* stopWatch;
|
|
||||||
|
|
||||||
} clientGameImport_t;
|
|
||||||
|
|
||||||
typedef struct clientGameExport_s
|
|
||||||
{
|
|
||||||
void (*CG_Init)(struct clientGameImport_s* imported, int serverMessageNum, int serverCommandSequence, int clientNum);
|
|
||||||
void (*CG_Shutdown)();
|
|
||||||
void (*CG_DrawActiveFrame)(int serverTime, int frameTime, stereoFrame_t stereoView, qboolean demoPlayback);
|
|
||||||
qboolean (*CG_ConsoleCommand)();
|
|
||||||
void (*CG_GetRendererConfig)();
|
|
||||||
void (*CG_Draw2D)();
|
|
||||||
void (*CG_EyePosition)(vec3_t eyePos);
|
|
||||||
void (*CG_EyeOffset)(vec3_t eyeOffset);
|
|
||||||
void (*CG_EyeAngles)(vec3_t eyeAngles);
|
|
||||||
float (*CG_SensitivityScale)();
|
|
||||||
void (*CG_ParseCGMessage)();
|
|
||||||
void (*CG_RefreshHudDrawElements)();
|
|
||||||
void (*CG_HudDrawShader)(int info);
|
|
||||||
void (*CG_HudDrawFont)(int info);
|
|
||||||
int (*CG_GetParent)(int entNum);
|
|
||||||
float (*CG_GetObjectiveAlpha)();
|
|
||||||
int (*CG_PermanentMark)(vec3_t origin, vec3_t dir, float orientation, float sScale, float tScale, float red, float green, float blue, float alpha, qboolean doLighting, float sCenter, float tCenter, markFragment_t* markFragments, void* polyVerts);
|
|
||||||
int (*CG_PermanentTreadMarkDecal)(treadMark_t* treadMark, qboolean startSegment, qboolean doLighting, markFragment_t* markFragments, void* polyVerts);
|
|
||||||
int (*CG_PermanentUpdateTreadMark)(treadMark_t* treadMark, float alpha, float minSegment, float maxSegment, float maxOffset, float texScale);
|
|
||||||
void (*CG_ProcessInitCommands)(dtiki_t* tiki, refEntity_t* ent);
|
|
||||||
void (*CG_EndTiki)(dtiki_t* tiki);
|
|
||||||
char* (*CG_GetColumnName)(int columnNum, int* columnWidth);
|
|
||||||
void (*CG_GetScoreBoardColor)(float* red, float* green, float* blue, float* alpha);
|
|
||||||
void (*CG_GetScoreBoardFontColor)(float* red, float* green, float* blue, float* alpha);
|
|
||||||
int (*CG_GetScoreBoardDrawHeader)();
|
|
||||||
void (*CG_GetScoreBoardPosition)(float* x, float* y, float* width, float* height);
|
|
||||||
int (*CG_WeaponCommandButtonBits)();
|
|
||||||
int (*CG_CheckCaptureKey)(keyNum_t key, qboolean down, unsigned int time);
|
|
||||||
|
|
||||||
profCGame_t* profStruct;
|
|
||||||
|
|
||||||
qboolean(*CG_Command_ProcessFile)(char* name, qboolean quiet, dtiki_t* curTiki);
|
|
||||||
void(*unk1)();
|
|
||||||
void(*unk2)();
|
|
||||||
void(*unk3)();
|
|
||||||
void(*unk4)();
|
|
||||||
void(*unk5)();
|
|
||||||
|
|
||||||
} clientGameExport_t;
|
|
|
@ -1,380 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_cgame.h"
|
|
||||||
#include "ida_common_tt.h"
|
|
||||||
|
|
||||||
typedef struct clientInfo_s
|
|
||||||
{
|
|
||||||
teamType_t team;
|
|
||||||
char name[64];
|
|
||||||
|
|
||||||
} clientInfo_t;
|
|
||||||
|
|
||||||
typedef struct cgs_s
|
|
||||||
{
|
|
||||||
gameState_t gameState;
|
|
||||||
glconfig_t glConfig;
|
|
||||||
float screenXScale;
|
|
||||||
float screenYScale;
|
|
||||||
float screenXBias;
|
|
||||||
int serverCommandSequence;
|
|
||||||
int processedSnapshotNum;
|
|
||||||
qboolean localServer;
|
|
||||||
int levelStartTime;
|
|
||||||
int matchEndTime;
|
|
||||||
int serverLagTime;
|
|
||||||
int gameType;
|
|
||||||
int dmFlags;
|
|
||||||
int teamFlags;
|
|
||||||
int fragLimit;
|
|
||||||
int timeLimit;
|
|
||||||
int maxClients;
|
|
||||||
int cinematic;
|
|
||||||
int mapChecksum;
|
|
||||||
char mapName[MAX_QPATH];
|
|
||||||
int voteTime;
|
|
||||||
int numVotesYes;
|
|
||||||
int numVotesNo;
|
|
||||||
int numUndecidedVotes;
|
|
||||||
qboolean voteRefreshed;
|
|
||||||
char voteString[1024];
|
|
||||||
int modelDraw[MAX_MODELS];
|
|
||||||
int unk1;
|
|
||||||
int soundPrecache[MAX_SOUNDS];
|
|
||||||
int numInlineModels;
|
|
||||||
int inlineDrawModel[MAX_MODELS];
|
|
||||||
vec3_t inlineModelMidpoints[MAX_MODELS];
|
|
||||||
media_t media;
|
|
||||||
|
|
||||||
} cgs_t;
|
|
||||||
|
|
||||||
typedef struct cg_s
|
|
||||||
{
|
|
||||||
int clientFrame;
|
|
||||||
int clientNum;
|
|
||||||
int demoPlayback;
|
|
||||||
int levelShot;
|
|
||||||
int latestSnapshotNum;
|
|
||||||
int latestSnapshotTime;
|
|
||||||
snapshot_t* snap;
|
|
||||||
snapshot_t* nextSnap;
|
|
||||||
snapshot_t activeSnapshots[MAX_ACTIVESNAPSHOTS];
|
|
||||||
float frameInterpolation;
|
|
||||||
int thisFrameTeleport;
|
|
||||||
int nextFrameTeleport;
|
|
||||||
int nextFrameCameraCut;
|
|
||||||
int frametime;
|
|
||||||
int time;
|
|
||||||
int physicsTime;
|
|
||||||
int renderingThirdPerson;
|
|
||||||
int hyperSpace;
|
|
||||||
playerState_t predicted_player_state;
|
|
||||||
int validPPS;
|
|
||||||
int predictedErrorTime;
|
|
||||||
vec3_t predictedError;
|
|
||||||
int iWeaponCommand;
|
|
||||||
int iWeaponCommandSend;
|
|
||||||
vec3_t autoAngles;
|
|
||||||
vec3_t autoAxis[3];
|
|
||||||
vec3_t autoAnglesSlow;
|
|
||||||
vec3_t autoAxisSlow[3];
|
|
||||||
vec3_t autoAnglesFast;
|
|
||||||
vec3_t autoAxisFast[3];
|
|
||||||
refDef_t refdef;
|
|
||||||
vec3_t playerHeadPos;
|
|
||||||
vec3_t refdefViewAngles;
|
|
||||||
vec3_t currentViewPos;
|
|
||||||
vec3_t currentViewAngles;
|
|
||||||
int unkab[4];
|
|
||||||
float fCurrentViewHeight;
|
|
||||||
float fCurrentViewBobPhase;
|
|
||||||
float fCurrentViewBobAmp;
|
|
||||||
dtiki_t* pLastPlayerWorldModel;
|
|
||||||
dtiki_t* pPlayerFPSModel;
|
|
||||||
qhandle_t hPlayerFPSModelHandle;
|
|
||||||
qboolean bFPSModelLastFrame;
|
|
||||||
qboolean bFPSOnGround;
|
|
||||||
dtiki_t* pAlliedPlayerModel;
|
|
||||||
qhandle_t hAlliedPlayerModelHandle;
|
|
||||||
dtiki_t* pAxisPlayerModel;
|
|
||||||
qhandle_t hAxisPlayerModelHandle;
|
|
||||||
vec3_t vOffsetViewAngles;
|
|
||||||
vec3_t vLastHeadAngles;
|
|
||||||
vec3_t vLastViewAngles;
|
|
||||||
vec3_t vEyeOffsetMax;
|
|
||||||
float fEyeOffsetFrac;
|
|
||||||
float SoundOrg[3];
|
|
||||||
vec3_t SoundAxis[3];
|
|
||||||
vec3_t camera_origin;
|
|
||||||
vec3_t camera_angles;
|
|
||||||
float camera_fov;
|
|
||||||
float zoomSensitivity;
|
|
||||||
int intermissionDisplay;
|
|
||||||
int scoresRequestTime;
|
|
||||||
int showScores;
|
|
||||||
char scoresMenuName[256];
|
|
||||||
int iInstaMessageMenu;
|
|
||||||
int centerPrintTime;
|
|
||||||
int centerPrintCharWidth;
|
|
||||||
int centerPrintY;
|
|
||||||
char centerPrint[1024];
|
|
||||||
int centerPrintLines;
|
|
||||||
int matchStartTime;
|
|
||||||
refEntity_t testModelEntity;
|
|
||||||
char testModelName[MAX_QPATH];
|
|
||||||
int testGun;
|
|
||||||
float farplane_distance;
|
|
||||||
float farplane_bias;
|
|
||||||
vec3_t farplane_color;
|
|
||||||
qboolean farplane_cull;
|
|
||||||
int skyboxFarplane;
|
|
||||||
qboolean renderTerrain;
|
|
||||||
float farclipOverride;
|
|
||||||
vec3_t farplaneColorOverride;
|
|
||||||
qboolean sky_portal;
|
|
||||||
float sky_alpha;
|
|
||||||
vec3_t sky_origin;
|
|
||||||
vec3_t sky_axis[3];
|
|
||||||
int skyboxSpeed;
|
|
||||||
vec2_t viewKick;
|
|
||||||
float viewKickRecenter;
|
|
||||||
float viewKickMinDecay;
|
|
||||||
float viewKickMaxDecay;
|
|
||||||
cobjective_t Objectives[20];
|
|
||||||
float ObjectivesAlphaTime;
|
|
||||||
float ObjectivesBaseAlpha;
|
|
||||||
float ObjectivesDesiredAlpha;
|
|
||||||
float ObjectivesCurrentAlpha;
|
|
||||||
crain_t rain;
|
|
||||||
float unk12;
|
|
||||||
int unk14[18];
|
|
||||||
clientInfo_t clientinfo[MAX_CLIENTS];
|
|
||||||
|
|
||||||
} cg_t;
|
|
||||||
|
|
||||||
typedef struct clientGameImport_s
|
|
||||||
{
|
|
||||||
int apiVersion;
|
|
||||||
|
|
||||||
void (*Printf)(char* fmt, ...);
|
|
||||||
void (*DPrintf)(char* fmt, ...);
|
|
||||||
void (*DebugPrintf)(char* fmt, ...);
|
|
||||||
void* (*Malloc)(int size);
|
|
||||||
void (*Free)(void* ptr);
|
|
||||||
void (*Error)(errorParm_t code, char* fmt, ...);
|
|
||||||
int (*Milliseconds)();
|
|
||||||
char* (*LV_ConvertString)(char* string);
|
|
||||||
cvar_t* (*Cvar_Get)(const char* varName, const char* varValue, int varFlags);
|
|
||||||
void (*Cvar_Set)(const char* varName, const char* varValue);
|
|
||||||
int (*Argc)();
|
|
||||||
char* (*Argv)(int arg);
|
|
||||||
char* (*Args)();
|
|
||||||
void (*AddCommand)(char* cmdName, xcommand_t cmdFunction);
|
|
||||||
void (*Cmd_Stuff)(const char* text);
|
|
||||||
void (*Cmd_Execute)(cbufExec_t execWhen, char* text);
|
|
||||||
void (*Cmd_TokenizeString)(char* textIn);
|
|
||||||
int (*FS_ReadFile)(char* qpath, void** buffer);
|
|
||||||
void (*FS_FreeFile)(void* buffer);
|
|
||||||
int (*FS_WriteFile)(char* qpath, void* buffer, int size);
|
|
||||||
void (*FS_WriteTextFile)(char* qpath, void* buffer, int size);
|
|
||||||
void (*FS_Unk1)();
|
|
||||||
void (*FS_Unk2)();
|
|
||||||
void (*SendConsoleCommand)(const char* text);
|
|
||||||
int (*MSG_ReadBits)(int bits);
|
|
||||||
int (*MSG_ReadChar)();
|
|
||||||
int (*MSG_ReadByte)();
|
|
||||||
int (*MSG_ReadSVC)();
|
|
||||||
int (*MSG_ReadShort)();
|
|
||||||
int (*MSG_ReadLong)();
|
|
||||||
float (*MSG_ReadFloat)();
|
|
||||||
char* (*MSG_ReadString)();
|
|
||||||
char* (*MSG_ReadStringLine)();
|
|
||||||
float (*MSG_ReadAngle8)();
|
|
||||||
float (*MSG_ReadAngle16)();
|
|
||||||
void (*MSG_ReadData)(void* data, int len);
|
|
||||||
float (*MSG_ReadCoord)();
|
|
||||||
void (*MSG_ReadDir)(vec3_t dir);
|
|
||||||
void (*SendClientCommand)(const char* text);
|
|
||||||
void (*CM_LoadMap)(char* name);
|
|
||||||
clipHandle_t(*CM_InlineModel)(int index);
|
|
||||||
int (*CM_NumInlineModels)();
|
|
||||||
int (*CM_PointContents)(vec3_t point, clipHandle_t model);
|
|
||||||
int (*CM_TransformedPointContents)(vec3_t point, clipHandle_t model, vec3_t origin, vec3_t angles);
|
|
||||||
void (*CM_BoxTrace)(trace_t* results, const vec3_t start, const vec3_t end, const vec3_t mins, const vec3_t maxs, int model, int brushMask, int cylinder);
|
|
||||||
void (*CM_TransformedBoxTrace)(trace_t* results, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int model, int brushMask, vec3_t origin, vec3_t angles, int cylinder);
|
|
||||||
clipHandle_t(*CM_TempBoxModel)(vec3_t mins, vec3_t maxs, int contents);
|
|
||||||
void (*CM_PrintBSPFileSizes)();
|
|
||||||
qboolean(*CM_LeafInPVS)(int leaf1, int leaf2);
|
|
||||||
int (*CM_PointLeafnum)(vec3_t p);
|
|
||||||
int (*R_MarkFragments)(int numPoints, vec3_t* points, vec3_t projection, int maxPoints, vec3_t pointBuffer, int maxFragments, markFragment_t* fragmentBuffer, float fRadiusSquared);
|
|
||||||
int (*R_MarkFragmentsForInlineModel)(clipHandle_t bmodel, vec3_t vAngles, vec3_t vOrigin, int numPoints, vec3_t* points, vec3_t projection, int maxPoints, vec3_t pointBuffer, int maxFragments, markFragment_t* fragmentBuffer, float fRadiusSquared);
|
|
||||||
void (*R_GetInlineModelBounds)(int index, vec3_t mins, vec3_t maxs);
|
|
||||||
void (*R_GetLightingForDecal)(vec3_t light, vec3_t facing, vec3_t origin);
|
|
||||||
void (*R_GetLightingForSmoke)(vec3_t light, vec3_t origin);
|
|
||||||
int (*R_GatherLightSources)(vec3_t pos, vec3_t* lightPos, vec3_t* lightIntensity, int maxLights);
|
|
||||||
void (*S_StartSound)(vec3_t origin, int entNum, int entChannel, sfxHandle_t sfxHandle, float volume, float minDist, float pitch, float maxDist, int streamed);
|
|
||||||
void (*S_StartLocalSound)(char* soundName, qboolean forceLoad);
|
|
||||||
void (*S_StopSound)(int entNum, int channel);
|
|
||||||
void (*S_ClearLoopingSounds)();
|
|
||||||
void (*S_AddLoopingSound)(vec3_t origin, vec3_t velocity, sfxHandle_t sfxHandle, float volume, float minDist, float maxDist, float pitch, int flags);
|
|
||||||
void (*S_Respatialize)(int entityNum, vec3_t head, vec3_t axis[3]);
|
|
||||||
void (*S_BeginRegistration)();
|
|
||||||
sfxHandle_t(*S_RegisterSound)(char* name, int streamed, qboolean forceLoad);
|
|
||||||
void (*S_EndRegistration)();
|
|
||||||
void (*S_UpdateEntity)(int entityNum, vec3_t origin, vec3_t velocity, qboolean useListener);
|
|
||||||
void (*S_SetReverb)(int reverbType, float reverbLevel);
|
|
||||||
void (*S_SetGlobalAmbientVolumeLevel)(float volume);
|
|
||||||
float (*S_GetSoundTime)(sfxHandle_t handle);
|
|
||||||
int (*S_ChannelNameToNum)(char* name);
|
|
||||||
char* (*S_ChannelNumToName)(int channel);
|
|
||||||
int (*S_IsSoundPlaying)(int channelNumber, char* name);
|
|
||||||
void (*MUSIC_NewSoundtrack)(char* name);
|
|
||||||
void (*MUSIC_UpdateMood)(musicMood_t current, musicMood_t fallback);
|
|
||||||
void (*MUSIC_UpdateVolume)(float volume, float fadeTime);
|
|
||||||
float* (*get_camera_offset)(qboolean* lookActive, qboolean* resetView);
|
|
||||||
void (*R_ClearScene)();
|
|
||||||
void (*R_RenderScene)(refdef_t* fd);
|
|
||||||
void (*R_LoadWorldMap)(char* name);
|
|
||||||
void (*R_PrintBSPFileSizes)();
|
|
||||||
int (*MapVersion)();
|
|
||||||
int (*R_MapVersion)();
|
|
||||||
qhandle_t(*R_RegisterModel)(char* name);
|
|
||||||
qhandle_t(*R_SpawnEffectModel)(char* name, vec3_t pos, vec3_t axis[3]);
|
|
||||||
qhandle_t(*R_RegisterServerModel)(char* name);
|
|
||||||
void (*R_Unk1)();
|
|
||||||
void (*R_UnregisterServerModel)(qhandle_t hModel);
|
|
||||||
qhandle_t(*R_RegisterShader)(char* name);
|
|
||||||
qhandle_t(*R_RegisterShaderNoMip)(char* name);
|
|
||||||
void (*R_Unk2)();
|
|
||||||
void (*R_AddRefEntityToScene)(refEntity_t* ent, int parentEntityNumber);
|
|
||||||
void (*R_AddRefSpriteToScene)(refEntity_t* ent);
|
|
||||||
void (*R_AddLightToScene)(vec3_t org, float intensity, float r, float g, float b, dlighttype_t type);
|
|
||||||
qboolean(*R_AddPolyToScene)(qhandle_t hShader, int numVerts, polyVert_t* verts, int renderFx);
|
|
||||||
void (*R_AddTerrainMarkToScene)(int terrainIndex, qhandle_t hShader, int numVerts, polyVert_t* verts, int renderFx);
|
|
||||||
void (*R_SetColor)(vec4_t rgba);
|
|
||||||
void (*R_DrawStretchPic)(float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader);
|
|
||||||
fontheader_t* (*R_LoadFont)(const char* name);
|
|
||||||
void (*R_DrawString)(fontheader_t* font, const char* text, float x, float y, int maxLen, qboolean virtualScreen);
|
|
||||||
refEntity_t* (*R_GetRenderEntity)(int entityNumber);
|
|
||||||
void (*R_ModelBounds)(clipHandle_t model, vec3_t mins, vec3_t maxs);
|
|
||||||
float (*R_ModelRadius)(qhandle_t handle);
|
|
||||||
float (*R_Noise)(float x, float y, float z, float t);
|
|
||||||
void (*R_DebugLine)(const vec3_t start, const vec3_t end, float r, float g, float b, float alpha);
|
|
||||||
baseShader_t* (*GetShader)(int shaderNum);
|
|
||||||
void (*R_SwipeBegin)(float thistime, float life, qhandle_t shader);
|
|
||||||
void (*R_SwipePoint)(vec3_t point1, vec3_t point2, float time);
|
|
||||||
void (*R_SwipeEnd)();
|
|
||||||
int (*R_GetShaderWidth)(qhandle_t hShader);
|
|
||||||
int (*R_GetShaderHeight)(qhandle_t hShader);
|
|
||||||
void (*R_DrawBox)(float x, float y, float w, float h);
|
|
||||||
void (*GetGameState)(gameState_t* gameState);
|
|
||||||
int (*GetSnapshot)(int snapshotNumber, snapshot_t* snapshot);
|
|
||||||
int (*GetServerStartTime)();
|
|
||||||
void (*SetTime)(float time);
|
|
||||||
void (*GetCurrentSnapshotNumber)(int* snapshotNumber, int* serverTime);
|
|
||||||
void (*GetGlconfig)(glconfig_t* glConfig);
|
|
||||||
qboolean(*GetParseEntityState)(int parseEntityNumber, entityState_t* state);
|
|
||||||
int (*GetCurrentCmdNumber)();
|
|
||||||
qboolean(*GetUserCmd)(int cmdNumber, userCmd_t* userCmd);
|
|
||||||
qboolean(*GetServerCommand)(int serverCommandNumber, qboolean differentServer);
|
|
||||||
qboolean(*Alias_Add)(char* alias, char* name, char* parameters);
|
|
||||||
qboolean(*Alias_ListAdd)(AliasList_t* list, char* alias, char* name, char* parameters);
|
|
||||||
char* (*Alias_FindRandom)(char* alias, AliasListNode_t** ret);
|
|
||||||
char* (*Alias_ListFindRandom)(AliasList_t* list, char* alias, AliasListNode_t** ret);
|
|
||||||
void (*Alias_Dump)();
|
|
||||||
void (*Alias_Clear)();
|
|
||||||
AliasList_t* (*AliasList_New)(char* name);
|
|
||||||
void (*Alias_ListFindRandomRange)(AliasList_t* list, char* alias, int* minIndex, int* maxIndex, float* totalWeight);
|
|
||||||
AliasList_t* (*Alias_GetGlobalList)();
|
|
||||||
void (*UI_ShowMenu)(char* name, qboolean bForce);
|
|
||||||
void (*UI_HideMenu)(char* name, qboolean bForce);
|
|
||||||
int (*UI_FontStringWidth)(fontheader_t* font, char* string, int maxLen);
|
|
||||||
void (*Key_Unk1)();
|
|
||||||
int (*Key_StringToKeynum)(char* str);
|
|
||||||
char* (*Key_KeynumToBindString)(int keyNum);
|
|
||||||
void (*Key_GetKeysForCommand)(char* command, int* key1, int* key2);
|
|
||||||
float (*GetFontHeight)(fontheader_t* font);
|
|
||||||
int (*TIKI_NumAnims)(dtiki_t* pmdl);
|
|
||||||
void (*TIKI_CalculateBounds)(dtiki_t* pmdl, float scale, vec3_t mins, vec3_t maxs);
|
|
||||||
char* (*TIKI_Name)(dtiki_t* tiki);
|
|
||||||
void* (*TIKI_GetSkeletor)(dtiki_t* tiki, int entNum);
|
|
||||||
void (*TIKI_SetEyeTargetPos)(dtiki_t* tiki, int entNum, vec3_t pos);
|
|
||||||
char* (*Anim_NameForNum)(dtiki_t* tiki, int animNum);
|
|
||||||
int (*Anim_NumForName)(dtiki_t* tiki, char* name);
|
|
||||||
int (*Anim_Random)(dtiki_t* tiki, char* name);
|
|
||||||
int (*Anim_NumFrames)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_Time)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_Frametime)(dtiki_t* tiki, int animNum);
|
|
||||||
void (*Anim_Delta)(dtiki_t* tiki, int animNum, vec3_t delta);
|
|
||||||
int (*Anim_Flags)(dtiki_t* tiki, int animNum);
|
|
||||||
int (*Anim_FlagsSkel)(dtiki_t* tiki, int animNum);
|
|
||||||
float (*Anim_CrossblendTime)(dtiki_t* tiki, int animNum);
|
|
||||||
qboolean(*Anim_HasCommands)(dtiki_t* tiki, int animNum);
|
|
||||||
qboolean(*Frame_Commands)(dtiki_t* tiki, int animNum, int frameNum, dtikicmd_t* tikiCmds);
|
|
||||||
qboolean(*Frame_CommandsTime)(dtiki_t* pmdl, int animNum, float start, float end, dtikicmd_t* tikiCmd);
|
|
||||||
int (*Surface_NameToNum)(dtiki_t* pmdl, const char* name);
|
|
||||||
int (*Tag_NumForName)(dtiki_t* pmdl, const char* name);
|
|
||||||
char* (*Tag_NameForNum)(dtiki_t* pmdl, int animNum);
|
|
||||||
void (*ForceUpdatePose)(refEntity_t* model);
|
|
||||||
orientation_t* (*TIKI_Orientation)(orientation_t* orientation, refEntity_t* model, int tagNum);
|
|
||||||
qboolean (*TIKI_IsOnGround)(refEntity_t* model, int tagNum, float threshold);
|
|
||||||
void (*UI_ShowScoreBoard)(const char* menuName);
|
|
||||||
void (*UI_HideScoreBoard)();
|
|
||||||
void (*UI_SetScoreBoardItem)(int itemNumber, char* data1, char* data2, char* data3, char* data4, char* data5, char* data6, char* data7, char* data8, float* textColor, float* backColor, qboolean isHeader);
|
|
||||||
void (*UI_DeleteScoreBoardItems)(int maxIndex);
|
|
||||||
void (*UI_ToggleDMMessageConsole)(int consoleMode);
|
|
||||||
void (*unknown1_0)();
|
|
||||||
dtiki_t* (*TIKI_FindTiki)(char* path);
|
|
||||||
void (*LoadResource)(char* name);
|
|
||||||
void (*FS_CanonicalFilename)(char* name);
|
|
||||||
void (*CL_RestoreSavedCgameState)();
|
|
||||||
void (*CL_ClearSavedCgameState)();
|
|
||||||
|
|
||||||
cvar_t* fsDebug;
|
|
||||||
hdelement_t* hudDrawElements;
|
|
||||||
clientAnim_t* anim;
|
|
||||||
stopWatch_t* stopWatch;
|
|
||||||
|
|
||||||
} clientGameImport_t;
|
|
||||||
|
|
||||||
typedef struct clientGameExport_s
|
|
||||||
{
|
|
||||||
void (*CG_Init)(struct clientGameImport_s* imported, int serverMessageNum, int serverCommandSequence, int clientNum);
|
|
||||||
void (*CG_Shutdown)();
|
|
||||||
void (*CG_DrawActiveFrame)(int serverTime, int frameTime, stereoFrame_t stereoView, qboolean demoPlayback);
|
|
||||||
qboolean (*CG_ConsoleCommand)();
|
|
||||||
void (*CG_GetRendererConfig)();
|
|
||||||
void (*CG_Draw2D)();
|
|
||||||
void (*CG_EyePosition)(vec3_t eyePos);
|
|
||||||
void (*CG_EyeOffset)(vec3_t eyeOffset);
|
|
||||||
void (*CG_EyeAngles)(vec3_t eyeAngles);
|
|
||||||
float (*CG_SensitivityScale)();
|
|
||||||
void (*CG_ParseCGMessage)();
|
|
||||||
void (*CG_RefreshHudDrawElements)();
|
|
||||||
void (*CG_HudDrawShader)(int info);
|
|
||||||
void (*CG_HudDrawFont)(int info);
|
|
||||||
int (*CG_GetParent)(int entNum);
|
|
||||||
float (*CG_GetObjectiveAlpha)();
|
|
||||||
int (*CG_PermanentMark)(vec3_t origin, vec3_t dir, float orientation, float sScale, float tScale, float red, float green, float blue, float alpha, qboolean doLighting, float sCenter, float tCenter, markFragment_t* markFragments, void* polyVerts);
|
|
||||||
int (*CG_PermanentTreadMarkDecal)(treadMark_t* treadMark, qboolean startSegment, qboolean doLighting, markFragment_t* markFragments, void* polyVerts);
|
|
||||||
int (*CG_PermanentUpdateTreadMark)(treadMark_t* treadMark, float alpha, float minSegment, float maxSegment, float maxOffset, float texScale);
|
|
||||||
void (*CG_ProcessInitCommands)(dtiki_t* tiki, refEntity_t* ent);
|
|
||||||
void (*CG_EndTiki)(dtiki_t* tiki);
|
|
||||||
char* (*CG_GetColumnName)(int columnNum, int* columnWidth);
|
|
||||||
void (*CG_GetScoreBoardColor)(float* red, float* green, float* blue, float* alpha);
|
|
||||||
void (*CG_GetScoreBoardFontColor)(float* red, float* green, float* blue, float* alpha);
|
|
||||||
int (*CG_GetScoreBoardDrawHeader)();
|
|
||||||
void (*CG_GetScoreBoardPosition)(float* x, float* y, float* width, float* height);
|
|
||||||
int (*CG_WeaponCommandButtonBits)();
|
|
||||||
int (*CG_CheckCaptureKey)(keyNum_t key, qboolean down, unsigned int time);
|
|
||||||
|
|
||||||
profCGame_t* profStruct;
|
|
||||||
|
|
||||||
qboolean(*CG_Command_ProcessFile)(char* name, qboolean quiet, dtiki_t* curTiki);
|
|
||||||
void(*unk1)();
|
|
||||||
void(*unk2)();
|
|
||||||
void(*unk3)();
|
|
||||||
void(*unk4)();
|
|
||||||
void(*unk5)();
|
|
||||||
|
|
||||||
} clientGameExport_t;
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,3 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
|
@ -1,169 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
||||||
|
|
||||||
typedef struct glconfig_s
|
|
||||||
{
|
|
||||||
char rendererString[MAX_STRING_CHARS];
|
|
||||||
char vendorString[MAX_STRING_CHARS];
|
|
||||||
char versionString[MAX_STRING_CHARS];
|
|
||||||
char unknownString1[MAX_STRING_CHARS];
|
|
||||||
char unknownString2[MAX_STRING_CHARS];
|
|
||||||
char extensionsString[MAX_EXTSTRINGCHARS];
|
|
||||||
int maxTextureSize;
|
|
||||||
int maxActiveTextures;
|
|
||||||
int colorBits;
|
|
||||||
int depthBits;
|
|
||||||
int stencilBits;
|
|
||||||
glDriverType_t driverType;
|
|
||||||
glHardwareType_t hardwareType;
|
|
||||||
qboolean deviceSupportsGamma;
|
|
||||||
int textureCompression;
|
|
||||||
qboolean textureEnvAddAvailable;
|
|
||||||
int vidWidth;
|
|
||||||
int vidHeight;
|
|
||||||
float windowAspect;
|
|
||||||
int displayFrequency;
|
|
||||||
qboolean isFullscreen;
|
|
||||||
qboolean stereoEnabled;
|
|
||||||
qboolean smpActive;
|
|
||||||
int registerCombinerAvailable;
|
|
||||||
qboolean secondaryColorAvailable;
|
|
||||||
qboolean var;
|
|
||||||
qboolean fence;
|
|
||||||
int unk1;
|
|
||||||
|
|
||||||
} glconfig_t;
|
|
||||||
|
|
||||||
typedef struct refDef_s
|
|
||||||
{
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
int width;
|
|
||||||
int height;
|
|
||||||
float fovX;
|
|
||||||
float fovY;
|
|
||||||
vec3_t viewOrg;
|
|
||||||
vec3_t viewAxis[3];
|
|
||||||
int time;
|
|
||||||
int rdFlags;
|
|
||||||
byte areaMask[MAX_MAPAREABYTES];
|
|
||||||
float farplaneDistance;
|
|
||||||
int unk1;
|
|
||||||
float farplaneColor[3];
|
|
||||||
qboolean farplaneCull;
|
|
||||||
qboolean skyPortal;
|
|
||||||
int unk2;
|
|
||||||
int unk3;
|
|
||||||
int unk4;
|
|
||||||
int unk5;
|
|
||||||
int unk6;
|
|
||||||
int unk7;
|
|
||||||
float skyAlpha;
|
|
||||||
vec3_t skyOrigin;
|
|
||||||
vec3_t skyAxis[3];
|
|
||||||
|
|
||||||
} refDef_t;
|
|
||||||
|
|
||||||
typedef struct playerState_s
|
|
||||||
{
|
|
||||||
int commandTime;
|
|
||||||
pmType_t pmType;
|
|
||||||
int bobCycle;
|
|
||||||
int pmFlags;
|
|
||||||
vec3_t origin;
|
|
||||||
vec3_t velocity;
|
|
||||||
int gravity;
|
|
||||||
int speed;
|
|
||||||
int deltaAngles[3];
|
|
||||||
int groundEntityNum;
|
|
||||||
qboolean walking;
|
|
||||||
qboolean groundPlane;
|
|
||||||
int feetFalling;
|
|
||||||
vec3_t fallDir;
|
|
||||||
trace_t groundTrace;
|
|
||||||
int clientNum;
|
|
||||||
vec3_t viewAngles;
|
|
||||||
int viewHeight;
|
|
||||||
float leanAngle;
|
|
||||||
int viewModelAnim;
|
|
||||||
int viewModelAnimChanged;
|
|
||||||
playerStat_e stats[MAX_PLAYERSTATS];
|
|
||||||
int activeItems[8];
|
|
||||||
int ammoNameIndex[MAX_WEAPONS];
|
|
||||||
int ammoAmount[MAX_WEAPONS];
|
|
||||||
int maxAmmoAmount[MAX_WEAPONS];
|
|
||||||
musicMood_t currentMusicMood;
|
|
||||||
musicMood_t fallbackMusicMood;
|
|
||||||
float musicVolume;
|
|
||||||
float musicVolumeFadeTime;
|
|
||||||
int reverbType;
|
|
||||||
float reverbLevel;
|
|
||||||
vec4_t blend;
|
|
||||||
float fov;
|
|
||||||
vec3_t cameraOrigin;
|
|
||||||
vec3_t cameraAngles;
|
|
||||||
float cameraTime;
|
|
||||||
vec3_t cameraOffset;
|
|
||||||
vec3_t cameraPosOfs;
|
|
||||||
int cameraFlags;
|
|
||||||
vec3_t damageAngles;
|
|
||||||
int radarInfo;
|
|
||||||
qboolean voted;
|
|
||||||
int ping;
|
|
||||||
vec3_t eyePos;
|
|
||||||
|
|
||||||
} playerState_t;
|
|
||||||
|
|
||||||
typedef struct usercmd_s
|
|
||||||
{
|
|
||||||
int serverTime;
|
|
||||||
short unsigned int buttons;
|
|
||||||
short int angles[3];
|
|
||||||
uint8_t msec;
|
|
||||||
signed char forwardmove;
|
|
||||||
signed char rightmove;
|
|
||||||
signed char upmove;
|
|
||||||
|
|
||||||
} userCmd_t;
|
|
||||||
|
|
||||||
typedef struct pmove_s
|
|
||||||
{
|
|
||||||
playerState_t *ps;
|
|
||||||
userCmd_t cmd;
|
|
||||||
int tracemask;
|
|
||||||
qboolean noFootsteps;
|
|
||||||
qboolean canLean;
|
|
||||||
int framecount;
|
|
||||||
int numtouch;
|
|
||||||
int touchents[32];
|
|
||||||
int moveresult;
|
|
||||||
qboolean stepped;
|
|
||||||
int pmoveEvent;
|
|
||||||
float mins[3];
|
|
||||||
float maxs[3];
|
|
||||||
int watertype;
|
|
||||||
int waterlevel;
|
|
||||||
int pmove_fixed;
|
|
||||||
int pmove_msec;
|
|
||||||
void (*trace) ();
|
|
||||||
int (*pointcontents) ();
|
|
||||||
|
|
||||||
} pmove_t;
|
|
||||||
|
|
||||||
typedef struct gameState_s
|
|
||||||
{
|
|
||||||
int stringOffsets[MAX_CONFIGSTRINGS];
|
|
||||||
char stringData[MAX_GAMESTATECHARS_SH];
|
|
||||||
int dataCount;
|
|
||||||
|
|
||||||
} gameState_t;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct stopWatch_s
|
|
||||||
{
|
|
||||||
int startTime;
|
|
||||||
int endTime;
|
|
||||||
int unknown1_0;
|
|
||||||
|
|
||||||
} stopWatch_t;
|
|
|
@ -1,226 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
int blocNode;
|
|
||||||
int blocPtrs;
|
|
||||||
node_t* tree;
|
|
||||||
node_t* lhead;
|
|
||||||
node_t* ltail;
|
|
||||||
node_t* loc[HMAX+1];
|
|
||||||
node_t** freelist;
|
|
||||||
node_t nodeList[1024];
|
|
||||||
node_t* nodePtrs[1024];
|
|
||||||
|
|
||||||
} huff_t;
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
huff_t compressor;
|
|
||||||
huff_t decompressor;
|
|
||||||
|
|
||||||
} huffman_t;
|
|
||||||
|
|
||||||
typedef struct glconfig_s
|
|
||||||
{
|
|
||||||
char rendererString[MAX_STRING_CHARS];
|
|
||||||
char vendorString[MAX_STRING_CHARS];
|
|
||||||
char versionString[MAX_STRING_CHARS];
|
|
||||||
char unknownString1[MAX_STRING_CHARS];
|
|
||||||
char unknownString2[MAX_STRING_CHARS];
|
|
||||||
char extensionsString[MAX_EXTSTRINGCHARS];
|
|
||||||
int maxTextureSize;
|
|
||||||
int maxActiveTextures;
|
|
||||||
int colorBits;
|
|
||||||
int depthBits;
|
|
||||||
int stencilBits;
|
|
||||||
glDriverType_t driverType;
|
|
||||||
glHardwareType_t hardwareType;
|
|
||||||
qboolean deviceSupportsGamma;
|
|
||||||
int textureCompression;
|
|
||||||
qboolean textureEnvAddAvailable;
|
|
||||||
int vidWidth;
|
|
||||||
int vidHeight;
|
|
||||||
float windowAspect;
|
|
||||||
int displayFrequency;
|
|
||||||
qboolean isFullscreen;
|
|
||||||
qboolean stereoEnabled;
|
|
||||||
qboolean smpActive;
|
|
||||||
int registerCombinerAvailable;
|
|
||||||
qboolean secondaryColorAvailable;
|
|
||||||
qboolean var;
|
|
||||||
qboolean fence;
|
|
||||||
int unk1;
|
|
||||||
|
|
||||||
} glconfig_t;
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
char *path;
|
|
||||||
TikiScript tikiFile;
|
|
||||||
dloadanim_t *loadanims[ 4095 ];
|
|
||||||
dloadinitcmd_t *loadserverinitcmds[ 160 ];
|
|
||||||
dloadinitcmd_t *loadclientinitcmds[ 180 ];
|
|
||||||
int skelIndex_ld[ 12 ];
|
|
||||||
int numanims;
|
|
||||||
int numserverinitcmds;
|
|
||||||
int numclientinitcmds;
|
|
||||||
char headmodels[ 4096 ];
|
|
||||||
char headskins[ 4096 ];
|
|
||||||
qboolean bIsCharacter;
|
|
||||||
struct msg_s *modelBuf;
|
|
||||||
unsigned char modelData[ 8192 ];
|
|
||||||
qboolean bInIncludesSection;
|
|
||||||
char idleSkel[128];
|
|
||||||
int numskels;
|
|
||||||
qboolean hasSkel;
|
|
||||||
} dloaddef_t;
|
|
||||||
|
|
||||||
typedef struct refDef_s
|
|
||||||
{
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
int width;
|
|
||||||
int height;
|
|
||||||
float fovX;
|
|
||||||
float fovY;
|
|
||||||
vec3_t viewOrg;
|
|
||||||
vec3_t viewAxis[3];
|
|
||||||
int time;
|
|
||||||
int rdFlags;
|
|
||||||
byte areaMask[MAX_MAPAREABYTES];
|
|
||||||
float farplaneDistance;
|
|
||||||
int unk1;
|
|
||||||
float farplaneColor[3];
|
|
||||||
qboolean farplaneCull;
|
|
||||||
qboolean skyPortal;
|
|
||||||
int unk2;
|
|
||||||
int unk3;
|
|
||||||
int unk4;
|
|
||||||
int unk5;
|
|
||||||
int unk6;
|
|
||||||
int unk7;
|
|
||||||
float skyAlpha;
|
|
||||||
vec3_t skyOrigin;
|
|
||||||
vec3_t skyAxis[3];
|
|
||||||
|
|
||||||
} refDef_t;
|
|
||||||
|
|
||||||
typedef struct playerState_s
|
|
||||||
{
|
|
||||||
int commandTime;
|
|
||||||
pmType_t pmType;
|
|
||||||
int bobCycle;
|
|
||||||
int pmFlags;
|
|
||||||
vec3_t origin;
|
|
||||||
vec3_t velocity;
|
|
||||||
int gravity;
|
|
||||||
int speed;
|
|
||||||
int deltaAngles[3];
|
|
||||||
int groundEntityNum;
|
|
||||||
qboolean walking;
|
|
||||||
qboolean groundPlane;
|
|
||||||
int feetFalling;
|
|
||||||
vec3_t fallDir;
|
|
||||||
trace_t groundTrace;
|
|
||||||
int clientNum;
|
|
||||||
vec3_t viewAngles;
|
|
||||||
int viewHeight;
|
|
||||||
float leanAngle;
|
|
||||||
int viewModelAnim;
|
|
||||||
int viewModelAnimChanged;
|
|
||||||
playerStat_e stats[MAX_PLAYERSTATS];
|
|
||||||
int activeItems[8];
|
|
||||||
int ammoNameIndex[MAX_WEAPONS];
|
|
||||||
int ammoAmount[MAX_WEAPONS];
|
|
||||||
int maxAmmoAmount[MAX_WEAPONS];
|
|
||||||
musicMood_t currentMusicMood;
|
|
||||||
musicMood_t fallbackMusicMood;
|
|
||||||
float musicVolume;
|
|
||||||
float musicVolumeFadeTime;
|
|
||||||
int reverbType;
|
|
||||||
float reverbLevel;
|
|
||||||
vec4_t blend;
|
|
||||||
float fov;
|
|
||||||
vec3_t cameraOrigin;
|
|
||||||
vec3_t cameraAngles;
|
|
||||||
float cameraTime;
|
|
||||||
vec3_t cameraOffset;
|
|
||||||
vec3_t cameraPosOfs;
|
|
||||||
int cameraFlags;
|
|
||||||
vec3_t damageAngles;
|
|
||||||
int radarInfo;
|
|
||||||
qboolean voted;
|
|
||||||
int ping;
|
|
||||||
vec3_t eyePos;
|
|
||||||
|
|
||||||
} playerState_t;
|
|
||||||
|
|
||||||
typedef struct usercmd_s
|
|
||||||
{
|
|
||||||
int serverTime;
|
|
||||||
short unsigned int buttons;
|
|
||||||
short int angles[3];
|
|
||||||
uint8_t msec;
|
|
||||||
signed char forwardmove;
|
|
||||||
signed char rightmove;
|
|
||||||
signed char upmove;
|
|
||||||
|
|
||||||
} userCmd_t;
|
|
||||||
|
|
||||||
typedef struct snapshot_s
|
|
||||||
{
|
|
||||||
int snapFlags;
|
|
||||||
int ping;
|
|
||||||
int serverTime;
|
|
||||||
byte areaMask[MAX_MAPAREABYTES];
|
|
||||||
playerState_t ps;
|
|
||||||
int numEntities;
|
|
||||||
entityState_t entities[MAX_ENTITIESINSNAPSHOT];
|
|
||||||
int numServerCommands;
|
|
||||||
int serverCommandSequence;
|
|
||||||
int numberOfSounds;
|
|
||||||
serverSound_t sounds[MAX_SERVERSOUNDS];
|
|
||||||
|
|
||||||
} snapshot_t;
|
|
||||||
|
|
||||||
typedef struct pmove_s
|
|
||||||
{
|
|
||||||
playerState_t *ps;
|
|
||||||
userCmd_t cmd;
|
|
||||||
int tracemask;
|
|
||||||
qboolean noFootsteps;
|
|
||||||
qboolean canLean;
|
|
||||||
int framecount;
|
|
||||||
int numtouch;
|
|
||||||
int touchents[32];
|
|
||||||
int moveresult;
|
|
||||||
qboolean stepped;
|
|
||||||
int pmoveEvent;
|
|
||||||
float mins[3];
|
|
||||||
float maxs[3];
|
|
||||||
int watertype;
|
|
||||||
int waterlevel;
|
|
||||||
int pmove_fixed;
|
|
||||||
int pmove_msec;
|
|
||||||
void (*trace) ();
|
|
||||||
int (*pointcontents) ();
|
|
||||||
|
|
||||||
} pmove_t;
|
|
||||||
|
|
||||||
typedef struct gameState_s
|
|
||||||
{
|
|
||||||
int stringOffsets[MAX_CONFIGSTRINGS];
|
|
||||||
char stringData[MAX_GAMESTATECHARS_SH];
|
|
||||||
int dataCount;
|
|
||||||
|
|
||||||
} gameState_t;
|
|
||||||
|
|
||||||
typedef struct stopWatch_s
|
|
||||||
{
|
|
||||||
int startTime;
|
|
||||||
int endTime;
|
|
||||||
int unknown1_0;
|
|
||||||
|
|
||||||
} stopWatch_t;
|
|
|
@ -1,3 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_common.h"
|
|
|
@ -1,4 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_game.h"
|
|
||||||
#include "ida_common_aa.h"
|
|
|
@ -1,86 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_game.h"
|
|
||||||
#include "ida_common_ta.h"
|
|
||||||
|
|
||||||
typedef struct gclient_s
|
|
||||||
{
|
|
||||||
playerState_t ps;
|
|
||||||
int ping;
|
|
||||||
client_persistant_t pers;
|
|
||||||
float cmd_angles[3];
|
|
||||||
int lastActiveTime;
|
|
||||||
int activeWarning;
|
|
||||||
|
|
||||||
} gclient_t;
|
|
||||||
|
|
||||||
typedef struct ScriptMaster_s {
|
|
||||||
Listener_t baseListener;
|
|
||||||
|
|
||||||
int stackCount; // 0x0014 (0020)
|
|
||||||
|
|
||||||
ScriptVariable_t avar_Stack[1025]; // 0x0018 (0024)
|
|
||||||
Event_t fastEvent[11]; // 0x2020 (8224)
|
|
||||||
ScriptVariable_t *pTop; // 0x20FC (8444)
|
|
||||||
|
|
||||||
unsigned int cmdCount; // 0x2100 (8448) - cmd count
|
|
||||||
int cmdTime; // 0x2104 (8452) - Elapsed time since the maximum reached LOCALSTACK_SIZE
|
|
||||||
int maxTime; // 0x2108 (8456) - Maximum time for LOCALSTACK_SIZE
|
|
||||||
|
|
||||||
SafePtr2_t m_PreviousThread; // 0x210C (8460) - parm.previousthread
|
|
||||||
SafePtr2_t m_CurrentThread; // 0x211C (8476) - Current thread
|
|
||||||
|
|
||||||
con_map m_GameScripts;
|
|
||||||
Container_t m_menus;
|
|
||||||
con_timer timingList;
|
|
||||||
con_arrayset StringDict;
|
|
||||||
int iPaused;
|
|
||||||
} ScriptMaster_t;
|
|
||||||
|
|
||||||
typedef struct ScriptVM_s {
|
|
||||||
void *next;
|
|
||||||
|
|
||||||
struct ScriptThread_s *m_Thread;
|
|
||||||
ScriptClass_t *m_ScriptClass;
|
|
||||||
|
|
||||||
void *m_Stack;
|
|
||||||
|
|
||||||
ScriptVariable_t m_ReturnValue;
|
|
||||||
|
|
||||||
unsigned char *m_PrevCodePos;
|
|
||||||
unsigned char *m_CodePos;
|
|
||||||
|
|
||||||
unsigned char state;
|
|
||||||
unsigned char m_ThreadState;
|
|
||||||
} ScriptVM_t;
|
|
||||||
|
|
||||||
typedef struct Game_s {
|
|
||||||
gclient_t *clients;
|
|
||||||
qboolean autosaved;
|
|
||||||
int maxclients;
|
|
||||||
int maxentities;
|
|
||||||
} Game_t;
|
|
||||||
|
|
||||||
typedef struct block_scriptclass_s {
|
|
||||||
unsigned char data[256][49];
|
|
||||||
unsigned char prev_data[256];
|
|
||||||
unsigned char next_data[256];
|
|
||||||
short int free_data;
|
|
||||||
short int used_data;
|
|
||||||
struct block_scriptclass_s *prev_block;
|
|
||||||
struct block_scriptclass_s *next_block;
|
|
||||||
} block_scriptclass_t;
|
|
||||||
|
|
||||||
typedef struct MEM_BlockAlloc_scriptclass_s {
|
|
||||||
block_scriptclass_t *m_FreeBlock;
|
|
||||||
block_scriptclass_t *m_StartUsedBlock;
|
|
||||||
block_scriptclass_t *m_StartFullBlock;
|
|
||||||
unsigned int m_BlockCount;
|
|
||||||
} MEM_BlockAlloc_scriptclass_t;
|
|
||||||
|
|
||||||
typedef struct MEM_BlockAlloc_enum_scriptclass_s {
|
|
||||||
MEM_BlockAlloc_scriptclass_t *m_Owner;
|
|
||||||
block_scriptclass_t *m_CurrentBlock;
|
|
||||||
unsigned char m_CurrentData;
|
|
||||||
int m_CurrentBlockType;
|
|
||||||
} MEM_BlockAlloc_enum_scriptclass_t;
|
|
|
@ -1,76 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "ida_game.h"
|
|
||||||
#include "ida_common_tt.h"
|
|
||||||
|
|
||||||
typedef struct gameExport_s
|
|
||||||
{
|
|
||||||
int apiVersion;
|
|
||||||
|
|
||||||
void ( *Init )( int svsStartTime, int randomSeed );
|
|
||||||
void ( *Shutdown )( );
|
|
||||||
void ( *Cleanup )( qboolean sameMap );
|
|
||||||
void ( *Precache )( );
|
|
||||||
void ( *SetMap )( const char *mapName );
|
|
||||||
void ( *Restart )( );
|
|
||||||
void ( *SetTime )( int svsStartTime, int svsTime );
|
|
||||||
void ( *SpawnEntities )( const char *entities, int svsTime);
|
|
||||||
const char *( *ClientConnect )( int clientNum, qboolean firstTime );
|
|
||||||
void ( *ClientBegin )( gentity_t *ent, userCmd_t *cmd );
|
|
||||||
void ( *ClientUserinfoChanged )( gentity_t *ent, const char *userInfo );
|
|
||||||
void ( *ClientDisconnect )( gentity_t *ent );
|
|
||||||
void ( *ClientCommand )( gentity_t *ent );
|
|
||||||
void ( *ClientThink )( gentity_t *ent, userCmd_t *ucmd, userEyes_t *eyeInfo );
|
|
||||||
void ( *BotBegin )( gentity_t *ent, userCmd_t *cmd );
|
|
||||||
void ( *BotThink )( gentity_t *ent, userCmd_t *ucmd, userEyes_t *eyeInfo );
|
|
||||||
void ( *PrepFrame )( );
|
|
||||||
void ( *RunFrame )( int svsTime, int frameTime );
|
|
||||||
void ( *ServerSpawned )( );
|
|
||||||
void ( *RegisterSounds )( );
|
|
||||||
qboolean ( *AllowPaused )( );
|
|
||||||
qboolean ( *ConsoleCommand )( );
|
|
||||||
void ( *ArchivePersistant )( const char *name, qboolean loading );
|
|
||||||
void ( *WriteLevel )( const char *fileName, qboolean autoSave );
|
|
||||||
qboolean ( *ReadLevel )( const char *fileName );
|
|
||||||
qboolean ( *LevelArchiveValid )( const char *fileName );
|
|
||||||
void ( *ArchiveInteger )( int *i );
|
|
||||||
void ( *ArchiveFloat )( float *fl );
|
|
||||||
void ( *ArchiveString )( char *s );
|
|
||||||
void ( *ArchiveSvsTime )( int *pi );
|
|
||||||
orientation_t ( *TIKI_Orientation )( gentity_t *edict, int num );
|
|
||||||
void ( *DebugCircle )( float *org, float radius, float r, float g, float b, float alpha, qboolean horizontal );
|
|
||||||
void ( *SetFrameNumber )( int frameNumber );
|
|
||||||
void ( *SoundCallback )( int entNum, soundChannel_t channelNumber, const char *name );
|
|
||||||
|
|
||||||
profGame_t *profStruct;
|
|
||||||
gentity_t *gentities;
|
|
||||||
int gentitySize;
|
|
||||||
int numEntities;
|
|
||||||
int maxEntities;
|
|
||||||
char *errorMessage;
|
|
||||||
|
|
||||||
} gameExport_t;
|
|
||||||
|
|
||||||
typedef struct block_scriptclass_s {
|
|
||||||
unsigned char data[256][48];
|
|
||||||
unsigned char prev_data[256];
|
|
||||||
unsigned char next_data[256];
|
|
||||||
short int free_data;
|
|
||||||
short int used_data;
|
|
||||||
struct block_scriptclass_s *prev_block;
|
|
||||||
struct block_scriptclass_s *next_block;
|
|
||||||
} block_scriptclass_t;
|
|
||||||
|
|
||||||
typedef struct MEM_BlockAlloc_scriptclass_s {
|
|
||||||
block_scriptclass_t *m_FreeBlock;
|
|
||||||
block_scriptclass_t *m_StartUsedBlock;
|
|
||||||
block_scriptclass_t *m_StartFullBlock;
|
|
||||||
unsigned int m_BlockCount;
|
|
||||||
} MEM_BlockAlloc_scriptclass_t;
|
|
||||||
|
|
||||||
typedef struct MEM_BlockAlloc_enum_scriptclass_s {
|
|
||||||
MEM_BlockAlloc_scriptclass_t *m_Owner;
|
|
||||||
block_scriptclass_t *m_CurrentBlock;
|
|
||||||
unsigned char m_CurrentData;
|
|
||||||
int m_CurrentBlockType;
|
|
||||||
} MEM_BlockAlloc_enum_scriptclass_t;
|
|
|
@ -1,135 +0,0 @@
|
||||||
#include "ida.h"
|
|
||||||
|
|
||||||
typedef int uihandle_t;
|
|
||||||
|
|
||||||
#include "ui/usignal.h"
|
|
||||||
#include "ui/uisize2d.h"
|
|
||||||
#include "ui/uipoint2d.h"
|
|
||||||
#include "ui/uirect2d.h"
|
|
||||||
#include "ui/ucolor.h"
|
|
||||||
#include "ui/uifont.h"
|
|
||||||
#include "ui/uiwidget.h"
|
|
||||||
#include "ui/uimenu.h"
|
|
||||||
#include "ui/ulist.h"
|
|
||||||
#include "ui/uistatus.h"
|
|
||||||
#include "ui/uilabel.h"
|
|
||||||
#include "ui/uislider.h"
|
|
||||||
#include "ui/uihorizscroll.h"
|
|
||||||
#include "ui/uivertscroll.h"
|
|
||||||
#include "ui/uibutton.h"
|
|
||||||
#include "ui/cl_uibind.h"
|
|
||||||
#include "ui/uibind.h"
|
|
||||||
#include "ui/uibindlist.h"
|
|
||||||
#include "ui/uicheckbox.h"
|
|
||||||
#include "ui/uifloatwnd.h"
|
|
||||||
#include "ui/uipopupmenu.h"
|
|
||||||
#include "ui/uiconsole.h"
|
|
||||||
#include "ui/uidialog.h"
|
|
||||||
#include "ui/editfield.h"
|
|
||||||
#include "ui/uifield.h"
|
|
||||||
#include "ui/uilangamelist.h"
|
|
||||||
#include "ui/uiglobalgamelist.h"
|
|
||||||
#include "ui/uilayout.h"
|
|
||||||
#include "ui/uilist.h"
|
|
||||||
#include "ui/uilistbox.h"
|
|
||||||
#include "ui/uilistctrl.h"
|
|
||||||
#include "ui/uimenu.h"
|
|
||||||
#include "ui/uimledit.h"
|
|
||||||
#include "ui/uinotepad.h"
|
|
||||||
#include "ui/uipulldownmenu.h"
|
|
||||||
#include "ui/uipulldownmenucontainer.h"
|
|
||||||
#include "ui/uiwinman.h"
|
|
||||||
#include "ui/cl_uidmbox.h"
|
|
||||||
#include "ui/cl_uigmbox.h"
|
|
||||||
#include "ui/cl_uiminicon.h"
|
|
||||||
#include "ui/cl_uifilepicker.h"
|
|
||||||
#include "ui/cl_uimaprunner.h"
|
|
||||||
#include "ui/cl_uimpmappicker.h"
|
|
||||||
#include "ui/cl_uiplayermodelpicker.h"
|
|
||||||
#include "ui/cl_uisoundpicker.h"
|
|
||||||
#include "ui/cl_uiview3d.h"
|
|
||||||
#include "ui/cl_inv.h"
|
|
||||||
#include "ui/cl_invrender.h"
|
|
||||||
#include "ui/cl_uistd.h"
|
|
||||||
#include "ui/cl_uiloadsave.h"
|
|
||||||
|
|
||||||
typedef struct ScoreboardListItem_s {
|
|
||||||
void *_vptr;
|
|
||||||
str strings[ 8 ];
|
|
||||||
qboolean bColorSet;
|
|
||||||
UColor backColor;
|
|
||||||
UColor textColor;
|
|
||||||
qboolean bTitleItem;
|
|
||||||
} ScoreboardListItem;
|
|
||||||
|
|
||||||
typedef struct uiGlobals_s {
|
|
||||||
UList_str_ fileList;
|
|
||||||
void *globalFont;
|
|
||||||
str clientData;
|
|
||||||
} uiGlobals_t;
|
|
||||||
|
|
||||||
typedef struct uiimport_s {
|
|
||||||
uihandle_t( *Rend_RegisterMaterial )( const char *name );
|
|
||||||
uihandle_t( *Rend_RefreshMaterial )( const char *name );
|
|
||||||
void( *Rend_Set2D )( int x, int y, int w, int h, float left, float right, float bottom, float top, float n, float f );
|
|
||||||
void( *Rend_SetColor )( const float *rgba );
|
|
||||||
void( *Rend_Scissor )( int x, int y, int width, int height );
|
|
||||||
void( *Rend_DrawPicStretched )( float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader );
|
|
||||||
void( *Rend_DrawPicTiled )( float x, float y, float w, float h, qhandle_t hShader );
|
|
||||||
fontheader_t *( *Rend_LoadFont )( const char *name );
|
|
||||||
void( *Rend_DrawString )( fontheader_t *font, const char *text, float x, float y, int maxlen, qboolean bVirtualScreen );
|
|
||||||
void( *Rend_DrawBox )( float x, float y, float w, float h );
|
|
||||||
int( *Rend_GetShaderWidth )( qhandle_t hShader );
|
|
||||||
int( *Rend_GetShaderHeight )( qhandle_t hShader );
|
|
||||||
void ( *File_PickFile )( const char *name, Listener *obj, Event& event );
|
|
||||||
void ( *File_ListFiles )( const char *filespec );
|
|
||||||
int ( *File_OpenFile )( const char *qpath, void **buffer );
|
|
||||||
void ( *File_FreeFile )( void *buffer );
|
|
||||||
void ( *File_WriteFile )( const char *qpath, const void *buffer, int size );
|
|
||||||
uihandle_t ( *Snd_RegisterSound )( const char *sample, qboolean streamed );
|
|
||||||
void ( *Snd_PlaySound )( const char *sound_name );
|
|
||||||
qboolean ( *Alias_Add )( const char *alias, const char *name, const char *parameters );
|
|
||||||
const char *( *Alias_FindRandom )( const char *alias, aliasListNode_t **ret );
|
|
||||||
const char *( *Cvar_GetString )( const char *name, const char *defval );
|
|
||||||
cvar_t *( *Cvar_Find )( const char *var_name );
|
|
||||||
void ( *Cvar_Set )( const char *var_name, const char *value );
|
|
||||||
void ( *Cvar_Reset )( const char *var_name );
|
|
||||||
void ( *Cmd_Stuff )( const char *text );
|
|
||||||
void ( *Sys_Printf )( const char *text, ... );
|
|
||||||
void ( *Sys_Error )( int error, const char *text, ... );
|
|
||||||
void ( *Sys_DPrintf )( const char *text, ... );
|
|
||||||
int ( *Sys_Milliseconds )();
|
|
||||||
int ( *Sys_IsKeyDown )( int key );
|
|
||||||
const char *( *Sys_GetClipboard )( void );
|
|
||||||
void( *Sys_SetClipboard )( const char *foo );
|
|
||||||
const char *( *Cmd_CompleteCommandByNumber )( const char *partial, int number );
|
|
||||||
const char *( *Cvar_CompleteCvarByNumber )( const char *partial, int number );
|
|
||||||
void( *UI_WantsKeyboard )( void );
|
|
||||||
const char *( *Client_TranslateWidgetName )( const char *widget );
|
|
||||||
void( *Connect )( const char *server );
|
|
||||||
const char *( *Key_GetKeynameForCommand )( const char *command );
|
|
||||||
char *( *Key_GetCommandForKey )( int keynum );
|
|
||||||
void ( *Key_SetBinding )( int keynum, const char *binding );
|
|
||||||
void ( *Key_GetKeysForCommand )( const char *command, int *key1, int *key2 );
|
|
||||||
const char *( *Key_KeynumToString )( int keynum );
|
|
||||||
const char *( *GetConfigstring )( int index );
|
|
||||||
void ( *UI_CloseDMConsole )( void );
|
|
||||||
} uiimport_t;
|
|
||||||
|
|
||||||
typedef struct uiexport_s {
|
|
||||||
void ( *AddFileToList ) ( );
|
|
||||||
void ( *ResolutionChange ) ( );
|
|
||||||
void ( *Init ) ( );
|
|
||||||
void ( *Shutdown ) ( );
|
|
||||||
int ( *FontStringWidth ) ( );
|
|
||||||
} uiexport_t;
|
|
||||||
|
|
||||||
typedef struct uidef_s {
|
|
||||||
int time;
|
|
||||||
int vidWidth;
|
|
||||||
int vidHeight;
|
|
||||||
int mouseX;
|
|
||||||
int mouseY;
|
|
||||||
unsigned int mouseFlags;
|
|
||||||
int uiHasMouse;
|
|
||||||
} uidef_t;
|
|
|
@ -1,3 +0,0 @@
|
||||||
#define[ \s]*([A-Za-z_0-9]*)[\s]*(\(.*\)|[0-9xa-f\.\-]*)
|
|
||||||
-> static constexpr unsigned int $1 = $2;
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
== Remove comments from class ==
|
|
||||||
- Find :
|
|
||||||
- Replace : /\* .*? \*/
|
|
||||||
|
|
||||||
== Remove class name from class ==
|
|
||||||
- Find :
|
|
||||||
- Replace : class .+?::
|
|
||||||
|
|
||||||
== Put class name for functions ==
|
|
||||||
- Find : ^.*?
|
|
||||||
- Replace : $0ClassName::
|
|
||||||
|
|
||||||
== Declare functions ==
|
|
||||||
- Find : ;
|
|
||||||
- Replace : \r\n{\r\n\t// FIXME: STUB\r\n}\r\n
|
|
|
@ -1,100 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { INV_MOVE_NONE, INV_MOVE_BOB, INV_MOVE_SPIN } inv_move_type;
|
|
||||||
typedef enum { INV_CASCADE_LEFT, INV_CASCADE_RIGHT } inv_cascade_type;
|
|
||||||
typedef enum { INV_HUDANGLES_BASE, INV_HUDANGLES_COMPASS, INV_HUDANGLES_COMPASS_NEEDLE } inv_hudangles_type;
|
|
||||||
|
|
||||||
typedef struct item_properties_s {
|
|
||||||
Class baseClass;
|
|
||||||
float scale;
|
|
||||||
vec3_t angles;
|
|
||||||
vec3_t angledeltas;
|
|
||||||
vec3_t rotateoffset;
|
|
||||||
vec3_t offset;
|
|
||||||
inv_move_type move;
|
|
||||||
str model;
|
|
||||||
str anim;
|
|
||||||
} item_properties_t;
|
|
||||||
|
|
||||||
typedef struct inventory_item_s {
|
|
||||||
Class baseClass;
|
|
||||||
str name;
|
|
||||||
str ammoname;
|
|
||||||
int equip;
|
|
||||||
int width;
|
|
||||||
int height;
|
|
||||||
int barwidth;
|
|
||||||
int barheight;
|
|
||||||
int baroffsetY;
|
|
||||||
int baroffsetX;
|
|
||||||
float modelWindowX;
|
|
||||||
float modelWindowY;
|
|
||||||
float modelWindowWidth;
|
|
||||||
float modelWindowHeight;
|
|
||||||
char selShaderOnTop;
|
|
||||||
char checkammo;
|
|
||||||
short pad2;
|
|
||||||
str command;
|
|
||||||
inv_hudangles_type anglesType;
|
|
||||||
item_properties_t hudprops;
|
|
||||||
item_properties_t invprops;
|
|
||||||
UIReggedMaterial *bgshader;
|
|
||||||
UIReggedMaterial *barshader;
|
|
||||||
UIReggedMaterial *selshader;
|
|
||||||
} inventory_item_t;
|
|
||||||
|
|
||||||
typedef struct inventory_type_s {
|
|
||||||
str name;
|
|
||||||
bool bg_tile;
|
|
||||||
UIReggedMaterial *texture;
|
|
||||||
UIReggedMaterial *bg;
|
|
||||||
UIReggedMaterial *hoverTexture;
|
|
||||||
UIReggedMaterial *selTexture;
|
|
||||||
Container items;
|
|
||||||
} inventory_type_t;
|
|
||||||
|
|
||||||
typedef struct inventory_s {
|
|
||||||
int typewidth;
|
|
||||||
int typeheight;
|
|
||||||
int horizoffset;
|
|
||||||
int vertoffset;
|
|
||||||
int align;
|
|
||||||
inv_cascade_type cascade;
|
|
||||||
str selectsound;
|
|
||||||
str rejectsound;
|
|
||||||
str changesound;
|
|
||||||
Container types;
|
|
||||||
} inventory_t;
|
|
||||||
|
|
||||||
typedef struct invlistener_s {
|
|
||||||
Listener2 invlistener;
|
|
||||||
inventory_t *inv;
|
|
||||||
inventory_type_t *curtype;
|
|
||||||
inventory_item_t *curitem;
|
|
||||||
int defaultWidth;
|
|
||||||
int defaultHeight;
|
|
||||||
int defaultBarWidth;
|
|
||||||
int defaultBarHeight;
|
|
||||||
int defaultBarOffsetX;
|
|
||||||
int defaultBarOffsetY;
|
|
||||||
} invlistener;
|
|
|
@ -1,43 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { selectsound, rejectsound, changesound } invsound_t;
|
|
||||||
|
|
||||||
typedef struct FakkInventory_s FakkInventory;
|
|
||||||
|
|
||||||
typedef struct FakkItemList_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
inventory_type_t *type;
|
|
||||||
uipopup_describe m_describe[ 10 ];
|
|
||||||
inventory_item_t *m_hoveritem;
|
|
||||||
inventory_item_t *m_lastmenuitem;
|
|
||||||
FakkInventory *m_parent;
|
|
||||||
float m_hovertop;
|
|
||||||
} FakkItemList;
|
|
||||||
|
|
||||||
typedef struct FakkInventory_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
inventory_t *m_inv;
|
|
||||||
SafePtr2_t m_currentlist;
|
|
||||||
inventory_type_t *m_currenttype;
|
|
||||||
int m_currentitemnum;
|
|
||||||
} FakkInventory;
|
|
|
@ -1,63 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct bind_item_s {
|
|
||||||
str name;
|
|
||||||
str command;
|
|
||||||
UIReggedMaterial *nameMaterial;
|
|
||||||
} bind_item_t;
|
|
||||||
|
|
||||||
typedef struct bind_s {
|
|
||||||
int width;
|
|
||||||
int height;
|
|
||||||
int fillwidth;
|
|
||||||
int commandwidth;
|
|
||||||
int commandheight;
|
|
||||||
int primarykeywidth;
|
|
||||||
int primarykeyheight;
|
|
||||||
int alternatekeywidth;
|
|
||||||
int alternatekeyheight;
|
|
||||||
int align;
|
|
||||||
UColor titlebgcolor;
|
|
||||||
UColor titlefgcolor;
|
|
||||||
UColor activefgcolor;
|
|
||||||
UColor activebgcolor;
|
|
||||||
UColor activebordercolor;
|
|
||||||
UColor inactivefgcolor;
|
|
||||||
UColor inactivebgcolor;
|
|
||||||
UColor highlightfgcolor;
|
|
||||||
UColor highlightbgcolor;
|
|
||||||
UColor selectfgcolor;
|
|
||||||
UColor selectbgcolor;
|
|
||||||
str changesound;
|
|
||||||
str activesound;
|
|
||||||
str entersound;
|
|
||||||
str headers[ 3 ];
|
|
||||||
UIReggedMaterial *headermats[ 3 ];
|
|
||||||
UIReggedMaterial *fillmaterial;
|
|
||||||
Container binds;
|
|
||||||
} bind_t;
|
|
||||||
|
|
||||||
typedef struct bindlistener_s {
|
|
||||||
Listener2 baseClass;
|
|
||||||
bind_t *bind;
|
|
||||||
} bindlistener;
|
|
|
@ -1,37 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { box_moving_out, box_moving_in, box_out, box_in } boxstate_t;
|
|
||||||
|
|
||||||
typedef struct UIDMBox_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
item_t m_items[ 10 ];
|
|
||||||
int m_numitems;
|
|
||||||
bool m_reallyshown;
|
|
||||||
UIFont *m_fontbold;
|
|
||||||
bool m_boxmovingout;
|
|
||||||
boxstate_t m_boxstate;
|
|
||||||
int m_boxtime;
|
|
||||||
int m_movespeed;
|
|
||||||
int m_iBeginDecay;
|
|
||||||
int m_iEndDecay;
|
|
||||||
} UIDMBox;
|
|
|
@ -1,30 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct FilePickerClass_s {
|
|
||||||
USignal parentClass;
|
|
||||||
UIFloatingWindow *window;
|
|
||||||
UIListCtrl *listbox;
|
|
||||||
str currentDirectory;
|
|
||||||
str rootDirectory;
|
|
||||||
str extension;
|
|
||||||
} FilePickerClass;
|
|
|
@ -1,35 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIGMBox_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
item_t m_items[ 5 ];
|
|
||||||
int m_numitems;
|
|
||||||
bool m_reallyshown;
|
|
||||||
class UIFont *m_fontbold;
|
|
||||||
bool m_boxmovingout;
|
|
||||||
boxstate_t m_boxstate;
|
|
||||||
int m_boxtime;
|
|
||||||
int m_movespeed;
|
|
||||||
int m_iBeginDecay;
|
|
||||||
int m_iEndDecay;
|
|
||||||
} UIGMBox;
|
|
|
@ -1,27 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UILANGameClass_s {
|
|
||||||
UIListCtrl baseClass;
|
|
||||||
int m_iLastUpdateTime;
|
|
||||||
UIReggedMaterial *m_noservers_mat;
|
|
||||||
} UILANGameClass;
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIFAKKLoadGameClass_s {
|
|
||||||
UIListCtrl baseClass;
|
|
||||||
bool m_bRemovePending;
|
|
||||||
} UIFAKKLoadGameClass;
|
|
|
@ -1,39 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct MapRunnerClass_s {
|
|
||||||
FilePickerClass baseClass;
|
|
||||||
} MapRunnerClass;
|
|
||||||
|
|
||||||
typedef struct ViewSpawnerClass_s {
|
|
||||||
FilePickerClass baseClass;
|
|
||||||
} ViewSpawnerClass;
|
|
||||||
|
|
||||||
typedef struct LODSpawnerClasss_s {
|
|
||||||
FilePickerClass baseClass;
|
|
||||||
} LODSpawnerClass;
|
|
||||||
|
|
||||||
typedef struct UIPickFileClass_s {
|
|
||||||
FilePickerClass baseClass;
|
|
||||||
Listener *retobj;
|
|
||||||
Event *retevent;
|
|
||||||
} UIPickFileClass;
|
|
|
@ -1,32 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct FakkMiniconsole_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
Container m_lines;
|
|
||||||
int m_maxlines;
|
|
||||||
bool m_reallyshown;
|
|
||||||
bool m_boxmovingout;
|
|
||||||
boxstate_t m_boxstate;
|
|
||||||
int m_boxtime;
|
|
||||||
int m_movespeed;
|
|
||||||
} FakkMiniconsole;
|
|
|
@ -1,28 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct MpMapPickerClass_s {
|
|
||||||
UIFloatingWindow *window;
|
|
||||||
UIListCtrl *listbox;
|
|
||||||
str currentDirectory;
|
|
||||||
str rootDirectory;
|
|
||||||
} MpMapPickerClass;
|
|
|
@ -1,29 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct PlayerModelPickerClass_s {
|
|
||||||
UIFloatingWindow *window;
|
|
||||||
UIListCtrl *listbox;
|
|
||||||
str currentDirectory;
|
|
||||||
str rootDirectory;
|
|
||||||
qboolean m_bGermanModels;
|
|
||||||
} PlayerModelPickerClass;
|
|
|
@ -1,30 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIFAKKServerList_s {
|
|
||||||
UIListCtrl baseClass;
|
|
||||||
void *m_serverList;
|
|
||||||
char m_bHasList;
|
|
||||||
char m_bLANListing;
|
|
||||||
char m_bGettingList;
|
|
||||||
char m_bUpdatingList;
|
|
||||||
} UIFAKKServerList;
|
|
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct SoundPickerClass_s {
|
|
||||||
FilePickerClass parentClass;
|
|
||||||
} SoundPickerClass;
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
L_STATBAR_NONE,
|
|
||||||
L_STATBAR_HORIZONTAL,
|
|
||||||
L_STATBAR_VERTICAL,
|
|
||||||
L_STATBAR_VERTICAL_REVERSE,
|
|
||||||
L_STATBAR_VERTICAL_STAGGER_EVEN,
|
|
||||||
L_STATBAR_VERTICAL_STAGGER_ODD,
|
|
||||||
L_STATBAR_CIRCULAR,
|
|
||||||
L_STATBAR_NEEDLE,
|
|
||||||
L_STATBAR_ROTATOR,
|
|
||||||
L_STATBAR_COMPASS,
|
|
||||||
L_STATBAR_SPINNER,
|
|
||||||
L_STATBAR_HEADING_SPINNER
|
|
||||||
} statbar_orientation_t;
|
|
||||||
|
|
||||||
typedef struct UIFakkLabel_s {
|
|
||||||
UILabel baseClass;
|
|
||||||
SafePtr2_t m_lastitem;
|
|
||||||
int m_lastitemindex;
|
|
||||||
int m_stat;
|
|
||||||
int m_stat_configstring;
|
|
||||||
int m_maxstat;
|
|
||||||
int m_itemindex;
|
|
||||||
int m_inventoryrendermodelindex;
|
|
||||||
str m_sDrawModelName;
|
|
||||||
qboolean m_rendermodel;
|
|
||||||
statbar_orientation_t m_statbar_or;
|
|
||||||
float m_statbar_min;
|
|
||||||
float m_statbar_max;
|
|
||||||
float m_lastfrac;
|
|
||||||
float m_flashtime;
|
|
||||||
vec3_t m_offset;
|
|
||||||
vec3_t m_rotateoffset;
|
|
||||||
vec3_t m_angles;
|
|
||||||
float m_scale;
|
|
||||||
str m_anim;
|
|
||||||
UIReggedMaterial *m_statbar_material;
|
|
||||||
UIReggedMaterial *m_statbar_material_flash;
|
|
||||||
} UIFakkLabel;
|
|
|
@ -1,37 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct View3D_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
float m_printfadetime;
|
|
||||||
float m_printalpha;
|
|
||||||
str m_printstring;
|
|
||||||
UIReggedMaterial *m_print_mat;
|
|
||||||
qboolean m_locationprint;
|
|
||||||
int m_x_coord;
|
|
||||||
int m_y_coord;
|
|
||||||
qboolean m_letterbox_active;
|
|
||||||
} View3D;
|
|
||||||
|
|
||||||
typedef struct ConsoleView_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
} ConsoleView;
|
|
|
@ -1,32 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __EDITFIELD_H__
|
|
||||||
#define __EDITFIELD_H__
|
|
||||||
|
|
||||||
typedef struct EditField_s {
|
|
||||||
char m_buffer[ 256 ];
|
|
||||||
int m_cursor;
|
|
||||||
} EditField;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UColor_s {
|
|
||||||
float r;
|
|
||||||
float g;
|
|
||||||
float b;
|
|
||||||
float a;
|
|
||||||
} UColor;
|
|
||||||
|
|
||||||
typedef struct UColorHSV_s {
|
|
||||||
float h;
|
|
||||||
float s;
|
|
||||||
float v;
|
|
||||||
float a;
|
|
||||||
} UColorHSV;
|
|
||||||
|
|
||||||
typedef enum { DARK, REALLYDARK, LIGHT, NORMAL } colorType_t;
|
|
||||||
|
|
||||||
typedef struct UBorderColor_s {
|
|
||||||
UColor dark;
|
|
||||||
UColor reallydark;
|
|
||||||
UColor light;
|
|
||||||
UColor original;
|
|
||||||
} UBorderColor;
|
|
|
@ -1,34 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIBindButton_s {
|
|
||||||
UIButton baseClass;
|
|
||||||
str m_bindcommand;
|
|
||||||
int m_bindindex;
|
|
||||||
qboolean m_getkey;
|
|
||||||
qboolean m_alternate;
|
|
||||||
str m_entersound;
|
|
||||||
str m_activesound;
|
|
||||||
str m_last_keyname;
|
|
||||||
UIReggedMaterial *m_mat;
|
|
||||||
} UIBindButton;
|
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIFakkBindList_s {
|
|
||||||
UIWidget baseWidget;
|
|
||||||
bool m_created;
|
|
||||||
UIVertScroll *m_scroll;
|
|
||||||
UIReggedMaterial *m_presskey_mat;
|
|
||||||
UILabel *m_presskey_wid;
|
|
||||||
Container_t m_widgetlist;
|
|
||||||
Container_t m_miscwidgets;
|
|
||||||
int m_activerow;
|
|
||||||
int m_activeitem;
|
|
||||||
bind_t *m_bind;
|
|
||||||
} UIFakkBindList;
|
|
||||||
|
|
||||||
typedef struct UIFakkBindListLabel_s {
|
|
||||||
UILabel baseClass;
|
|
||||||
UIFakkBindList *m_list;
|
|
||||||
} UIFakkBindListLabel;
|
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIButtonBase_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
mouseState_t m_mouseState;
|
|
||||||
str m_hoverSound;
|
|
||||||
str m_hoverCommand;
|
|
||||||
} UIButtonBase;
|
|
||||||
|
|
||||||
typedef struct UIButton_s {
|
|
||||||
UIButtonBase baseClass;
|
|
||||||
} UIButton;
|
|
||||||
|
|
||||||
typedef struct ToggleCVar_s {
|
|
||||||
USignal baseClass;
|
|
||||||
str m_cvarname;
|
|
||||||
UIButton *m_button;
|
|
||||||
} ToggleCVar;
|
|
||||||
|
|
||||||
typedef struct ExecCmd_s {
|
|
||||||
USignal baseClass;
|
|
||||||
UIButton *m_button;
|
|
||||||
str m_cmd;
|
|
||||||
} ExecCmd;
|
|
|
@ -1,33 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UICheckBox_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
str m_checked_command;
|
|
||||||
str m_unchecked_command;
|
|
||||||
UIReggedMaterial *m_checked_material;
|
|
||||||
UIReggedMaterial *m_unchecked_material;
|
|
||||||
bool m_checked;
|
|
||||||
bool m_depressed;
|
|
||||||
float m_check_width;
|
|
||||||
float m_check_height;
|
|
||||||
} UICheckBox;
|
|
|
@ -1,74 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef void ( *consoleHandler_t )( const char *text );
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
str string;
|
|
||||||
int lines;
|
|
||||||
int begins[ 10 ];
|
|
||||||
int breaks[ 10 ];
|
|
||||||
UColor *pColor;
|
|
||||||
} item;
|
|
||||||
|
|
||||||
typedef struct UIConsole_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
UList_str_ m_history;
|
|
||||||
void *m_historyposition;
|
|
||||||
item m_items[ 300 ];
|
|
||||||
str m_currentline;
|
|
||||||
UIVertScroll *m_scroll;
|
|
||||||
int m_firstitem;
|
|
||||||
int m_numitems;
|
|
||||||
int m_caret;
|
|
||||||
str m_completionbuffer;
|
|
||||||
bool m_refreshcompletionbuffer;
|
|
||||||
int m_cntcmdnumber;
|
|
||||||
int m_cntcvarnumber;
|
|
||||||
consoleHandler_t m_consolehandler;
|
|
||||||
} UIConsole;
|
|
||||||
|
|
||||||
typedef struct UIFloatingConsole_s {
|
|
||||||
UIFloatingWindow baseClass;
|
|
||||||
UIStatusBar *m_status;
|
|
||||||
SafePtr2_t m_console;
|
|
||||||
consoleHandler_t m_handler;
|
|
||||||
UColor m_consoleColor;
|
|
||||||
UColor m_consoleBackground;
|
|
||||||
float m_consoleAlpha;
|
|
||||||
} UIFloatingConsole;
|
|
||||||
|
|
||||||
typedef struct UIDMConsole_s {
|
|
||||||
UIConsole baseClass;
|
|
||||||
qboolean m_bQuickMessageMode;
|
|
||||||
int m_iMessageMode;
|
|
||||||
} UIDMConsole;
|
|
||||||
|
|
||||||
typedef struct UIFloatingDMConsole_s {
|
|
||||||
UIFloatingWindow baseClass;
|
|
||||||
UIStatusBar *m_status;
|
|
||||||
SafePtr2_t m_console;
|
|
||||||
consoleHandler_t m_handler;
|
|
||||||
UColor m_consoleColor;
|
|
||||||
UColor m_consoleBackground;
|
|
||||||
float m_consoleAlpha;
|
|
||||||
} UIFloatingDMConsole;
|
|
|
@ -1,28 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIDialog_s {
|
|
||||||
UIFloatingWindow baseClass;
|
|
||||||
UILabel *m_label;
|
|
||||||
UIButton *m_ok;
|
|
||||||
UIButton *m_cancel;
|
|
||||||
} UIDialog;
|
|
|
@ -1,27 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIField_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
EditField m_edit;
|
|
||||||
int m_iPreStep;
|
|
||||||
} UIField;
|
|
|
@ -1,40 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIChildSpaceWidget_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
} UIChildSpaceWidget;
|
|
||||||
|
|
||||||
typedef struct UIFloatingWindow_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
UIPoint2D m_clickOffset;
|
|
||||||
bool m_isPressed;
|
|
||||||
UColor m_titleColor;
|
|
||||||
UColor m_textColor;
|
|
||||||
UIChildSpaceWidget *m_childspace;
|
|
||||||
bool m_minimized;
|
|
||||||
float m_restoredHeight;
|
|
||||||
UIPoint2D m_clickpoint;
|
|
||||||
int m_clicktime;
|
|
||||||
UIButton *m_closeButton;
|
|
||||||
UIButton *m_minimizeButton;
|
|
||||||
} UIFloatingWindow;
|
|
|
@ -1,30 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { FONT_JUSTHORZ_CENTER, FONT_JUSTHORZ_LEFT, FONT_JUSTHORZ_RIGHT } fonthorzjustify_t;
|
|
||||||
typedef enum { FONT_JUSTVERT_TOP, FONT_JUSTVERT_CENTER, FONT_JUSTVERT_BOTTOM } fontvertjustify_t;
|
|
||||||
|
|
||||||
typedef struct UIFont_s {
|
|
||||||
unsigned int m_listbase;
|
|
||||||
UColor color;
|
|
||||||
fontheader_t *m_font;
|
|
||||||
} UIFont;
|
|
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIGlobalGameList_s {
|
|
||||||
UILanGameList baseClass;
|
|
||||||
} UIGlobalGameList;
|
|
|
@ -1,42 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { VS_NONE, VS_UP_ARROW, VS_DOWN_ARROW, VS_THUMB, VS_PAGE_DOWN, VS_PAGE_UP } whatspressed;
|
|
||||||
|
|
||||||
typedef struct UIHorizScroll_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
int m_numitems;
|
|
||||||
int m_pagewidth;
|
|
||||||
int m_topitem;
|
|
||||||
UIFont m_marlett;
|
|
||||||
whatspressed m_pressed;
|
|
||||||
UIRect2D thumbRect;
|
|
||||||
|
|
||||||
struct {
|
|
||||||
int itemOffset;
|
|
||||||
int orgItem;
|
|
||||||
} m_dragThumbState;
|
|
||||||
|
|
||||||
bool m_frameinitted;
|
|
||||||
UColor m_thumbcolor;
|
|
||||||
UColor m_solidbordercolor;
|
|
||||||
} UIHorizScroll;
|
|
|
@ -1,34 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
str value;
|
|
||||||
str string;
|
|
||||||
} linkstring;
|
|
||||||
|
|
||||||
typedef struct UILabel_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
str label;
|
|
||||||
Container m_linkstrings;
|
|
||||||
qboolean m_bLinkCvarToShader;
|
|
||||||
str m_sCurrentShaderName;
|
|
||||||
} UILabel;
|
|
|
@ -1,47 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UILanGameList_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
bool m_created;
|
|
||||||
UIVertScroll *m_Vscroll;
|
|
||||||
UIHorizScroll *m_Hscroll;
|
|
||||||
UIReggedMaterial *m_noservers_mat;
|
|
||||||
UILabel *m_noservers_wid;
|
|
||||||
UIReggedMaterial *m_fill_mat;
|
|
||||||
Container m_widgetlist;
|
|
||||||
Container m_titlewidgets;
|
|
||||||
Container m_miscwidgets;
|
|
||||||
int m_activerow;
|
|
||||||
int m_activeitem;
|
|
||||||
Container m_servers;
|
|
||||||
int m_iNumColumns;
|
|
||||||
int m_iPrevNumServers;
|
|
||||||
int m_iCurrNumServers;
|
|
||||||
float m_fCurColumnWidth;
|
|
||||||
} UILanGameList;
|
|
||||||
|
|
||||||
typedef struct UILanGameListLabel_s {
|
|
||||||
UILabel baseClass;
|
|
||||||
int m_iLastPressedTime;
|
|
||||||
UILanGameList *m_list;
|
|
||||||
} UILanGameListLabel;
|
|
|
@ -1,31 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UILayout_s {
|
|
||||||
Listener2 baseClass;
|
|
||||||
str m_filename;
|
|
||||||
Script *m_script;
|
|
||||||
Stack m_scriptstack;
|
|
||||||
UIWidgetContainer *m_currentcontainer;
|
|
||||||
UIWidget *m_currentwidget;
|
|
||||||
bool m_bLoaded;
|
|
||||||
} UILayout;
|
|
|
@ -1,47 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
str itemname;
|
|
||||||
str itemalias;
|
|
||||||
} UIListItem;
|
|
||||||
|
|
||||||
typedef struct UIList_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
Container m_itemlist;
|
|
||||||
int m_currentItem;
|
|
||||||
float m_arrow_width;
|
|
||||||
UIRect2D *m_next_arrow_region;
|
|
||||||
UIRect2D *m_prev_arrow_region;
|
|
||||||
char m_depressed;
|
|
||||||
char m_held;
|
|
||||||
short pad1;
|
|
||||||
UIReggedMaterial *m_prev_arrow;
|
|
||||||
UIReggedMaterial *m_next_arrow;
|
|
||||||
char m_prev_arrow_depressed;
|
|
||||||
char m_next_arrow_depressed;
|
|
||||||
short pad2;
|
|
||||||
} UIList;
|
|
||||||
|
|
||||||
typedef struct UIListIndex_s {
|
|
||||||
UIList baseClass;
|
|
||||||
} UIListIndex;
|
|
|
@ -1,45 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIListBase_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
int m_currentItem;
|
|
||||||
UIVertScroll *m_vertscroll;
|
|
||||||
qboolean m_bUseVertScroll;
|
|
||||||
} UIListBase;
|
|
||||||
|
|
||||||
typedef struct ListItem_s {
|
|
||||||
Class_t baseClass;
|
|
||||||
str string;
|
|
||||||
str command;
|
|
||||||
int index;
|
|
||||||
} ListItem;
|
|
||||||
|
|
||||||
typedef struct UIListBox_s {
|
|
||||||
UIListBase baseClass;
|
|
||||||
Container m_itemlist;
|
|
||||||
struct {
|
|
||||||
int time;
|
|
||||||
int selected;
|
|
||||||
UIPoint2D point;
|
|
||||||
} m_clickState;
|
|
||||||
} UIListBox;
|
|
|
@ -1,58 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { TYPE_STRING, TYPE_OWNERDRAW } griditemtype_t;
|
|
||||||
|
|
||||||
typedef struct UIListCtrlItem_s {
|
|
||||||
void *_vptr;
|
|
||||||
} UIListCtrlItem;
|
|
||||||
|
|
||||||
typedef struct m_clickState_s {
|
|
||||||
int time;
|
|
||||||
int selected;
|
|
||||||
UIPoint2D point;
|
|
||||||
} m_clickState_t;
|
|
||||||
|
|
||||||
typedef struct UIListCtrl_s {
|
|
||||||
UIListBase baseClass;
|
|
||||||
struct columndef_t {
|
|
||||||
str title;
|
|
||||||
int name;
|
|
||||||
int width;
|
|
||||||
bool numeric;
|
|
||||||
bool reverse_sort;
|
|
||||||
};
|
|
||||||
|
|
||||||
int m_iLastSortColumn;
|
|
||||||
UIFont *m_headerfont;
|
|
||||||
Container m_itemlist;
|
|
||||||
Container m_columnlist;
|
|
||||||
|
|
||||||
qboolean m_bDrawHeader;
|
|
||||||
struct {
|
|
||||||
int column;
|
|
||||||
int min;
|
|
||||||
} m_sizestate;
|
|
||||||
m_clickState_s m_clickState;
|
|
||||||
|
|
||||||
int( *m_comparefunction ) ();
|
|
||||||
} UIListCtrl;
|
|
|
@ -1,39 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct Menus_s {
|
|
||||||
Listener2 baseClass;
|
|
||||||
qboolean m_fullscreen;
|
|
||||||
int m_vidmode;
|
|
||||||
|
|
||||||
Container_t m_itemlist;
|
|
||||||
str m_name;
|
|
||||||
} Menu;
|
|
||||||
|
|
||||||
typedef struct MenuManager_s {
|
|
||||||
Listener2 baseClass;
|
|
||||||
Container m_menulist;
|
|
||||||
Stack m_showmenustack;
|
|
||||||
Stack m_menustack;
|
|
||||||
bool m_lock;
|
|
||||||
} MenuManager;
|
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct selectionpoint_s {
|
|
||||||
int line;
|
|
||||||
int column;
|
|
||||||
} selectionpoint_t;
|
|
||||||
|
|
||||||
typedef struct selection_s {
|
|
||||||
selectionpoint_s begin;
|
|
||||||
selectionpoint_s end;
|
|
||||||
} selection_t;
|
|
||||||
|
|
||||||
typedef struct dragState_s {
|
|
||||||
UIPoint2D lastPos;
|
|
||||||
} dragState_t;
|
|
||||||
|
|
||||||
typedef struct UIMultiLineEdit_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
selection_s m_selection;
|
|
||||||
dragState_s m_dragState;
|
|
||||||
UList_str_ m_lines;
|
|
||||||
UIVertScroll *m_vertscroll;
|
|
||||||
mouseState_t m_mouseState;
|
|
||||||
char m_shiftForcedDown;
|
|
||||||
char m_edit;
|
|
||||||
char m_changed;
|
|
||||||
char pad1;
|
|
||||||
} UIMultiLineEdit;
|
|
|
@ -1,58 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UINotepad_s UINotepad;
|
|
||||||
|
|
||||||
typedef struct UINotepadEdit_s {
|
|
||||||
UIMultiLineEdit baseClass;
|
|
||||||
UINotepad *m_notepad;
|
|
||||||
} UINotepadEdit;
|
|
||||||
|
|
||||||
typedef enum { STATE_NONE, STATE_GOTO_LINE, STATE_FIND_TEXT, STATE_SAVE_AS, STATE_TIMED_MESSAGE, STATE_CONFIRMCLOSE } state_t;
|
|
||||||
|
|
||||||
typedef struct textinput_s {
|
|
||||||
str text;
|
|
||||||
} textinput_t;
|
|
||||||
|
|
||||||
typedef struct timedmessage_s {
|
|
||||||
int die;
|
|
||||||
str text;
|
|
||||||
} timedmessage_t;
|
|
||||||
|
|
||||||
typedef struct ctrlevent_s {
|
|
||||||
char ch;
|
|
||||||
Event *ev;
|
|
||||||
} ctrlevent_t;
|
|
||||||
|
|
||||||
typedef struct UINotepad_s {
|
|
||||||
UIFloatingWindow baseClass;
|
|
||||||
Container_t m_popups;
|
|
||||||
|
|
||||||
state_t m_state;
|
|
||||||
textinput_s m_textinput;
|
|
||||||
timedmessage_s m_timedmessage;
|
|
||||||
str m_lastfind;
|
|
||||||
str m_filename;
|
|
||||||
UINotepadEdit *m_edit;
|
|
||||||
UIStatusBar *m_status;
|
|
||||||
UIPulldownMenu *m_menu;
|
|
||||||
} UINotepad;
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIPoint2D_s {
|
|
||||||
float x;
|
|
||||||
float y;
|
|
||||||
} UIPoint2D;
|
|
|
@ -1,46 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { UIP_NONE, UIP_EVENT, UIP_EVENT_STRING, UIP_SUBMENU, UIP_CMD, UIP_CVAR, UIP_SEPARATOR } uipopup_type;
|
|
||||||
typedef enum { UIP_WHERE_RIGHT, UIP_WHERE_DOWN } uipopup_where;
|
|
||||||
|
|
||||||
typedef struct uipopup_describe_s {
|
|
||||||
str title;
|
|
||||||
UIReggedMaterial *material;
|
|
||||||
uipopup_type type;
|
|
||||||
void *data;
|
|
||||||
} uipopup_describe;
|
|
||||||
|
|
||||||
typedef struct UIPopupMenu_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
Container *m_describe;
|
|
||||||
int m_selected;
|
|
||||||
Listener_t *m_listener;
|
|
||||||
struct UIPopupMenu_s *m_parentMenu;
|
|
||||||
struct UIPopupMenu_s *m_submenuptr;
|
|
||||||
int m_submenu;
|
|
||||||
UIFont m_marlett;
|
|
||||||
bool m_autodismiss;
|
|
||||||
UColor m_highlightFGColor;
|
|
||||||
UColor m_highlightBGColor;
|
|
||||||
} UIPopupMenu;
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct uipull_describe_s {
|
|
||||||
str title;
|
|
||||||
UColor highlightFGColor;
|
|
||||||
UColor highlightBGColor;
|
|
||||||
UColor FGColor;
|
|
||||||
UColor BGColor;
|
|
||||||
UIReggedMaterial *material;
|
|
||||||
UIReggedMaterial *selected_material;
|
|
||||||
Container desc;
|
|
||||||
} uipull_describe;
|
|
||||||
|
|
||||||
typedef struct UIPulldownMenu_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
Container m_desc;
|
|
||||||
Listener_t *m_listener;
|
|
||||||
int m_submenu;
|
|
||||||
UIPopupMenu *m_submenuptr;
|
|
||||||
UColor m_highlightBGColor;
|
|
||||||
UColor m_highlightFGColor;
|
|
||||||
} UIPulldownMenu;
|
|
|
@ -1,28 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIPulldownMenuContainer_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
Container m_popups;
|
|
||||||
Container m_dataContainer;
|
|
||||||
UIPulldownMenu *m_menu;
|
|
||||||
} UIPulldownMenuContainer;
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UIRect2D_s {
|
|
||||||
UIPoint2D pos;
|
|
||||||
UISize2D size;
|
|
||||||
} UIRect2D;
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UISize2D_s {
|
|
||||||
float width;
|
|
||||||
float height;
|
|
||||||
} UISize2D;
|
|
|
@ -1,51 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { SLIDER_FLOAT, SLIDER_INTEGER } slidertype_t;
|
|
||||||
|
|
||||||
typedef struct UISlider_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
bool m_initialized;
|
|
||||||
float m_minvalue;
|
|
||||||
float m_maxvalue;
|
|
||||||
int m_minx;
|
|
||||||
int m_maxx;
|
|
||||||
int m_arrow_width;
|
|
||||||
float m_value;
|
|
||||||
float m_oldvalue;
|
|
||||||
float m_sliderwidth;
|
|
||||||
UIRect2D m_sliderregion;
|
|
||||||
UIRect2D m_prev_arrow_region;
|
|
||||||
UIRect2D m_next_arrow_region;
|
|
||||||
slidertype_t m_slidertype;
|
|
||||||
float m_stepsize;
|
|
||||||
bool m_prev_arrow_depressed;
|
|
||||||
bool m_next_arrow_depressed;
|
|
||||||
bool m_thumb_depressed;
|
|
||||||
UIReggedMaterial *m_bar_material;
|
|
||||||
UIReggedMaterial *m_prev_arrow_material;
|
|
||||||
UIReggedMaterial *m_next_arrow_material;
|
|
||||||
UIReggedMaterial *m_thumbmaterial;
|
|
||||||
UIReggedMaterial *m_prev_arrow_material_pressed;
|
|
||||||
UIReggedMaterial *m_next_arrow_material_pressed;
|
|
||||||
UIReggedMaterial *m_thumbmaterial_pressed;
|
|
||||||
} UISlider;
|
|
|
@ -1,44 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { M_NONE, M_DRAGGING } mouseState_t;
|
|
||||||
|
|
||||||
typedef struct UIWindowSizer_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
UIWidget *m_draggingwidget;
|
|
||||||
mouseState_t m_mouseState;
|
|
||||||
UIPoint2D m_screenDragPoint;
|
|
||||||
} UIWindowSizer;
|
|
||||||
|
|
||||||
typedef enum { WND_ALIGN_NONE, WND_ALIGN_BOTTOM } alignment_t;
|
|
||||||
|
|
||||||
typedef struct align_s {
|
|
||||||
float dist;
|
|
||||||
alignment_t alignment;
|
|
||||||
} align_t;
|
|
||||||
|
|
||||||
typedef struct UIStatusBar_s {
|
|
||||||
align_t m_align;
|
|
||||||
UIWidget *m_sizeenabled;
|
|
||||||
bool m_created;
|
|
||||||
UIWindowSizer *m_sizer;
|
|
||||||
} UIStatusBar;
|
|
|
@ -1,40 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum { VS_NONE, VS_UP_ARROW, VS_DOWN_ARROW, VS_THUMB, VS_PAGE_DOWN, VS_PAGE_UP } whatspressed;
|
|
||||||
|
|
||||||
typedef struct UIVertScroll_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
int m_numitems;
|
|
||||||
int m_pageheight;
|
|
||||||
int m_topitem;
|
|
||||||
UIFont m_marlett;
|
|
||||||
whatspressed m_pressed;
|
|
||||||
UIRect2D thumbRect;
|
|
||||||
struct {
|
|
||||||
int itemOffset;
|
|
||||||
int orgItem;
|
|
||||||
} m_dragThumbState;
|
|
||||||
bool m_frameinitted;
|
|
||||||
UColor m_thumbcolor;
|
|
||||||
UColor m_solidbordercolor;
|
|
||||||
} UIVertScroll;
|
|
|
@ -1,107 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct item_s {
|
|
||||||
|
|
||||||
} item_t;
|
|
||||||
|
|
||||||
typedef struct UIReggedMaterial_s {
|
|
||||||
uihandle_t hMat;
|
|
||||||
str name;
|
|
||||||
char isSet;
|
|
||||||
char isGot;
|
|
||||||
} UIReggedMaterial;
|
|
||||||
|
|
||||||
typedef struct UIReggedMaterial_s UIReggedMaterial;
|
|
||||||
typedef enum { border_none, border_3D, border_indent, border_outline } borderstyle_t;
|
|
||||||
typedef enum { D_NONE, D_FROM_LEFT, D_FROM_RIGHT, D_FROM_BOTTOM, D_FROM_TOP } direction_t;
|
|
||||||
typedef enum { MOTION_IN, MOTION_OUT } motion_t;
|
|
||||||
|
|
||||||
typedef struct UIWidget_s {
|
|
||||||
USignal baseClass;
|
|
||||||
UIRect2D m_frame;
|
|
||||||
float m_vVirtualScale[ 2 ];
|
|
||||||
UIPoint2D m_startingpos;
|
|
||||||
UIPoint2D m_origin;
|
|
||||||
UIRect2D m_screenframe;
|
|
||||||
UIPoint2D m_screenorigin;
|
|
||||||
UIRect2D m_clippedframe;
|
|
||||||
UIPoint2D m_clippedorigin;
|
|
||||||
UColor m_background_color;
|
|
||||||
UColor m_foreground_color;
|
|
||||||
UBorderColor m_border_color;
|
|
||||||
borderstyle_t m_borderStyle;
|
|
||||||
char m_visible;
|
|
||||||
char m_enabled;
|
|
||||||
short pad1;
|
|
||||||
UIFont *m_font;
|
|
||||||
struct UIWidget_s *m_parent;
|
|
||||||
Container_t m_children;
|
|
||||||
str m_name;
|
|
||||||
int m_canactivate;
|
|
||||||
str m_cvarname;
|
|
||||||
str m_cvarvalue;
|
|
||||||
str m_command;
|
|
||||||
Container_t m_showcommands;
|
|
||||||
Container_t m_hidecommands;
|
|
||||||
str m_title;
|
|
||||||
float m_indent;
|
|
||||||
float m_bottomindent;
|
|
||||||
UIReggedMaterial *m_material;
|
|
||||||
UIReggedMaterial *m_hovermaterial;
|
|
||||||
UIReggedMaterial *m_pressedmaterial;
|
|
||||||
char m_hovermaterial_active;
|
|
||||||
char m_pressedmaterial_active;
|
|
||||||
short pad2;
|
|
||||||
direction_t m_direction;
|
|
||||||
direction_t m_direction_orig;
|
|
||||||
motion_t m_motiontype;
|
|
||||||
float m_starttime;
|
|
||||||
float m_fadetime;
|
|
||||||
float m_alpha;
|
|
||||||
float m_local_alpha;
|
|
||||||
float m_motiontime;
|
|
||||||
str m_stopsound;
|
|
||||||
str m_clicksound;
|
|
||||||
int m_align;
|
|
||||||
int m_flags;
|
|
||||||
int m_dying;
|
|
||||||
int m_ordernum;
|
|
||||||
int m_configstring_index;
|
|
||||||
fonthorzjustify_t m_iFontAlignmentHorizontal;
|
|
||||||
fontvertjustify_t m_iFontAlignmentVertical;
|
|
||||||
qboolean m_bVirtual;
|
|
||||||
str m_enabledCvar;
|
|
||||||
void *m_commandhandler;
|
|
||||||
} UIWidget;
|
|
||||||
|
|
||||||
typedef struct UILayout_s UILayout;
|
|
||||||
|
|
||||||
typedef struct UIWidgetContainer_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
UColor m_bgfill;
|
|
||||||
qboolean m_fullscreen;
|
|
||||||
int m_vidmode;
|
|
||||||
int m_currentwidnum;
|
|
||||||
int m_maxordernum;
|
|
||||||
UILayout *m_layout;
|
|
||||||
} UIWidgetContainer;
|
|
|
@ -1,44 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct Binding_s {
|
|
||||||
str binding;
|
|
||||||
int key1;
|
|
||||||
int key2;
|
|
||||||
} Binding;
|
|
||||||
|
|
||||||
typedef struct UIWindowManager_s {
|
|
||||||
UIWidget baseClass;
|
|
||||||
unsigned int m_lastbuttons;
|
|
||||||
UIPoint2D m_oldpos;
|
|
||||||
SafePtr2_t m_oldview;
|
|
||||||
SafePtr2_t m_firstResponder;
|
|
||||||
UIWidget *m_activeControl;
|
|
||||||
UIWidget *m_backgroundwidget;
|
|
||||||
UIReggedMaterial *m_cursor;
|
|
||||||
str m_cursorname;
|
|
||||||
bool m_showcursor;
|
|
||||||
Container_t m_materiallist;
|
|
||||||
bool m_amidead;
|
|
||||||
UIWidget *m_bindactive;
|
|
||||||
Container_t bindings;
|
|
||||||
} UIWindowManager;
|
|
|
@ -1,33 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UListItem_str__s {
|
|
||||||
str item;
|
|
||||||
struct UListItem_str__s *next;
|
|
||||||
struct UListItem_str__s *prev;
|
|
||||||
} UListItem_str_;
|
|
||||||
|
|
||||||
typedef struct UList_str__s {
|
|
||||||
UListItem_str_ m_top;
|
|
||||||
UListItem_str_ *m_at;
|
|
||||||
int m_count;
|
|
||||||
} UList_str_;
|
|
|
@ -1,33 +0,0 @@
|
||||||
/*
|
|
||||||
===========================================================================
|
|
||||||
Copyright (C) 2015 the OpenMoHAA team
|
|
||||||
|
|
||||||
This file is part of OpenMoHAA source code.
|
|
||||||
|
|
||||||
OpenMoHAA source code is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
OpenMoHAA source code is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with OpenMoHAA source code; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
===========================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct UConnection_s {
|
|
||||||
Event m_inevent;
|
|
||||||
Event m_outevent;
|
|
||||||
Container_t m_listeners;
|
|
||||||
Container_t m_events;
|
|
||||||
} UConnection;
|
|
||||||
|
|
||||||
typedef struct USignal_s {
|
|
||||||
Listener2 baseClass;
|
|
||||||
Container m_connections;
|
|
||||||
} USignal;
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
|
@ -1,68 +0,0 @@
|
||||||
m_State = -1;
|
|
||||||
m_State = 0; wait
|
|
||||||
m_State = 1; papers
|
|
||||||
m_State = 2; accept
|
|
||||||
m_State = 3; enemy
|
|
||||||
m_State = 4; halt
|
|
||||||
m_State = 5; deny
|
|
||||||
m_State = 20; Dog_Attack
|
|
||||||
m_State = 100; turret_combat
|
|
||||||
m_State = 101; turret_reaquire
|
|
||||||
m_State = 102; turret_takesnipernode
|
|
||||||
m_State = 103; turret_snipernode
|
|
||||||
m_State = 104; turret_runhome
|
|
||||||
m_State = 105; turret_runaway
|
|
||||||
m_State = 106; turret_charge
|
|
||||||
m_State = 107; turret_grenade
|
|
||||||
m_State = 108; turret_intro_anim
|
|
||||||
m_State = 109; turret_fakeenemy
|
|
||||||
m_State = 110; turret_coverinstead
|
|
||||||
m_State = 111; turret_becomecover
|
|
||||||
m_State = 112; turret_wait
|
|
||||||
m_State = 113; turret_retarget_sniper_node
|
|
||||||
m_State = 114; turret_retarget_step_side_small
|
|
||||||
m_State = 115; turret_retarget_path_exact
|
|
||||||
m_State = 116; turret_retarget_path_near
|
|
||||||
m_State = 117; turret_retarget_step_side_medium
|
|
||||||
m_State = 118; turret_retarget_step_side_large
|
|
||||||
m_State = 119; turret_retarget_step_face_medium
|
|
||||||
m_State = 120; turret_retarget_step_face_large
|
|
||||||
m_State = 200; balconyattack_findemeny
|
|
||||||
m_State = 201; balconyattack_target
|
|
||||||
m_State = 202; balconyattack_shoot
|
|
||||||
m_State = 300; cover_newenemy
|
|
||||||
m_State = 301; cover_findcover
|
|
||||||
m_State = 302; cover_takecover
|
|
||||||
m_State = 303; cover_finishreloading
|
|
||||||
m_State = 304; cover_specialattack
|
|
||||||
m_State = 305; cover_findenemy
|
|
||||||
m_State = 306; cover_searchnode
|
|
||||||
m_State = 307; cover_target
|
|
||||||
m_State = 308; cover_hide
|
|
||||||
m_State = 309; cover_shoot
|
|
||||||
m_State = 310; cover_grenade
|
|
||||||
m_State = 311; cover_huntenemy
|
|
||||||
m_State = 312; cover_attack
|
|
||||||
m_State = 313; cover_fakeenemy
|
|
||||||
m_PainState = 500; pain_initial
|
|
||||||
m_PainState = 501; pain_main
|
|
||||||
m_State = 600; alarm_idle
|
|
||||||
m_State = 601; alarm_move
|
|
||||||
m_State = 700; killed_begin
|
|
||||||
m_State = 701; killed_end ??
|
|
||||||
m_State = 800; balconykilled_begin
|
|
||||||
m_State = 801; balconykilled_intro
|
|
||||||
m_State = 802; balconykilled_loop
|
|
||||||
m_State = 803; balconykilled_outtro ??
|
|
||||||
m_State = 804; balconykilled_outtro ??
|
|
||||||
m_State = 805; balconykilled_end
|
|
||||||
m_State = 806; balconykilled_normal
|
|
||||||
m_State = 900; weaponless_normal
|
|
||||||
m_State = 901; weaponless_grenade
|
|
||||||
m_State = 902; ??
|
|
||||||
m_State = 1000; anim_initial
|
|
||||||
m_State = 1001; anim_main
|
|
||||||
m_State = 1100; curious_begin
|
|
||||||
m_State = 1101; curious_attack
|
|
||||||
m_State = 1200; Begin_MachineGunner
|
|
||||||
m_State = 1201; EventReload_mg42
|
|
Loading…
Add table
Add a link
Reference in a new issue