diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..419f8d8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,504 @@ +# CMake File for Quadrilateral Cowboy (Because scons and Xcode are butt) +# Written by Ethan "flibitijibibo" Lee + +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +PROJECT(QuadrilateralCowboy) + +# CMake Options +OPTION(STEAM "Enable Steamworks" OFF) + +# Compiler Flags +ADD_COMPILE_OPTIONS( + -pipe + -Wno-unknown-pragmas + -Wno-write-strings + -fmessage-length=0 + -fpermissive + -fvisibility=hidden + -fno-strict-aliasing +) +ADD_DEFINITIONS(-D_D3XP -DCTF -DID_ENABLE_CURL=0 -DUSE_SDL -DXTHREADS) +IF(CMAKE_BUILD_TYPE STREQUAL "Debug") + ADD_DEFINITIONS(-D_DEBUG -DID_MCHECK) +ELSEIF(CMAKE_BUILD_TYPE STREQUAL "Release") + ADD_COMPILE_OPTIONS( + -Winline + -ffast-math + -fno-unsafe-math-optimizations + -fomit-frame-pointer + ) +ENDIF() +IF(STEAM) + ADD_DEFINITIONS(-DSTEAM) + INCLUDE_DIRECTORIES(steam) + LINK_DIRECTORIES(steam) +ENDIF() + +# RPATH +IF(APPLE) + SET(CMAKE_OSX_SYSROOT /Library/Developer/CommandLineTools/SDKs/MacOSX10.8.sdk) + SET(CMAKE_OSX_DEPLOYMENT_TARGET 10.8) + SET(BIN_LIBROOT "osx") + SET(BIN_RPATH "@executable_path/osx") + ADD_DEFINITIONS(-DMACOS_X) # WTF? -flibit +ELSE() + SET(BIN_LIBROOT "lib64") + SET(BIN_RPATH "\$ORIGIN/lib64") +ENDIF() +SET(CMAKE_SKIP_BUILD_RPATH TRUE) +SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) +SET(CMAKE_INSTALL_RPATH ${BIN_RPATH}) +SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) + +# Include Directories +INCLUDE_DIRECTORIES(. sound/OggVorbis/vorbissrc/) + +# Source Lists +SET(QC_SRC + renderer/jpeg-6/jcapimin.c + renderer/jpeg-6/jccoefct.c + renderer/jpeg-6/jccolor.c + renderer/jpeg-6/jcdctmgr.c + renderer/jpeg-6/jchuff.c + renderer/jpeg-6/jcinit.c + renderer/jpeg-6/jcmainct.c + renderer/jpeg-6/jcmarker.c + renderer/jpeg-6/jcmaster.c + renderer/jpeg-6/jcomapi.c + renderer/jpeg-6/jcparam.c + renderer/jpeg-6/jcphuff.c + renderer/jpeg-6/jcprepct.c + renderer/jpeg-6/jcsample.c + renderer/jpeg-6/jdapimin.c + renderer/jpeg-6/jdapistd.c + renderer/jpeg-6/jdatadst.c + renderer/jpeg-6/jdatasrc.c + renderer/jpeg-6/jdcoefct.c + renderer/jpeg-6/jdcolor.c + renderer/jpeg-6/jddctmgr.c + renderer/jpeg-6/jdhuff.c + renderer/jpeg-6/jdinput.c + renderer/jpeg-6/jdmainct.c + renderer/jpeg-6/jdmarker.c + renderer/jpeg-6/jdmaster.c + renderer/jpeg-6/jdmerge.c + renderer/jpeg-6/jdphuff.c + renderer/jpeg-6/jdpostct.c + renderer/jpeg-6/jdsample.c + renderer/jpeg-6/jdtrans.c + renderer/jpeg-6/jerror.c + renderer/jpeg-6/jfdctflt.c + renderer/jpeg-6/jfdctfst.c + renderer/jpeg-6/jfdctint.c + renderer/jpeg-6/jidctflt.c + renderer/jpeg-6/jidctfst.c + renderer/jpeg-6/jidctint.c + renderer/jpeg-6/jidctred.c + renderer/jpeg-6/jmemmgr.c + renderer/jpeg-6/jmemnobs.c + renderer/jpeg-6/jquant1.c + renderer/jpeg-6/jquant2.c + renderer/jpeg-6/jutils.c + sound/OggVorbis/oggsrc/bitwise.c + sound/OggVorbis/oggsrc/framing.c + sound/OggVorbis/vorbissrc/analysis.c + sound/OggVorbis/vorbissrc/bitrate.c + sound/OggVorbis/vorbissrc/block.c + sound/OggVorbis/vorbissrc/codebook.c + sound/OggVorbis/vorbissrc/envelope.c + sound/OggVorbis/vorbissrc/floor0.c + sound/OggVorbis/vorbissrc/floor1.c + sound/OggVorbis/vorbissrc/info.c + sound/OggVorbis/vorbissrc/lookup.c + sound/OggVorbis/vorbissrc/lpc.c + sound/OggVorbis/vorbissrc/lsp.c + sound/OggVorbis/vorbissrc/mapping0.c + sound/OggVorbis/vorbissrc/mdct.c + sound/OggVorbis/vorbissrc/psy.c + sound/OggVorbis/vorbissrc/registry.c + sound/OggVorbis/vorbissrc/res0.c + sound/OggVorbis/vorbissrc/sharedbook.c + sound/OggVorbis/vorbissrc/smallft.c + sound/OggVorbis/vorbissrc/synthesis.c + sound/OggVorbis/vorbissrc/vorbisenc.c + sound/OggVorbis/vorbissrc/vorbisfile.c + sound/OggVorbis/vorbissrc/windowvb.c + renderer/Cinematic.cpp + renderer/GuiModel.cpp + renderer/Image_files.cpp + renderer/Image_init.cpp + renderer/Image_load.cpp + renderer/Image_process.cpp + renderer/Image_program.cpp + renderer/Interaction.cpp + renderer/Material.cpp + renderer/MegaTexture.cpp + renderer/Model.cpp + renderer/ModelDecal.cpp + renderer/ModelManager.cpp + renderer/ModelOverlay.cpp + renderer/Model_beam.cpp + renderer/Model_ase.cpp + renderer/Model_liquid.cpp + renderer/Model_lwo.cpp + renderer/Model_ma.cpp + renderer/Model_md3.cpp + renderer/Model_md5.cpp + renderer/Model_prt.cpp + renderer/Model_sprite.cpp + renderer/RenderEntity.cpp + renderer/RenderSystem.cpp + renderer/RenderSystem_init.cpp + renderer/RenderWorld.cpp + renderer/RenderWorld_demo.cpp + renderer/RenderWorld_load.cpp + renderer/RenderWorld_portals.cpp + renderer/VertexCache.cpp + renderer/cg_explicit.cpp + renderer/draw_arb.cpp + renderer/draw_arb2.cpp + renderer/draw_common.cpp + renderer/draw_exp_stub.cpp + renderer/draw_nv10.cpp + renderer/draw_nv20.cpp + renderer/draw_r200.cpp + renderer/tr_backend.cpp + renderer/tr_deform.cpp + renderer/tr_font.cpp + renderer/tr_guisurf.cpp + renderer/tr_light.cpp + renderer/tr_lightrun.cpp + renderer/tr_main.cpp + renderer/tr_orderIndexes.cpp + renderer/tr_polytope.cpp + renderer/tr_render.cpp + renderer/tr_rendertools.cpp + renderer/tr_shadowbounds.cpp + renderer/tr_stencilshadow.cpp + renderer/tr_subview.cpp + renderer/tr_trace.cpp + renderer/tr_trisurf.cpp + renderer/tr_turboshadow.cpp + framework/CVarSystem.cpp + framework/CmdSystem.cpp + framework/Common.cpp + framework/Compressor.cpp + framework/Console.cpp + framework/DemoFile.cpp + framework/DeclAF.cpp + framework/DeclEntityDef.cpp + framework/DeclFX.cpp + framework/DeclManager.cpp + framework/DeclParticle.cpp + framework/DeclPDA.cpp + framework/DeclSkin.cpp + framework/DeclTable.cpp + framework/EditField.cpp + framework/EventLoop.cpp + framework/File.cpp + framework/FileSystem.cpp + framework/KeyInput.cpp + framework/Unzip.cpp + framework/UsercmdGen.cpp + framework/Session_menu.cpp + framework/Session.cpp + framework/async/AsyncClient.cpp + framework/async/AsyncNetwork.cpp + framework/async/AsyncServer.cpp + framework/async/MsgChannel.cpp + framework/async/NetworkSystem.cpp + framework/async/ServerScan.cpp + cm/CollisionModel_contacts.cpp + cm/CollisionModel_contents.cpp + cm/CollisionModel_debug.cpp + cm/CollisionModel_files.cpp + cm/CollisionModel_load.cpp + cm/CollisionModel_rotate.cpp + cm/CollisionModel_trace.cpp + cm/CollisionModel_translate.cpp + tools/compilers/dmap/dmap.cpp + tools/compilers/dmap/facebsp.cpp + tools/compilers/dmap/gldraw.cpp + tools/compilers/dmap/glfile.cpp + tools/compilers/dmap/leakfile.cpp + tools/compilers/dmap/map.cpp + tools/compilers/dmap/optimize.cpp + tools/compilers/dmap/output.cpp + tools/compilers/dmap/portals.cpp + tools/compilers/dmap/shadowopt3.cpp + tools/compilers/dmap/tritjunction.cpp + tools/compilers/dmap/tritools.cpp + tools/compilers/dmap/ubrush.cpp + tools/compilers/dmap/usurface.cpp + tools/compilers/dmap/optimize_gcc.cpp + tools/compilers/aas/AASBuild.cpp + tools/compilers/aas/AASBuild_file.cpp + tools/compilers/aas/AASBuild_gravity.cpp + tools/compilers/aas/AASBuild_ledge.cpp + tools/compilers/aas/AASBuild_merge.cpp + tools/compilers/aas/AASCluster.cpp + tools/compilers/aas/AASFile.cpp + tools/compilers/aas/AASFile_optimize.cpp + tools/compilers/aas/AASFile_sample.cpp + tools/compilers/aas/AASReach.cpp + tools/compilers/aas/AASFileManager.cpp + tools/compilers/aas/Brush.cpp + tools/compilers/aas/BrushBSP.cpp + tools/compilers/roqvq/NSBitmapImageRep.cpp + tools/compilers/roqvq/codec.cpp + tools/compilers/roqvq/roq.cpp + tools/compilers/roqvq/roqParam.cpp + tools/compilers/renderbump/renderbump.cpp + sound/snd_cache.cpp + sound/snd_decoder.cpp + sound/snd_efxfile.cpp + sound/snd_emitter.cpp + sound/snd_shader.cpp + sound/snd_system.cpp + sound/snd_wavefile.cpp + sound/snd_world.cpp + ui/BindWindow.cpp + ui/ChoiceWindow.cpp + ui/DeviceContext.cpp + ui/EditWindow.cpp + ui/FieldWindow.cpp + ui/GameBearShootWindow.cpp + ui/GameBustOutWindow.cpp + ui/GameSSDWindow.cpp + ui/gamelaserduckwindow.cpp + ui/GuiScript.cpp + ui/ListGUI.cpp + ui/ListWindow.cpp + ui/MarkerWindow.cpp + ui/RegExp.cpp + ui/RenderWindow.cpp + ui/SimpleWindow.cpp + ui/SliderWindow.cpp + ui/UserInterface.cpp + ui/Window.cpp + ui/Winvar.cpp + idlib/bv/Bounds.cpp + idlib/bv/Frustum.cpp + idlib/bv/Sphere.cpp + idlib/bv/Box.cpp + idlib/geometry/DrawVert.cpp + idlib/geometry/Winding2D.cpp + idlib/geometry/Surface_SweptSpline.cpp + idlib/geometry/Winding.cpp + idlib/geometry/Surface.cpp + idlib/geometry/Surface_Patch.cpp + idlib/geometry/TraceModel.cpp + idlib/geometry/JointTransform.cpp + idlib/hashing/CRC32.cpp + idlib/hashing/MD4.cpp + idlib/hashing/MD5.cpp + idlib/math/Angles.cpp + idlib/math/Lcp.cpp + idlib/math/idMath.cpp + idlib/math/Matrix.cpp + idlib/math/Ode.cpp + idlib/math/Plane.cpp + idlib/math/Pluecker.cpp + idlib/math/Polynomial.cpp + idlib/math/Quat.cpp + idlib/math/Rotation.cpp + idlib/math/Simd.cpp + idlib/math/Simd_Generic.cpp + idlib/math/Vector.cpp + idlib/BitMsg.cpp + idlib/LangDict.cpp + idlib/Lexer.cpp + idlib/Lib.cpp + idlib/containers/HashIndex.cpp + idlib/Dict.cpp + idlib/Str.cpp + idlib/Parser.cpp + idlib/MapFile.cpp + idlib/CmdArgs.cpp + idlib/Token.cpp + idlib/Base64.cpp + idlib/Timer.cpp + idlib/Heap.cpp + d3xp/AF.cpp + d3xp/AFEntity.cpp + d3xp/Actor.cpp + d3xp/Camera.cpp + d3xp/Entity.cpp + d3xp/BrittleFracture.cpp + d3xp/Fx.cpp + d3xp/GameEdit.cpp + d3xp/Game_local.cpp + d3xp/Game_network.cpp + d3xp/Item.cpp + d3xp/IK.cpp + d3xp/Light.cpp + d3xp/Misc.cpp + d3xp/Mover.cpp + d3xp/Moveable.cpp + d3xp/MultiplayerGame.cpp + d3xp/Player.cpp + d3xp/PlayerIcon.cpp + d3xp/PlayerView.cpp + d3xp/Projectile.cpp + d3xp/Pvs.cpp + d3xp/SecurityCamera.cpp + d3xp/SmokeParticles.cpp + d3xp/Sound.cpp + d3xp/Target.cpp + d3xp/Trigger.cpp + d3xp/Weapon.cpp + d3xp/WorldSpawn.cpp + d3xp/ai/AAS.cpp + d3xp/ai/AAS_debug.cpp + d3xp/ai/AAS_pathing.cpp + d3xp/ai/AAS_routing.cpp + d3xp/ai/AI.cpp + d3xp/ai/AI_events.cpp + d3xp/ai/AI_pathing.cpp + d3xp/ai/AI_Vagary.cpp + d3xp/gamesys/DebugGraph.cpp + d3xp/gamesys/Class.cpp + d3xp/gamesys/Event.cpp + d3xp/gamesys/SaveGame.cpp + d3xp/gamesys/SysCmds.cpp + d3xp/gamesys/SysCvar.cpp + d3xp/gamesys/TypeInfo.cpp + d3xp/anim/Anim.cpp + d3xp/anim/Anim_Blend.cpp + d3xp/anim/Anim_Import.cpp + d3xp/anim/Anim_Testmodel.cpp + d3xp/script/Script_Compiler.cpp + d3xp/script/Script_Interpreter.cpp + d3xp/script/Script_Program.cpp + d3xp/script/Script_Thread.cpp + d3xp/physics/Clip.cpp + d3xp/physics/Force.cpp + d3xp/physics/Force_Constant.cpp + d3xp/physics/Force_Drag.cpp + d3xp/physics/Force_Field.cpp + d3xp/physics/Force_Spring.cpp + d3xp/physics/Physics.cpp + d3xp/physics/Physics_AF.cpp + d3xp/physics/Physics_Actor.cpp + d3xp/physics/Physics_Base.cpp + d3xp/physics/Physics_Monster.cpp + d3xp/physics/Physics_Parametric.cpp + d3xp/physics/Physics_Player.cpp + d3xp/physics/Physics_RigidBody.cpp + d3xp/physics/Physics_Static.cpp + d3xp/physics/Physics_StaticMulti.cpp + d3xp/physics/Push.cpp + d3xp/Grabber.cpp + d3xp/physics/Force_Grab.cpp + d3xp/laserwire.cpp + d3xp/panel.cpp + d3xp/picker.cpp + d3xp/turret.cpp + d3xp/rotdoor.cpp + d3xp/sentry.cpp + d3xp/lever.cpp + d3xp/steamstats.cpp + d3xp/itemgate.cpp + d3xp/worldmanager.cpp + d3xp/powerscrewgeneric.cpp + d3xp/camturret.cpp + d3xp/zeppelinbig.cpp + d3xp/keypad.cpp + d3xp/screw.cpp + d3xp/airlock.cpp + d3xp/powersawgeneric.cpp + d3xp/frobcube.cpp + d3xp/weevil.cpp + d3xp/clock.cpp + d3xp/contractcamera.cpp + d3xp/steamleaderboard.cpp + d3xp/steamremote.cpp + d3xp/qglass.cpp + d3xp/trembler.cpp + d3xp/button_switcher.cpp + d3xp/commentary.cpp + d3xp/cybervendor.cpp + d3xp/launcher.cpp + d3xp/bluebox.cpp + d3xp/camerapoint.cpp + d3xp/jellypoint.cpp + d3xp/worldman_moveable.cpp + d3xp/doorfolding.cpp + d3xp/countdowntimer.cpp + d3xp/animloop.cpp + d3xp/tablefold.cpp + TypeInfo/TypeInfoGen.cpp + sys/glimp.cpp + sys/events.cpp + sys/sys_local.cpp + sys/stub/util_stub.cpp + sys/posix/posix_net.cpp + sys/posix/posix_main.cpp + sys/posix/posix_input.cpp + sys/posix/posix_signal.cpp + sys/posix/posix_threads.cpp + sys/linux/stack.cpp +) +IF(APPLE) + SET(QC_SRC + ${QC_SRC} + sys/osx/DOOMController.mm + sys/osx/macosx_event.mm + sys/osx/macosx_glimp.mm + sys/osx/macosx_guids.cpp + sys/osx/macosx_misc.mm + sys/osx/macosx_sound.cpp + sys/osx/PickMonitor.cpp + sys/osx/PreferencesDialog.cpp + ) +ELSE() + SET(QC_SRC + ${QC_SRC} + idlib/bv/Frustum_gcc.cpp + sys/linux/sound_oal.cpp + sys/linux/input.cpp + sys/linux/glimp.cpp + sys/linux/glimp_dlopen.cpp + sys/linux/main.cpp + ) +ENDIF() + +# Executable information +ADD_EXECUTABLE(qc ${QC_SRC}) + +# SDL2 Dependency (Detection pulled from FAudio) +if (DEFINED SDL2_INCLUDE_DIRS AND DEFINED SDL2_LIBRARIES) + message(STATUS "using pre-defined SDL2 variables SDL2_INCLUDE_DIRS and SDL2_LIBRARIES") + target_include_directories(qc PUBLIC "$") + target_link_libraries(qc PUBLIC ${SDL2_LIBRARIES}) +else() + # Only try to autodetect if both SDL2 variables aren't explicitly set + find_package(SDL2 CONFIG) + if (TARGET SDL2::SDL2) + message(STATUS "using TARGET SDL2::SDL2") + target_link_libraries(qc PUBLIC SDL2::SDL2) + elseif (TARGET SDL2) + message(STATUS "using TARGET SDL2") + target_link_libraries(qc PUBLIC SDL2) + else() + message(STATUS "no TARGET SDL2::SDL2, or SDL2, using variables") + target_include_directories(qc PUBLIC "$") + target_link_libraries(qc PUBLIC ${SDL2_LIBRARIES}) + endif() +endif() + +# Other Dependencies +IF(APPLE) + FIND_LIBRARY(OPENGL NAMES OpenGL) + FIND_LIBRARY(OPENAL NAMES OpenAL) + FIND_LIBRARY(COCOA NAMES Cocoa) + FIND_LIBRARY(IOKIT NAMES IOKit) + FIND_LIBRARY(COREAUDIO NAMES CoreAudio) + TARGET_LINK_LIBRARIES(qc PUBLIC objc ${OPENGL} ${OPENAL} ${COCOA} ${IOKIT} ${COREAUDIO}) +ELSE() + TARGET_LINK_LIBRARIES(qc PUBLIC openal) +ENDIF() +TARGET_LINK_LIBRARIES(qc PUBLIC dl pthread) +IF(STEAM) + TARGET_LINK_LIBRARIES(qc PUBLIC steam_api) +ENDIF() diff --git a/SConstruct b/SConstruct index da8ca70..cb12adc 100644 --- a/SConstruct +++ b/SConstruct @@ -152,7 +152,7 @@ EnsureSConsVersion( 0, 96 ) cpu = commands.getoutput('uname -m') exp = re.compile('.*i?86.*') if exp.match(cpu): - cpu = 'x86' + cpu = 'x86_64' else: cpu = commands.getoutput('uname -p') if ( cpu == 'powerpc' ): @@ -290,8 +290,9 @@ OPTCPPFLAGS = [ ] BASECPPFLAGS.append( BASEFLAGS ) BASECPPFLAGS.append( '-pipe' ) # warn all -BASECPPFLAGS.append( '-Wall' ) +# flibit removed: BASECPPFLAGS.append( '-Wall' ) BASECPPFLAGS.append( '-Wno-unknown-pragmas' ) +BASECPPFLAGS.append( '-Wno-write-strings' ) # this define is necessary to make sure threading support is enabled in X CORECPPFLAGS.append( '-DXTHREADS' ) # don't wrap gcc messages @@ -303,10 +304,11 @@ if ( g_os == 'Linux' ): # gcc 4.x option only - only export what we mean to from the game SO BASECPPFLAGS.append( '-fvisibility=hidden' ) # get the 64 bits machine on the distcc array to produce 32 bit binaries :) - BASECPPFLAGS.append( '-m32' ) - BASELINKFLAGS.append( '-m32' ) + # BASECPPFLAGS.append( '-m32' ) + # BASELINKFLAGS.append( '-m32' ) #rpath - BASELINKFLAGS.append( '-Wl,-rpath=\$$ORIGIN/lib' ) + #BASELINKFLAGS.append( '-Wl,-rpath=\$$ORIGIN/lib' ) + BASELINKFLAGS.append( '-Wl,-rpath=\$$ORIGIN/lib64' ) if ( g_sdk or SDK != '0' ): BASECPPFLAGS.append( '-D_D3SDK' ) @@ -322,10 +324,11 @@ elif ( BUILD == 'debug' ): elif ( BUILD == 'release' ): # -fomit-frame-pointer: "-O also turns on -fomit-frame-pointer on machines where doing so does not interfere with debugging." # on x86 have to set it explicitely + # -march=pentium3: flibit removed this, wtf 2004 # -finline-functions: implicit at -O3 # -fschedule-insns2: implicit at -O2 # no-unsafe-math-optimizations: that should be on by default really. hit some wonko bugs in physics code because of that - OPTCPPFLAGS = [ '-O3', '-march=pentium3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations', '-fomit-frame-pointer' ] + OPTCPPFLAGS = [ '-O3', '-Winline', '-ffast-math', '-fno-unsafe-math-optimizations', '-fomit-frame-pointer' ] if ( ID_MCHECK == '0' ): ID_MCHECK = '2' else: diff --git a/cm/CollisionModel_files.cpp b/cm/CollisionModel_files.cpp index ca6ab27..3093f53 100644 --- a/cm/CollisionModel_files.cpp +++ b/cm/CollisionModel_files.cpp @@ -586,7 +586,7 @@ bool idCollisionModelManagerLocal::LoadCollisionModelFile( const char *name, uns return false; } - crc = token.GetUnsignedLongValue(); + crc = token.GetUnsignedIntValue(); if ( mapFileCRC && crc != mapFileCRC ) { common->Printf( "%s is out of date\n", fileName.c_str() ); delete src; diff --git a/cm/CollisionModel_local.h b/cm/CollisionModel_local.h index 54cfc75..0915dbd 100644 --- a/cm/CollisionModel_local.h +++ b/cm/CollisionModel_local.h @@ -78,23 +78,27 @@ Collision model =============================================================================== */ +// flibit: 64 bit fix, changed long to int + typedef struct cm_vertex_s { idVec3 p; // vertex point int checkcount; // for multi-check avoidance - unsigned long side; // each bit tells at which side this vertex passes one of the trace model edges - unsigned long sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet + unsigned int side; // each bit tells at which side this vertex passes one of the trace model edges + unsigned int sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet } cm_vertex_t; typedef struct cm_edge_s { int checkcount; // for multi-check avoidance unsigned short internal; // a trace model can never collide with internal edges unsigned short numUsers; // number of polygons using this edge - unsigned long side; // each bit tells at which side of this edge one of the trace model vertices passes - unsigned long sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet + unsigned int side; // each bit tells at which side of this edge one of the trace model vertices passes + unsigned int sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet int vertexNum[2]; // start and end point of edge idVec3 normal; // edge normal } cm_edge_t; +// flibit end + typedef struct cm_polygonBlock_s { int bytesRemaining; byte * next; diff --git a/d3xp/Actor.cpp b/d3xp/Actor.cpp index 0ab9617..ee07dd4 100644 --- a/d3xp/Actor.cpp +++ b/d3xp/Actor.cpp @@ -457,8 +457,10 @@ idActor::idActor( void ) { allowEyeFocus = false; waitState = ""; - - blink_anim = NULL; + + // flibit: 64 bit fix, change NULL to 0 + blink_anim = 0; + // flibit end blink_time = 0; blink_min = 0; blink_max = 0; @@ -3171,11 +3173,13 @@ idActor::Event_HasAnim ================ */ void idActor::Event_HasAnim( int channel, const char *animname ) { - if ( GetAnim( channel, animname ) != NULL ) { + // flibit: 64 bit fix, change NULL to 0 + if ( GetAnim( channel, animname ) != 0 ) { idThread::ReturnFloat( 1.0f ); } else { idThread::ReturnFloat( 0.0f ); } + // flibit end } /* diff --git a/d3xp/Grabber.cpp b/d3xp/Grabber.cpp index 4993108..439b5db 100644 --- a/d3xp/Grabber.cpp +++ b/d3xp/Grabber.cpp @@ -276,7 +276,9 @@ void idGrabber::StartDrag( idEntity *grabEnt, int id ) { aiEnt->StartRagdoll(); } } else if ( grabEnt->IsType( idMoveableItem::Type ) ) { - grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL ); + // RB: 64 bit fixes, changed NULL to 0 + grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, 0 ); + // RB end } // Get the current physics object to manipulate diff --git a/d3xp/Item.cpp b/d3xp/Item.cpp index c15a310..fd9e044 100644 --- a/d3xp/Item.cpp +++ b/d3xp/Item.cpp @@ -305,7 +305,10 @@ void idItem::Spawn( void ) { if ( !ent ) { gameLocal.Error( "Item couldn't find owner '%s'", giveTo.c_str() ); } - PostEventMS( &EV_Touch, 0, ent, NULL ); + + // RB: 64 bit fixes, changed NULL to 0 + PostEventMS( &EV_Touch, 0, ent, 0 ); + // RB end } spin = false; diff --git a/d3xp/Player.cpp b/d3xp/Player.cpp index 5014765..6b59dff 100644 --- a/d3xp/Player.cpp +++ b/d3xp/Player.cpp @@ -4725,7 +4725,7 @@ idPlayer::GiveVideo */ void idPlayer::GiveVideo( const char *videoName, idDict *item ) { - if ( videoName == NULL || *videoName == NULL ) { + if ( videoName == NULL || *videoName == '\0' ) { return; } @@ -4762,7 +4762,7 @@ idPlayer::GiveEmail */ void idPlayer::GiveEmail( const char *emailName ) { - if ( emailName == NULL || *emailName == NULL ) { + if ( emailName == NULL || *emailName == '\0' ) { return; } @@ -4789,7 +4789,7 @@ void idPlayer::GivePDA( const char *pdaName, idDict *item ) inventory.pdaSecurity.AddUnique( item->GetString( "inv_name" ) ); } - if ( pdaName == NULL || *pdaName == NULL ) { + if ( pdaName == NULL || *pdaName == '\0' ) { pdaName = "personal"; } @@ -7993,7 +7993,7 @@ void idPlayer::UpdatePDAInfo( bool updatePDASel ) { const char *security = pda->GetSecurity(); if ( j == currentPDA || (currentPDA == 0 && security && *security ) ) { - if ( *security == NULL ) { + if ( *security == '\0' ) { security = common->GetLanguageDict()->GetString( "#str_00066" ); } objectiveSystem->SetStateString( "PDASecurityClearance", security ); @@ -8610,7 +8610,7 @@ void idPlayer::PerformImpulse( int impulse ) { case IMPULSE_17: { -#ifdef STEAM && DEBUG +#if defined(STEAM) && defined(DEBUG) //g_SteamRemote->DeleteAll(); g_SteamStats->ResetStats(); diff --git a/d3xp/Pvs.cpp b/d3xp/Pvs.cpp index ed865c4..3f97fb1 100644 --- a/d3xp/Pvs.cpp +++ b/d3xp/Pvs.cpp @@ -329,7 +329,9 @@ pvsStack_t *idPVS::FloodPassagePVS_r( pvsPortal_t *source, const pvsPortal_t *po pvsArea_t *area; pvsStack_t *stack; pvsPassage_t *passage; - long *sourceVis, *passageVis, *portalVis, *mightSee, *prevMightSee, more; + // RB: 64 bit fixes, changed long to int + int *sourceVis, *passageVis, *portalVis, *mightSee, *prevMightSee, more; + // RB end area = &pvsAreas[portal->areaNum]; @@ -364,15 +366,20 @@ pvsStack_t *idPVS::FloodPassagePVS_r( pvsPortal_t *source, const pvsPortal_t *po source->vis[n >> 3] |= (1 << (n & 7)); // get pointers to vis data - prevMightSee = reinterpret_cast(prevStack->mightSee); - passageVis = reinterpret_cast(passage->canSee); - sourceVis = reinterpret_cast(source->vis); - mightSee = reinterpret_cast(stack->mightSee); + + // RB: 64 bit fixes, changed long to int + prevMightSee = reinterpret_cast(prevStack->mightSee); + passageVis = reinterpret_cast(passage->canSee); + sourceVis = reinterpret_cast(source->vis); + mightSee = reinterpret_cast(stack->mightSee); + // RB end more = 0; // use the portal PVS if it has been calculated if ( p->done ) { - portalVis = reinterpret_cast(p->vis); + // RB: 64 bit fixes, changed long to int + portalVis = reinterpret_cast(p->vis); + // RB end for ( j = 0; j < portalVisLongs; j++ ) { // get new PVS which is decreased by going through this passage m = *prevMightSee++ & *passageVis++ & *portalVis++; @@ -730,7 +737,9 @@ idPVS::AreaPVSFromPortalPVS */ int idPVS::AreaPVSFromPortalPVS( void ) const { int i, j, k, areaNum, totalVisibleAreas; - long *p1, *p2; + // RB: 64 bit fixes, changed long to int + int *p1, *p2; + // RB end byte *pvs, *portalPVS; pvsArea_t *area; @@ -755,8 +764,10 @@ int idPVS::AreaPVSFromPortalPVS( void ) const { // store the PVS of all portals in this area at the first portal for ( j = 1; j < area->numPortals; j++ ) { - p1 = reinterpret_cast(area->portals[0]->vis); - p2 = reinterpret_cast(area->portals[j]->vis); + // RB: 64 bit fixes, changed long to int + p1 = reinterpret_cast(area->portals[0]->vis); + p2 = reinterpret_cast(area->portals[j]->vis); + // RB end for ( k = 0; k < portalVisLongs; k++ ) { *p1++ |= *p2++; } @@ -807,7 +818,9 @@ void idPVS::Init( void ) { areaQueue = new int[numAreas]; areaVisBytes = ( ((numAreas+31)&~31) >> 3); - areaVisLongs = areaVisBytes/sizeof(long); + // RB: 64 bit fixes, changed long to int + areaVisLongs = areaVisBytes/sizeof(int); + // RB end areaPVS = new byte[numAreas * areaVisBytes]; memset( areaPVS, 0xFF, numAreas * areaVisBytes ); @@ -815,7 +828,9 @@ void idPVS::Init( void ) { numPortals = GetPortalCount(); portalVisBytes = ( ((numPortals+31)&~31) >> 3); - portalVisLongs = portalVisBytes/sizeof(long); + // RB: 64 bit fixes, changed long to int + portalVisLongs = portalVisBytes/sizeof(int); + // RB end for ( int i = 0; i < MAX_CURRENT_PVS; i++ ) { currentPVS[i].handle.i = -1; @@ -1013,7 +1028,9 @@ idPVS::SetupCurrentPVS pvsHandle_t idPVS::SetupCurrentPVS( const int *sourceAreas, const int numSourceAreas, const pvsType_t type ) const { int i, j; unsigned int h; - long *vis, *pvs; + // RB: 64 bit fixes, changed long to int + int *vis, *pvs; + // RB end pvsHandle_t handle; h = 0; @@ -1034,8 +1051,10 @@ pvsHandle_t idPVS::SetupCurrentPVS( const int *sourceAreas, const int numSourceA assert( sourceAreas[i] >= 0 && sourceAreas[i] < numAreas ); - vis = reinterpret_cast(areaPVS + sourceAreas[i] * areaVisBytes); - pvs = reinterpret_cast(currentPVS[handle.i].pvs); + // RB: 64 bit fixes, changed long to int + vis = reinterpret_cast(areaPVS + sourceAreas[i] * areaVisBytes); + pvs = reinterpret_cast(currentPVS[handle.i].pvs); + // RB end for ( j = 0; j < areaVisLongs; j++ ) { *pvs++ |= *vis++; } @@ -1074,7 +1093,9 @@ idPVS::MergeCurrentPVS */ pvsHandle_t idPVS::MergeCurrentPVS( pvsHandle_t pvs1, pvsHandle_t pvs2 ) const { int i; - long *pvs1Ptr, *pvs2Ptr, *ptr; + // RB: 64 bit fixes, changed long to int + int *pvs1Ptr, *pvs2Ptr, *ptr; + // RB end pvsHandle_t handle; if ( pvs1.i < 0 || pvs1.i >= MAX_CURRENT_PVS || pvs1.h != currentPVS[pvs1.i].handle.h || @@ -1084,9 +1105,11 @@ pvsHandle_t idPVS::MergeCurrentPVS( pvsHandle_t pvs1, pvsHandle_t pvs2 ) const { handle = AllocCurrentPVS( pvs1.h ^ pvs2.h ); - ptr = reinterpret_cast(currentPVS[handle.i].pvs); - pvs1Ptr = reinterpret_cast(currentPVS[pvs1.i].pvs); - pvs2Ptr = reinterpret_cast(currentPVS[pvs2.i].pvs); + // RB: 64 bit fixes, changed long to int + ptr = reinterpret_cast(currentPVS[handle.i].pvs); + pvs1Ptr = reinterpret_cast(currentPVS[pvs1.i].pvs); + pvs2Ptr = reinterpret_cast(currentPVS[pvs2.i].pvs); + // RB end for ( i = 0; i < areaVisLongs; i++ ) { *ptr++ = *pvs1Ptr++ | *pvs2Ptr++; diff --git a/d3xp/Trigger.cpp b/d3xp/Trigger.cpp index 15c3359..d904ba4 100644 --- a/d3xp/Trigger.cpp +++ b/d3xp/Trigger.cpp @@ -1676,12 +1676,14 @@ void idTrigger_Flag::Event_Touch( idEntity *other, trace_t *trace ) { case 0 : flag->PostEventMS( eventFlag, 0 ); break; + // RB: 64 bit fixes, changed NULL to 0 case 1 : - flag->PostEventMS( eventFlag, 0, NULL ); + flag->PostEventMS( eventFlag, 0, 0 ); break; case 2 : - flag->PostEventMS( eventFlag, 0, NULL, NULL ); + flag->PostEventMS( eventFlag, 0, 0, 0 ); break; + // RB end } /* diff --git a/d3xp/ai/AAS_routing.cpp b/d3xp/ai/AAS_routing.cpp index 0f6acb8..e5dfb4c 100644 --- a/d3xp/ai/AAS_routing.cpp +++ b/d3xp/ai/AAS_routing.cpp @@ -167,7 +167,9 @@ void idAASLocal::CalculateAreaTravelTimes(void) { } } - assert( ( (unsigned int) bytePtr - (unsigned int) areaTravelTimes ) <= numAreaTravelTimes * sizeof( unsigned short ) ); + // RB: 64 bit fixes, changed unsigned int to ptrdiff_t + assert( ( (ptrdiff_t) bytePtr - (ptrdiff_t) areaTravelTimes ) <= numAreaTravelTimes * sizeof( unsigned short ) ); + // RB end } /* diff --git a/d3xp/ai/AI_events.cpp b/d3xp/ai/AI_events.cpp index 7ef4c8c..97f4dfa 100644 --- a/d3xp/ai/AI_events.cpp +++ b/d3xp/ai/AI_events.cpp @@ -2495,7 +2495,10 @@ void idAI::Event_ThrowMoveable( void ) { } if ( moveable ) { moveable->Unbind(); - moveable->PostEventMS( &EV_SetOwner, 200, NULL ); + + // RB: 64-bit fixes, changed NULL to 0 + moveable->PostEventMS( &EV_SetOwner, 200, 0 ); + // RB end } } @@ -2516,7 +2519,10 @@ void idAI::Event_ThrowAF( void ) { } if ( af ) { af->Unbind(); - af->PostEventMS( &EV_SetOwner, 200, NULL ); + + // RB: 64 bit fixes, changed NULL to 0 + af->PostEventMS( &EV_SetOwner, 200, 0 ); + // RB end } } diff --git a/d3xp/anim/Anim_Import.cpp b/d3xp/anim/Anim_Import.cpp index d1f5989..a1b2a7d 100644 --- a/d3xp/anim/Anim_Import.cpp +++ b/d3xp/anim/Anim_Import.cpp @@ -42,7 +42,9 @@ static idStr Maya_Error; static exporterInterface_t Maya_ConvertModel = NULL; static exporterShutdown_t Maya_Shutdown = NULL; -static int importDLL = 0; +// flibit: 64 bit fix, changed int to void* +static void* importDLL = NULL; +// flibit end bool idModelExport::initialized = false; diff --git a/d3xp/gamesys/Callbacks.cpp b/d3xp/gamesys/Callbacks.cpp index 079b5ef..1757dcd 100644 --- a/d3xp/gamesys/Callbacks.cpp +++ b/d3xp/gamesys/Callbacks.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -25,6 +25,7 @@ If you have questions concerning this license or the applicable additional terms =========================================================================== */ +// generated file - see CREATE_EVENT_CODE /******************************************************* @@ -33,7 +34,7 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 512 : - typedef void ( idClass::*eventCallback_i_t )( const int ); + typedef void ( idClass::*eventCallback_i_t )( const intptr_t ); ( this->*( eventCallback_i_t )callback )( data[ 0 ] ); break; @@ -49,17 +50,17 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 1024 : - typedef void ( idClass::*eventCallback_ii_t )( const int, const int ); + typedef void ( idClass::*eventCallback_ii_t )( const intptr_t, const intptr_t ); ( this->*( eventCallback_ii_t )callback )( data[ 0 ], data[ 1 ] ); break; case 1025 : - typedef void ( idClass::*eventCallback_fi_t )( const float, const int ); + typedef void ( idClass::*eventCallback_fi_t )( const float, const intptr_t ); ( this->*( eventCallback_fi_t )callback )( *( float * )&data[ 0 ], data[ 1 ] ); break; case 1026 : - typedef void ( idClass::*eventCallback_if_t )( const int, const float ); + typedef void ( idClass::*eventCallback_if_t )( const intptr_t, const float ); ( this->*( eventCallback_if_t )callback )( data[ 0 ], *( float * )&data[ 1 ] ); break; @@ -75,37 +76,37 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 2048 : - typedef void ( idClass::*eventCallback_iii_t )( const int, const int, const int ); + typedef void ( idClass::*eventCallback_iii_t )( const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 2049 : - typedef void ( idClass::*eventCallback_fii_t )( const float, const int, const int ); + typedef void ( idClass::*eventCallback_fii_t )( const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 2050 : - typedef void ( idClass::*eventCallback_ifi_t )( const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifi_t )( const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ] ); break; case 2051 : - typedef void ( idClass::*eventCallback_ffi_t )( const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffi_t )( const float, const float, const intptr_t ); ( this->*( eventCallback_ffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ] ); break; case 2052 : - typedef void ( idClass::*eventCallback_iif_t )( const int, const int, const float ); + typedef void ( idClass::*eventCallback_iif_t )( const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ] ); break; case 2053 : - typedef void ( idClass::*eventCallback_fif_t )( const float, const int, const float ); + typedef void ( idClass::*eventCallback_fif_t )( const float, const intptr_t, const float ); ( this->*( eventCallback_fif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ] ); break; case 2054 : - typedef void ( idClass::*eventCallback_iff_t )( const int, const float, const float ); + typedef void ( idClass::*eventCallback_iff_t )( const intptr_t, const float, const float ); ( this->*( eventCallback_iff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ] ); break; @@ -121,77 +122,77 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 4096 : - typedef void ( idClass::*eventCallback_iiii_t )( const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4097 : - typedef void ( idClass::*eventCallback_fiii_t )( const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiii_t )( const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4098 : - typedef void ( idClass::*eventCallback_ifii_t )( const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifii_t )( const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4099 : - typedef void ( idClass::*eventCallback_ffii_t )( const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffii_t )( const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4100 : - typedef void ( idClass::*eventCallback_iifi_t )( const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifi_t )( const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4101 : - typedef void ( idClass::*eventCallback_fifi_t )( const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifi_t )( const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4102 : - typedef void ( idClass::*eventCallback_iffi_t )( const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffi_t )( const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4103 : - typedef void ( idClass::*eventCallback_fffi_t )( const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffi_t )( const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4104 : - typedef void ( idClass::*eventCallback_iiif_t )( const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiif_t )( const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4105 : - typedef void ( idClass::*eventCallback_fiif_t )( const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiif_t )( const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4106 : - typedef void ( idClass::*eventCallback_ifif_t )( const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifif_t )( const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4107 : - typedef void ( idClass::*eventCallback_ffif_t )( const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffif_t )( const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4108 : - typedef void ( idClass::*eventCallback_iiff_t )( const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiff_t )( const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; case 4109 : - typedef void ( idClass::*eventCallback_fiff_t )( const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiff_t )( const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; case 4110 : - typedef void ( idClass::*eventCallback_ifff_t )( const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifff_t )( const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; @@ -207,157 +208,157 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 8192 : - typedef void ( idClass::*eventCallback_iiiii_t )( const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8193 : - typedef void ( idClass::*eventCallback_fiiii_t )( const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8194 : - typedef void ( idClass::*eventCallback_ifiii_t )( const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8195 : - typedef void ( idClass::*eventCallback_ffiii_t )( const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8196 : - typedef void ( idClass::*eventCallback_iifii_t )( const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8197 : - typedef void ( idClass::*eventCallback_fifii_t )( const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8198 : - typedef void ( idClass::*eventCallback_iffii_t )( const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8199 : - typedef void ( idClass::*eventCallback_fffii_t )( const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffii_t )( const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8200 : - typedef void ( idClass::*eventCallback_iiifi_t )( const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8201 : - typedef void ( idClass::*eventCallback_fiifi_t )( const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiifi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8202 : - typedef void ( idClass::*eventCallback_ififi_t )( const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8203 : - typedef void ( idClass::*eventCallback_ffifi_t )( const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffifi_t )( const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8204 : - typedef void ( idClass::*eventCallback_iiffi_t )( const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8205 : - typedef void ( idClass::*eventCallback_fiffi_t )( const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffi_t )( const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8206 : - typedef void ( idClass::*eventCallback_ifffi_t )( const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffi_t )( const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8207 : - typedef void ( idClass::*eventCallback_ffffi_t )( const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffi_t )( const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8208 : - typedef void ( idClass::*eventCallback_iiiif_t )( const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8209 : - typedef void ( idClass::*eventCallback_fiiif_t )( const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8210 : - typedef void ( idClass::*eventCallback_ifiif_t )( const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8211 : - typedef void ( idClass::*eventCallback_ffiif_t )( const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiif_t )( const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8212 : - typedef void ( idClass::*eventCallback_iifif_t )( const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8213 : - typedef void ( idClass::*eventCallback_fifif_t )( const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifif_t )( const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8214 : - typedef void ( idClass::*eventCallback_iffif_t )( const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffif_t )( const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8215 : - typedef void ( idClass::*eventCallback_fffif_t )( const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffif_t )( const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8216 : - typedef void ( idClass::*eventCallback_iiiff_t )( const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8217 : - typedef void ( idClass::*eventCallback_fiiff_t )( const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiff_t )( const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8218 : - typedef void ( idClass::*eventCallback_ififf_t )( const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififf_t )( const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8219 : - typedef void ( idClass::*eventCallback_ffiff_t )( const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiff_t )( const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8220 : - typedef void ( idClass::*eventCallback_iifff_t )( const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifff_t )( const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8221 : - typedef void ( idClass::*eventCallback_fifff_t )( const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifff_t )( const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8222 : - typedef void ( idClass::*eventCallback_iffff_t )( const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffff_t )( const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; @@ -373,317 +374,317 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 16384 : - typedef void ( idClass::*eventCallback_iiiiii_t )( const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16385 : - typedef void ( idClass::*eventCallback_fiiiii_t )( const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16386 : - typedef void ( idClass::*eventCallback_ifiiii_t )( const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16387 : - typedef void ( idClass::*eventCallback_ffiiii_t )( const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16388 : - typedef void ( idClass::*eventCallback_iifiii_t )( const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16389 : - typedef void ( idClass::*eventCallback_fifiii_t )( const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16390 : - typedef void ( idClass::*eventCallback_iffiii_t )( const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16391 : - typedef void ( idClass::*eventCallback_fffiii_t )( const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16392 : - typedef void ( idClass::*eventCallback_iiifii_t )( const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiifii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16393 : - typedef void ( idClass::*eventCallback_fiifii_t )( const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiifii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16394 : - typedef void ( idClass::*eventCallback_ififii_t )( const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16395 : - typedef void ( idClass::*eventCallback_ffifii_t )( const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffifii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16396 : - typedef void ( idClass::*eventCallback_iiffii_t )( const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16397 : - typedef void ( idClass::*eventCallback_fiffii_t )( const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16398 : - typedef void ( idClass::*eventCallback_ifffii_t )( const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16399 : - typedef void ( idClass::*eventCallback_ffffii_t )( const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16400 : - typedef void ( idClass::*eventCallback_iiiifi_t )( const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16401 : - typedef void ( idClass::*eventCallback_fiiifi_t )( const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16402 : - typedef void ( idClass::*eventCallback_ifiifi_t )( const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16403 : - typedef void ( idClass::*eventCallback_ffiifi_t )( const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiifi_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16404 : - typedef void ( idClass::*eventCallback_iififi_t )( const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iififi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iififi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16405 : - typedef void ( idClass::*eventCallback_fififi_t )( const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fififi_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16406 : - typedef void ( idClass::*eventCallback_iffifi_t )( const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffifi_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16407 : - typedef void ( idClass::*eventCallback_fffifi_t )( const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffifi_t )( const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16408 : - typedef void ( idClass::*eventCallback_iiiffi_t )( const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16409 : - typedef void ( idClass::*eventCallback_fiiffi_t )( const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16410 : - typedef void ( idClass::*eventCallback_ififfi_t )( const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififfi_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ififfi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16411 : - typedef void ( idClass::*eventCallback_ffiffi_t )( const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffi_t )( const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16412 : - typedef void ( idClass::*eventCallback_iifffi_t )( const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iifffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16413 : - typedef void ( idClass::*eventCallback_fifffi_t )( const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifffi_t )( const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16414 : - typedef void ( idClass::*eventCallback_iffffi_t )( const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffffi_t )( const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16415 : - typedef void ( idClass::*eventCallback_fffffi_t )( const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffffi_t )( const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16416 : - typedef void ( idClass::*eventCallback_iiiiif_t )( const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16417 : - typedef void ( idClass::*eventCallback_fiiiif_t )( const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16418 : - typedef void ( idClass::*eventCallback_ifiiif_t )( const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16419 : - typedef void ( idClass::*eventCallback_ffiiif_t )( const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16420 : - typedef void ( idClass::*eventCallback_iifiif_t )( const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16421 : - typedef void ( idClass::*eventCallback_fifiif_t )( const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16422 : - typedef void ( idClass::*eventCallback_iffiif_t )( const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16423 : - typedef void ( idClass::*eventCallback_fffiif_t )( const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16424 : - typedef void ( idClass::*eventCallback_iiifif_t )( const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiifif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16425 : - typedef void ( idClass::*eventCallback_fiifif_t )( const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiifif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16426 : - typedef void ( idClass::*eventCallback_ififif_t )( const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ififif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16427 : - typedef void ( idClass::*eventCallback_ffifif_t )( const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffifif_t )( const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16428 : - typedef void ( idClass::*eventCallback_iiffif_t )( const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16429 : - typedef void ( idClass::*eventCallback_fiffif_t )( const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffif_t )( const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16430 : - typedef void ( idClass::*eventCallback_ifffif_t )( const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffif_t )( const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16431 : - typedef void ( idClass::*eventCallback_ffffif_t )( const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffif_t )( const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16432 : - typedef void ( idClass::*eventCallback_iiiiff_t )( const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16433 : - typedef void ( idClass::*eventCallback_fiiiff_t )( const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16434 : - typedef void ( idClass::*eventCallback_ifiiff_t )( const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16435 : - typedef void ( idClass::*eventCallback_ffiiff_t )( const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16436 : - typedef void ( idClass::*eventCallback_iififf_t )( const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iififf_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iififf_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16437 : - typedef void ( idClass::*eventCallback_fififf_t )( const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fififf_t )( const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16438 : - typedef void ( idClass::*eventCallback_iffiff_t )( const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16439 : - typedef void ( idClass::*eventCallback_fffiff_t )( const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiff_t )( const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16440 : - typedef void ( idClass::*eventCallback_iiifff_t )( const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiifff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16441 : - typedef void ( idClass::*eventCallback_fiifff_t )( const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiifff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16442 : - typedef void ( idClass::*eventCallback_ififff_t )( const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ififff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16443 : - typedef void ( idClass::*eventCallback_ffifff_t )( const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffifff_t )( const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16444 : - typedef void ( idClass::*eventCallback_iiffff_t )( const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16445 : - typedef void ( idClass::*eventCallback_fiffff_t )( const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffff_t )( const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16446 : - typedef void ( idClass::*eventCallback_ifffff_t )( const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffff_t )( const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ifffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; @@ -699,637 +700,637 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 32768 : - typedef void ( idClass::*eventCallback_iiiiiii_t )( const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32769 : - typedef void ( idClass::*eventCallback_fiiiiii_t )( const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32770 : - typedef void ( idClass::*eventCallback_ifiiiii_t )( const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32771 : - typedef void ( idClass::*eventCallback_ffiiiii_t )( const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32772 : - typedef void ( idClass::*eventCallback_iifiiii_t )( const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32773 : - typedef void ( idClass::*eventCallback_fifiiii_t )( const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32774 : - typedef void ( idClass::*eventCallback_iffiiii_t )( const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32775 : - typedef void ( idClass::*eventCallback_fffiiii_t )( const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32776 : - typedef void ( idClass::*eventCallback_iiifiii_t )( const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiifiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32777 : - typedef void ( idClass::*eventCallback_fiifiii_t )( const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiifiii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32778 : - typedef void ( idClass::*eventCallback_ififiii_t )( const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififiii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32779 : - typedef void ( idClass::*eventCallback_ffifiii_t )( const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffifiii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32780 : - typedef void ( idClass::*eventCallback_iiffiii_t )( const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiffiii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32781 : - typedef void ( idClass::*eventCallback_fiffiii_t )( const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiffiii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32782 : - typedef void ( idClass::*eventCallback_ifffiii_t )( const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifffiii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32783 : - typedef void ( idClass::*eventCallback_ffffiii_t )( const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffffiii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32784 : - typedef void ( idClass::*eventCallback_iiiifii_t )( const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiifii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32785 : - typedef void ( idClass::*eventCallback_fiiifii_t )( const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiifii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32786 : - typedef void ( idClass::*eventCallback_ifiifii_t )( const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiifii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32787 : - typedef void ( idClass::*eventCallback_ffiifii_t )( const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiifii_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32788 : - typedef void ( idClass::*eventCallback_iififii_t )( const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iififii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32789 : - typedef void ( idClass::*eventCallback_fififii_t )( const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fififii_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32790 : - typedef void ( idClass::*eventCallback_iffifii_t )( const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffifii_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32791 : - typedef void ( idClass::*eventCallback_fffifii_t )( const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffifii_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32792 : - typedef void ( idClass::*eventCallback_iiiffii_t )( const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiffii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32793 : - typedef void ( idClass::*eventCallback_fiiffii_t )( const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiffii_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32794 : - typedef void ( idClass::*eventCallback_ififfii_t )( const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififfii_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififfii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32795 : - typedef void ( idClass::*eventCallback_ffiffii_t )( const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiffii_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32796 : - typedef void ( idClass::*eventCallback_iifffii_t )( const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifffii_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32797 : - typedef void ( idClass::*eventCallback_fifffii_t )( const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifffii_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32798 : - typedef void ( idClass::*eventCallback_iffffii_t )( const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffffii_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32799 : - typedef void ( idClass::*eventCallback_fffffii_t )( const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffffii_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32800 : - typedef void ( idClass::*eventCallback_iiiiifi_t )( const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32801 : - typedef void ( idClass::*eventCallback_fiiiifi_t )( const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32802 : - typedef void ( idClass::*eventCallback_ifiiifi_t )( const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32803 : - typedef void ( idClass::*eventCallback_ffiiifi_t )( const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiifi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32804 : - typedef void ( idClass::*eventCallback_iifiifi_t )( const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifiifi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32805 : - typedef void ( idClass::*eventCallback_fifiifi_t )( const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifiifi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32806 : - typedef void ( idClass::*eventCallback_iffiifi_t )( const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffiifi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32807 : - typedef void ( idClass::*eventCallback_fffiifi_t )( const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffiifi_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32808 : - typedef void ( idClass::*eventCallback_iiififi_t )( const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiififi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiififi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32809 : - typedef void ( idClass::*eventCallback_fiififi_t )( const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiififi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32810 : - typedef void ( idClass::*eventCallback_ifififi_t )( const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifififi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32811 : - typedef void ( idClass::*eventCallback_ffififi_t )( const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffififi_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32812 : - typedef void ( idClass::*eventCallback_iiffifi_t )( const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiffifi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiffifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32813 : - typedef void ( idClass::*eventCallback_fiffifi_t )( const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiffifi_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32814 : - typedef void ( idClass::*eventCallback_ifffifi_t )( const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifffifi_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32815 : - typedef void ( idClass::*eventCallback_ffffifi_t )( const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffffifi_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32816 : - typedef void ( idClass::*eventCallback_iiiiffi_t )( const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32817 : - typedef void ( idClass::*eventCallback_fiiiffi_t )( const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32818 : - typedef void ( idClass::*eventCallback_ifiiffi_t )( const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32819 : - typedef void ( idClass::*eventCallback_ffiiffi_t )( const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiffi_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32820 : - typedef void ( idClass::*eventCallback_iififfi_t )( const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iififfi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iififfi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32821 : - typedef void ( idClass::*eventCallback_fififfi_t )( const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fififfi_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fififfi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32822 : - typedef void ( idClass::*eventCallback_iffiffi_t )( const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffiffi_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32823 : - typedef void ( idClass::*eventCallback_fffiffi_t )( const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffiffi_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32824 : - typedef void ( idClass::*eventCallback_iiifffi_t )( const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiifffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiifffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32825 : - typedef void ( idClass::*eventCallback_fiifffi_t )( const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiifffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32826 : - typedef void ( idClass::*eventCallback_ififffi_t )( const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififffi_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ififffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32827 : - typedef void ( idClass::*eventCallback_ffifffi_t )( const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffifffi_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32828 : - typedef void ( idClass::*eventCallback_iiffffi_t )( const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32829 : - typedef void ( idClass::*eventCallback_fiffffi_t )( const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffffi_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32830 : - typedef void ( idClass::*eventCallback_ifffffi_t )( const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffffi_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32831 : - typedef void ( idClass::*eventCallback_ffffffi_t )( const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffffi_t )( const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32832 : - typedef void ( idClass::*eventCallback_iiiiiif_t )( const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32833 : - typedef void ( idClass::*eventCallback_fiiiiif_t )( const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32834 : - typedef void ( idClass::*eventCallback_ifiiiif_t )( const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32835 : - typedef void ( idClass::*eventCallback_ffiiiif_t )( const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32836 : - typedef void ( idClass::*eventCallback_iifiiif_t )( const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32837 : - typedef void ( idClass::*eventCallback_fifiiif_t )( const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32838 : - typedef void ( idClass::*eventCallback_iffiiif_t )( const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32839 : - typedef void ( idClass::*eventCallback_fffiiif_t )( const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32840 : - typedef void ( idClass::*eventCallback_iiifiif_t )( const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiifiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiifiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32841 : - typedef void ( idClass::*eventCallback_fiifiif_t )( const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiifiif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32842 : - typedef void ( idClass::*eventCallback_ififiif_t )( const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififiif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32843 : - typedef void ( idClass::*eventCallback_ffifiif_t )( const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffifiif_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32844 : - typedef void ( idClass::*eventCallback_iiffiif_t )( const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiffiif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiffiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32845 : - typedef void ( idClass::*eventCallback_fiffiif_t )( const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiffiif_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32846 : - typedef void ( idClass::*eventCallback_ifffiif_t )( const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifffiif_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32847 : - typedef void ( idClass::*eventCallback_ffffiif_t )( const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffffiif_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32848 : - typedef void ( idClass::*eventCallback_iiiifif_t )( const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiifif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32849 : - typedef void ( idClass::*eventCallback_fiiifif_t )( const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiifif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32850 : - typedef void ( idClass::*eventCallback_ifiifif_t )( const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiifif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32851 : - typedef void ( idClass::*eventCallback_ffiifif_t )( const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiifif_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32852 : - typedef void ( idClass::*eventCallback_iififif_t )( const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iififif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iififif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32853 : - typedef void ( idClass::*eventCallback_fififif_t )( const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fififif_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fififif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32854 : - typedef void ( idClass::*eventCallback_iffifif_t )( const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffifif_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iffifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32855 : - typedef void ( idClass::*eventCallback_fffifif_t )( const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffifif_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32856 : - typedef void ( idClass::*eventCallback_iiiffif_t )( const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiffif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32857 : - typedef void ( idClass::*eventCallback_fiiffif_t )( const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiffif_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32858 : - typedef void ( idClass::*eventCallback_ififfif_t )( const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififfif_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ififfif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32859 : - typedef void ( idClass::*eventCallback_ffiffif_t )( const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiffif_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32860 : - typedef void ( idClass::*eventCallback_iifffif_t )( const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifffif_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iifffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32861 : - typedef void ( idClass::*eventCallback_fifffif_t )( const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifffif_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fifffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32862 : - typedef void ( idClass::*eventCallback_iffffif_t )( const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffffif_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32863 : - typedef void ( idClass::*eventCallback_fffffif_t )( const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffffif_t )( const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32864 : - typedef void ( idClass::*eventCallback_iiiiiff_t )( const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32865 : - typedef void ( idClass::*eventCallback_fiiiiff_t )( const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32866 : - typedef void ( idClass::*eventCallback_ifiiiff_t )( const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32867 : - typedef void ( idClass::*eventCallback_ffiiiff_t )( const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiiff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32868 : - typedef void ( idClass::*eventCallback_iifiiff_t )( const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifiiff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iifiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32869 : - typedef void ( idClass::*eventCallback_fifiiff_t )( const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifiiff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fifiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32870 : - typedef void ( idClass::*eventCallback_iffiiff_t )( const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiiff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32871 : - typedef void ( idClass::*eventCallback_fffiiff_t )( const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiiff_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32872 : - typedef void ( idClass::*eventCallback_iiififf_t )( const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiififf_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiififf_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32873 : - typedef void ( idClass::*eventCallback_fiififf_t )( const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiififf_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32874 : - typedef void ( idClass::*eventCallback_ifififf_t )( const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifififf_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32875 : - typedef void ( idClass::*eventCallback_ffififf_t )( const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffififf_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32876 : - typedef void ( idClass::*eventCallback_iiffiff_t )( const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiffiff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiffiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32877 : - typedef void ( idClass::*eventCallback_fiffiff_t )( const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiffiff_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32878 : - typedef void ( idClass::*eventCallback_ifffiff_t )( const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifffiff_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32879 : - typedef void ( idClass::*eventCallback_ffffiff_t )( const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffffiff_t )( const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32880 : - typedef void ( idClass::*eventCallback_iiiifff_t )( const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiifff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32881 : - typedef void ( idClass::*eventCallback_fiiifff_t )( const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiifff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32882 : - typedef void ( idClass::*eventCallback_ifiifff_t )( const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiifff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32883 : - typedef void ( idClass::*eventCallback_ffiifff_t )( const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiifff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32884 : - typedef void ( idClass::*eventCallback_iififff_t )( const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iififff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iififff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32885 : - typedef void ( idClass::*eventCallback_fififff_t )( const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fififff_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fififff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32886 : - typedef void ( idClass::*eventCallback_iffifff_t )( const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffifff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iffifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32887 : - typedef void ( idClass::*eventCallback_fffifff_t )( const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffifff_t )( const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32888 : - typedef void ( idClass::*eventCallback_iiiffff_t )( const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiffff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiiffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32889 : - typedef void ( idClass::*eventCallback_fiiffff_t )( const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiffff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32890 : - typedef void ( idClass::*eventCallback_ififfff_t )( const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififfff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ififfff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32891 : - typedef void ( idClass::*eventCallback_ffiffff_t )( const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiffff_t )( const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ffiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32892 : - typedef void ( idClass::*eventCallback_iifffff_t )( const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iifffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32893 : - typedef void ( idClass::*eventCallback_fifffff_t )( const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifffff_t )( const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fifffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32894 : - typedef void ( idClass::*eventCallback_iffffff_t )( const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffffff_t )( const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iffffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; @@ -1345,1277 +1346,1277 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 65536 : - typedef void ( idClass::*eventCallback_iiiiiiii_t )( const int, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65537 : - typedef void ( idClass::*eventCallback_fiiiiiii_t )( const float, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65538 : - typedef void ( idClass::*eventCallback_ifiiiiii_t )( const int, const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65539 : - typedef void ( idClass::*eventCallback_ffiiiiii_t )( const float, const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65540 : - typedef void ( idClass::*eventCallback_iifiiiii_t )( const int, const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiiiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65541 : - typedef void ( idClass::*eventCallback_fifiiiii_t )( const float, const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiiiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65542 : - typedef void ( idClass::*eventCallback_iffiiiii_t )( const int, const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiiiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65543 : - typedef void ( idClass::*eventCallback_fffiiiii_t )( const float, const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiiiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65544 : - typedef void ( idClass::*eventCallback_iiifiiii_t )( const int, const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiifiiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65545 : - typedef void ( idClass::*eventCallback_fiifiiii_t )( const float, const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiifiiii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65546 : - typedef void ( idClass::*eventCallback_ififiiii_t )( const int, const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififiiii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65547 : - typedef void ( idClass::*eventCallback_ffifiiii_t )( const float, const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffifiiii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65548 : - typedef void ( idClass::*eventCallback_iiffiiii_t )( const int, const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiffiiii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65549 : - typedef void ( idClass::*eventCallback_fiffiiii_t )( const float, const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiffiiii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65550 : - typedef void ( idClass::*eventCallback_ifffiiii_t )( const int, const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifffiiii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65551 : - typedef void ( idClass::*eventCallback_ffffiiii_t )( const float, const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffffiiii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65552 : - typedef void ( idClass::*eventCallback_iiiifiii_t )( const int, const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiifiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiifiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65553 : - typedef void ( idClass::*eventCallback_fiiifiii_t )( const float, const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiifiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65554 : - typedef void ( idClass::*eventCallback_ifiifiii_t )( const int, const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiifiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65555 : - typedef void ( idClass::*eventCallback_ffiifiii_t )( const float, const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiifiii_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65556 : - typedef void ( idClass::*eventCallback_iififiii_t )( const int, const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iififiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65557 : - typedef void ( idClass::*eventCallback_fififiii_t )( const float, const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fififiii_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65558 : - typedef void ( idClass::*eventCallback_iffifiii_t )( const int, const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffifiii_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65559 : - typedef void ( idClass::*eventCallback_fffifiii_t )( const float, const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffifiii_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65560 : - typedef void ( idClass::*eventCallback_iiiffiii_t )( const int, const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiffiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiffiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65561 : - typedef void ( idClass::*eventCallback_fiiffiii_t )( const float, const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiffiii_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65562 : - typedef void ( idClass::*eventCallback_ififfiii_t )( const int, const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififfiii_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififfiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65563 : - typedef void ( idClass::*eventCallback_ffiffiii_t )( const float, const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiffiii_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65564 : - typedef void ( idClass::*eventCallback_iifffiii_t )( const int, const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifffiii_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifffiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65565 : - typedef void ( idClass::*eventCallback_fifffiii_t )( const float, const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifffiii_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65566 : - typedef void ( idClass::*eventCallback_iffffiii_t )( const int, const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffffiii_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65567 : - typedef void ( idClass::*eventCallback_fffffiii_t )( const float, const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffffiii_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65568 : - typedef void ( idClass::*eventCallback_iiiiifii_t )( const int, const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiifii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65569 : - typedef void ( idClass::*eventCallback_fiiiifii_t )( const float, const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiifii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65570 : - typedef void ( idClass::*eventCallback_ifiiifii_t )( const int, const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiifii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65571 : - typedef void ( idClass::*eventCallback_ffiiifii_t )( const float, const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiifii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65572 : - typedef void ( idClass::*eventCallback_iifiifii_t )( const int, const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifiifii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65573 : - typedef void ( idClass::*eventCallback_fifiifii_t )( const float, const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifiifii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65574 : - typedef void ( idClass::*eventCallback_iffiifii_t )( const int, const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffiifii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65575 : - typedef void ( idClass::*eventCallback_fffiifii_t )( const float, const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffiifii_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65576 : - typedef void ( idClass::*eventCallback_iiififii_t )( const int, const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiififii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiififii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65577 : - typedef void ( idClass::*eventCallback_fiififii_t )( const float, const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiififii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiififii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65578 : - typedef void ( idClass::*eventCallback_ifififii_t )( const int, const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifififii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifififii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65579 : - typedef void ( idClass::*eventCallback_ffififii_t )( const float, const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffififii_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffififii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65580 : - typedef void ( idClass::*eventCallback_iiffifii_t )( const int, const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffifii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65581 : - typedef void ( idClass::*eventCallback_fiffifii_t )( const float, const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffifii_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65582 : - typedef void ( idClass::*eventCallback_ifffifii_t )( const int, const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffifii_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65583 : - typedef void ( idClass::*eventCallback_ffffifii_t )( const float, const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffifii_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65584 : - typedef void ( idClass::*eventCallback_iiiiffii_t )( const int, const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiffii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65585 : - typedef void ( idClass::*eventCallback_fiiiffii_t )( const float, const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiffii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65586 : - typedef void ( idClass::*eventCallback_ifiiffii_t )( const int, const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiffii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65587 : - typedef void ( idClass::*eventCallback_ffiiffii_t )( const float, const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiffii_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65588 : - typedef void ( idClass::*eventCallback_iififfii_t )( const int, const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iififfii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififfii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65589 : - typedef void ( idClass::*eventCallback_fififfii_t )( const float, const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fififfii_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififfii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65590 : - typedef void ( idClass::*eventCallback_iffiffii_t )( const int, const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffiffii_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65591 : - typedef void ( idClass::*eventCallback_fffiffii_t )( const float, const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffiffii_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65592 : - typedef void ( idClass::*eventCallback_iiifffii_t )( const int, const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiifffii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65593 : - typedef void ( idClass::*eventCallback_fiifffii_t )( const float, const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiifffii_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65594 : - typedef void ( idClass::*eventCallback_ififffii_t )( const int, const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififffii_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65595 : - typedef void ( idClass::*eventCallback_ffifffii_t )( const float, const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffifffii_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65596 : - typedef void ( idClass::*eventCallback_iiffffii_t )( const int, const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffffii_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65597 : - typedef void ( idClass::*eventCallback_fiffffii_t )( const float, const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffffii_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65598 : - typedef void ( idClass::*eventCallback_ifffffii_t )( const int, const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffffii_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65599 : - typedef void ( idClass::*eventCallback_ffffffii_t )( const float, const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffffii_t )( const float, const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65600 : - typedef void ( idClass::*eventCallback_iiiiiifi_t )( const int, const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65601 : - typedef void ( idClass::*eventCallback_fiiiiifi_t )( const float, const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65602 : - typedef void ( idClass::*eventCallback_ifiiiifi_t )( const int, const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65603 : - typedef void ( idClass::*eventCallback_ffiiiifi_t )( const float, const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiiifi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65604 : - typedef void ( idClass::*eventCallback_iifiiifi_t )( const int, const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifiiifi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifiiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65605 : - typedef void ( idClass::*eventCallback_fifiiifi_t )( const float, const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifiiifi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65606 : - typedef void ( idClass::*eventCallback_iffiiifi_t )( const int, const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffiiifi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65607 : - typedef void ( idClass::*eventCallback_fffiiifi_t )( const float, const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffiiifi_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65608 : - typedef void ( idClass::*eventCallback_iiifiifi_t )( const int, const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiifiifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiifiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65609 : - typedef void ( idClass::*eventCallback_fiifiifi_t )( const float, const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiifiifi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiifiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65610 : - typedef void ( idClass::*eventCallback_ififiifi_t )( const int, const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififiifi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65611 : - typedef void ( idClass::*eventCallback_ffifiifi_t )( const float, const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffifiifi_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffifiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65612 : - typedef void ( idClass::*eventCallback_iiffiifi_t )( const int, const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiffiifi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiffiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65613 : - typedef void ( idClass::*eventCallback_fiffiifi_t )( const float, const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiffiifi_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiffiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65614 : - typedef void ( idClass::*eventCallback_ifffiifi_t )( const int, const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifffiifi_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifffiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65615 : - typedef void ( idClass::*eventCallback_ffffiifi_t )( const float, const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffffiifi_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65616 : - typedef void ( idClass::*eventCallback_iiiififi_t )( const int, const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiififi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiififi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65617 : - typedef void ( idClass::*eventCallback_fiiififi_t )( const float, const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiififi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65618 : - typedef void ( idClass::*eventCallback_ifiififi_t )( const int, const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiififi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65619 : - typedef void ( idClass::*eventCallback_ffiififi_t )( const float, const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiififi_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65620 : - typedef void ( idClass::*eventCallback_iifififi_t )( const int, const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifififi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifififi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65621 : - typedef void ( idClass::*eventCallback_fifififi_t )( const float, const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifififi_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65622 : - typedef void ( idClass::*eventCallback_iffififi_t )( const int, const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffififi_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65623 : - typedef void ( idClass::*eventCallback_fffififi_t )( const float, const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffififi_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65624 : - typedef void ( idClass::*eventCallback_iiiffifi_t )( const int, const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiffifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65625 : - typedef void ( idClass::*eventCallback_fiiffifi_t )( const float, const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffifi_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65626 : - typedef void ( idClass::*eventCallback_ififfifi_t )( const int, const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififfifi_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififfifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65627 : - typedef void ( idClass::*eventCallback_ffiffifi_t )( const float, const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffifi_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65628 : - typedef void ( idClass::*eventCallback_iifffifi_t )( const int, const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifffifi_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifffifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65629 : - typedef void ( idClass::*eventCallback_fifffifi_t )( const float, const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifffifi_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65630 : - typedef void ( idClass::*eventCallback_iffffifi_t )( const int, const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffffifi_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65631 : - typedef void ( idClass::*eventCallback_fffffifi_t )( const float, const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffffifi_t )( const float, const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65632 : - typedef void ( idClass::*eventCallback_iiiiiffi_t )( const int, const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65633 : - typedef void ( idClass::*eventCallback_fiiiiffi_t )( const float, const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiiffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65634 : - typedef void ( idClass::*eventCallback_ifiiiffi_t )( const int, const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiiffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65635 : - typedef void ( idClass::*eventCallback_ffiiiffi_t )( const float, const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiiffi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65636 : - typedef void ( idClass::*eventCallback_iifiiffi_t )( const int, const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifiiffi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iifiiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65637 : - typedef void ( idClass::*eventCallback_fifiiffi_t )( const float, const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifiiffi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fifiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65638 : - typedef void ( idClass::*eventCallback_iffiiffi_t )( const int, const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffiiffi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65639 : - typedef void ( idClass::*eventCallback_fffiiffi_t )( const float, const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffiiffi_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fffiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65640 : - typedef void ( idClass::*eventCallback_iiififfi_t )( const int, const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiififfi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiififfi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65641 : - typedef void ( idClass::*eventCallback_fiififfi_t )( const float, const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiififfi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiififfi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65642 : - typedef void ( idClass::*eventCallback_ifififfi_t )( const int, const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifififfi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifififfi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65643 : - typedef void ( idClass::*eventCallback_ffififfi_t )( const float, const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffififfi_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffififfi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65644 : - typedef void ( idClass::*eventCallback_iiffiffi_t )( const int, const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffiffi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65645 : - typedef void ( idClass::*eventCallback_fiffiffi_t )( const float, const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffiffi_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65646 : - typedef void ( idClass::*eventCallback_ifffiffi_t )( const int, const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffiffi_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65647 : - typedef void ( idClass::*eventCallback_ffffiffi_t )( const float, const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffiffi_t )( const float, const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65648 : - typedef void ( idClass::*eventCallback_iiiifffi_t )( const int, const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiifffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiifffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65649 : - typedef void ( idClass::*eventCallback_fiiifffi_t )( const float, const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiifffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65650 : - typedef void ( idClass::*eventCallback_ifiifffi_t )( const int, const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiifffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65651 : - typedef void ( idClass::*eventCallback_ffiifffi_t )( const float, const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiifffi_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65652 : - typedef void ( idClass::*eventCallback_iififffi_t )( const int, const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iififffi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iififffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65653 : - typedef void ( idClass::*eventCallback_fififffi_t )( const float, const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fififffi_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fififffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65654 : - typedef void ( idClass::*eventCallback_iffifffi_t )( const int, const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffifffi_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65655 : - typedef void ( idClass::*eventCallback_fffifffi_t )( const float, const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffifffi_t )( const float, const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65656 : - typedef void ( idClass::*eventCallback_iiiffffi_t )( const int, const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiffffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65657 : - typedef void ( idClass::*eventCallback_fiiffffi_t )( const float, const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65658 : - typedef void ( idClass::*eventCallback_ififfffi_t )( const int, const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififfffi_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ififfffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65659 : - typedef void ( idClass::*eventCallback_ffiffffi_t )( const float, const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffffi_t )( const float, const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65660 : - typedef void ( idClass::*eventCallback_iifffffi_t )( const int, const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifffffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iifffffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65661 : - typedef void ( idClass::*eventCallback_fifffffi_t )( const float, const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifffffi_t )( const float, const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fifffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65662 : - typedef void ( idClass::*eventCallback_iffffffi_t )( const int, const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffffffi_t )( const intptr_t, const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65663 : - typedef void ( idClass::*eventCallback_fffffffi_t )( const float, const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffffffi_t )( const float, const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65664 : - typedef void ( idClass::*eventCallback_iiiiiiif_t )( const int, const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65665 : - typedef void ( idClass::*eventCallback_fiiiiiif_t )( const float, const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65666 : - typedef void ( idClass::*eventCallback_ifiiiiif_t )( const int, const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65667 : - typedef void ( idClass::*eventCallback_ffiiiiif_t )( const float, const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65668 : - typedef void ( idClass::*eventCallback_iifiiiif_t )( const int, const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiiiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65669 : - typedef void ( idClass::*eventCallback_fifiiiif_t )( const float, const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiiiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65670 : - typedef void ( idClass::*eventCallback_iffiiiif_t )( const int, const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiiiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65671 : - typedef void ( idClass::*eventCallback_fffiiiif_t )( const float, const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiiiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65672 : - typedef void ( idClass::*eventCallback_iiifiiif_t )( const int, const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiifiiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiifiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65673 : - typedef void ( idClass::*eventCallback_fiifiiif_t )( const float, const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiifiiif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiifiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65674 : - typedef void ( idClass::*eventCallback_ififiiif_t )( const int, const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififiiif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65675 : - typedef void ( idClass::*eventCallback_ffifiiif_t )( const float, const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffifiiif_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffifiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65676 : - typedef void ( idClass::*eventCallback_iiffiiif_t )( const int, const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiffiiif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiffiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65677 : - typedef void ( idClass::*eventCallback_fiffiiif_t )( const float, const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiffiiif_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiffiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65678 : - typedef void ( idClass::*eventCallback_ifffiiif_t )( const int, const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifffiiif_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifffiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65679 : - typedef void ( idClass::*eventCallback_ffffiiif_t )( const float, const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffffiiif_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65680 : - typedef void ( idClass::*eventCallback_iiiifiif_t )( const int, const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiifiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiifiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65681 : - typedef void ( idClass::*eventCallback_fiiifiif_t )( const float, const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiifiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65682 : - typedef void ( idClass::*eventCallback_ifiifiif_t )( const int, const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiifiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65683 : - typedef void ( idClass::*eventCallback_ffiifiif_t )( const float, const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiifiif_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65684 : - typedef void ( idClass::*eventCallback_iififiif_t )( const int, const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iififiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iififiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65685 : - typedef void ( idClass::*eventCallback_fififiif_t )( const float, const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fififiif_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fififiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65686 : - typedef void ( idClass::*eventCallback_iffifiif_t )( const int, const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffifiif_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65687 : - typedef void ( idClass::*eventCallback_fffifiif_t )( const float, const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffifiif_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65688 : - typedef void ( idClass::*eventCallback_iiiffiif_t )( const int, const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiffiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiffiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65689 : - typedef void ( idClass::*eventCallback_fiiffiif_t )( const float, const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiffiif_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65690 : - typedef void ( idClass::*eventCallback_ififfiif_t )( const int, const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififfiif_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififfiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65691 : - typedef void ( idClass::*eventCallback_ffiffiif_t )( const float, const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiffiif_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65692 : - typedef void ( idClass::*eventCallback_iifffiif_t )( const int, const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifffiif_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifffiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65693 : - typedef void ( idClass::*eventCallback_fifffiif_t )( const float, const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifffiif_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65694 : - typedef void ( idClass::*eventCallback_iffffiif_t )( const int, const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffffiif_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65695 : - typedef void ( idClass::*eventCallback_fffffiif_t )( const float, const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffffiif_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65696 : - typedef void ( idClass::*eventCallback_iiiiifif_t )( const int, const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiifif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65697 : - typedef void ( idClass::*eventCallback_fiiiifif_t )( const float, const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiifif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65698 : - typedef void ( idClass::*eventCallback_ifiiifif_t )( const int, const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiifif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65699 : - typedef void ( idClass::*eventCallback_ffiiifif_t )( const float, const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiifif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65700 : - typedef void ( idClass::*eventCallback_iifiifif_t )( const int, const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifiifif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iifiifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65701 : - typedef void ( idClass::*eventCallback_fifiifif_t )( const float, const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifiifif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fifiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65702 : - typedef void ( idClass::*eventCallback_iffiifif_t )( const int, const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffiifif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iffiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65703 : - typedef void ( idClass::*eventCallback_fffiifif_t )( const float, const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffiifif_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fffiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65704 : - typedef void ( idClass::*eventCallback_iiififif_t )( const int, const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiififif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiififif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65705 : - typedef void ( idClass::*eventCallback_fiififif_t )( const float, const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiififif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiififif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65706 : - typedef void ( idClass::*eventCallback_ifififif_t )( const int, const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifififif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifififif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65707 : - typedef void ( idClass::*eventCallback_ffififif_t )( const float, const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffififif_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffififif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65708 : - typedef void ( idClass::*eventCallback_iiffifif_t )( const int, const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffifif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65709 : - typedef void ( idClass::*eventCallback_fiffifif_t )( const float, const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffifif_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65710 : - typedef void ( idClass::*eventCallback_ifffifif_t )( const int, const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffifif_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65711 : - typedef void ( idClass::*eventCallback_ffffifif_t )( const float, const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffifif_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65712 : - typedef void ( idClass::*eventCallback_iiiiffif_t )( const int, const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiffif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiiffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65713 : - typedef void ( idClass::*eventCallback_fiiiffif_t )( const float, const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiffif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65714 : - typedef void ( idClass::*eventCallback_ifiiffif_t )( const int, const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiffif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiiffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65715 : - typedef void ( idClass::*eventCallback_ffiiffif_t )( const float, const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiffif_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65716 : - typedef void ( idClass::*eventCallback_iififfif_t )( const int, const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iififfif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iififfif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65717 : - typedef void ( idClass::*eventCallback_fififfif_t )( const float, const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fififfif_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fififfif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65718 : - typedef void ( idClass::*eventCallback_iffiffif_t )( const int, const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffiffif_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffiffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65719 : - typedef void ( idClass::*eventCallback_fffiffif_t )( const float, const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffiffif_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65720 : - typedef void ( idClass::*eventCallback_iiifffif_t )( const int, const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiifffif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiifffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65721 : - typedef void ( idClass::*eventCallback_fiifffif_t )( const float, const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiifffif_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiifffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65722 : - typedef void ( idClass::*eventCallback_ififffif_t )( const int, const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififffif_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ififffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65723 : - typedef void ( idClass::*eventCallback_ffifffif_t )( const float, const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffifffif_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffifffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65724 : - typedef void ( idClass::*eventCallback_iiffffif_t )( const int, const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffffif_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65725 : - typedef void ( idClass::*eventCallback_fiffffif_t )( const float, const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffffif_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65726 : - typedef void ( idClass::*eventCallback_ifffffif_t )( const int, const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffffif_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65727 : - typedef void ( idClass::*eventCallback_ffffffif_t )( const float, const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffffif_t )( const float, const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65728 : - typedef void ( idClass::*eventCallback_iiiiiiff_t )( const int, const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65729 : - typedef void ( idClass::*eventCallback_fiiiiiff_t )( const float, const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65730 : - typedef void ( idClass::*eventCallback_ifiiiiff_t )( const int, const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65731 : - typedef void ( idClass::*eventCallback_ffiiiiff_t )( const float, const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiiiff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65732 : - typedef void ( idClass::*eventCallback_iifiiiff_t )( const int, const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifiiiff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iifiiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65733 : - typedef void ( idClass::*eventCallback_fifiiiff_t )( const float, const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifiiiff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fifiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65734 : - typedef void ( idClass::*eventCallback_iffiiiff_t )( const int, const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiiiff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65735 : - typedef void ( idClass::*eventCallback_fffiiiff_t )( const float, const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiiiff_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65736 : - typedef void ( idClass::*eventCallback_iiifiiff_t )( const int, const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiifiiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiifiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65737 : - typedef void ( idClass::*eventCallback_fiifiiff_t )( const float, const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiifiiff_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiifiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65738 : - typedef void ( idClass::*eventCallback_ififiiff_t )( const int, const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififiiff_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ififiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65739 : - typedef void ( idClass::*eventCallback_ffifiiff_t )( const float, const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffifiiff_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffifiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65740 : - typedef void ( idClass::*eventCallback_iiffiiff_t )( const int, const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiffiiff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiffiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65741 : - typedef void ( idClass::*eventCallback_fiffiiff_t )( const float, const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiffiiff_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiffiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65742 : - typedef void ( idClass::*eventCallback_ifffiiff_t )( const int, const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifffiiff_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifffiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65743 : - typedef void ( idClass::*eventCallback_ffffiiff_t )( const float, const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffffiiff_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65744 : - typedef void ( idClass::*eventCallback_iiiififf_t )( const int, const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiififf_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiififf_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65745 : - typedef void ( idClass::*eventCallback_fiiififf_t )( const float, const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiififf_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65746 : - typedef void ( idClass::*eventCallback_ifiififf_t )( const int, const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiififf_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65747 : - typedef void ( idClass::*eventCallback_ffiififf_t )( const float, const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiififf_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65748 : - typedef void ( idClass::*eventCallback_iifififf_t )( const int, const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifififf_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iifififf_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65749 : - typedef void ( idClass::*eventCallback_fifififf_t )( const float, const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifififf_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fifififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65750 : - typedef void ( idClass::*eventCallback_iffififf_t )( const int, const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffififf_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65751 : - typedef void ( idClass::*eventCallback_fffififf_t )( const float, const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffififf_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65752 : - typedef void ( idClass::*eventCallback_iiiffiff_t )( const int, const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiffiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiffiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65753 : - typedef void ( idClass::*eventCallback_fiiffiff_t )( const float, const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiffiff_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65754 : - typedef void ( idClass::*eventCallback_ififfiff_t )( const int, const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififfiff_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ififfiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65755 : - typedef void ( idClass::*eventCallback_ffiffiff_t )( const float, const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiffiff_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65756 : - typedef void ( idClass::*eventCallback_iifffiff_t )( const int, const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifffiff_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iifffiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65757 : - typedef void ( idClass::*eventCallback_fifffiff_t )( const float, const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifffiff_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fifffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65758 : - typedef void ( idClass::*eventCallback_iffffiff_t )( const int, const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffffiff_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65759 : - typedef void ( idClass::*eventCallback_fffffiff_t )( const float, const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffffiff_t )( const float, const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65760 : - typedef void ( idClass::*eventCallback_iiiiifff_t )( const int, const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiifff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiiiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65761 : - typedef void ( idClass::*eventCallback_fiiiifff_t )( const float, const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiifff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiiiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65762 : - typedef void ( idClass::*eventCallback_ifiiifff_t )( const int, const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiifff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifiiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65763 : - typedef void ( idClass::*eventCallback_ffiiifff_t )( const float, const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiifff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffiiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65764 : - typedef void ( idClass::*eventCallback_iifiifff_t )( const int, const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifiifff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iifiifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65765 : - typedef void ( idClass::*eventCallback_fifiifff_t )( const float, const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifiifff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fifiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65766 : - typedef void ( idClass::*eventCallback_iffiifff_t )( const int, const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffiifff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iffiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65767 : - typedef void ( idClass::*eventCallback_fffiifff_t )( const float, const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffiifff_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fffiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65768 : - typedef void ( idClass::*eventCallback_iiififff_t )( const int, const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiififff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiififff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65769 : - typedef void ( idClass::*eventCallback_fiififff_t )( const float, const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiififff_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiififff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65770 : - typedef void ( idClass::*eventCallback_ifififff_t )( const int, const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifififff_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifififff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65771 : - typedef void ( idClass::*eventCallback_ffififff_t )( const float, const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffififff_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffififff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65772 : - typedef void ( idClass::*eventCallback_iiffifff_t )( const int, const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffifff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiffifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65773 : - typedef void ( idClass::*eventCallback_fiffifff_t )( const float, const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffifff_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiffifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65774 : - typedef void ( idClass::*eventCallback_ifffifff_t )( const int, const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffifff_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifffifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65775 : - typedef void ( idClass::*eventCallback_ffffifff_t )( const float, const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffffifff_t )( const float, const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65776 : - typedef void ( idClass::*eventCallback_iiiiffff_t )( const int, const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiffff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiiiffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65777 : - typedef void ( idClass::*eventCallback_fiiiffff_t )( const float, const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiffff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiiiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65778 : - typedef void ( idClass::*eventCallback_ifiiffff_t )( const int, const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiffff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ifiiffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65779 : - typedef void ( idClass::*eventCallback_ffiiffff_t )( const float, const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiffff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ffiiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65780 : - typedef void ( idClass::*eventCallback_iififfff_t )( const int, const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iififfff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iififfff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65781 : - typedef void ( idClass::*eventCallback_fififfff_t )( const float, const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fififfff_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fififfff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65782 : - typedef void ( idClass::*eventCallback_iffiffff_t )( const int, const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffiffff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iffiffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65783 : - typedef void ( idClass::*eventCallback_fffiffff_t )( const float, const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffiffff_t )( const float, const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fffiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65784 : - typedef void ( idClass::*eventCallback_iiifffff_t )( const int, const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiifffff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iiifffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65785 : - typedef void ( idClass::*eventCallback_fiifffff_t )( const float, const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiifffff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fiifffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65786 : - typedef void ( idClass::*eventCallback_ififffff_t )( const int, const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififffff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ififffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65787 : - typedef void ( idClass::*eventCallback_ffifffff_t )( const float, const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffifffff_t )( const float, const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ffifffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65788 : - typedef void ( idClass::*eventCallback_iiffffff_t )( const int, const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iiffffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65789 : - typedef void ( idClass::*eventCallback_fiffffff_t )( const float, const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffffff_t )( const float, const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fiffffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65790 : - typedef void ( idClass::*eventCallback_ifffffff_t )( const int, const float, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffffff_t )( const intptr_t, const float, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ifffffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; @@ -2623,4 +2624,3 @@ If you have questions concerning this license or the applicable additional terms typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; - diff --git a/d3xp/gamesys/Class.cpp b/d3xp/gamesys/Class.cpp index 4038499..5df57ae 100644 --- a/d3xp/gamesys/Class.cpp +++ b/d3xp/gamesys/Class.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -62,7 +62,7 @@ initialized in any order, the constructor must handle the case that subclasses are initialized before superclasses. ================ */ -idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), +idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), void ( idClass::*Spawn )( void ), void ( idClass::*Save )( idSaveGame *savefile ) const, void ( idClass::*Restore )( idRestoreGame *savefile ) ) { idTypeInfo *type; @@ -83,7 +83,7 @@ idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFu // Check if any subclasses were initialized before their superclass for( type = typelist; type != NULL; type = type->next ) { - if ( ( type->super == NULL ) && !idStr::Cmp( type->superclass, this->classname ) && + if ( ( type->super == NULL ) && !idStr::Cmp( type->superclass, this->classname ) && idStr::Cmp( type->classname, "idClass" ) ) { type->super = this; } @@ -117,7 +117,7 @@ idTypeInfo::~idTypeInfo() { ================ idTypeInfo::Init -Initializes the event callback table for the class. Creates a +Initializes the event callback table for the class. Creates a table for fast lookups of event functions. Should only be called once. ================ */ @@ -203,7 +203,7 @@ void idTypeInfo::Init( void ) { idTypeInfo::Shutdown Should only be called when DLL or EXE is being shutdown. -Although it cleans up any allocated memory, it doesn't bother to remove itself +Although it cleans up any allocated memory, it doesn't bother to remove itself from the class list since the program is shutting down. ================ */ @@ -394,7 +394,7 @@ void idClass::Init( void ) { // is a subclass of another num = 0; for( c = classHierarchy.GetNext(); c != NULL; c = c->node.GetNext(), num++ ) { - c->typeNum = num; + c->typeNum = num; c->lastChild += num; } @@ -504,7 +504,7 @@ void idClass::operator delete( void *ptr ) { p = ( ( int * )ptr ) - 1; memused -= *p; numobjects--; - Mem_Free( p ); + Mem_Free( p ); } } @@ -515,7 +515,7 @@ void idClass::operator delete( void *ptr, int, int, char *, int ) { p = ( ( int * )ptr ) - 1; memused -= *p; numobjects--; - Mem_Free( p ); + Mem_Free( p ); } } @@ -629,10 +629,8 @@ bool idClass::PostEventArgs( const idEventDef *ev, int time, int numargs, ... ) idTypeInfo *c; idEvent *event; va_list args; - + assert( ev ); - - //common->Printf(" state %d %d\n", gameLocal.GameState() , IsType( idThread::Type ) ); if ( !idEvent::initialized ) { return false; @@ -647,14 +645,9 @@ bool idClass::PostEventArgs( const idEventDef *ev, int time, int numargs, ... ) // we service events on the client to avoid any bad code filling up the event pool // we don't want them processed usually, unless when the map is (re)loading. // we allow threads to run fine, though. - - //BC TODO: find out why the deck is making this break. - /* - if ( gameLocal.isClient && ( gameLocal.GameState() != GAMESTATE_STARTUP ) && !IsType( idThread::Type ) ) - { + if ( gameLocal.isClient && ( gameLocal.GameState() != GAMESTATE_STARTUP ) && !IsType( idThread::Type ) ) { return true; } - */ va_start( args, numargs ); event = idEvent::Alloc( ev, numargs, args ); @@ -835,9 +828,9 @@ idClass::ProcessEventArgs bool idClass::ProcessEventArgs( const idEventDef *ev, int numargs, ... ) { idTypeInfo *c; int num; - int data[ D_EVENT_MAXARGS ]; + intptr_t data[ D_EVENT_MAXARGS ]; va_list args; - + assert( ev ); assert( idEvent::initialized ); @@ -943,7 +936,7 @@ bool idClass::ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg ar idClass::ProcessEventArgPtr ================ */ -bool idClass::ProcessEventArgPtr( const idEventDef *ev, int *data ) { +bool idClass::ProcessEventArgPtr( const idEventDef *ev, intptr_t *data ) { idTypeInfo *c; int num; eventCallback_t callback; @@ -1006,42 +999,42 @@ http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/ break; case 1 : - typedef void ( idClass::*eventCallback_1_t )( const int ); + typedef void ( idClass::*eventCallback_1_t )( const intptr_t ); ( this->*( eventCallback_1_t )callback )( data[ 0 ] ); break; case 2 : - typedef void ( idClass::*eventCallback_2_t )( const int, const int ); + typedef void ( idClass::*eventCallback_2_t )( const intptr_t, const intptr_t ); ( this->*( eventCallback_2_t )callback )( data[ 0 ], data[ 1 ] ); break; case 3 : - typedef void ( idClass::*eventCallback_3_t )( const int, const int, const int ); + typedef void ( idClass::*eventCallback_3_t )( const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_3_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 4 : - typedef void ( idClass::*eventCallback_4_t )( const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_4_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_4_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 5 : - typedef void ( idClass::*eventCallback_5_t )( const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_5_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_5_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 6 : - typedef void ( idClass::*eventCallback_6_t )( const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_6_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_6_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 7 : - typedef void ( idClass::*eventCallback_7_t )( const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_7_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_7_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 8 : - typedef void ( idClass::*eventCallback_8_t )( const int, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_8_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_8_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; diff --git a/d3xp/gamesys/Class.h b/d3xp/gamesys/Class.h index 25885b3..853d1f9 100644 --- a/d3xp/gamesys/Class.h +++ b/d3xp/gamesys/Class.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -57,16 +57,16 @@ struct idEventFunc { class idEventArg { public: int type; - int value; + intptr_t value; idEventArg() { type = D_EVENT_INTEGER; value = 0; }; idEventArg( int data ) { type = D_EVENT_INTEGER; value = data; }; idEventArg( float data ) { type = D_EVENT_FLOAT; value = *reinterpret_cast( &data ); }; - idEventArg( idVec3 &data ) { type = D_EVENT_VECTOR; value = reinterpret_cast( &data ); }; - idEventArg( const idStr &data ) { type = D_EVENT_STRING; value = reinterpret_cast( data.c_str() ); }; - idEventArg( const char *data ) { type = D_EVENT_STRING; value = reinterpret_cast( data ); }; - idEventArg( const class idEntity *data ) { type = D_EVENT_ENTITY; value = reinterpret_cast( data ); }; - idEventArg( const struct trace_s *data ) { type = D_EVENT_TRACE; value = reinterpret_cast( data ); }; + idEventArg( idVec3 &data ) { type = D_EVENT_VECTOR; value = reinterpret_cast( &data ); }; + idEventArg( const idStr &data ) { type = D_EVENT_STRING; value = reinterpret_cast( data.c_str() ); }; + idEventArg( const char *data ) { type = D_EVENT_STRING; value = reinterpret_cast( data ); }; + idEventArg( const class idEntity *data ) { type = D_EVENT_ENTITY; value = reinterpret_cast( data ); }; + idEventArg( const struct trace_s *data ) { type = D_EVENT_TRACE; value = reinterpret_cast( data ); }; }; class idAllocError : public idException { @@ -102,7 +102,7 @@ CLASS_DECLARATION This macro must be included in the code to properly initialize variables used in type checking and run-time instanciation. It also defines the list -of events that the class responds to. Take special care to ensure that the +of events that the class responds to. Take special care to ensure that the proper superclass is indicated or the run-time type information will be incorrect. Use this on concrete classes only. ================ @@ -230,7 +230,7 @@ public: bool ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7 ); bool ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8 ); - bool ProcessEventArgPtr( const idEventDef *ev, int *data ); + bool ProcessEventArgPtr( const idEventDef *ev, intptr_t *data ); void CancelEvents( const idEventDef *ev ); void Event_Remove( void ); @@ -287,7 +287,7 @@ public: idHierarchy node; - idTypeInfo( const char *classname, const char *superclass, + idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), void ( idClass::*Spawn )( void ), void ( idClass::*Save )( idSaveGame *savefile ) const, void ( idClass::*Restore )( idRestoreGame *savefile ) ); ~idTypeInfo(); @@ -303,7 +303,7 @@ public: ================ idTypeInfo::IsType -Checks if the object's class is a subclass of the class defined by the +Checks if the object's class is a subclass of the class defined by the passed in idTypeInfo. ================ */ @@ -330,7 +330,7 @@ ID_INLINE bool idTypeInfo::RespondsTo( const idEventDef &ev ) const { ================ idClass::IsType -Checks if the object's class is a subclass of the class defined by the +Checks if the object's class is a subclass of the class defined by the passed in idTypeInfo. ================ */ diff --git a/d3xp/gamesys/Event.cpp b/d3xp/gamesys/Event.cpp index 0050664..b3b3b8a 100644 --- a/d3xp/gamesys/Event.cpp +++ b/d3xp/gamesys/Event.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -92,15 +92,15 @@ idEventDef::idEventDef( const char *command, const char *formatspec, char return switch( formatspec[ i ] ) { case D_EVENT_FLOAT : bits |= 1 << i; - argsize += sizeof( float ); + argsize += sizeof( intptr_t ); break; case D_EVENT_INTEGER : - argsize += sizeof( int ); + argsize += sizeof( intptr_t ); break; case D_EVENT_VECTOR : - argsize += sizeof( idVec3 ); + argsize += E_EVENT_SIZEOF_VEC; break; case D_EVENT_STRING : @@ -334,7 +334,7 @@ idEvent *idEvent::Alloc( const idEventDef *evdef, int numargs, va_list args ) { idEvent::CopyArgs ================ */ -void idEvent::CopyArgs( const idEventDef *evdef, int numargs, va_list args, int data[ D_EVENT_MAXARGS ] ) { +void idEvent::CopyArgs( const idEventDef *evdef, int numargs, va_list args, intptr_t data[ D_EVENT_MAXARGS ] ) { int i; const char *format; idEventArg *arg; @@ -476,8 +476,8 @@ void idEvent::ClearEventList( void ) { // FreeEvents.Clear(); EventQueue.Clear(); - - // + + // // add the events to the free list // for( i = 0; i < MAX_EVENTS; i++ ) { @@ -493,7 +493,7 @@ idEvent::ServiceEvents void idEvent::ServiceEvents( void ) { idEvent *event; int num; - int args[ D_EVENT_MAXARGS ]; + intptr_t args[ D_EVENT_MAXARGS ]; int offset; int i; int numargs; @@ -593,7 +593,7 @@ idEvent::ServiceFastEvents void idEvent::ServiceFastEvents() { idEvent *event; int num; - int args[ D_EVENT_MAXARGS ]; + intptr_t args[ D_EVENT_MAXARGS ]; int offset; int i; int numargs; @@ -733,7 +733,7 @@ void idEvent::Shutdown( void ) { } ClearEventList(); - + eventDataAllocator.Shutdown(); // say it is now shutdown @@ -768,17 +768,17 @@ void idEvent::Save( idSaveGame *savefile ) { switch( format[ i ] ) { case D_EVENT_FLOAT : savefile->WriteFloat( *reinterpret_cast( dataPtr ) ); - size += sizeof( float ); + size += sizeof( intptr_t ); break; case D_EVENT_INTEGER : case D_EVENT_ENTITY : case D_EVENT_ENTITY_NULL : savefile->WriteInt( *reinterpret_cast( dataPtr ) ); - size += sizeof( int ); + size += sizeof( intptr_t ); break; case D_EVENT_VECTOR : savefile->WriteVec3( *reinterpret_cast( dataPtr ) ); - size += sizeof( idVec3 ); + size += E_EVENT_SIZEOF_VEC; break; case D_EVENT_TRACE : validTrace = *reinterpret_cast( dataPtr ); @@ -877,17 +877,17 @@ void idEvent::Restore( idRestoreGame *savefile ) { switch( format[ j ] ) { case D_EVENT_FLOAT : savefile->ReadFloat( *reinterpret_cast( dataPtr ) ); - size += sizeof( float ); + size += sizeof( intptr_t ); break; case D_EVENT_INTEGER : case D_EVENT_ENTITY : case D_EVENT_ENTITY_NULL : savefile->ReadInt( *reinterpret_cast( dataPtr ) ); - size += sizeof( int ); + size += sizeof( intptr_t ); break; case D_EVENT_VECTOR : savefile->ReadVec3( *reinterpret_cast( dataPtr ) ); - size += sizeof( idVec3 ); + size += E_EVENT_SIZEOF_VEC; break; case D_EVENT_TRACE : savefile->ReadBool( *reinterpret_cast( dataPtr ) ); @@ -962,7 +962,7 @@ void idEvent::Restore( idRestoreGame *savefile ) { /* ================ idEvent::ReadTrace - + idRestoreGame has a ReadTrace procedure, but unfortunately idEvent wants the material string name at the of the data structure rather than in the middle ================ @@ -1016,8 +1016,6 @@ CreateEventCallbackHandler ================ */ void CreateEventCallbackHandler( void ) { - int num; - int count; int i, j, k; char argString[ D_EVENT_MAXARGS + 1 ]; idStr string1; @@ -1046,7 +1044,7 @@ void CreateEventCallbackHandler( void ) { string1 += "const float"; string2 += va( "*( float * )&data[ %d ]", k ); } else { - string1 += "const int"; + string1 += "const intptr_t"; string2 += va( "data[ %d ]", k ); } diff --git a/d3xp/gamesys/Event.h b/d3xp/gamesys/Event.h index c87f3b4..7106109 100644 --- a/d3xp/gamesys/Event.h +++ b/d3xp/gamesys/Event.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -36,6 +36,9 @@ Event are used for scheduling tasks and for linking script commands. #define D_EVENT_MAXARGS 8 // if changed, enable the CREATE_EVENT_CODE define in Event.cpp to generate switch statement for idClass::ProcessEventArgPtr. // running the game will then generate c:\doom\base\events.txt, the contents of which should be copied into the switch statement. +// stack size of idVec3, aligned to native pointer size +#define E_EVENT_SIZEOF_VEC ((sizeof(idVec3) + (sizeof(intptr_t) - 1)) & ~(sizeof(intptr_t) - 1)) + #define D_EVENT_VOID ( ( char )0 ) #define D_EVENT_INTEGER 'd' #define D_EVENT_FLOAT 'f' @@ -67,7 +70,7 @@ private: public: idEventDef( const char *command, const char *formatspec = NULL, char returnType = 0 ); - + const char *GetName( void ) const; const char *GetArgFormat( void ) const; unsigned int GetFormatspecIndex( void ) const; @@ -104,8 +107,8 @@ public: ~idEvent(); static idEvent *Alloc( const idEventDef *evdef, int numargs, va_list args ); - static void CopyArgs( const idEventDef *evdef, int numargs, va_list args, int data[ D_EVENT_MAXARGS ] ); - + static void CopyArgs( const idEventDef *evdef, int numargs, va_list args, intptr_t data[ D_EVENT_MAXARGS ] ); + void Free( void ); void Schedule( idClass *object, const idTypeInfo *cls, int time ); byte *GetData( void ); @@ -124,7 +127,7 @@ public: static void Restore( idRestoreGame *savefile ); // unarchives object from save game file static void SaveTrace( idSaveGame *savefile, const trace_t &trace ); static void RestoreTrace( idRestoreGame *savefile, trace_t &trace ); - + }; /* diff --git a/d3xp/gamesys/SysCmds.cpp b/d3xp/gamesys/SysCmds.cpp index 7e3ad1a..a480a92 100644 --- a/d3xp/gamesys/SysCmds.cpp +++ b/d3xp/gamesys/SysCmds.cpp @@ -129,7 +129,7 @@ void Cmd_ListSpawnArgs_f( const idCmdArgs &args ) { for ( i = 0; i < ent->spawnArgs.GetNumKeyVals(); i++ ) { const idKeyValue *kv = ent->spawnArgs.GetKeyVal( i ); - gameLocal.Printf( "\"%s\" "S_COLOR_WHITE"\"%s\"\n", kv->GetKey().c_str(), kv->GetValue().c_str() ); + gameLocal.Printf( "\"%s\" " S_COLOR_WHITE "\"%s\"\n", kv->GetKey().c_str(), kv->GetValue().c_str() ); } } diff --git a/d3xp/gamesys/TypeInfo.cpp b/d3xp/gamesys/TypeInfo.cpp index 5c15309..236f5ab 100644 --- a/d3xp/gamesys/TypeInfo.cpp +++ b/d3xp/gamesys/TypeInfo.cpp @@ -26,6 +26,10 @@ If you have questions concerning this license or the applicable additional terms =========================================================================== */ +#ifdef _WIN32 +#define _ALLOW_KEYWORD_MACROS /* Thanks Visual Studio! */ +#endif + // This is real evil but allows the code to inspect arbitrary class variables. #define private public #define protected public @@ -563,7 +567,9 @@ int idTypeInfoTools::WriteVariable_r( const void *varPtr, const char *varName, c // if this is a pointer isPointer = 0; for ( i = typeString.Length(); i > 0 && typeString[i - 1] == '*'; i -= 2 ) { - if ( varPtr == (void *)0xcdcdcdcd || ( varPtr != NULL && *((unsigned long *)varPtr) == 0xcdcdcdcd ) ) { + // flibit: 64 bit fix, changed long to int + if ( varPtr == (void *)0xcdcdcdcd || ( varPtr != NULL && *((unsigned int *)varPtr) == 0xcdcdcdcd ) ) { + // flibit end common->Warning( "%s%s::%s%s references uninitialized memory", prefix, scope, varName, "" ); return typeSize; } @@ -1129,7 +1135,9 @@ int idTypeInfoTools::WriteVariable_r( const void *varPtr, const char *varName, c i = 0; do { - if ( *((unsigned long *)varPtr) == 0xcdcdcdcd ) { + // flibit: 64 bit fix, changed long to int + if ( *((unsigned int *)varPtr) == 0xcdcdcdcd ) { + // flibit end common->Warning( "%s%s::%s%s uses uninitialized memory", prefix, scope, varName, "" ); break; } diff --git a/d3xp/picker.cpp b/d3xp/picker.cpp index f1f60ea..2d73208 100644 --- a/d3xp/picker.cpp +++ b/d3xp/picker.cpp @@ -202,7 +202,9 @@ void idPicker::StartDrag( idEntity *grabEnt, int id ) { } - grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL ); + // flibit: 64 bit fixes, changed NULL to 0 + grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, 0 ); + // flibit end } @@ -854,4 +856,4 @@ int idPicker::Update( idPlayer *player, bool hide, idEntity *newEnt, int newEntI // Not holding, nothing to hold return 0; -} \ No newline at end of file +} diff --git a/d3xp/script/Script_Interpreter.cpp b/d3xp/script/Script_Interpreter.cpp index c1f0183..f590bc1 100644 --- a/d3xp/script/Script_Interpreter.cpp +++ b/d3xp/script/Script_Interpreter.cpp @@ -686,7 +686,9 @@ void idInterpreter::CallEvent( const function_t *func, int argsize ) { varEval_t var; int pos; int start; - int data[ D_EVENT_MAXARGS ]; + // RB: 64 bit fixes, changed int to intptr_t + intptr_t data[ D_EVENT_MAXARGS ]; + // RB end const idEventDef *evdef; const char *format; @@ -745,7 +747,7 @@ void idInterpreter::CallEvent( const function_t *func, int argsize ) { switch( format[ i ] ) { case D_EVENT_INTEGER : var.intPtr = ( int * )&localstack[ start + pos ]; - data[ i ] = int( *var.floatPtr ); + ( *( int * )&data[ i ] ) = int( *var.floatPtr ); break; case D_EVENT_FLOAT : @@ -857,7 +859,9 @@ void idInterpreter::CallSysEvent( const function_t *func, int argsize ) { varEval_t source; int pos; int start; - int data[ D_EVENT_MAXARGS ]; + // RB: 64 bit fixes, changed int to intptr_t + intptr_t data[ D_EVENT_MAXARGS ]; + // RB end const idEventDef *evdef; const char *format; @@ -1808,9 +1812,14 @@ bool idInterpreter::Execute( void ) { case OP_PUSH_V: var_a = GetVariable( st->a ); + // RB: 64 bit fix, changed individual pushes with PushVector + /* Push( *reinterpret_cast( &var_a.vectorPtr->x ) ); Push( *reinterpret_cast( &var_a.vectorPtr->y ) ); Push( *reinterpret_cast( &var_a.vectorPtr->z ) ); + */ + PushVector( *var_a.vectorPtr ); + // RB end break; case OP_PUSH_OBJ: @@ -1871,9 +1880,12 @@ bool idInterpreter::EnterFunctionVarArgVN(const function_t *func, bool clearStac case 'v': v = va_arg(args, idVec3 *); + /* Push(*reinterpret_cast(&v->x)); Push(*reinterpret_cast(&v->y)); Push(*reinterpret_cast(&v->z)); + */ + PushVector(*v); break; case 's': @@ -1910,4 +1922,4 @@ bool idInterpreter::EnterFunctionVarArgVN(const function_t *func, bool clearStac Quit: return rc; -} \ No newline at end of file +} diff --git a/d3xp/script/Script_Interpreter.h b/d3xp/script/Script_Interpreter.h index dde274f..ce85d2f 100644 --- a/d3xp/script/Script_Interpreter.h +++ b/d3xp/script/Script_Interpreter.h @@ -60,7 +60,13 @@ private: void PopParms( int numParms ); void PushString( const char *string ); - void Push( int value ); + // RB begin + // RB: 64 bit fix, changed int to intptr_t + void Push( intptr_t value ); + + // RB: added PushVector to new E_EVENT_SIZEOF_VEC + void PushVector( const idVec3& vector ); + // RB end const char *FloatToString( float value ); void AppendString( idVarDef *def, const char *from ); void SetString( idVarDef *def, const char *from ); @@ -144,13 +150,32 @@ ID_INLINE void idInterpreter::PopParms( int numParms ) { idInterpreter::Push ==================== */ -ID_INLINE void idInterpreter::Push( int value ) { - if ( localstackUsed + sizeof( int ) > LOCALSTACK_SIZE ) { +// RB: 64 bit fix, changed int to intptr_t +ID_INLINE void idInterpreter::Push( intptr_t value ) { + if ( localstackUsed + sizeof( intptr_t ) > LOCALSTACK_SIZE ) { Error( "Push: locals stack overflow\n" ); } - *( int * )&localstack[ localstackUsed ] = value; - localstackUsed += sizeof( int ); + *( intptr_t * )&localstack[ localstackUsed ] = value; + localstackUsed += sizeof( intptr_t ); } +// RB end + +// RB begin +/* +==================== +idInterpreter::PushVector +==================== +*/ +ID_INLINE void idInterpreter::PushVector( const idVec3& vector ) +{ + if( localstackUsed + E_EVENT_SIZEOF_VEC > LOCALSTACK_SIZE ) + { + Error( "Push: locals stack overflow\n" ); + } + *( idVec3* )&localstack[ localstackUsed ] = vector; + localstackUsed += E_EVENT_SIZEOF_VEC; +} +// RB end /* ==================== diff --git a/d3xp/script/Script_Program.cpp b/d3xp/script/Script_Program.cpp index 58b29f9..8603029 100644 --- a/d3xp/script/Script_Program.cpp +++ b/d3xp/script/Script_Program.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -33,20 +33,20 @@ If you have questions concerning this license or the applicable additional terms // simple types. function types are dynamically allocated idTypeDef type_void( ev_void, &def_void, "void", 0, NULL ); -idTypeDef type_scriptevent( ev_scriptevent, &def_scriptevent, "scriptevent", sizeof( void * ), NULL ); -idTypeDef type_namespace( ev_namespace, &def_namespace, "namespace", sizeof( void * ), NULL ); +idTypeDef type_scriptevent( ev_scriptevent, &def_scriptevent, "scriptevent", sizeof( intptr_t ), NULL ); +idTypeDef type_namespace( ev_namespace, &def_namespace, "namespace", sizeof( intptr_t ), NULL ); idTypeDef type_string( ev_string, &def_string, "string", MAX_STRING_LEN, NULL ); -idTypeDef type_float( ev_float, &def_float, "float", sizeof( float ), NULL ); -idTypeDef type_vector( ev_vector, &def_vector, "vector", sizeof( idVec3 ), NULL ); -idTypeDef type_entity( ev_entity, &def_entity, "entity", sizeof( int * ), NULL ); // stored as entity number pointer -idTypeDef type_field( ev_field, &def_field, "field", sizeof( void * ), NULL ); -idTypeDef type_function( ev_function, &def_function, "function", sizeof( void * ), &type_void ); -idTypeDef type_virtualfunction( ev_virtualfunction, &def_virtualfunction, "virtual function", sizeof( int ), NULL ); -idTypeDef type_pointer( ev_pointer, &def_pointer, "pointer", sizeof( void * ), NULL ); -idTypeDef type_object( ev_object, &def_object, "object", sizeof( int * ), NULL ); // stored as entity number pointer -idTypeDef type_jumpoffset( ev_jumpoffset, &def_jumpoffset, "", sizeof( int ), NULL ); // only used for jump opcodes -idTypeDef type_argsize( ev_argsize, &def_argsize, "", sizeof( int ), NULL ); // only used for function call and thread opcodes -idTypeDef type_boolean( ev_boolean, &def_boolean, "boolean", sizeof( int ), NULL ); +idTypeDef type_float( ev_float, &def_float, "float", sizeof( intptr_t ), NULL ); +idTypeDef type_vector( ev_vector, &def_vector, "vector", E_EVENT_SIZEOF_VEC, NULL ); +idTypeDef type_entity( ev_entity, &def_entity, "entity", sizeof( intptr_t ), NULL ); // stored as entity number pointer +idTypeDef type_field( ev_field, &def_field, "field", sizeof( intptr_t ), NULL ); +idTypeDef type_function( ev_function, &def_function, "function", sizeof( intptr_t ), &type_void ); +idTypeDef type_virtualfunction( ev_virtualfunction, &def_virtualfunction, "virtual function", sizeof( intptr_t ), NULL ); +idTypeDef type_pointer( ev_pointer, &def_pointer, "pointer", sizeof( intptr_t ), NULL ); +idTypeDef type_object( ev_object, &def_object, "object", sizeof( intptr_t ), NULL ); // stored as entity number pointer +idTypeDef type_jumpoffset( ev_jumpoffset, &def_jumpoffset, "", sizeof( intptr_t ), NULL ); // only used for jump opcodes +idTypeDef type_argsize( ev_argsize, &def_argsize, "", sizeof( intptr_t ), NULL ); // only used for function call and thread opcodes +idTypeDef type_boolean( ev_boolean, &def_boolean, "boolean", sizeof( intptr_t ), NULL ); idVarDef def_void( &type_void ); idVarDef def_scriptevent( &type_scriptevent ); @@ -141,7 +141,7 @@ idTypeDef::idTypeDef( etype_t etype, idVarDef *edef, const char *ename, int esiz def = edef; size = esize; auxType = aux; - + parmTypes.SetGranularity( 1 ); parmNames.SetGranularity( 1 ); functions.SetGranularity( 1 ); @@ -724,7 +724,7 @@ void idVarDef::SetString( const char *string, bool constant ) { } else { initialized = initializedVariable; } - + assert( typeDef && ( typeDef->Type() == ev_string ) ); idStr::Copynz( value.stringPtr, string, MAX_STRING_LEN ); } @@ -795,7 +795,7 @@ void idVarDef::PrintInfo( idFile *file, int instructionPointer ) const { break; case ev_float : - file->Printf( "%f", *value.floatPtr ); + file->Printf( "%f", *value.floatPtr ); break; case ev_virtualfunction : @@ -898,7 +898,7 @@ idScriptObject::Save ================ */ void idScriptObject::Save( idSaveGame *savefile ) const { - size_t size; + int size; if ( type == &type_object && data == NULL ) { // Write empty string for uninitialized object @@ -918,7 +918,7 @@ idScriptObject::Restore */ void idScriptObject::Restore( idRestoreGame *savefile ) { idStr typeName; - size_t size; + int size; savefile->ReadString( typeName ); @@ -931,7 +931,7 @@ void idScriptObject::Restore( idRestoreGame *savefile ) { savefile->Error( "idScriptObject::Restore: failed to restore object of type '%s'.", typeName.c_str() ); } - savefile->ReadInt( (int &)size ); + savefile->ReadInt( size ); if ( size != type->Size() ) { savefile->Error( "idScriptObject::Restore: size of object '%s' doesn't match size in save game.", typeName.c_str() ); } @@ -954,7 +954,7 @@ bool idScriptObject::SetType( const char *typeName ) { newtype = gameLocal.program.FindType( typeName ); // only allocate memory if the object type changes - if ( newtype != type ) { + if ( newtype != type ) { Free(); if ( !newtype ) { gameLocal.Warning( "idScriptObject::SetType: Unknown type '%s'", typeName ); @@ -1121,7 +1121,7 @@ idProgram::AllocType idTypeDef *idProgram::AllocType( idTypeDef &type ) { idTypeDef *newtype; - newtype = new idTypeDef( type ); + newtype = new idTypeDef( type ); types.Append( newtype ); return newtype; @@ -1226,6 +1226,44 @@ void idProgram::AddDefToNameList( idVarDef *def, const char *name ) { varDefNames[i]->AddDef( def ); } +/* +============== +idProgram::ReserveMem + +reserves memory for global variables and returns the starting pointer +============== +*/ +byte *idProgram::ReserveMem(int size) { + byte *res = &variables[ numVariables ]; + numVariables += size; + if ( numVariables > sizeof( variables ) ) { + throw idCompileError( va( "Exceeded global memory size (%d bytes)", sizeof( variables ) ) ); + } + + memset( res, 0, size ); + + return res; +} + +/* +============ +idProgram::AllocVarDef +============ +*/ +idVarDef *idProgram::AllocVarDef(idTypeDef *type, const char *name, idVarDef *scope) { + idVarDef *def; + + def = new idVarDef( type ); + def->scope = scope; + def->numUsers = 1; + def->num = varDefs.Append( def ); + + // add the def to the list with defs with this name and set the name pointer + AddDefToNameList( def, name ); + + return def; +} + /* ============ idProgram::AllocDef @@ -1239,13 +1277,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop idVarDef *def_z; // allocate a new def - def = new idVarDef( type ); - def->scope = scope; - def->numUsers = 1; - def->num = varDefs.Append( def ); - - // add the def to the list with defs with this name and set the name pointer - AddDefToNameList( def, name ); + def = AllocVarDef(type, name, scope); if ( ( type->Type() == ev_vector ) || ( ( type->Type() == ev_field ) && ( type->FieldType()->Type() == ev_vector ) ) ) { // @@ -1259,7 +1291,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop scope->value.functionPtr->locals += type->Size(); } else if ( scope->TypeDef()->Inherits( &type_object ) ) { idTypeDef newtype( ev_field, NULL, "float field", 0, &type_float ); - idTypeDef *type = GetType( newtype, true ); + idTypeDef *ftype = GetType( newtype, true ); // set the value to the variable's position in the object def->value.ptrOffset = scope->TypeDef()->Size(); @@ -1267,30 +1299,52 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop // make automatic defs for the vectors elements // origin can be accessed as origin_x, origin_y, and origin_z sprintf( element, "%s_x", def->Name() ); - def_x = AllocDef( type, element, scope, constant ); + def_x = AllocDef( ftype, element, scope, constant ); sprintf( element, "%s_y", def->Name() ); - def_y = AllocDef( type, element, scope, constant ); - def_y->value.ptrOffset = def_x->value.ptrOffset + type_float.Size(); + def_y = AllocDef( ftype, element, scope, constant ); + def_y->value.ptrOffset = def_x->value.ptrOffset + sizeof(float); sprintf( element, "%s_z", def->Name() ); - def_z = AllocDef( type, element, scope, constant ); - def_z->value.ptrOffset = def_y->value.ptrOffset + type_float.Size(); + def_z = AllocDef( ftype, element, scope, constant ); + def_z->value.ptrOffset = def_y->value.ptrOffset + sizeof(float); } else { + idTypeDef newtype( ev_float, &def_float, "vector float", 0, NULL ); + idTypeDef *ftype = GetType( newtype, true ); + // make automatic defs for the vectors elements // origin can be accessed as origin_x, origin_y, and origin_z sprintf( element, "%s_x", def->Name() ); - def_x = AllocDef( &type_float, element, scope, constant ); + def_x = AllocVarDef( ftype, element, scope ); sprintf( element, "%s_y", def->Name() ); - def_y = AllocDef( &type_float, element, scope, constant ); + def_y = AllocVarDef( ftype, element, scope ); sprintf( element, "%s_z", def->Name() ); - def_z = AllocDef( &type_float, element, scope, constant ); + def_z = AllocVarDef( ftype, element, scope ); - // point the vector def to the x coordinate - def->value = def_x->value; - def->initialized = def_x->initialized; + // get the memory for the full vector and point the _x, _y and _z + // defs at the vector member offsets + if ( scope->Type() == ev_function ) { + // vector on stack + def->value.stackOffset = scope->value.functionPtr->locals; + def->initialized = idVarDef::stackVariable; + scope->value.functionPtr->locals += type->Size(); + + def_x->value.stackOffset = def->value.stackOffset; + def_y->value.stackOffset = def_x->value.stackOffset + sizeof(float); + def_z->value.stackOffset = def_y->value.stackOffset + sizeof(float); + } else { + // global vector + def->value.bytePtr = ReserveMem(type->Size()); + def_x->value.bytePtr = def->value.bytePtr; + def_y->value.bytePtr = def_x->value.bytePtr + sizeof(float); + def_z->value.bytePtr = def_y->value.bytePtr + sizeof(float); + } + + def_x->initialized = def->initialized; + def_y->initialized = def->initialized; + def_z->initialized = def->initialized; } } else if ( scope->TypeDef()->Inherits( &type_object ) ) { // @@ -1317,13 +1371,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop // // global variable // - def->value.bytePtr = &variables[ numVariables ]; - numVariables += def->TypeDef()->Size(); - if ( numVariables > sizeof( variables ) ) { - throw idCompileError( va( "Exceeded global memory size (%d bytes)", sizeof( variables ) ) ); - } - - memset( def->value.bytePtr, 0, def->TypeDef()->Size() ); + def->value.bytePtr = ReserveMem(def->TypeDef()->Size()); } return def; @@ -1418,7 +1466,7 @@ idProgram::FindFreeResultDef */ idVarDef *idProgram::FindFreeResultDef( idTypeDef *type, const char *name, idVarDef *scope, const idVarDef *a, const idVarDef *b ) { idVarDef *def; - + for( def = GetDefList( name ); def != NULL; def = def->Next() ) { if ( def == a || def == b ) { continue; @@ -1597,7 +1645,7 @@ void idProgram::BeginCompilation( void ) { // make the first statement a return for a "NULL" function statement = AllocStatement(); statement->linenumber = 0; - statement->file = 0; + statement->file = 0; statement->op = OP_RETURN; statement->a = NULL; statement->b = NULL; @@ -1627,7 +1675,7 @@ idProgram::DisassembleStatement ============== */ void idProgram::DisassembleStatement( idFile *file, int instructionPointer ) const { - opcode_t *op; + const opcode_t *op; const statement_t *statement; statement = &statements[ instructionPointer ]; @@ -1677,7 +1725,7 @@ void idProgram::Disassemble( void ) const { for( instructionPointer = 0; instructionPointer < func->numStatements; instructionPointer++ ) { DisassembleStatement( file, func->firstStatement + instructionPointer ); } - + file->Printf( "}\n" ); } @@ -1718,7 +1766,6 @@ called after all files are compiled to report memory usage. void idProgram::CompileStats( void ) { int memused; int memallocated; - int numdefs; int stringspace; int funcMem; int i; @@ -1733,7 +1780,6 @@ void idProgram::CompileStats( void ) { } stringspace += fileList.Size(); - numdefs = varDefs.Num(); memused = varDefs.Num() * sizeof( idVarDef ); memused += types.Num() * sizeof( idTypeDef ); memused += stringspace; @@ -1792,7 +1838,7 @@ bool idProgram::CompileText( const char *source, const char *text, bool console } } } - + catch( idCompileError &err ) { if ( console ) { gameLocal.Printf( "%s\n", err.error ); @@ -2081,7 +2127,7 @@ void idProgram::Restart( void ) { statements.SetNum( top_statements ); fileList.SetNum( top_files, false ); filename.Clear(); - + // reset the variables to their default values numVariables = variableDefaults.Num(); for( i = 0; i < numVariables; i++ ) { diff --git a/d3xp/script/Script_Program.h b/d3xp/script/Script_Program.h index b06da0b..be9094e 100644 --- a/d3xp/script/Script_Program.h +++ b/d3xp/script/Script_Program.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -38,9 +38,9 @@ class idThread; class idSaveGame; class idRestoreGame; -#define MAX_STRING_LEN 512 //BC determines how long a deck command can be. 128 default. 256 = crashy. +#define MAX_STRING_LEN 128 #ifdef _D3XP -#define MAX_GLOBALS 1193216 //BC in bytes was 596608 +#define MAX_GLOBALS 296608 // in bytes #else #define MAX_GLOBALS 196608 // in bytes #endif @@ -72,16 +72,16 @@ public: void Clear( void ); private: - idStr name; + idStr name; public: const idEventDef *eventdef; idVarDef *def; const idTypeDef *type; - int firstStatement; - int numStatements; - int parmTotal; - int locals; // total ints of parms + locals - int filenum; // source file defined in + int firstStatement; + int numStatements; + int parmTotal; + int locals; // total ints of parms + locals + int filenum; // source file defined in idList parmSize; }; @@ -90,8 +90,8 @@ typedef union eval_s { float _float; float vector[ 3 ]; function_t *function; - int _int; - int entity; + int _int; + int entity; } eval_t; /*********************************************************************** @@ -105,7 +105,7 @@ Contains type information for variables and functions. class idTypeDef { private: etype_t type; - idStr name; + idStr name; int size; // function types are more complex @@ -135,7 +135,7 @@ public: int Size( void ) const; idTypeDef *SuperClass( void ) const; - + idTypeDef *ReturnType( void ) const; void SetReturnType( idTypeDef *type ); @@ -167,7 +167,7 @@ In-game representation of objects in scripts. Use the idScriptVariable template class idScriptObject { private: idTypeDef *type; - + public: byte *data; @@ -309,9 +309,9 @@ typedef union varEval_s { float *floatPtr; idVec3 *vectorPtr; function_t *functionPtr; - int *intPtr; + int *intPtr; byte *bytePtr; - int *entityNumberPtr; + int *entityNumberPtr; int virtualFunction; int jumpOffset; int stackOffset; // offset in stack for local variables @@ -328,7 +328,7 @@ class idVarDef { public: int num; varEval_t value; - idVarDef * scope; // function, namespace, or object the var was defined in + idVarDef * scope; // function, namespace, or object the var was defined in int numUsers; // number of users if this is a constant typedef enum { @@ -448,7 +448,7 @@ single idProgram. class idProgram { private: idStrList fileList; - idStr filename; + idStr filename; int filenum; int numVariables; @@ -470,6 +470,8 @@ private: int top_files; void CompileStats( void ); + byte *ReserveMem(int size); + idVarDef *AllocVarDef(idTypeDef *type, const char *name, idVarDef *scope); public: idVarDef *returnDef; @@ -524,14 +526,14 @@ public: statement_t &GetStatement( int index ); int NumStatements( void ) { return statements.Num(); } - int GetReturnedInteger( void ); + int GetReturnedInteger( void ); void ReturnFloat( float value ); void ReturnInteger( int value ); void ReturnVector( idVec3 const &vec ); void ReturnString( const char *string ); void ReturnEntity( idEntity *ent ); - + int NumFilenames( void ) { return fileList.Num( ); } }; diff --git a/flibitGLIMP.sh b/flibitGLIMP.sh new file mode 100755 index 0000000..4ee1f42 --- /dev/null +++ b/flibitGLIMP.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -ex +cd "`dirname "$0"`" +cd sys/linux +m4 glimp_dlopen.cpp.m4 > glimp_dlopen.cpp +m4 glimp_local.h.m4 > glimp_local.h diff --git a/framework/Common.cpp b/framework/Common.cpp index 0b492c0..e3fb55f 100644 --- a/framework/Common.cpp +++ b/framework/Common.cpp @@ -198,7 +198,7 @@ private: idStrList warningList; idStrList errorList; - int gameDLL; + void * gameDLL; idLangDict languageDict; diff --git a/framework/Compressor.cpp b/framework/Compressor.cpp index 41e13c0..52a7fcd 100644 --- a/framework/Compressor.cpp +++ b/framework/Compressor.cpp @@ -1483,7 +1483,7 @@ idCompressor_Arithmetic::GetCurrentCount ================ */ int idCompressor_Arithmetic::GetCurrentCount( void ) { - return (unsigned int) ( ( ( ( (long) code - low ) + 1 ) * scale - 1 ) / ( ( (long) high - low ) + 1 ) ); + return (unsigned int) ( ( ( ( (int) code - low ) + 1 ) * scale - 1 ) / ( ( (int) high - low ) + 1 ) ); } /* @@ -1552,9 +1552,9 @@ idCompressor_Arithmetic::RemoveSymbolFromStream ================ */ void idCompressor_Arithmetic::RemoveSymbolFromStream( acSymbol_t* symbol ) { - long range; + int range; - range = ( long )( high - low ) + 1; + range = ( int )( high - low ) + 1; high = low + ( unsigned short )( ( range * symbol->high ) / scale - 1 ); low = low + ( unsigned short )( ( range * symbol->low ) / scale ); diff --git a/framework/File.cpp b/framework/File.cpp index dd7669f..199eb13 100644 --- a/framework/File.cpp +++ b/framework/File.cpp @@ -39,8 +39,8 @@ FS_WriteFloatString ================= */ int FS_WriteFloatString( char *buf, const char *fmt, va_list argPtr ) { - long i; - unsigned long u; + int i; + unsigned int u; double f; char *str; int index; @@ -78,27 +78,27 @@ int FS_WriteFloatString( char *buf, const char *fmt, va_list argPtr ) { break; case 'd': case 'i': - i = va_arg( argPtr, long ); + i = va_arg( argPtr, int ); index += sprintf( buf+index, format.c_str(), i ); break; case 'u': - u = va_arg( argPtr, unsigned long ); + u = va_arg( argPtr, unsigned int ); index += sprintf( buf+index, format.c_str(), u ); break; case 'o': - u = va_arg( argPtr, unsigned long ); + u = va_arg( argPtr, unsigned int ); index += sprintf( buf+index, format.c_str(), u ); break; case 'x': - u = va_arg( argPtr, unsigned long ); + u = va_arg( argPtr, unsigned int ); index += sprintf( buf+index, format.c_str(), u ); break; case 'X': - u = va_arg( argPtr, unsigned long ); + u = va_arg( argPtr, unsigned int ); index += sprintf( buf+index, format.c_str(), u ); break; case 'c': - i = va_arg( argPtr, long ); + i = va_arg( argPtr, int ); index += sprintf( buf+index, format.c_str(), (char) i ); break; case 's': diff --git a/framework/FileSystem.cpp b/framework/FileSystem.cpp index 52eeccb..34b0bd8 100644 --- a/framework/FileSystem.cpp +++ b/framework/FileSystem.cpp @@ -3439,15 +3439,15 @@ idFile *idFileSystemLocal::OpenFileWrite( const char *relativePath, const char * OSpath = BuildOSPath( path, gameFolder, relativePath ); - //if ( fs_debug.GetInteger() ) { + if ( fs_debug.GetInteger() ) { common->Printf( "idFileSystem::OpenFileWrite: %s\n", OSpath.c_str() ); - //} + } // if the dir we are writing to is in our current list, it will be outdated // so just flush everything ClearDirCache(); - common->Printf( "writing to: %s\n", OSpath.c_str() ); + common->DPrintf( "writing to: %s\n", OSpath.c_str() ); CreateOSPath( OSpath ); f = new idFile_Permanent(); @@ -3624,7 +3624,7 @@ size_t idFileSystemLocal::CurlWriteFunction( void *ptr, size_t size, size_t nmem return size * nmemb; } #ifdef _WIN32 - return _write( static_cast(bgl->f)->GetFilePtr()->_file, ptr, size * nmemb ); + return _write( _fileno(static_cast(bgl->f)->GetFilePtr()), ptr, size * nmemb ); #else return fwrite( ptr, size, nmemb, static_cast(bgl->f)->GetFilePtr() ); #endif @@ -3673,7 +3673,7 @@ dword BackgroundDownloadThread( void *parms ) { if ( bgl->opcode == DLTYPE_FILE ) { // use the low level read function, because fread may allocate memory #if defined(WIN32) - _read( static_cast(bgl->f)->GetFilePtr()->_file, bgl->file.buffer, bgl->file.length ); + _read( _fileno(static_cast(bgl->f)->GetFilePtr()), bgl->file.buffer, bgl->file.length ); #else fread( bgl->file.buffer, bgl->file.length, 1, static_cast(bgl->f)->GetFilePtr() ); #endif diff --git a/framework/Session_menu.cpp b/framework/Session_menu.cpp index c05db3a..33a0242 100644 --- a/framework/Session_menu.cpp +++ b/framework/Session_menu.cpp @@ -350,13 +350,13 @@ void idSessionLocal::SetModsMenuGuiVars( void ) { descPath.Append(PATH_SLASH"description.txt"); //generate a relative folder path. - int foldernameIndex = idStr::FindText(modpaths[i], PATH_SLASH"steamapps"PATH_SLASH"workshop"PATH_SLASH, false); + int foldernameIndex = idStr::FindText(modpaths[i], PATH_SLASH "steamapps" PATH_SLASH "workshop" PATH_SLASH, false); int steamappsFolderLength = 10; modpaths[i] = modpaths[i].Right(modpaths[i].Length() - foldernameIndex - steamappsFolderLength); #ifdef __APPLE__ - modpaths[i] = ".."PATH_SLASH".."PATH_SLASH".."PATH_SLASH".."PATH_SLASH".." + modpaths[i]; //append the .. + modpaths[i] = ".." PATH_SLASH ".." PATH_SLASH ".." PATH_SLASH ".." PATH_SLASH ".." + modpaths[i]; //append the .. #else - modpaths[i] = ".."PATH_SLASH".." + modpaths[i]; //append the .. + modpaths[i] = ".." PATH_SLASH ".." + modpaths[i]; //append the .. #endif #undef PATH_SLASH diff --git a/game/Pvs.cpp b/game/Pvs.cpp index 5a4f31c..c217498 100644 --- a/game/Pvs.cpp +++ b/game/Pvs.cpp @@ -329,7 +329,9 @@ pvsStack_t *idPVS::FloodPassagePVS_r( pvsPortal_t *source, const pvsPortal_t *po pvsArea_t *area; pvsStack_t *stack; pvsPassage_t *passage; - long *sourceVis, *passageVis, *portalVis, *mightSee, *prevMightSee, more; + // RB: 64 bit fixes, changed long to int + int *sourceVis, *passageVis, *portalVis, *mightSee, *prevMightSee, more; + // RB end area = &pvsAreas[portal->areaNum]; @@ -364,15 +366,20 @@ pvsStack_t *idPVS::FloodPassagePVS_r( pvsPortal_t *source, const pvsPortal_t *po source->vis[n >> 3] |= (1 << (n & 7)); // get pointers to vis data - prevMightSee = reinterpret_cast(prevStack->mightSee); - passageVis = reinterpret_cast(passage->canSee); - sourceVis = reinterpret_cast(source->vis); - mightSee = reinterpret_cast(stack->mightSee); + + // RB: 64 bit fixes, changed long to int + prevMightSee = reinterpret_cast(prevStack->mightSee); + passageVis = reinterpret_cast(passage->canSee); + sourceVis = reinterpret_cast(source->vis); + mightSee = reinterpret_cast(stack->mightSee); + // RB end more = 0; // use the portal PVS if it has been calculated if ( p->done ) { - portalVis = reinterpret_cast(p->vis); + // RB: 64 bit fixes, changed long to int + portalVis = reinterpret_cast(p->vis); + // RB end for ( j = 0; j < portalVisLongs; j++ ) { // get new PVS which is decreased by going through this passage m = *prevMightSee++ & *passageVis++ & *portalVis++; @@ -730,7 +737,9 @@ idPVS::AreaPVSFromPortalPVS */ int idPVS::AreaPVSFromPortalPVS( void ) const { int i, j, k, areaNum, totalVisibleAreas; - long *p1, *p2; + // RB: 64 bit fixes, changed long to int + int *p1, *p2; + // RB end byte *pvs, *portalPVS; pvsArea_t *area; @@ -755,8 +764,11 @@ int idPVS::AreaPVSFromPortalPVS( void ) const { // store the PVS of all portals in this area at the first portal for ( j = 1; j < area->numPortals; j++ ) { - p1 = reinterpret_cast(area->portals[0]->vis); - p2 = reinterpret_cast(area->portals[j]->vis); + // RB: 64 bit fixes, changed long to int + p1 = reinterpret_cast(area->portals[0]->vis); + p2 = reinterpret_cast(area->portals[j]->vis); + // RB end + for ( k = 0; k < portalVisLongs; k++ ) { *p1++ |= *p2++; } @@ -807,7 +819,9 @@ void idPVS::Init( void ) { areaQueue = new int[numAreas]; areaVisBytes = ( ((numAreas+31)&~31) >> 3); - areaVisLongs = areaVisBytes/sizeof(long); + // RB: 64 bit fixes, changed long to int + areaVisLongs = areaVisBytes/sizeof(int); + // RB end areaPVS = new byte[numAreas * areaVisBytes]; memset( areaPVS, 0xFF, numAreas * areaVisBytes ); @@ -815,7 +829,9 @@ void idPVS::Init( void ) { numPortals = GetPortalCount(); portalVisBytes = ( ((numPortals+31)&~31) >> 3); - portalVisLongs = portalVisBytes/sizeof(long); + // RB: 64 bit fixes, changed long to int + portalVisLongs = portalVisBytes/sizeof(int); + // RB end for ( int i = 0; i < MAX_CURRENT_PVS; i++ ) { currentPVS[i].handle.i = -1; @@ -1013,7 +1029,9 @@ idPVS::SetupCurrentPVS pvsHandle_t idPVS::SetupCurrentPVS( const int *sourceAreas, const int numSourceAreas, const pvsType_t type ) const { int i, j; unsigned int h; - long *vis, *pvs; + // RB: 64 bit fixes, changed long to int + int *vis, *pvs; + // RB end pvsHandle_t handle; h = 0; @@ -1034,8 +1052,10 @@ pvsHandle_t idPVS::SetupCurrentPVS( const int *sourceAreas, const int numSourceA assert( sourceAreas[i] >= 0 && sourceAreas[i] < numAreas ); - vis = reinterpret_cast(areaPVS + sourceAreas[i] * areaVisBytes); - pvs = reinterpret_cast(currentPVS[handle.i].pvs); + // RB: 64 bit fixes, changed long to int + vis = reinterpret_cast(areaPVS + sourceAreas[i] * areaVisBytes); + pvs = reinterpret_cast(currentPVS[handle.i].pvs); + // RB end for ( j = 0; j < areaVisLongs; j++ ) { *pvs++ |= *vis++; } @@ -1074,7 +1094,9 @@ idPVS::MergeCurrentPVS */ pvsHandle_t idPVS::MergeCurrentPVS( pvsHandle_t pvs1, pvsHandle_t pvs2 ) const { int i; - long *pvs1Ptr, *pvs2Ptr, *ptr; + // RB: 64 bit fixes, changed long to int + int *pvs1Ptr, *pvs2Ptr, *ptr; + // RB end pvsHandle_t handle; if ( pvs1.i < 0 || pvs1.i >= MAX_CURRENT_PVS || pvs1.h != currentPVS[pvs1.i].handle.h || @@ -1084,9 +1106,11 @@ pvsHandle_t idPVS::MergeCurrentPVS( pvsHandle_t pvs1, pvsHandle_t pvs2 ) const { handle = AllocCurrentPVS( pvs1.h ^ pvs2.h ); - ptr = reinterpret_cast(currentPVS[handle.i].pvs); - pvs1Ptr = reinterpret_cast(currentPVS[pvs1.i].pvs); - pvs2Ptr = reinterpret_cast(currentPVS[pvs2.i].pvs); + // RB: 64 bit fixes, changed long to int + ptr = reinterpret_cast(currentPVS[handle.i].pvs); + pvs1Ptr = reinterpret_cast(currentPVS[pvs1.i].pvs); + pvs2Ptr = reinterpret_cast(currentPVS[pvs2.i].pvs); + // RB end for ( i = 0; i < areaVisLongs; i++ ) { *ptr++ = *pvs1Ptr++ | *pvs2Ptr++; diff --git a/game/ai/AAS_routing.cpp b/game/ai/AAS_routing.cpp index 0f6acb8..e5dfb4c 100644 --- a/game/ai/AAS_routing.cpp +++ b/game/ai/AAS_routing.cpp @@ -167,7 +167,9 @@ void idAASLocal::CalculateAreaTravelTimes(void) { } } - assert( ( (unsigned int) bytePtr - (unsigned int) areaTravelTimes ) <= numAreaTravelTimes * sizeof( unsigned short ) ); + // RB: 64 bit fixes, changed unsigned int to ptrdiff_t + assert( ( (ptrdiff_t) bytePtr - (ptrdiff_t) areaTravelTimes ) <= numAreaTravelTimes * sizeof( unsigned short ) ); + // RB end } /* diff --git a/game/gamesys/Callbacks.cpp b/game/gamesys/Callbacks.cpp index 079b5ef..1757dcd 100644 --- a/game/gamesys/Callbacks.cpp +++ b/game/gamesys/Callbacks.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -25,6 +25,7 @@ If you have questions concerning this license or the applicable additional terms =========================================================================== */ +// generated file - see CREATE_EVENT_CODE /******************************************************* @@ -33,7 +34,7 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 512 : - typedef void ( idClass::*eventCallback_i_t )( const int ); + typedef void ( idClass::*eventCallback_i_t )( const intptr_t ); ( this->*( eventCallback_i_t )callback )( data[ 0 ] ); break; @@ -49,17 +50,17 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 1024 : - typedef void ( idClass::*eventCallback_ii_t )( const int, const int ); + typedef void ( idClass::*eventCallback_ii_t )( const intptr_t, const intptr_t ); ( this->*( eventCallback_ii_t )callback )( data[ 0 ], data[ 1 ] ); break; case 1025 : - typedef void ( idClass::*eventCallback_fi_t )( const float, const int ); + typedef void ( idClass::*eventCallback_fi_t )( const float, const intptr_t ); ( this->*( eventCallback_fi_t )callback )( *( float * )&data[ 0 ], data[ 1 ] ); break; case 1026 : - typedef void ( idClass::*eventCallback_if_t )( const int, const float ); + typedef void ( idClass::*eventCallback_if_t )( const intptr_t, const float ); ( this->*( eventCallback_if_t )callback )( data[ 0 ], *( float * )&data[ 1 ] ); break; @@ -75,37 +76,37 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 2048 : - typedef void ( idClass::*eventCallback_iii_t )( const int, const int, const int ); + typedef void ( idClass::*eventCallback_iii_t )( const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 2049 : - typedef void ( idClass::*eventCallback_fii_t )( const float, const int, const int ); + typedef void ( idClass::*eventCallback_fii_t )( const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 2050 : - typedef void ( idClass::*eventCallback_ifi_t )( const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifi_t )( const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ] ); break; case 2051 : - typedef void ( idClass::*eventCallback_ffi_t )( const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffi_t )( const float, const float, const intptr_t ); ( this->*( eventCallback_ffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ] ); break; case 2052 : - typedef void ( idClass::*eventCallback_iif_t )( const int, const int, const float ); + typedef void ( idClass::*eventCallback_iif_t )( const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ] ); break; case 2053 : - typedef void ( idClass::*eventCallback_fif_t )( const float, const int, const float ); + typedef void ( idClass::*eventCallback_fif_t )( const float, const intptr_t, const float ); ( this->*( eventCallback_fif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ] ); break; case 2054 : - typedef void ( idClass::*eventCallback_iff_t )( const int, const float, const float ); + typedef void ( idClass::*eventCallback_iff_t )( const intptr_t, const float, const float ); ( this->*( eventCallback_iff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ] ); break; @@ -121,77 +122,77 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 4096 : - typedef void ( idClass::*eventCallback_iiii_t )( const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4097 : - typedef void ( idClass::*eventCallback_fiii_t )( const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiii_t )( const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4098 : - typedef void ( idClass::*eventCallback_ifii_t )( const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifii_t )( const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4099 : - typedef void ( idClass::*eventCallback_ffii_t )( const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffii_t )( const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 4100 : - typedef void ( idClass::*eventCallback_iifi_t )( const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifi_t )( const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4101 : - typedef void ( idClass::*eventCallback_fifi_t )( const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifi_t )( const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4102 : - typedef void ( idClass::*eventCallback_iffi_t )( const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffi_t )( const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4103 : - typedef void ( idClass::*eventCallback_fffi_t )( const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffi_t )( const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ] ); break; case 4104 : - typedef void ( idClass::*eventCallback_iiif_t )( const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiif_t )( const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4105 : - typedef void ( idClass::*eventCallback_fiif_t )( const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiif_t )( const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4106 : - typedef void ( idClass::*eventCallback_ifif_t )( const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifif_t )( const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4107 : - typedef void ( idClass::*eventCallback_ffif_t )( const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffif_t )( const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ] ); break; case 4108 : - typedef void ( idClass::*eventCallback_iiff_t )( const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiff_t )( const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; case 4109 : - typedef void ( idClass::*eventCallback_fiff_t )( const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiff_t )( const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; case 4110 : - typedef void ( idClass::*eventCallback_ifff_t )( const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifff_t )( const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ] ); break; @@ -207,157 +208,157 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 8192 : - typedef void ( idClass::*eventCallback_iiiii_t )( const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8193 : - typedef void ( idClass::*eventCallback_fiiii_t )( const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8194 : - typedef void ( idClass::*eventCallback_ifiii_t )( const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8195 : - typedef void ( idClass::*eventCallback_ffiii_t )( const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8196 : - typedef void ( idClass::*eventCallback_iifii_t )( const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8197 : - typedef void ( idClass::*eventCallback_fifii_t )( const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8198 : - typedef void ( idClass::*eventCallback_iffii_t )( const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8199 : - typedef void ( idClass::*eventCallback_fffii_t )( const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffii_t )( const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 8200 : - typedef void ( idClass::*eventCallback_iiifi_t )( const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8201 : - typedef void ( idClass::*eventCallback_fiifi_t )( const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiifi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8202 : - typedef void ( idClass::*eventCallback_ififi_t )( const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8203 : - typedef void ( idClass::*eventCallback_ffifi_t )( const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffifi_t )( const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8204 : - typedef void ( idClass::*eventCallback_iiffi_t )( const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8205 : - typedef void ( idClass::*eventCallback_fiffi_t )( const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffi_t )( const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8206 : - typedef void ( idClass::*eventCallback_ifffi_t )( const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffi_t )( const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8207 : - typedef void ( idClass::*eventCallback_ffffi_t )( const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffi_t )( const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ] ); break; case 8208 : - typedef void ( idClass::*eventCallback_iiiif_t )( const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8209 : - typedef void ( idClass::*eventCallback_fiiif_t )( const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8210 : - typedef void ( idClass::*eventCallback_ifiif_t )( const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8211 : - typedef void ( idClass::*eventCallback_ffiif_t )( const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiif_t )( const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8212 : - typedef void ( idClass::*eventCallback_iifif_t )( const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8213 : - typedef void ( idClass::*eventCallback_fifif_t )( const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifif_t )( const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8214 : - typedef void ( idClass::*eventCallback_iffif_t )( const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffif_t )( const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8215 : - typedef void ( idClass::*eventCallback_fffif_t )( const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffif_t )( const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ] ); break; case 8216 : - typedef void ( idClass::*eventCallback_iiiff_t )( const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8217 : - typedef void ( idClass::*eventCallback_fiiff_t )( const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiff_t )( const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8218 : - typedef void ( idClass::*eventCallback_ififf_t )( const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififf_t )( const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8219 : - typedef void ( idClass::*eventCallback_ffiff_t )( const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiff_t )( const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8220 : - typedef void ( idClass::*eventCallback_iifff_t )( const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifff_t )( const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8221 : - typedef void ( idClass::*eventCallback_fifff_t )( const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifff_t )( const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; case 8222 : - typedef void ( idClass::*eventCallback_iffff_t )( const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffff_t )( const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ] ); break; @@ -373,317 +374,317 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 16384 : - typedef void ( idClass::*eventCallback_iiiiii_t )( const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16385 : - typedef void ( idClass::*eventCallback_fiiiii_t )( const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16386 : - typedef void ( idClass::*eventCallback_ifiiii_t )( const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16387 : - typedef void ( idClass::*eventCallback_ffiiii_t )( const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16388 : - typedef void ( idClass::*eventCallback_iifiii_t )( const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16389 : - typedef void ( idClass::*eventCallback_fifiii_t )( const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16390 : - typedef void ( idClass::*eventCallback_iffiii_t )( const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16391 : - typedef void ( idClass::*eventCallback_fffiii_t )( const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16392 : - typedef void ( idClass::*eventCallback_iiifii_t )( const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiifii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16393 : - typedef void ( idClass::*eventCallback_fiifii_t )( const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiifii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16394 : - typedef void ( idClass::*eventCallback_ififii_t )( const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16395 : - typedef void ( idClass::*eventCallback_ffifii_t )( const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffifii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16396 : - typedef void ( idClass::*eventCallback_iiffii_t )( const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16397 : - typedef void ( idClass::*eventCallback_fiffii_t )( const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16398 : - typedef void ( idClass::*eventCallback_ifffii_t )( const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16399 : - typedef void ( idClass::*eventCallback_ffffii_t )( const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 16400 : - typedef void ( idClass::*eventCallback_iiiifi_t )( const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16401 : - typedef void ( idClass::*eventCallback_fiiifi_t )( const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16402 : - typedef void ( idClass::*eventCallback_ifiifi_t )( const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16403 : - typedef void ( idClass::*eventCallback_ffiifi_t )( const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiifi_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16404 : - typedef void ( idClass::*eventCallback_iififi_t )( const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iififi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iififi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16405 : - typedef void ( idClass::*eventCallback_fififi_t )( const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fififi_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16406 : - typedef void ( idClass::*eventCallback_iffifi_t )( const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffifi_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16407 : - typedef void ( idClass::*eventCallback_fffifi_t )( const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffifi_t )( const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16408 : - typedef void ( idClass::*eventCallback_iiiffi_t )( const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16409 : - typedef void ( idClass::*eventCallback_fiiffi_t )( const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16410 : - typedef void ( idClass::*eventCallback_ififfi_t )( const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififfi_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ififfi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16411 : - typedef void ( idClass::*eventCallback_ffiffi_t )( const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffi_t )( const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16412 : - typedef void ( idClass::*eventCallback_iifffi_t )( const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iifffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16413 : - typedef void ( idClass::*eventCallback_fifffi_t )( const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifffi_t )( const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16414 : - typedef void ( idClass::*eventCallback_iffffi_t )( const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffffi_t )( const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16415 : - typedef void ( idClass::*eventCallback_fffffi_t )( const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffffi_t )( const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ] ); break; case 16416 : - typedef void ( idClass::*eventCallback_iiiiif_t )( const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16417 : - typedef void ( idClass::*eventCallback_fiiiif_t )( const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16418 : - typedef void ( idClass::*eventCallback_ifiiif_t )( const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16419 : - typedef void ( idClass::*eventCallback_ffiiif_t )( const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16420 : - typedef void ( idClass::*eventCallback_iifiif_t )( const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16421 : - typedef void ( idClass::*eventCallback_fifiif_t )( const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16422 : - typedef void ( idClass::*eventCallback_iffiif_t )( const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16423 : - typedef void ( idClass::*eventCallback_fffiif_t )( const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16424 : - typedef void ( idClass::*eventCallback_iiifif_t )( const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiifif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16425 : - typedef void ( idClass::*eventCallback_fiifif_t )( const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiifif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16426 : - typedef void ( idClass::*eventCallback_ififif_t )( const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ififif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16427 : - typedef void ( idClass::*eventCallback_ffifif_t )( const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffifif_t )( const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16428 : - typedef void ( idClass::*eventCallback_iiffif_t )( const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16429 : - typedef void ( idClass::*eventCallback_fiffif_t )( const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffif_t )( const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16430 : - typedef void ( idClass::*eventCallback_ifffif_t )( const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffif_t )( const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16431 : - typedef void ( idClass::*eventCallback_ffffif_t )( const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffif_t )( const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ] ); break; case 16432 : - typedef void ( idClass::*eventCallback_iiiiff_t )( const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16433 : - typedef void ( idClass::*eventCallback_fiiiff_t )( const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16434 : - typedef void ( idClass::*eventCallback_ifiiff_t )( const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16435 : - typedef void ( idClass::*eventCallback_ffiiff_t )( const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16436 : - typedef void ( idClass::*eventCallback_iififf_t )( const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iififf_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iififf_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16437 : - typedef void ( idClass::*eventCallback_fififf_t )( const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fififf_t )( const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16438 : - typedef void ( idClass::*eventCallback_iffiff_t )( const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16439 : - typedef void ( idClass::*eventCallback_fffiff_t )( const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiff_t )( const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16440 : - typedef void ( idClass::*eventCallback_iiifff_t )( const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiifff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16441 : - typedef void ( idClass::*eventCallback_fiifff_t )( const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiifff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16442 : - typedef void ( idClass::*eventCallback_ififff_t )( const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ififff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16443 : - typedef void ( idClass::*eventCallback_ffifff_t )( const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffifff_t )( const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16444 : - typedef void ( idClass::*eventCallback_iiffff_t )( const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16445 : - typedef void ( idClass::*eventCallback_fiffff_t )( const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffff_t )( const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; case 16446 : - typedef void ( idClass::*eventCallback_ifffff_t )( const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffff_t )( const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ifffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ] ); break; @@ -699,637 +700,637 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 32768 : - typedef void ( idClass::*eventCallback_iiiiiii_t )( const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32769 : - typedef void ( idClass::*eventCallback_fiiiiii_t )( const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32770 : - typedef void ( idClass::*eventCallback_ifiiiii_t )( const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32771 : - typedef void ( idClass::*eventCallback_ffiiiii_t )( const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32772 : - typedef void ( idClass::*eventCallback_iifiiii_t )( const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32773 : - typedef void ( idClass::*eventCallback_fifiiii_t )( const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32774 : - typedef void ( idClass::*eventCallback_iffiiii_t )( const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32775 : - typedef void ( idClass::*eventCallback_fffiiii_t )( const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32776 : - typedef void ( idClass::*eventCallback_iiifiii_t )( const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiifiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32777 : - typedef void ( idClass::*eventCallback_fiifiii_t )( const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiifiii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32778 : - typedef void ( idClass::*eventCallback_ififiii_t )( const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififiii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32779 : - typedef void ( idClass::*eventCallback_ffifiii_t )( const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffifiii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32780 : - typedef void ( idClass::*eventCallback_iiffiii_t )( const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiffiii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32781 : - typedef void ( idClass::*eventCallback_fiffiii_t )( const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiffiii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32782 : - typedef void ( idClass::*eventCallback_ifffiii_t )( const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifffiii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32783 : - typedef void ( idClass::*eventCallback_ffffiii_t )( const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffffiii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32784 : - typedef void ( idClass::*eventCallback_iiiifii_t )( const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiifii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32785 : - typedef void ( idClass::*eventCallback_fiiifii_t )( const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiifii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32786 : - typedef void ( idClass::*eventCallback_ifiifii_t )( const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiifii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32787 : - typedef void ( idClass::*eventCallback_ffiifii_t )( const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiifii_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32788 : - typedef void ( idClass::*eventCallback_iififii_t )( const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iififii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32789 : - typedef void ( idClass::*eventCallback_fififii_t )( const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fififii_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32790 : - typedef void ( idClass::*eventCallback_iffifii_t )( const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffifii_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32791 : - typedef void ( idClass::*eventCallback_fffifii_t )( const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffifii_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32792 : - typedef void ( idClass::*eventCallback_iiiffii_t )( const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiffii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32793 : - typedef void ( idClass::*eventCallback_fiiffii_t )( const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiffii_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32794 : - typedef void ( idClass::*eventCallback_ififfii_t )( const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififfii_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififfii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32795 : - typedef void ( idClass::*eventCallback_ffiffii_t )( const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiffii_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32796 : - typedef void ( idClass::*eventCallback_iifffii_t )( const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifffii_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32797 : - typedef void ( idClass::*eventCallback_fifffii_t )( const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifffii_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32798 : - typedef void ( idClass::*eventCallback_iffffii_t )( const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffffii_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32799 : - typedef void ( idClass::*eventCallback_fffffii_t )( const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffffii_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 32800 : - typedef void ( idClass::*eventCallback_iiiiifi_t )( const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32801 : - typedef void ( idClass::*eventCallback_fiiiifi_t )( const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32802 : - typedef void ( idClass::*eventCallback_ifiiifi_t )( const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32803 : - typedef void ( idClass::*eventCallback_ffiiifi_t )( const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiifi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32804 : - typedef void ( idClass::*eventCallback_iifiifi_t )( const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifiifi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32805 : - typedef void ( idClass::*eventCallback_fifiifi_t )( const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifiifi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32806 : - typedef void ( idClass::*eventCallback_iffiifi_t )( const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffiifi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32807 : - typedef void ( idClass::*eventCallback_fffiifi_t )( const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffiifi_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32808 : - typedef void ( idClass::*eventCallback_iiififi_t )( const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiififi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiififi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32809 : - typedef void ( idClass::*eventCallback_fiififi_t )( const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiififi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32810 : - typedef void ( idClass::*eventCallback_ifififi_t )( const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifififi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32811 : - typedef void ( idClass::*eventCallback_ffififi_t )( const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffififi_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32812 : - typedef void ( idClass::*eventCallback_iiffifi_t )( const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiffifi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiffifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32813 : - typedef void ( idClass::*eventCallback_fiffifi_t )( const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiffifi_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32814 : - typedef void ( idClass::*eventCallback_ifffifi_t )( const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifffifi_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32815 : - typedef void ( idClass::*eventCallback_ffffifi_t )( const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffffifi_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32816 : - typedef void ( idClass::*eventCallback_iiiiffi_t )( const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32817 : - typedef void ( idClass::*eventCallback_fiiiffi_t )( const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32818 : - typedef void ( idClass::*eventCallback_ifiiffi_t )( const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32819 : - typedef void ( idClass::*eventCallback_ffiiffi_t )( const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiffi_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32820 : - typedef void ( idClass::*eventCallback_iififfi_t )( const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iififfi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iififfi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32821 : - typedef void ( idClass::*eventCallback_fififfi_t )( const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fififfi_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fififfi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32822 : - typedef void ( idClass::*eventCallback_iffiffi_t )( const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffiffi_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32823 : - typedef void ( idClass::*eventCallback_fffiffi_t )( const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffiffi_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32824 : - typedef void ( idClass::*eventCallback_iiifffi_t )( const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiifffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiifffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32825 : - typedef void ( idClass::*eventCallback_fiifffi_t )( const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiifffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32826 : - typedef void ( idClass::*eventCallback_ififffi_t )( const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififffi_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ififffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32827 : - typedef void ( idClass::*eventCallback_ffifffi_t )( const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffifffi_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32828 : - typedef void ( idClass::*eventCallback_iiffffi_t )( const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32829 : - typedef void ( idClass::*eventCallback_fiffffi_t )( const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffffi_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32830 : - typedef void ( idClass::*eventCallback_ifffffi_t )( const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffffi_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32831 : - typedef void ( idClass::*eventCallback_ffffffi_t )( const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffffi_t )( const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ] ); break; case 32832 : - typedef void ( idClass::*eventCallback_iiiiiif_t )( const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32833 : - typedef void ( idClass::*eventCallback_fiiiiif_t )( const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32834 : - typedef void ( idClass::*eventCallback_ifiiiif_t )( const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32835 : - typedef void ( idClass::*eventCallback_ffiiiif_t )( const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32836 : - typedef void ( idClass::*eventCallback_iifiiif_t )( const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32837 : - typedef void ( idClass::*eventCallback_fifiiif_t )( const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32838 : - typedef void ( idClass::*eventCallback_iffiiif_t )( const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32839 : - typedef void ( idClass::*eventCallback_fffiiif_t )( const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32840 : - typedef void ( idClass::*eventCallback_iiifiif_t )( const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiifiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiifiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32841 : - typedef void ( idClass::*eventCallback_fiifiif_t )( const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiifiif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32842 : - typedef void ( idClass::*eventCallback_ififiif_t )( const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififiif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32843 : - typedef void ( idClass::*eventCallback_ffifiif_t )( const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffifiif_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32844 : - typedef void ( idClass::*eventCallback_iiffiif_t )( const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiffiif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiffiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32845 : - typedef void ( idClass::*eventCallback_fiffiif_t )( const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiffiif_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32846 : - typedef void ( idClass::*eventCallback_ifffiif_t )( const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifffiif_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32847 : - typedef void ( idClass::*eventCallback_ffffiif_t )( const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffffiif_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32848 : - typedef void ( idClass::*eventCallback_iiiifif_t )( const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiifif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32849 : - typedef void ( idClass::*eventCallback_fiiifif_t )( const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiifif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32850 : - typedef void ( idClass::*eventCallback_ifiifif_t )( const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiifif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32851 : - typedef void ( idClass::*eventCallback_ffiifif_t )( const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiifif_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32852 : - typedef void ( idClass::*eventCallback_iififif_t )( const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iififif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iififif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32853 : - typedef void ( idClass::*eventCallback_fififif_t )( const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fififif_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fififif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32854 : - typedef void ( idClass::*eventCallback_iffifif_t )( const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffifif_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iffifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32855 : - typedef void ( idClass::*eventCallback_fffifif_t )( const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffifif_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32856 : - typedef void ( idClass::*eventCallback_iiiffif_t )( const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiffif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32857 : - typedef void ( idClass::*eventCallback_fiiffif_t )( const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiffif_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32858 : - typedef void ( idClass::*eventCallback_ififfif_t )( const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififfif_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ififfif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32859 : - typedef void ( idClass::*eventCallback_ffiffif_t )( const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiffif_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32860 : - typedef void ( idClass::*eventCallback_iifffif_t )( const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifffif_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iifffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32861 : - typedef void ( idClass::*eventCallback_fifffif_t )( const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifffif_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fifffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32862 : - typedef void ( idClass::*eventCallback_iffffif_t )( const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffffif_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32863 : - typedef void ( idClass::*eventCallback_fffffif_t )( const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffffif_t )( const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ] ); break; case 32864 : - typedef void ( idClass::*eventCallback_iiiiiff_t )( const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32865 : - typedef void ( idClass::*eventCallback_fiiiiff_t )( const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32866 : - typedef void ( idClass::*eventCallback_ifiiiff_t )( const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32867 : - typedef void ( idClass::*eventCallback_ffiiiff_t )( const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiiff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32868 : - typedef void ( idClass::*eventCallback_iifiiff_t )( const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifiiff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iifiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32869 : - typedef void ( idClass::*eventCallback_fifiiff_t )( const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifiiff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fifiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32870 : - typedef void ( idClass::*eventCallback_iffiiff_t )( const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiiff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32871 : - typedef void ( idClass::*eventCallback_fffiiff_t )( const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiiff_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32872 : - typedef void ( idClass::*eventCallback_iiififf_t )( const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiififf_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiififf_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32873 : - typedef void ( idClass::*eventCallback_fiififf_t )( const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiififf_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32874 : - typedef void ( idClass::*eventCallback_ifififf_t )( const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifififf_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32875 : - typedef void ( idClass::*eventCallback_ffififf_t )( const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffififf_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32876 : - typedef void ( idClass::*eventCallback_iiffiff_t )( const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiffiff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiffiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32877 : - typedef void ( idClass::*eventCallback_fiffiff_t )( const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiffiff_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32878 : - typedef void ( idClass::*eventCallback_ifffiff_t )( const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifffiff_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32879 : - typedef void ( idClass::*eventCallback_ffffiff_t )( const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffffiff_t )( const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32880 : - typedef void ( idClass::*eventCallback_iiiifff_t )( const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiifff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32881 : - typedef void ( idClass::*eventCallback_fiiifff_t )( const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiifff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32882 : - typedef void ( idClass::*eventCallback_ifiifff_t )( const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiifff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32883 : - typedef void ( idClass::*eventCallback_ffiifff_t )( const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiifff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32884 : - typedef void ( idClass::*eventCallback_iififff_t )( const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iififff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iififff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32885 : - typedef void ( idClass::*eventCallback_fififff_t )( const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fififff_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fififff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32886 : - typedef void ( idClass::*eventCallback_iffifff_t )( const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffifff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iffifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32887 : - typedef void ( idClass::*eventCallback_fffifff_t )( const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffifff_t )( const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32888 : - typedef void ( idClass::*eventCallback_iiiffff_t )( const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiffff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiiffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32889 : - typedef void ( idClass::*eventCallback_fiiffff_t )( const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiffff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32890 : - typedef void ( idClass::*eventCallback_ififfff_t )( const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififfff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ififfff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32891 : - typedef void ( idClass::*eventCallback_ffiffff_t )( const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiffff_t )( const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ffiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32892 : - typedef void ( idClass::*eventCallback_iifffff_t )( const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iifffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32893 : - typedef void ( idClass::*eventCallback_fifffff_t )( const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifffff_t )( const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fifffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; case 32894 : - typedef void ( idClass::*eventCallback_iffffff_t )( const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffffff_t )( const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iffffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ] ); break; @@ -1345,1277 +1346,1277 @@ If you have questions concerning this license or the applicable additional terms *******************************************************/ case 65536 : - typedef void ( idClass::*eventCallback_iiiiiiii_t )( const int, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiiiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65537 : - typedef void ( idClass::*eventCallback_fiiiiiii_t )( const float, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiiiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65538 : - typedef void ( idClass::*eventCallback_ifiiiiii_t )( const int, const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiiiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65539 : - typedef void ( idClass::*eventCallback_ffiiiiii_t )( const float, const float, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiiiii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65540 : - typedef void ( idClass::*eventCallback_iifiiiii_t )( const int, const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifiiiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65541 : - typedef void ( idClass::*eventCallback_fifiiiii_t )( const float, const int, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifiiiii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65542 : - typedef void ( idClass::*eventCallback_iffiiiii_t )( const int, const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffiiiii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65543 : - typedef void ( idClass::*eventCallback_fffiiiii_t )( const float, const float, const float, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffiiiii_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65544 : - typedef void ( idClass::*eventCallback_iiifiiii_t )( const int, const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiifiiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifiiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65545 : - typedef void ( idClass::*eventCallback_fiifiiii_t )( const float, const int, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiifiiii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65546 : - typedef void ( idClass::*eventCallback_ififiiii_t )( const int, const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififiiii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65547 : - typedef void ( idClass::*eventCallback_ffifiiii_t )( const float, const float, const int, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffifiiii_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65548 : - typedef void ( idClass::*eventCallback_iiffiiii_t )( const int, const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiffiiii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffiiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65549 : - typedef void ( idClass::*eventCallback_fiffiiii_t )( const float, const int, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiffiiii_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffiiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65550 : - typedef void ( idClass::*eventCallback_ifffiiii_t )( const int, const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifffiiii_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffiiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65551 : - typedef void ( idClass::*eventCallback_ffffiiii_t )( const float, const float, const float, const float, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffffiiii_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffiiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65552 : - typedef void ( idClass::*eventCallback_iiiifiii_t )( const int, const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiifiii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiifiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65553 : - typedef void ( idClass::*eventCallback_fiiifiii_t )( const float, const int, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiifiii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiifiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65554 : - typedef void ( idClass::*eventCallback_ifiifiii_t )( const int, const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ifiifiii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65555 : - typedef void ( idClass::*eventCallback_ffiifiii_t )( const float, const float, const int, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiifiii_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65556 : - typedef void ( idClass::*eventCallback_iififiii_t )( const int, const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iififiii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65557 : - typedef void ( idClass::*eventCallback_fififiii_t )( const float, const int, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fififiii_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65558 : - typedef void ( idClass::*eventCallback_iffifiii_t )( const int, const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffifiii_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffifiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65559 : - typedef void ( idClass::*eventCallback_fffifiii_t )( const float, const float, const float, const int, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffifiii_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffifiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65560 : - typedef void ( idClass::*eventCallback_iiiffiii_t )( const int, const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iiiffiii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiffiii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65561 : - typedef void ( idClass::*eventCallback_fiiffiii_t )( const float, const int, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fiiffiii_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65562 : - typedef void ( idClass::*eventCallback_ififfiii_t )( const int, const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ififfiii_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififfiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65563 : - typedef void ( idClass::*eventCallback_ffiffiii_t )( const float, const float, const int, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_ffiffiii_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65564 : - typedef void ( idClass::*eventCallback_iifffiii_t )( const int, const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iifffiii_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifffiii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65565 : - typedef void ( idClass::*eventCallback_fifffiii_t )( const float, const int, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fifffiii_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifffiii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65566 : - typedef void ( idClass::*eventCallback_iffffiii_t )( const int, const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_iffffiii_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffffiii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65567 : - typedef void ( idClass::*eventCallback_fffffiii_t )( const float, const float, const float, const float, const float, const int, const int, const int ); + typedef void ( idClass::*eventCallback_fffffiii_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffffiii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65568 : - typedef void ( idClass::*eventCallback_iiiiifii_t )( const int, const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiifii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiifii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65569 : - typedef void ( idClass::*eventCallback_fiiiifii_t )( const float, const int, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiifii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65570 : - typedef void ( idClass::*eventCallback_ifiiifii_t )( const int, const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiifii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65571 : - typedef void ( idClass::*eventCallback_ffiiifii_t )( const float, const float, const int, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiifii_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65572 : - typedef void ( idClass::*eventCallback_iifiifii_t )( const int, const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iifiifii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iifiifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65573 : - typedef void ( idClass::*eventCallback_fifiifii_t )( const float, const int, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fifiifii_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fifiifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65574 : - typedef void ( idClass::*eventCallback_iffiifii_t )( const int, const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffiifii_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65575 : - typedef void ( idClass::*eventCallback_fffiifii_t )( const float, const float, const float, const int, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffiifii_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65576 : - typedef void ( idClass::*eventCallback_iiififii_t )( const int, const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiififii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiififii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65577 : - typedef void ( idClass::*eventCallback_fiififii_t )( const float, const int, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiififii_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiififii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65578 : - typedef void ( idClass::*eventCallback_ifififii_t )( const int, const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifififii_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifififii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65579 : - typedef void ( idClass::*eventCallback_ffififii_t )( const float, const float, const int, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffififii_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffififii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65580 : - typedef void ( idClass::*eventCallback_iiffifii_t )( const int, const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffifii_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffifii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65581 : - typedef void ( idClass::*eventCallback_fiffifii_t )( const float, const int, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffifii_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffifii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65582 : - typedef void ( idClass::*eventCallback_ifffifii_t )( const int, const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffifii_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffifii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65583 : - typedef void ( idClass::*eventCallback_ffffifii_t )( const float, const float, const float, const float, const int, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffifii_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffifii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65584 : - typedef void ( idClass::*eventCallback_iiiiffii_t )( const int, const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiiiffii_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiiiffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65585 : - typedef void ( idClass::*eventCallback_fiiiffii_t )( const float, const int, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiiiffii_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiiiffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65586 : - typedef void ( idClass::*eventCallback_ifiiffii_t )( const int, const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifiiffii_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifiiffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65587 : - typedef void ( idClass::*eventCallback_ffiiffii_t )( const float, const float, const int, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffiiffii_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffiiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65588 : - typedef void ( idClass::*eventCallback_iififfii_t )( const int, const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iififfii_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iififfii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65589 : - typedef void ( idClass::*eventCallback_fififfii_t )( const float, const int, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fififfii_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fififfii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65590 : - typedef void ( idClass::*eventCallback_iffiffii_t )( const int, const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iffiffii_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iffiffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65591 : - typedef void ( idClass::*eventCallback_fffiffii_t )( const float, const float, const float, const int, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fffiffii_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fffiffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65592 : - typedef void ( idClass::*eventCallback_iiifffii_t )( const int, const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiifffii_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiifffii_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65593 : - typedef void ( idClass::*eventCallback_fiifffii_t )( const float, const int, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiifffii_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiifffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65594 : - typedef void ( idClass::*eventCallback_ififffii_t )( const int, const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ififffii_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ififffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65595 : - typedef void ( idClass::*eventCallback_ffifffii_t )( const float, const float, const int, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffifffii_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffifffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65596 : - typedef void ( idClass::*eventCallback_iiffffii_t )( const int, const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_iiffffii_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_iiffffii_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65597 : - typedef void ( idClass::*eventCallback_fiffffii_t )( const float, const int, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_fiffffii_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_fiffffii_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65598 : - typedef void ( idClass::*eventCallback_ifffffii_t )( const int, const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ifffffii_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ifffffii_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65599 : - typedef void ( idClass::*eventCallback_ffffffii_t )( const float, const float, const float, const float, const float, const float, const int, const int ); + typedef void ( idClass::*eventCallback_ffffffii_t )( const float, const float, const float, const float, const float, const float, const intptr_t, const intptr_t ); ( this->*( eventCallback_ffffffii_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], data[ 7 ] ); break; case 65600 : - typedef void ( idClass::*eventCallback_iiiiiifi_t )( const int, const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiiifi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiiiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65601 : - typedef void ( idClass::*eventCallback_fiiiiifi_t )( const float, const int, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiiifi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65602 : - typedef void ( idClass::*eventCallback_ifiiiifi_t )( const int, const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiiifi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65603 : - typedef void ( idClass::*eventCallback_ffiiiifi_t )( const float, const float, const int, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiiifi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65604 : - typedef void ( idClass::*eventCallback_iifiiifi_t )( const int, const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifiiifi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifiiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65605 : - typedef void ( idClass::*eventCallback_fifiiifi_t )( const float, const int, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifiiifi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifiiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65606 : - typedef void ( idClass::*eventCallback_iffiiifi_t )( const int, const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffiiifi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffiiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65607 : - typedef void ( idClass::*eventCallback_fffiiifi_t )( const float, const float, const float, const int, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffiiifi_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffiiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65608 : - typedef void ( idClass::*eventCallback_iiifiifi_t )( const int, const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiifiifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiifiifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65609 : - typedef void ( idClass::*eventCallback_fiifiifi_t )( const float, const int, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiifiifi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiifiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65610 : - typedef void ( idClass::*eventCallback_ififiifi_t )( const int, const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififiifi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65611 : - typedef void ( idClass::*eventCallback_ffifiifi_t )( const float, const float, const int, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffifiifi_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffifiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65612 : - typedef void ( idClass::*eventCallback_iiffiifi_t )( const int, const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiffiifi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiffiifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65613 : - typedef void ( idClass::*eventCallback_fiffiifi_t )( const float, const int, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiffiifi_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiffiifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65614 : - typedef void ( idClass::*eventCallback_ifffiifi_t )( const int, const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifffiifi_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifffiifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65615 : - typedef void ( idClass::*eventCallback_ffffiifi_t )( const float, const float, const float, const float, const int, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffffiifi_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffffiifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65616 : - typedef void ( idClass::*eventCallback_iiiififi_t )( const int, const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiififi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiififi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65617 : - typedef void ( idClass::*eventCallback_fiiififi_t )( const float, const int, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiififi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65618 : - typedef void ( idClass::*eventCallback_ifiififi_t )( const int, const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ifiififi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ifiififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65619 : - typedef void ( idClass::*eventCallback_ffiififi_t )( const float, const float, const int, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiififi_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65620 : - typedef void ( idClass::*eventCallback_iifififi_t )( const int, const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifififi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifififi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65621 : - typedef void ( idClass::*eventCallback_fifififi_t )( const float, const int, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifififi_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifififi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65622 : - typedef void ( idClass::*eventCallback_iffififi_t )( const int, const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffififi_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffififi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65623 : - typedef void ( idClass::*eventCallback_fffififi_t )( const float, const float, const float, const int, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffififi_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffififi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65624 : - typedef void ( idClass::*eventCallback_iiiffifi_t )( const int, const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffifi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iiiffifi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65625 : - typedef void ( idClass::*eventCallback_fiiffifi_t )( const float, const int, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffifi_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fiiffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65626 : - typedef void ( idClass::*eventCallback_ififfifi_t )( const int, const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ififfifi_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ififfifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65627 : - typedef void ( idClass::*eventCallback_ffiffifi_t )( const float, const float, const int, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffifi_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_ffiffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65628 : - typedef void ( idClass::*eventCallback_iifffifi_t )( const int, const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iifffifi_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iifffifi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65629 : - typedef void ( idClass::*eventCallback_fifffifi_t )( const float, const int, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fifffifi_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fifffifi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65630 : - typedef void ( idClass::*eventCallback_iffffifi_t )( const int, const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_iffffifi_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_iffffifi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65631 : - typedef void ( idClass::*eventCallback_fffffifi_t )( const float, const float, const float, const float, const float, const int, const float, const int ); + typedef void ( idClass::*eventCallback_fffffifi_t )( const float, const float, const float, const float, const float, const intptr_t, const float, const intptr_t ); ( this->*( eventCallback_fffffifi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65632 : - typedef void ( idClass::*eventCallback_iiiiiffi_t )( const int, const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiiiffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiiiffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65633 : - typedef void ( idClass::*eventCallback_fiiiiffi_t )( const float, const int, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiiiffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65634 : - typedef void ( idClass::*eventCallback_ifiiiffi_t )( const int, const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiiiffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65635 : - typedef void ( idClass::*eventCallback_ffiiiffi_t )( const float, const float, const int, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiiiffi_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65636 : - typedef void ( idClass::*eventCallback_iifiiffi_t )( const int, const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifiiffi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iifiiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65637 : - typedef void ( idClass::*eventCallback_fifiiffi_t )( const float, const int, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifiiffi_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fifiiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65638 : - typedef void ( idClass::*eventCallback_iffiiffi_t )( const int, const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffiiffi_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iffiiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65639 : - typedef void ( idClass::*eventCallback_fffiiffi_t )( const float, const float, const float, const int, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffiiffi_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fffiiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65640 : - typedef void ( idClass::*eventCallback_iiififfi_t )( const int, const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiififfi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiififfi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65641 : - typedef void ( idClass::*eventCallback_fiififfi_t )( const float, const int, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiififfi_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiififfi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65642 : - typedef void ( idClass::*eventCallback_ifififfi_t )( const int, const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifififfi_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifififfi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65643 : - typedef void ( idClass::*eventCallback_ffififfi_t )( const float, const float, const int, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffififfi_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffififfi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65644 : - typedef void ( idClass::*eventCallback_iiffiffi_t )( const int, const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiffiffi_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_iiffiffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65645 : - typedef void ( idClass::*eventCallback_fiffiffi_t )( const float, const int, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiffiffi_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_fiffiffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65646 : - typedef void ( idClass::*eventCallback_ifffiffi_t )( const int, const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifffiffi_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ifffiffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65647 : - typedef void ( idClass::*eventCallback_ffffiffi_t )( const float, const float, const float, const float, const int, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffffiffi_t )( const float, const float, const float, const float, const intptr_t, const float, const float, const intptr_t ); ( this->*( eventCallback_ffffiffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65648 : - typedef void ( idClass::*eventCallback_iiiifffi_t )( const int, const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiifffi_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiifffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65649 : - typedef void ( idClass::*eventCallback_fiiifffi_t )( const float, const int, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiifffi_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiifffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65650 : - typedef void ( idClass::*eventCallback_ifiifffi_t )( const int, const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ifiifffi_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ifiifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65651 : - typedef void ( idClass::*eventCallback_ffiifffi_t )( const float, const float, const int, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiifffi_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65652 : - typedef void ( idClass::*eventCallback_iififffi_t )( const int, const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iififffi_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iififffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65653 : - typedef void ( idClass::*eventCallback_fififffi_t )( const float, const int, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fififffi_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fififffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65654 : - typedef void ( idClass::*eventCallback_iffifffi_t )( const int, const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffifffi_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffifffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65655 : - typedef void ( idClass::*eventCallback_fffifffi_t )( const float, const float, const float, const int, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffifffi_t )( const float, const float, const float, const intptr_t, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffifffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65656 : - typedef void ( idClass::*eventCallback_iiiffffi_t )( const int, const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iiiffffi_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iiiffffi_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65657 : - typedef void ( idClass::*eventCallback_fiiffffi_t )( const float, const int, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fiiffffi_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fiiffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65658 : - typedef void ( idClass::*eventCallback_ififfffi_t )( const int, const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ififfffi_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ififfffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65659 : - typedef void ( idClass::*eventCallback_ffiffffi_t )( const float, const float, const int, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_ffiffffi_t )( const float, const float, const intptr_t, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_ffiffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65660 : - typedef void ( idClass::*eventCallback_iifffffi_t )( const int, const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iifffffi_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iifffffi_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65661 : - typedef void ( idClass::*eventCallback_fifffffi_t )( const float, const int, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fifffffi_t )( const float, const intptr_t, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fifffffi_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65662 : - typedef void ( idClass::*eventCallback_iffffffi_t )( const int, const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_iffffffi_t )( const intptr_t, const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_iffffffi_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65663 : - typedef void ( idClass::*eventCallback_fffffffi_t )( const float, const float, const float, const float, const float, const float, const float, const int ); + typedef void ( idClass::*eventCallback_fffffffi_t )( const float, const float, const float, const float, const float, const float, const float, const intptr_t ); ( this->*( eventCallback_fffffffi_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], data[ 7 ] ); break; case 65664 : - typedef void ( idClass::*eventCallback_iiiiiiif_t )( const int, const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiiiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiiiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65665 : - typedef void ( idClass::*eventCallback_fiiiiiif_t )( const float, const int, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiiiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65666 : - typedef void ( idClass::*eventCallback_ifiiiiif_t )( const int, const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiiiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65667 : - typedef void ( idClass::*eventCallback_ffiiiiif_t )( const float, const float, const int, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiiiif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65668 : - typedef void ( idClass::*eventCallback_iifiiiif_t )( const int, const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifiiiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifiiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65669 : - typedef void ( idClass::*eventCallback_fifiiiif_t )( const float, const int, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifiiiif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifiiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65670 : - typedef void ( idClass::*eventCallback_iffiiiif_t )( const int, const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffiiiif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffiiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65671 : - typedef void ( idClass::*eventCallback_fffiiiif_t )( const float, const float, const float, const int, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffiiiif_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffiiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65672 : - typedef void ( idClass::*eventCallback_iiifiiif_t )( const int, const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiifiiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiifiiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65673 : - typedef void ( idClass::*eventCallback_fiifiiif_t )( const float, const int, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiifiiif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiifiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65674 : - typedef void ( idClass::*eventCallback_ififiiif_t )( const int, const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififiiif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65675 : - typedef void ( idClass::*eventCallback_ffifiiif_t )( const float, const float, const int, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffifiiif_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffifiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65676 : - typedef void ( idClass::*eventCallback_iiffiiif_t )( const int, const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiffiiif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiffiiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65677 : - typedef void ( idClass::*eventCallback_fiffiiif_t )( const float, const int, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiffiiif_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiffiiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65678 : - typedef void ( idClass::*eventCallback_ifffiiif_t )( const int, const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifffiiif_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifffiiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65679 : - typedef void ( idClass::*eventCallback_ffffiiif_t )( const float, const float, const float, const float, const int, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffffiiif_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffffiiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65680 : - typedef void ( idClass::*eventCallback_iiiifiif_t )( const int, const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiifiif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiifiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65681 : - typedef void ( idClass::*eventCallback_fiiifiif_t )( const float, const int, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiifiif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiifiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65682 : - typedef void ( idClass::*eventCallback_ifiifiif_t )( const int, const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ifiifiif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ifiifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65683 : - typedef void ( idClass::*eventCallback_ffiifiif_t )( const float, const float, const int, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiifiif_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65684 : - typedef void ( idClass::*eventCallback_iififiif_t )( const int, const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iififiif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iififiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65685 : - typedef void ( idClass::*eventCallback_fififiif_t )( const float, const int, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fififiif_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fififiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65686 : - typedef void ( idClass::*eventCallback_iffifiif_t )( const int, const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffifiif_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffifiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65687 : - typedef void ( idClass::*eventCallback_fffifiif_t )( const float, const float, const float, const int, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffifiif_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffifiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65688 : - typedef void ( idClass::*eventCallback_iiiffiif_t )( const int, const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iiiffiif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iiiffiif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65689 : - typedef void ( idClass::*eventCallback_fiiffiif_t )( const float, const int, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fiiffiif_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fiiffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65690 : - typedef void ( idClass::*eventCallback_ififfiif_t )( const int, const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ififfiif_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ififfiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65691 : - typedef void ( idClass::*eventCallback_ffiffiif_t )( const float, const float, const int, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_ffiffiif_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_ffiffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65692 : - typedef void ( idClass::*eventCallback_iifffiif_t )( const int, const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iifffiif_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iifffiif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65693 : - typedef void ( idClass::*eventCallback_fifffiif_t )( const float, const int, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fifffiif_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fifffiif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65694 : - typedef void ( idClass::*eventCallback_iffffiif_t )( const int, const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_iffffiif_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_iffffiif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65695 : - typedef void ( idClass::*eventCallback_fffffiif_t )( const float, const float, const float, const float, const float, const int, const int, const float ); + typedef void ( idClass::*eventCallback_fffffiif_t )( const float, const float, const float, const float, const float, const intptr_t, const intptr_t, const float ); ( this->*( eventCallback_fffffiif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65696 : - typedef void ( idClass::*eventCallback_iiiiifif_t )( const int, const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiifif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiiifif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65697 : - typedef void ( idClass::*eventCallback_fiiiifif_t )( const float, const int, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiifif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65698 : - typedef void ( idClass::*eventCallback_ifiiifif_t )( const int, const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiifif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65699 : - typedef void ( idClass::*eventCallback_ffiiifif_t )( const float, const float, const int, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiifif_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65700 : - typedef void ( idClass::*eventCallback_iifiifif_t )( const int, const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iifiifif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iifiifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65701 : - typedef void ( idClass::*eventCallback_fifiifif_t )( const float, const int, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fifiifif_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fifiifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65702 : - typedef void ( idClass::*eventCallback_iffiifif_t )( const int, const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffiifif_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iffiifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65703 : - typedef void ( idClass::*eventCallback_fffiifif_t )( const float, const float, const float, const int, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffiifif_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fffiifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65704 : - typedef void ( idClass::*eventCallback_iiififif_t )( const int, const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiififif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiififif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65705 : - typedef void ( idClass::*eventCallback_fiififif_t )( const float, const int, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiififif_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiififif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65706 : - typedef void ( idClass::*eventCallback_ifififif_t )( const int, const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifififif_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifififif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65707 : - typedef void ( idClass::*eventCallback_ffififif_t )( const float, const float, const int, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffififif_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffififif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65708 : - typedef void ( idClass::*eventCallback_iiffifif_t )( const int, const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffifif_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffifif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65709 : - typedef void ( idClass::*eventCallback_fiffifif_t )( const float, const int, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffifif_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffifif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65710 : - typedef void ( idClass::*eventCallback_ifffifif_t )( const int, const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffifif_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffifif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65711 : - typedef void ( idClass::*eventCallback_ffffifif_t )( const float, const float, const float, const float, const int, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffifif_t )( const float, const float, const float, const float, const intptr_t, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffifif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65712 : - typedef void ( idClass::*eventCallback_iiiiffif_t )( const int, const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiiiffif_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiiiffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65713 : - typedef void ( idClass::*eventCallback_fiiiffif_t )( const float, const int, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiiiffif_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiiiffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65714 : - typedef void ( idClass::*eventCallback_ifiiffif_t )( const int, const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifiiffif_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifiiffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65715 : - typedef void ( idClass::*eventCallback_ffiiffif_t )( const float, const float, const int, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffiiffif_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffiiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65716 : - typedef void ( idClass::*eventCallback_iififfif_t )( const int, const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iififfif_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iififfif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65717 : - typedef void ( idClass::*eventCallback_fififfif_t )( const float, const int, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fififfif_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fififfif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65718 : - typedef void ( idClass::*eventCallback_iffiffif_t )( const int, const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iffiffif_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iffiffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65719 : - typedef void ( idClass::*eventCallback_fffiffif_t )( const float, const float, const float, const int, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fffiffif_t )( const float, const float, const float, const intptr_t, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fffiffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65720 : - typedef void ( idClass::*eventCallback_iiifffif_t )( const int, const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiifffif_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiifffif_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65721 : - typedef void ( idClass::*eventCallback_fiifffif_t )( const float, const int, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiifffif_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiifffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65722 : - typedef void ( idClass::*eventCallback_ififffif_t )( const int, const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ififffif_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ififffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65723 : - typedef void ( idClass::*eventCallback_ffifffif_t )( const float, const float, const int, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffifffif_t )( const float, const float, const intptr_t, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffifffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65724 : - typedef void ( idClass::*eventCallback_iiffffif_t )( const int, const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_iiffffif_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_iiffffif_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65725 : - typedef void ( idClass::*eventCallback_fiffffif_t )( const float, const int, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_fiffffif_t )( const float, const intptr_t, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_fiffffif_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65726 : - typedef void ( idClass::*eventCallback_ifffffif_t )( const int, const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ifffffif_t )( const intptr_t, const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ifffffif_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65727 : - typedef void ( idClass::*eventCallback_ffffffif_t )( const float, const float, const float, const float, const float, const float, const int, const float ); + typedef void ( idClass::*eventCallback_ffffffif_t )( const float, const float, const float, const float, const float, const float, const intptr_t, const float ); ( this->*( eventCallback_ffffffif_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], data[ 6 ], *( float * )&data[ 7 ] ); break; case 65728 : - typedef void ( idClass::*eventCallback_iiiiiiff_t )( const int, const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiiiff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiiiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65729 : - typedef void ( idClass::*eventCallback_fiiiiiff_t )( const float, const int, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiiiff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65730 : - typedef void ( idClass::*eventCallback_ifiiiiff_t )( const int, const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiiiff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65731 : - typedef void ( idClass::*eventCallback_ffiiiiff_t )( const float, const float, const int, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiiiff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65732 : - typedef void ( idClass::*eventCallback_iifiiiff_t )( const int, const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifiiiff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iifiiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65733 : - typedef void ( idClass::*eventCallback_fifiiiff_t )( const float, const int, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifiiiff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fifiiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65734 : - typedef void ( idClass::*eventCallback_iffiiiff_t )( const int, const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffiiiff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iffiiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65735 : - typedef void ( idClass::*eventCallback_fffiiiff_t )( const float, const float, const float, const int, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffiiiff_t )( const float, const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fffiiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65736 : - typedef void ( idClass::*eventCallback_iiifiiff_t )( const int, const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiifiiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiifiiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65737 : - typedef void ( idClass::*eventCallback_fiifiiff_t )( const float, const int, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiifiiff_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiifiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65738 : - typedef void ( idClass::*eventCallback_ififiiff_t )( const int, const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififiiff_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ififiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65739 : - typedef void ( idClass::*eventCallback_ffifiiff_t )( const float, const float, const int, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffifiiff_t )( const float, const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffifiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65740 : - typedef void ( idClass::*eventCallback_iiffiiff_t )( const int, const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiffiiff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_iiffiiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65741 : - typedef void ( idClass::*eventCallback_fiffiiff_t )( const float, const int, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiffiiff_t )( const float, const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_fiffiiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65742 : - typedef void ( idClass::*eventCallback_ifffiiff_t )( const int, const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifffiiff_t )( const intptr_t, const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ifffiiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65743 : - typedef void ( idClass::*eventCallback_ffffiiff_t )( const float, const float, const float, const float, const int, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffffiiff_t )( const float, const float, const float, const float, const intptr_t, const intptr_t, const float, const float ); ( this->*( eventCallback_ffffiiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65744 : - typedef void ( idClass::*eventCallback_iiiififf_t )( const int, const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiififf_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiififf_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65745 : - typedef void ( idClass::*eventCallback_fiiififf_t )( const float, const int, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiififf_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65746 : - typedef void ( idClass::*eventCallback_ifiififf_t )( const int, const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ifiififf_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ifiififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65747 : - typedef void ( idClass::*eventCallback_ffiififf_t )( const float, const float, const int, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiififf_t )( const float, const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65748 : - typedef void ( idClass::*eventCallback_iifififf_t )( const int, const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifififf_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iifififf_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65749 : - typedef void ( idClass::*eventCallback_fifififf_t )( const float, const int, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifififf_t )( const float, const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fifififf_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65750 : - typedef void ( idClass::*eventCallback_iffififf_t )( const int, const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffififf_t )( const intptr_t, const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffififf_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65751 : - typedef void ( idClass::*eventCallback_fffififf_t )( const float, const float, const float, const int, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffififf_t )( const float, const float, const float, const intptr_t, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffififf_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65752 : - typedef void ( idClass::*eventCallback_iiiffiff_t )( const int, const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iiiffiff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iiiffiff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65753 : - typedef void ( idClass::*eventCallback_fiiffiff_t )( const float, const int, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fiiffiff_t )( const float, const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fiiffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65754 : - typedef void ( idClass::*eventCallback_ififfiff_t )( const int, const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ififfiff_t )( const intptr_t, const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ififfiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65755 : - typedef void ( idClass::*eventCallback_ffiffiff_t )( const float, const float, const int, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_ffiffiff_t )( const float, const float, const intptr_t, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_ffiffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65756 : - typedef void ( idClass::*eventCallback_iifffiff_t )( const int, const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iifffiff_t )( const intptr_t, const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iifffiff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65757 : - typedef void ( idClass::*eventCallback_fifffiff_t )( const float, const int, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fifffiff_t )( const float, const intptr_t, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fifffiff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65758 : - typedef void ( idClass::*eventCallback_iffffiff_t )( const int, const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_iffffiff_t )( const intptr_t, const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_iffffiff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65759 : - typedef void ( idClass::*eventCallback_fffffiff_t )( const float, const float, const float, const float, const float, const int, const float, const float ); + typedef void ( idClass::*eventCallback_fffffiff_t )( const float, const float, const float, const float, const float, const intptr_t, const float, const float ); ( this->*( eventCallback_fffffiff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65760 : - typedef void ( idClass::*eventCallback_iiiiifff_t )( const int, const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiifff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiiiifff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65761 : - typedef void ( idClass::*eventCallback_fiiiifff_t )( const float, const int, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiifff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiiiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65762 : - typedef void ( idClass::*eventCallback_ifiiifff_t )( const int, const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiifff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifiiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65763 : - typedef void ( idClass::*eventCallback_ffiiifff_t )( const float, const float, const int, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiifff_t )( const float, const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffiiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65764 : - typedef void ( idClass::*eventCallback_iifiifff_t )( const int, const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iifiifff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iifiifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65765 : - typedef void ( idClass::*eventCallback_fifiifff_t )( const float, const int, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fifiifff_t )( const float, const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fifiifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65766 : - typedef void ( idClass::*eventCallback_iffiifff_t )( const int, const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffiifff_t )( const intptr_t, const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iffiifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65767 : - typedef void ( idClass::*eventCallback_fffiifff_t )( const float, const float, const float, const int, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffiifff_t )( const float, const float, const float, const intptr_t, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fffiifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65768 : - typedef void ( idClass::*eventCallback_iiififff_t )( const int, const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiififff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiififff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65769 : - typedef void ( idClass::*eventCallback_fiififff_t )( const float, const int, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiififff_t )( const float, const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiififff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65770 : - typedef void ( idClass::*eventCallback_ifififff_t )( const int, const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifififff_t )( const intptr_t, const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifififff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65771 : - typedef void ( idClass::*eventCallback_ffififff_t )( const float, const float, const int, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffififff_t )( const float, const float, const intptr_t, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffififff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65772 : - typedef void ( idClass::*eventCallback_iiffifff_t )( const int, const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffifff_t )( const intptr_t, const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_iiffifff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65773 : - typedef void ( idClass::*eventCallback_fiffifff_t )( const float, const int, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffifff_t )( const float, const intptr_t, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_fiffifff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65774 : - typedef void ( idClass::*eventCallback_ifffifff_t )( const int, const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffifff_t )( const intptr_t, const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ifffifff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65775 : - typedef void ( idClass::*eventCallback_ffffifff_t )( const float, const float, const float, const float, const int, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffffifff_t )( const float, const float, const float, const float, const intptr_t, const float, const float, const float ); ( this->*( eventCallback_ffffifff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65776 : - typedef void ( idClass::*eventCallback_iiiiffff_t )( const int, const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiiiffff_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iiiiffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65777 : - typedef void ( idClass::*eventCallback_fiiiffff_t )( const float, const int, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiiiffff_t )( const float, const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fiiiffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65778 : - typedef void ( idClass::*eventCallback_ifiiffff_t )( const int, const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifiiffff_t )( const intptr_t, const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ifiiffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65779 : - typedef void ( idClass::*eventCallback_ffiiffff_t )( const float, const float, const int, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffiiffff_t )( const float, const float, const intptr_t, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_ffiiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65780 : - typedef void ( idClass::*eventCallback_iififfff_t )( const int, const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iififfff_t )( const intptr_t, const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iififfff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65781 : - typedef void ( idClass::*eventCallback_fififfff_t )( const float, const int, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fififfff_t )( const float, const intptr_t, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fififfff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65782 : - typedef void ( idClass::*eventCallback_iffiffff_t )( const int, const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iffiffff_t )( const intptr_t, const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_iffiffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65783 : - typedef void ( idClass::*eventCallback_fffiffff_t )( const float, const float, const float, const int, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fffiffff_t )( const float, const float, const float, const intptr_t, const float, const float, const float, const float ); ( this->*( eventCallback_fffiffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65784 : - typedef void ( idClass::*eventCallback_iiifffff_t )( const int, const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiifffff_t )( const intptr_t, const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iiifffff_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65785 : - typedef void ( idClass::*eventCallback_fiifffff_t )( const float, const int, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiifffff_t )( const float, const intptr_t, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fiifffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65786 : - typedef void ( idClass::*eventCallback_ififffff_t )( const int, const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ififffff_t )( const intptr_t, const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ififffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65787 : - typedef void ( idClass::*eventCallback_ffifffff_t )( const float, const float, const int, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ffifffff_t )( const float, const float, const intptr_t, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ffifffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65788 : - typedef void ( idClass::*eventCallback_iiffffff_t )( const int, const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_iiffffff_t )( const intptr_t, const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_iiffffff_t )callback )( data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65789 : - typedef void ( idClass::*eventCallback_fiffffff_t )( const float, const int, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_fiffffff_t )( const float, const intptr_t, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_fiffffff_t )callback )( *( float * )&data[ 0 ], data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; case 65790 : - typedef void ( idClass::*eventCallback_ifffffff_t )( const int, const float, const float, const float, const float, const float, const float, const float ); + typedef void ( idClass::*eventCallback_ifffffff_t )( const intptr_t, const float, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ifffffff_t )callback )( data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; @@ -2623,4 +2624,3 @@ If you have questions concerning this license or the applicable additional terms typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float ); ( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); break; - diff --git a/game/gamesys/Class.cpp b/game/gamesys/Class.cpp index ec21f4c..f03e100 100644 --- a/game/gamesys/Class.cpp +++ b/game/gamesys/Class.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -62,7 +62,7 @@ initialized in any order, the constructor must handle the case that subclasses are initialized before superclasses. ================ */ -idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), +idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), void ( idClass::*Spawn )( void ), void ( idClass::*Save )( idSaveGame *savefile ) const, void ( idClass::*Restore )( idRestoreGame *savefile ) ) { idTypeInfo *type; @@ -83,7 +83,7 @@ idTypeInfo::idTypeInfo( const char *classname, const char *superclass, idEventFu // Check if any subclasses were initialized before their superclass for( type = typelist; type != NULL; type = type->next ) { - if ( ( type->super == NULL ) && !idStr::Cmp( type->superclass, this->classname ) && + if ( ( type->super == NULL ) && !idStr::Cmp( type->superclass, this->classname ) && idStr::Cmp( type->classname, "idClass" ) ) { type->super = this; } @@ -117,7 +117,7 @@ idTypeInfo::~idTypeInfo() { ================ idTypeInfo::Init -Initializes the event callback table for the class. Creates a +Initializes the event callback table for the class. Creates a table for fast lookups of event functions. Should only be called once. ================ */ @@ -203,7 +203,7 @@ void idTypeInfo::Init( void ) { idTypeInfo::Shutdown Should only be called when DLL or EXE is being shutdown. -Although it cleans up any allocated memory, it doesn't bother to remove itself +Although it cleans up any allocated memory, it doesn't bother to remove itself from the class list since the program is shutting down. ================ */ @@ -394,7 +394,7 @@ void idClass::Init( void ) { // is a subclass of another num = 0; for( c = classHierarchy.GetNext(); c != NULL; c = c->node.GetNext(), num++ ) { - c->typeNum = num; + c->typeNum = num; c->lastChild += num; } @@ -504,7 +504,7 @@ void idClass::operator delete( void *ptr ) { p = ( ( int * )ptr ) - 1; memused -= *p; numobjects--; - Mem_Free( p ); + Mem_Free( p ); } } @@ -515,7 +515,7 @@ void idClass::operator delete( void *ptr, int, int, char *, int ) { p = ( ( int * )ptr ) - 1; memused -= *p; numobjects--; - Mem_Free( p ); + Mem_Free( p ); } } @@ -629,9 +629,9 @@ bool idClass::PostEventArgs( const idEventDef *ev, int time, int numargs, ... ) idTypeInfo *c; idEvent *event; va_list args; - + assert( ev ); - + if ( !idEvent::initialized ) { return false; } @@ -828,9 +828,9 @@ idClass::ProcessEventArgs bool idClass::ProcessEventArgs( const idEventDef *ev, int numargs, ... ) { idTypeInfo *c; int num; - int data[ D_EVENT_MAXARGS ]; + intptr_t data[ D_EVENT_MAXARGS ]; va_list args; - + assert( ev ); assert( idEvent::initialized ); @@ -936,7 +936,7 @@ bool idClass::ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg ar idClass::ProcessEventArgPtr ================ */ -bool idClass::ProcessEventArgPtr( const idEventDef *ev, int *data ) { +bool idClass::ProcessEventArgPtr( const idEventDef *ev, intptr_t *data ) { idTypeInfo *c; int num; eventCallback_t callback; @@ -990,42 +990,42 @@ http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/ break; case 1 : - typedef void ( idClass::*eventCallback_1_t )( const int ); + typedef void ( idClass::*eventCallback_1_t )( const intptr_t ); ( this->*( eventCallback_1_t )callback )( data[ 0 ] ); break; case 2 : - typedef void ( idClass::*eventCallback_2_t )( const int, const int ); + typedef void ( idClass::*eventCallback_2_t )( const intptr_t, const intptr_t ); ( this->*( eventCallback_2_t )callback )( data[ 0 ], data[ 1 ] ); break; case 3 : - typedef void ( idClass::*eventCallback_3_t )( const int, const int, const int ); + typedef void ( idClass::*eventCallback_3_t )( const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_3_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ] ); break; case 4 : - typedef void ( idClass::*eventCallback_4_t )( const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_4_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_4_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ] ); break; case 5 : - typedef void ( idClass::*eventCallback_5_t )( const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_5_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_5_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ] ); break; case 6 : - typedef void ( idClass::*eventCallback_6_t )( const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_6_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_6_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ] ); break; case 7 : - typedef void ( idClass::*eventCallback_7_t )( const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_7_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_7_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ] ); break; case 8 : - typedef void ( idClass::*eventCallback_8_t )( const int, const int, const int, const int, const int, const int, const int, const int ); + typedef void ( idClass::*eventCallback_8_t )( const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t, const intptr_t ); ( this->*( eventCallback_8_t )callback )( data[ 0 ], data[ 1 ], data[ 2 ], data[ 3 ], data[ 4 ], data[ 5 ], data[ 6 ], data[ 7 ] ); break; diff --git a/game/gamesys/Class.h b/game/gamesys/Class.h index 25885b3..853d1f9 100644 --- a/game/gamesys/Class.h +++ b/game/gamesys/Class.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -57,16 +57,16 @@ struct idEventFunc { class idEventArg { public: int type; - int value; + intptr_t value; idEventArg() { type = D_EVENT_INTEGER; value = 0; }; idEventArg( int data ) { type = D_EVENT_INTEGER; value = data; }; idEventArg( float data ) { type = D_EVENT_FLOAT; value = *reinterpret_cast( &data ); }; - idEventArg( idVec3 &data ) { type = D_EVENT_VECTOR; value = reinterpret_cast( &data ); }; - idEventArg( const idStr &data ) { type = D_EVENT_STRING; value = reinterpret_cast( data.c_str() ); }; - idEventArg( const char *data ) { type = D_EVENT_STRING; value = reinterpret_cast( data ); }; - idEventArg( const class idEntity *data ) { type = D_EVENT_ENTITY; value = reinterpret_cast( data ); }; - idEventArg( const struct trace_s *data ) { type = D_EVENT_TRACE; value = reinterpret_cast( data ); }; + idEventArg( idVec3 &data ) { type = D_EVENT_VECTOR; value = reinterpret_cast( &data ); }; + idEventArg( const idStr &data ) { type = D_EVENT_STRING; value = reinterpret_cast( data.c_str() ); }; + idEventArg( const char *data ) { type = D_EVENT_STRING; value = reinterpret_cast( data ); }; + idEventArg( const class idEntity *data ) { type = D_EVENT_ENTITY; value = reinterpret_cast( data ); }; + idEventArg( const struct trace_s *data ) { type = D_EVENT_TRACE; value = reinterpret_cast( data ); }; }; class idAllocError : public idException { @@ -102,7 +102,7 @@ CLASS_DECLARATION This macro must be included in the code to properly initialize variables used in type checking and run-time instanciation. It also defines the list -of events that the class responds to. Take special care to ensure that the +of events that the class responds to. Take special care to ensure that the proper superclass is indicated or the run-time type information will be incorrect. Use this on concrete classes only. ================ @@ -230,7 +230,7 @@ public: bool ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7 ); bool ProcessEvent( const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8 ); - bool ProcessEventArgPtr( const idEventDef *ev, int *data ); + bool ProcessEventArgPtr( const idEventDef *ev, intptr_t *data ); void CancelEvents( const idEventDef *ev ); void Event_Remove( void ); @@ -287,7 +287,7 @@ public: idHierarchy node; - idTypeInfo( const char *classname, const char *superclass, + idTypeInfo( const char *classname, const char *superclass, idEventFunc *eventCallbacks, idClass *( *CreateInstance )( void ), void ( idClass::*Spawn )( void ), void ( idClass::*Save )( idSaveGame *savefile ) const, void ( idClass::*Restore )( idRestoreGame *savefile ) ); ~idTypeInfo(); @@ -303,7 +303,7 @@ public: ================ idTypeInfo::IsType -Checks if the object's class is a subclass of the class defined by the +Checks if the object's class is a subclass of the class defined by the passed in idTypeInfo. ================ */ @@ -330,7 +330,7 @@ ID_INLINE bool idTypeInfo::RespondsTo( const idEventDef &ev ) const { ================ idClass::IsType -Checks if the object's class is a subclass of the class defined by the +Checks if the object's class is a subclass of the class defined by the passed in idTypeInfo. ================ */ diff --git a/game/gamesys/Event.cpp b/game/gamesys/Event.cpp index 99f5c41..7d6a657 100644 --- a/game/gamesys/Event.cpp +++ b/game/gamesys/Event.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -70,7 +70,7 @@ idEventDef::idEventDef( const char *command, const char *formatspec, char return if ( !formatspec ) { formatspec = ""; } - + this->name = command; this->formatspec = formatspec; this->returnType = returnType; @@ -92,15 +92,15 @@ idEventDef::idEventDef( const char *command, const char *formatspec, char return switch( formatspec[ i ] ) { case D_EVENT_FLOAT : bits |= 1 << i; - argsize += sizeof( float ); + argsize += sizeof( intptr_t ); break; case D_EVENT_INTEGER : - argsize += sizeof( int ); + argsize += sizeof( intptr_t ); break; case D_EVENT_VECTOR : - argsize += sizeof( idVec3 ); + argsize += E_EVENT_SIZEOF_VEC; break; case D_EVENT_STRING : @@ -331,7 +331,7 @@ idEvent *idEvent::Alloc( const idEventDef *evdef, int numargs, va_list args ) { idEvent::CopyArgs ================ */ -void idEvent::CopyArgs( const idEventDef *evdef, int numargs, va_list args, int data[ D_EVENT_MAXARGS ] ) { +void idEvent::CopyArgs( const idEventDef *evdef, int numargs, va_list args, intptr_t data[ D_EVENT_MAXARGS ] ) { int i; const char *format; idEventArg *arg; @@ -443,8 +443,8 @@ void idEvent::ClearEventList( void ) { // FreeEvents.Clear(); EventQueue.Clear(); - - // + + // // add the events to the free list // for( i = 0; i < MAX_EVENTS; i++ ) { @@ -460,7 +460,7 @@ idEvent::ServiceEvents void idEvent::ServiceEvents( void ) { idEvent *event; int num; - int args[ D_EVENT_MAXARGS ]; + intptr_t args[ D_EVENT_MAXARGS ]; int offset; int i; int numargs; @@ -599,7 +599,7 @@ void idEvent::Shutdown( void ) { } ClearEventList(); - + eventDataAllocator.Shutdown(); // say it is now shutdown @@ -766,7 +766,7 @@ void idEvent::Restore( idRestoreGame *savefile ) { /* ================ idEvent::ReadTrace - + idRestoreGame has a ReadTrace procedure, but unfortunately idEvent wants the material string name at the of the data structure rather than in the middle ================ @@ -841,7 +841,7 @@ void CreateEventCallbackHandler( void ) { argString[ k ] = j & ( 1 << k ) ? 'f' : 'i'; } argString[ i ] = '\0'; - + string1.Empty(); string2.Empty(); @@ -850,7 +850,7 @@ void CreateEventCallbackHandler( void ) { string1 += "const float"; string2 += va( "*( float * )&data[ %d ]", k ); } else { - string1 += "const int"; + string1 += "const intptr_t"; string2 += va( "data[ %d ]", k ); } diff --git a/game/gamesys/Event.h b/game/gamesys/Event.h index 1b2aa3f..4e2c517 100644 --- a/game/gamesys/Event.h +++ b/game/gamesys/Event.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -36,6 +36,9 @@ Event are used for scheduling tasks and for linking script commands. #define D_EVENT_MAXARGS 8 // if changed, enable the CREATE_EVENT_CODE define in Event.cpp to generate switch statement for idClass::ProcessEventArgPtr. // running the game will then generate c:\doom\base\events.txt, the contents of which should be copied into the switch statement. +// stack size of idVec3, aligned to native pointer size +#define E_EVENT_SIZEOF_VEC ((sizeof(idVec3) + (sizeof(intptr_t) - 1)) & ~(sizeof(intptr_t) - 1)) + #define D_EVENT_VOID ( ( char )0 ) #define D_EVENT_INTEGER 'd' #define D_EVENT_FLOAT 'f' @@ -67,7 +70,7 @@ private: public: idEventDef( const char *command, const char *formatspec = NULL, char returnType = 0 ); - + const char *GetName( void ) const; const char *GetArgFormat( void ) const; unsigned int GetFormatspecIndex( void ) const; @@ -104,8 +107,8 @@ public: ~idEvent(); static idEvent *Alloc( const idEventDef *evdef, int numargs, va_list args ); - static void CopyArgs( const idEventDef *evdef, int numargs, va_list args, int data[ D_EVENT_MAXARGS ] ); - + static void CopyArgs( const idEventDef *evdef, int numargs, va_list args, intptr_t data[ D_EVENT_MAXARGS ] ); + void Free( void ); void Schedule( idClass *object, const idTypeInfo *cls, int time ); byte *GetData( void ); @@ -121,7 +124,7 @@ public: static void Restore( idRestoreGame *savefile ); // unarchives object from save game file static void SaveTrace( idSaveGame *savefile, const trace_t &trace ); static void RestoreTrace( idRestoreGame *savefile, trace_t &trace ); - + }; /* diff --git a/game/gamesys/TypeInfo.cpp b/game/gamesys/TypeInfo.cpp index 5c15309..a2f6e0a 100644 --- a/game/gamesys/TypeInfo.cpp +++ b/game/gamesys/TypeInfo.cpp @@ -563,7 +563,9 @@ int idTypeInfoTools::WriteVariable_r( const void *varPtr, const char *varName, c // if this is a pointer isPointer = 0; for ( i = typeString.Length(); i > 0 && typeString[i - 1] == '*'; i -= 2 ) { - if ( varPtr == (void *)0xcdcdcdcd || ( varPtr != NULL && *((unsigned long *)varPtr) == 0xcdcdcdcd ) ) { + // flibit: 64 bit fix, changed long to int + if ( varPtr == (void *)0xcdcdcdcd || ( varPtr != NULL && *((unsigned int *)varPtr) == 0xcdcdcdcd ) ) { + // flibit end common->Warning( "%s%s::%s%s references uninitialized memory", prefix, scope, varName, "" ); return typeSize; } @@ -1129,7 +1131,9 @@ int idTypeInfoTools::WriteVariable_r( const void *varPtr, const char *varName, c i = 0; do { - if ( *((unsigned long *)varPtr) == 0xcdcdcdcd ) { + // flibit: 64 bit fix, changed long to int + if ( *((unsigned int *)varPtr) == 0xcdcdcdcd ) { + // flibit end common->Warning( "%s%s::%s%s uses uninitialized memory", prefix, scope, varName, "" ); break; } diff --git a/game/script/Script_Interpreter.cpp b/game/script/Script_Interpreter.cpp index 6e07931..92e6f6f 100644 --- a/game/script/Script_Interpreter.cpp +++ b/game/script/Script_Interpreter.cpp @@ -745,7 +745,7 @@ void idInterpreter::CallEvent( const function_t *func, int argsize ) { switch( format[ i ] ) { case D_EVENT_INTEGER : var.intPtr = ( int * )&localstack[ start + pos ]; - data[ i ] = int( *var.floatPtr ); + ( *( int * )&data[ i ] ) = int( *var.floatPtr ); break; case D_EVENT_FLOAT : diff --git a/game/script/Script_Program.cpp b/game/script/Script_Program.cpp index 58b29f9..8603029 100644 --- a/game/script/Script_Program.cpp +++ b/game/script/Script_Program.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -33,20 +33,20 @@ If you have questions concerning this license or the applicable additional terms // simple types. function types are dynamically allocated idTypeDef type_void( ev_void, &def_void, "void", 0, NULL ); -idTypeDef type_scriptevent( ev_scriptevent, &def_scriptevent, "scriptevent", sizeof( void * ), NULL ); -idTypeDef type_namespace( ev_namespace, &def_namespace, "namespace", sizeof( void * ), NULL ); +idTypeDef type_scriptevent( ev_scriptevent, &def_scriptevent, "scriptevent", sizeof( intptr_t ), NULL ); +idTypeDef type_namespace( ev_namespace, &def_namespace, "namespace", sizeof( intptr_t ), NULL ); idTypeDef type_string( ev_string, &def_string, "string", MAX_STRING_LEN, NULL ); -idTypeDef type_float( ev_float, &def_float, "float", sizeof( float ), NULL ); -idTypeDef type_vector( ev_vector, &def_vector, "vector", sizeof( idVec3 ), NULL ); -idTypeDef type_entity( ev_entity, &def_entity, "entity", sizeof( int * ), NULL ); // stored as entity number pointer -idTypeDef type_field( ev_field, &def_field, "field", sizeof( void * ), NULL ); -idTypeDef type_function( ev_function, &def_function, "function", sizeof( void * ), &type_void ); -idTypeDef type_virtualfunction( ev_virtualfunction, &def_virtualfunction, "virtual function", sizeof( int ), NULL ); -idTypeDef type_pointer( ev_pointer, &def_pointer, "pointer", sizeof( void * ), NULL ); -idTypeDef type_object( ev_object, &def_object, "object", sizeof( int * ), NULL ); // stored as entity number pointer -idTypeDef type_jumpoffset( ev_jumpoffset, &def_jumpoffset, "", sizeof( int ), NULL ); // only used for jump opcodes -idTypeDef type_argsize( ev_argsize, &def_argsize, "", sizeof( int ), NULL ); // only used for function call and thread opcodes -idTypeDef type_boolean( ev_boolean, &def_boolean, "boolean", sizeof( int ), NULL ); +idTypeDef type_float( ev_float, &def_float, "float", sizeof( intptr_t ), NULL ); +idTypeDef type_vector( ev_vector, &def_vector, "vector", E_EVENT_SIZEOF_VEC, NULL ); +idTypeDef type_entity( ev_entity, &def_entity, "entity", sizeof( intptr_t ), NULL ); // stored as entity number pointer +idTypeDef type_field( ev_field, &def_field, "field", sizeof( intptr_t ), NULL ); +idTypeDef type_function( ev_function, &def_function, "function", sizeof( intptr_t ), &type_void ); +idTypeDef type_virtualfunction( ev_virtualfunction, &def_virtualfunction, "virtual function", sizeof( intptr_t ), NULL ); +idTypeDef type_pointer( ev_pointer, &def_pointer, "pointer", sizeof( intptr_t ), NULL ); +idTypeDef type_object( ev_object, &def_object, "object", sizeof( intptr_t ), NULL ); // stored as entity number pointer +idTypeDef type_jumpoffset( ev_jumpoffset, &def_jumpoffset, "", sizeof( intptr_t ), NULL ); // only used for jump opcodes +idTypeDef type_argsize( ev_argsize, &def_argsize, "", sizeof( intptr_t ), NULL ); // only used for function call and thread opcodes +idTypeDef type_boolean( ev_boolean, &def_boolean, "boolean", sizeof( intptr_t ), NULL ); idVarDef def_void( &type_void ); idVarDef def_scriptevent( &type_scriptevent ); @@ -141,7 +141,7 @@ idTypeDef::idTypeDef( etype_t etype, idVarDef *edef, const char *ename, int esiz def = edef; size = esize; auxType = aux; - + parmTypes.SetGranularity( 1 ); parmNames.SetGranularity( 1 ); functions.SetGranularity( 1 ); @@ -724,7 +724,7 @@ void idVarDef::SetString( const char *string, bool constant ) { } else { initialized = initializedVariable; } - + assert( typeDef && ( typeDef->Type() == ev_string ) ); idStr::Copynz( value.stringPtr, string, MAX_STRING_LEN ); } @@ -795,7 +795,7 @@ void idVarDef::PrintInfo( idFile *file, int instructionPointer ) const { break; case ev_float : - file->Printf( "%f", *value.floatPtr ); + file->Printf( "%f", *value.floatPtr ); break; case ev_virtualfunction : @@ -898,7 +898,7 @@ idScriptObject::Save ================ */ void idScriptObject::Save( idSaveGame *savefile ) const { - size_t size; + int size; if ( type == &type_object && data == NULL ) { // Write empty string for uninitialized object @@ -918,7 +918,7 @@ idScriptObject::Restore */ void idScriptObject::Restore( idRestoreGame *savefile ) { idStr typeName; - size_t size; + int size; savefile->ReadString( typeName ); @@ -931,7 +931,7 @@ void idScriptObject::Restore( idRestoreGame *savefile ) { savefile->Error( "idScriptObject::Restore: failed to restore object of type '%s'.", typeName.c_str() ); } - savefile->ReadInt( (int &)size ); + savefile->ReadInt( size ); if ( size != type->Size() ) { savefile->Error( "idScriptObject::Restore: size of object '%s' doesn't match size in save game.", typeName.c_str() ); } @@ -954,7 +954,7 @@ bool idScriptObject::SetType( const char *typeName ) { newtype = gameLocal.program.FindType( typeName ); // only allocate memory if the object type changes - if ( newtype != type ) { + if ( newtype != type ) { Free(); if ( !newtype ) { gameLocal.Warning( "idScriptObject::SetType: Unknown type '%s'", typeName ); @@ -1121,7 +1121,7 @@ idProgram::AllocType idTypeDef *idProgram::AllocType( idTypeDef &type ) { idTypeDef *newtype; - newtype = new idTypeDef( type ); + newtype = new idTypeDef( type ); types.Append( newtype ); return newtype; @@ -1226,6 +1226,44 @@ void idProgram::AddDefToNameList( idVarDef *def, const char *name ) { varDefNames[i]->AddDef( def ); } +/* +============== +idProgram::ReserveMem + +reserves memory for global variables and returns the starting pointer +============== +*/ +byte *idProgram::ReserveMem(int size) { + byte *res = &variables[ numVariables ]; + numVariables += size; + if ( numVariables > sizeof( variables ) ) { + throw idCompileError( va( "Exceeded global memory size (%d bytes)", sizeof( variables ) ) ); + } + + memset( res, 0, size ); + + return res; +} + +/* +============ +idProgram::AllocVarDef +============ +*/ +idVarDef *idProgram::AllocVarDef(idTypeDef *type, const char *name, idVarDef *scope) { + idVarDef *def; + + def = new idVarDef( type ); + def->scope = scope; + def->numUsers = 1; + def->num = varDefs.Append( def ); + + // add the def to the list with defs with this name and set the name pointer + AddDefToNameList( def, name ); + + return def; +} + /* ============ idProgram::AllocDef @@ -1239,13 +1277,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop idVarDef *def_z; // allocate a new def - def = new idVarDef( type ); - def->scope = scope; - def->numUsers = 1; - def->num = varDefs.Append( def ); - - // add the def to the list with defs with this name and set the name pointer - AddDefToNameList( def, name ); + def = AllocVarDef(type, name, scope); if ( ( type->Type() == ev_vector ) || ( ( type->Type() == ev_field ) && ( type->FieldType()->Type() == ev_vector ) ) ) { // @@ -1259,7 +1291,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop scope->value.functionPtr->locals += type->Size(); } else if ( scope->TypeDef()->Inherits( &type_object ) ) { idTypeDef newtype( ev_field, NULL, "float field", 0, &type_float ); - idTypeDef *type = GetType( newtype, true ); + idTypeDef *ftype = GetType( newtype, true ); // set the value to the variable's position in the object def->value.ptrOffset = scope->TypeDef()->Size(); @@ -1267,30 +1299,52 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop // make automatic defs for the vectors elements // origin can be accessed as origin_x, origin_y, and origin_z sprintf( element, "%s_x", def->Name() ); - def_x = AllocDef( type, element, scope, constant ); + def_x = AllocDef( ftype, element, scope, constant ); sprintf( element, "%s_y", def->Name() ); - def_y = AllocDef( type, element, scope, constant ); - def_y->value.ptrOffset = def_x->value.ptrOffset + type_float.Size(); + def_y = AllocDef( ftype, element, scope, constant ); + def_y->value.ptrOffset = def_x->value.ptrOffset + sizeof(float); sprintf( element, "%s_z", def->Name() ); - def_z = AllocDef( type, element, scope, constant ); - def_z->value.ptrOffset = def_y->value.ptrOffset + type_float.Size(); + def_z = AllocDef( ftype, element, scope, constant ); + def_z->value.ptrOffset = def_y->value.ptrOffset + sizeof(float); } else { + idTypeDef newtype( ev_float, &def_float, "vector float", 0, NULL ); + idTypeDef *ftype = GetType( newtype, true ); + // make automatic defs for the vectors elements // origin can be accessed as origin_x, origin_y, and origin_z sprintf( element, "%s_x", def->Name() ); - def_x = AllocDef( &type_float, element, scope, constant ); + def_x = AllocVarDef( ftype, element, scope ); sprintf( element, "%s_y", def->Name() ); - def_y = AllocDef( &type_float, element, scope, constant ); + def_y = AllocVarDef( ftype, element, scope ); sprintf( element, "%s_z", def->Name() ); - def_z = AllocDef( &type_float, element, scope, constant ); + def_z = AllocVarDef( ftype, element, scope ); - // point the vector def to the x coordinate - def->value = def_x->value; - def->initialized = def_x->initialized; + // get the memory for the full vector and point the _x, _y and _z + // defs at the vector member offsets + if ( scope->Type() == ev_function ) { + // vector on stack + def->value.stackOffset = scope->value.functionPtr->locals; + def->initialized = idVarDef::stackVariable; + scope->value.functionPtr->locals += type->Size(); + + def_x->value.stackOffset = def->value.stackOffset; + def_y->value.stackOffset = def_x->value.stackOffset + sizeof(float); + def_z->value.stackOffset = def_y->value.stackOffset + sizeof(float); + } else { + // global vector + def->value.bytePtr = ReserveMem(type->Size()); + def_x->value.bytePtr = def->value.bytePtr; + def_y->value.bytePtr = def_x->value.bytePtr + sizeof(float); + def_z->value.bytePtr = def_y->value.bytePtr + sizeof(float); + } + + def_x->initialized = def->initialized; + def_y->initialized = def->initialized; + def_z->initialized = def->initialized; } } else if ( scope->TypeDef()->Inherits( &type_object ) ) { // @@ -1317,13 +1371,7 @@ idVarDef *idProgram::AllocDef( idTypeDef *type, const char *name, idVarDef *scop // // global variable // - def->value.bytePtr = &variables[ numVariables ]; - numVariables += def->TypeDef()->Size(); - if ( numVariables > sizeof( variables ) ) { - throw idCompileError( va( "Exceeded global memory size (%d bytes)", sizeof( variables ) ) ); - } - - memset( def->value.bytePtr, 0, def->TypeDef()->Size() ); + def->value.bytePtr = ReserveMem(def->TypeDef()->Size()); } return def; @@ -1418,7 +1466,7 @@ idProgram::FindFreeResultDef */ idVarDef *idProgram::FindFreeResultDef( idTypeDef *type, const char *name, idVarDef *scope, const idVarDef *a, const idVarDef *b ) { idVarDef *def; - + for( def = GetDefList( name ); def != NULL; def = def->Next() ) { if ( def == a || def == b ) { continue; @@ -1597,7 +1645,7 @@ void idProgram::BeginCompilation( void ) { // make the first statement a return for a "NULL" function statement = AllocStatement(); statement->linenumber = 0; - statement->file = 0; + statement->file = 0; statement->op = OP_RETURN; statement->a = NULL; statement->b = NULL; @@ -1627,7 +1675,7 @@ idProgram::DisassembleStatement ============== */ void idProgram::DisassembleStatement( idFile *file, int instructionPointer ) const { - opcode_t *op; + const opcode_t *op; const statement_t *statement; statement = &statements[ instructionPointer ]; @@ -1677,7 +1725,7 @@ void idProgram::Disassemble( void ) const { for( instructionPointer = 0; instructionPointer < func->numStatements; instructionPointer++ ) { DisassembleStatement( file, func->firstStatement + instructionPointer ); } - + file->Printf( "}\n" ); } @@ -1718,7 +1766,6 @@ called after all files are compiled to report memory usage. void idProgram::CompileStats( void ) { int memused; int memallocated; - int numdefs; int stringspace; int funcMem; int i; @@ -1733,7 +1780,6 @@ void idProgram::CompileStats( void ) { } stringspace += fileList.Size(); - numdefs = varDefs.Num(); memused = varDefs.Num() * sizeof( idVarDef ); memused += types.Num() * sizeof( idTypeDef ); memused += stringspace; @@ -1792,7 +1838,7 @@ bool idProgram::CompileText( const char *source, const char *text, bool console } } } - + catch( idCompileError &err ) { if ( console ) { gameLocal.Printf( "%s\n", err.error ); @@ -2081,7 +2127,7 @@ void idProgram::Restart( void ) { statements.SetNum( top_statements ); fileList.SetNum( top_files, false ); filename.Clear(); - + // reset the variables to their default values numVariables = variableDefaults.Num(); for( i = 0; i < numVariables; i++ ) { diff --git a/game/script/Script_Program.h b/game/script/Script_Program.h index dbb95a4..937f1f0 100644 --- a/game/script/Script_Program.h +++ b/game/script/Script_Program.h @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -58,16 +58,16 @@ public: void Clear( void ); private: - idStr name; + idStr name; public: const idEventDef *eventdef; idVarDef *def; const idTypeDef *type; - int firstStatement; - int numStatements; - int parmTotal; - int locals; // total ints of parms + locals - int filenum; // source file defined in + int firstStatement; + int numStatements; + int parmTotal; + int locals; // total ints of parms + locals + int filenum; // source file defined in idList parmSize; }; @@ -76,8 +76,8 @@ typedef union eval_s { float _float; float vector[ 3 ]; function_t *function; - int _int; - int entity; + int _int; + int entity; } eval_t; /*********************************************************************** @@ -91,7 +91,7 @@ Contains type information for variables and functions. class idTypeDef { private: etype_t type; - idStr name; + idStr name; int size; // function types are more complex @@ -121,7 +121,7 @@ public: int Size( void ) const; idTypeDef *SuperClass( void ) const; - + idTypeDef *ReturnType( void ) const; void SetReturnType( idTypeDef *type ); @@ -153,7 +153,7 @@ In-game representation of objects in scripts. Use the idScriptVariable template class idScriptObject { private: idTypeDef *type; - + public: byte *data; @@ -295,9 +295,9 @@ typedef union varEval_s { float *floatPtr; idVec3 *vectorPtr; function_t *functionPtr; - int *intPtr; + int *intPtr; byte *bytePtr; - int *entityNumberPtr; + int *entityNumberPtr; int virtualFunction; int jumpOffset; int stackOffset; // offset in stack for local variables @@ -314,7 +314,7 @@ class idVarDef { public: int num; varEval_t value; - idVarDef * scope; // function, namespace, or object the var was defined in + idVarDef * scope; // function, namespace, or object the var was defined in int numUsers; // number of users if this is a constant typedef enum { @@ -434,7 +434,7 @@ single idProgram. class idProgram { private: idStrList fileList; - idStr filename; + idStr filename; int filenum; int numVariables; @@ -456,6 +456,8 @@ private: int top_files; void CompileStats( void ); + byte *ReserveMem(int size); + idVarDef *AllocVarDef(idTypeDef *type, const char *name, idVarDef *scope); public: idVarDef *returnDef; @@ -510,14 +512,14 @@ public: statement_t &GetStatement( int index ); int NumStatements( void ) { return statements.Num(); } - int GetReturnedInteger( void ); + int GetReturnedInteger( void ); void ReturnFloat( float value ); void ReturnInteger( int value ); void ReturnVector( idVec3 const &vec ); void ReturnString( const char *string ); void ReturnEntity( idEntity *ent ); - + int NumFilenames( void ) { return fileList.Num( ); } }; diff --git a/idlib/Base64.cpp b/idlib/Base64.cpp index 1274e3d..93df692 100644 --- a/idlib/Base64.cpp +++ b/idlib/Base64.cpp @@ -43,7 +43,9 @@ static const char sixtet_to_base64[] = void idBase64::Encode( const byte *from, int size ) { int i, j; - unsigned long w; + // flibit: 64 bit fix, change long to int + unsigned int w; + // flibit end byte *to; EnsureAlloced( 4*(size+3)/3 + 2 ); // ratio and padding + trailing \0 @@ -93,7 +95,9 @@ idBase64::Decode ============ */ int idBase64::Decode( byte *to ) const { - unsigned long w; + // flibit: 64 bit fix, change long to int + unsigned int w; + // flibit end int i, j; size_t n; static char base64_to_sixtet[256]; diff --git a/idlib/Dict.cpp b/idlib/Dict.cpp index 08d624c..114e98c 100644 --- a/idlib/Dict.cpp +++ b/idlib/Dict.cpp @@ -235,7 +235,9 @@ idDict::Checksum ================ */ int idDict::Checksum( void ) const { - unsigned long ret; + // RB: 64 bit fixes, changed long to int + unsigned int ret; + // RB end int i, n; idList sorted = args; @@ -475,7 +477,9 @@ int idDict::FindKeyIndex( const char *key ) const { if ( key == NULL || key[0] == '\0' ) { idLib::common->DWarning( "idDict::FindKeyIndex: empty key" ); - return NULL; + // flibit: 64 bit fix, change NULL to 0 + return 0; + // flibit end } int hash = argHash.GenerateKey( key, false ); diff --git a/idlib/Heap.cpp b/idlib/Heap.cpp index 6528b1e..611a385 100644 --- a/idlib/Heap.cpp +++ b/idlib/Heap.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -43,9 +43,9 @@ If you have questions concerning this license or the applicable additional terms // //=============================================================== -#define SMALL_HEADER_SIZE ( (int) ( sizeof( byte ) + sizeof( byte ) ) ) -#define MEDIUM_HEADER_SIZE ( (int) ( sizeof( mediumHeapEntry_s ) + sizeof( byte ) ) ) -#define LARGE_HEADER_SIZE ( (int) ( sizeof( dword * ) + sizeof( byte ) ) ) +#define SMALL_HEADER_SIZE ( (intptr_t) ( sizeof( byte ) + sizeof( byte ) ) ) +#define MEDIUM_HEADER_SIZE ( (intptr_t) ( sizeof( mediumHeapEntry_s ) + sizeof( byte ) ) ) +#define LARGE_HEADER_SIZE ( (intptr_t) ( sizeof( dword * ) + sizeof( byte ) ) ) #define ALIGN_SIZE( bytes ) ( ( (bytes) + ALIGN - 1 ) & ~(ALIGN - 1) ) #define SMALL_ALIGN( bytes ) ( ALIGN_SIZE( (bytes) + SMALL_HEADER_SIZE ) - SMALL_HEADER_SIZE ) @@ -65,7 +65,7 @@ public: dword Msize( void *p ); // return size of data block void Dump( void ); - void AllocDefragBlock( void ); // hack for huge renderbumps + void AllocDefragBlock( void ); // hack for huge renderbumps private: @@ -195,7 +195,7 @@ idHeap::~idHeap( void ) { if ( smallCurPage ) { FreePage( smallCurPage ); // free small-heap current allocation page } - p = smallFirstUsedPage; // free small-heap allocated pages + p = smallFirstUsedPage; // free small-heap allocated pages while( p ) { idHeap::page_s *next = p->next; FreePage( p ); @@ -223,7 +223,7 @@ idHeap::~idHeap( void ) { p = next; } - ReleaseSwappedPages(); + ReleaseSwappedPages(); if ( defragBlock ) { free( defragBlock ); @@ -305,7 +305,7 @@ void idHeap::Free( void *p ) { break; } default: { - idLib::common->FatalError( "idHeap::Free: invalid memory block (%s)", idLib::sys->GetCallStackCurStr( 4 ) ); + idLib::common->FatalError( "idHeap::Free: invalid memory block" ); break; } } @@ -320,24 +320,24 @@ idHeap::Allocate16 void *idHeap::Allocate16( const dword bytes ) { byte *ptr, *alignedPtr; - ptr = (byte *) malloc( bytes + 16 + 4 ); + ptr = (byte *) malloc( bytes + 16 + sizeof(intptr_t) ); if ( !ptr ) { if ( defragBlock ) { idLib::common->Printf( "Freeing defragBlock on alloc of %i.\n", bytes ); free( defragBlock ); defragBlock = NULL; - ptr = (byte *) malloc( bytes + 16 + 4 ); + ptr = (byte *) malloc( bytes + 16 + sizeof(intptr_t) ); AllocDefragBlock(); } if ( !ptr ) { common->FatalError( "malloc failure for %i", bytes ); } } - alignedPtr = (byte *) ( ( (int) ptr ) + 15 & ~15 ); - if ( alignedPtr - ptr < 4 ) { + alignedPtr = (byte *) ( ( ( (intptr_t) ptr ) + 15) & ~15 ); + if ( alignedPtr - ptr < sizeof(intptr_t) ) { alignedPtr += 16; } - *((int *)(alignedPtr - 4)) = (int) ptr; + *((intptr_t *)(alignedPtr - sizeof(intptr_t))) = (intptr_t) ptr; return (void *) alignedPtr; } @@ -347,7 +347,7 @@ idHeap::Free16 ================ */ void idHeap::Free16( void *p ) { - free( (void *) *((int *) (( (byte *) p ) - 4)) ); + free( (void *) *((intptr_t *) (( (byte *) p ) - sizeof(intptr_t))) ); } /* @@ -381,10 +381,10 @@ dword idHeap::Msize( void *p ) { return ((mediumHeapEntry_s *)(((byte *)(p)) - ALIGN_SIZE( MEDIUM_HEADER_SIZE )))->size - ALIGN_SIZE( MEDIUM_HEADER_SIZE ); } case LARGE_ALLOC: { - return ((idHeap::page_s*)(*((dword *)(((byte *)p) - ALIGN_SIZE( LARGE_HEADER_SIZE )))))->dataSize - ALIGN_SIZE( LARGE_HEADER_SIZE ); + return ((idHeap::page_s*)(*((intptr_t *)(((byte *)p) - ALIGN_SIZE( LARGE_HEADER_SIZE )))))->dataSize - ALIGN_SIZE( LARGE_HEADER_SIZE ); } default: { - idLib::common->FatalError( "idHeap::Msize: invalid memory block (%s)", idLib::sys->GetCallStackCurStr( 4 ) ); + idLib::common->FatalError( "idHeap::Msize: invalid memory block" ); return 0; } } @@ -417,7 +417,7 @@ void idHeap::Dump( void ) { for ( pg = mediumFirstFreePage; pg; pg = pg->next ) { idLib::common->Printf( "%p bytes %-8d (partially used by medium heap)\n", pg->data, pg->dataSize ); } - + for ( pg = largeFirstUsedPage; pg; pg = pg->next ) { idLib::common->Printf( "%p bytes %-8d (fully used by large heap)\n", pg->data, pg->dataSize ); } @@ -481,7 +481,7 @@ idHeap::page_s* idHeap::AllocatePage( dword bytes ) { idLib::common->Printf( "Freeing defragBlock on alloc of %i.\n", size + ALIGN - 1 ); free( defragBlock ); defragBlock = NULL; - p = (idHeap::page_s *) ::malloc( size + ALIGN - 1 ); + p = (idHeap::page_s *) ::malloc( size + ALIGN - 1 ); AllocDefragBlock(); } if ( !p ) { @@ -489,7 +489,7 @@ idHeap::page_s* idHeap::AllocatePage( dword bytes ) { } } - p->data = (void *) ALIGN_SIZE( (int)((byte *)(p)) + sizeof( idHeap::page_s ) ); + p->data = (void *) ALIGN_SIZE( (intptr_t)((byte *)(p)) + sizeof( idHeap::page_s ) ); p->dataSize = size - sizeof(idHeap::page_s); p->firstFree = NULL; p->largestFree = 0; @@ -500,7 +500,7 @@ idHeap::page_s* idHeap::AllocatePage( dword bytes ) { p->next = NULL; pagesAllocated++; - + return p; } @@ -542,8 +542,8 @@ idHeap::SmallAllocate */ void *idHeap::SmallAllocate( dword bytes ) { // we need the at least sizeof( dword ) bytes for the free list - if ( bytes < sizeof( dword ) ) { - bytes = sizeof( dword ); + if ( bytes < sizeof( intptr_t ) ) { + bytes = sizeof( intptr_t ); } // increase the number of bytes if necessary to make sure the next small allocation is aligned @@ -551,13 +551,13 @@ void *idHeap::SmallAllocate( dword bytes ) { byte *smallBlock = (byte *)(smallFirstFree[bytes / ALIGN]); if ( smallBlock ) { - dword *link = (dword *)(smallBlock + SMALL_HEADER_SIZE); + intptr_t *link = (intptr_t *)(smallBlock + SMALL_HEADER_SIZE); smallBlock[1] = SMALL_ALLOC; // allocation identifier smallFirstFree[bytes / ALIGN] = (void *)(*link); return (void *)(link); } - dword bytesLeft = (long)(pageSize) - smallCurPageOffset; + dword bytesLeft = (size_t)(pageSize) - smallCurPageOffset; // if we need to allocate a new page if ( bytes >= bytesLeft ) { @@ -590,7 +590,7 @@ void idHeap::SmallFree( void *ptr ) { ((byte *)(ptr))[-1] = INVALID_ALLOC; byte *d = ( (byte *)ptr ) - SMALL_HEADER_SIZE; - dword *dt = (dword *)ptr; + intptr_t *link = (intptr_t *)ptr; // index into the table with free small memory blocks dword ix = *d; @@ -599,7 +599,7 @@ void idHeap::SmallFree( void *ptr ) { idLib::common->FatalError( "SmallFree: invalid memory block" ); } - *dt = (dword)smallFirstFree[ix]; // write next index + *link = (intptr_t)smallFirstFree[ix]; // write next index smallFirstFree[ix] = (void *)d; // link } @@ -648,7 +648,7 @@ void *idHeap::MediumAllocateFromPage( idHeap::page_s *p, dword sizeNeeded ) { } best->next = nw; best->size -= sizeNeeded; - + p->largestFree = best->size; } else { @@ -713,7 +713,7 @@ void *idHeap::MediumAllocate( dword bytes ) { } mediumFirstFreePage = p; - + p->largestFree = pageSize; p->firstFree = (void *)p->data; @@ -731,7 +731,7 @@ void *idHeap::MediumAllocate( dword bytes ) { data = MediumAllocateFromPage( p, sizeNeeded ); // allocate data from page - // if the page can no longer serve memory, move it away from free list + // if the page can no longer serve memory, move it away from free list // (so that it won't slow down the later alloc queries) // this modification speeds up the pageWalk from O(N) to O(sqrt(N)) // a call to free may swap this page back to the free list @@ -760,7 +760,7 @@ void *idHeap::MediumAllocate( dword bytes ) { } mediumFirstUsedPage = p; return data; - } + } // re-order linked list (so that next malloc query starts from current // matching block) -- this speeds up both the page walks and block walks @@ -824,18 +824,18 @@ void idHeap::MediumFree( void *ptr ) { p->largestFree = e->size; e->freeBlock = 1; // mark block as free } - + mediumHeapEntry_s *next = e->next; // if the next block is free we can merge if ( next && next->freeBlock ) { e->size += next->size; e->next = next->next; - + if ( next->next ) { next->next->prev = e; } - + if ( next->prevFree ) { next->prevFree->nextFree = next->nextFree; } @@ -868,7 +868,7 @@ void idHeap::MediumFree( void *ptr ) { if ( e->nextFree ) { e->nextFree->prevFree = e->prevFree; } - + e->nextFree = (mediumHeapEntry_s *)p->firstFree; e->prevFree = NULL; if ( e->nextFree ) { @@ -901,7 +901,7 @@ void idHeap::MediumFree( void *ptr ) { if ( !mediumFirstFreePage ) { mediumFirstFreePage = p; } - } + } } //=============================================================== @@ -929,8 +929,8 @@ void *idHeap::LargeAllocate( dword bytes ) { } byte * d = (byte*)(p->data) + ALIGN_SIZE( LARGE_HEADER_SIZE ); - dword * dw = (dword*)(d - ALIGN_SIZE( LARGE_HEADER_SIZE )); - dw[0] = (dword)p; // write pointer back to page table + intptr_t * dw = (intptr_t*)(d - ALIGN_SIZE( LARGE_HEADER_SIZE )); + dw[0] = (intptr_t)p; // write pointer back to page table d[-1] = LARGE_ALLOC; // allocation identifier // link to 'large used page list' @@ -958,7 +958,7 @@ void idHeap::LargeFree( void *ptr) { ((byte *)(ptr))[-1] = INVALID_ALLOC; // get page pointer - pg = (idHeap::page_s *)(*((dword *)(((byte *)ptr) - ALIGN_SIZE( LARGE_HEADER_SIZE )))); + pg = (idHeap::page_s *)(*((intptr_t *)(((byte *)ptr) - ALIGN_SIZE( LARGE_HEADER_SIZE )))); // unlink from doubly linked list if ( pg->prev ) { @@ -1096,7 +1096,7 @@ void Mem_Free( void *ptr ) { return; } Mem_UpdateFreeStats( mem_heap->Msize( ptr ) ); - mem_heap->Free( ptr ); + mem_heap->Free( ptr ); } /* @@ -1116,7 +1116,7 @@ void *Mem_Alloc16( const int size ) { } void *mem = mem_heap->Allocate16( size ); // make sure the memory is 16 byte aligned - assert( ( ((int)mem) & 15) == 0 ); + assert( ( ((intptr_t)mem) & 15) == 0 ); return mem; } @@ -1137,8 +1137,8 @@ void Mem_Free16( void *ptr ) { return; } // make sure the memory is 16 byte aligned - assert( ( ((int)ptr) & 15) == 0 ); - mem_heap->Free16( ptr ); + assert( ( ((intptr_t)ptr) & 15) == 0 ); + mem_heap->Free16( ptr ); } /* @@ -1168,7 +1168,7 @@ Mem_CopyString */ char *Mem_CopyString( const char *in ) { char *out; - + out = (char *)Mem_Alloc( strlen(in) + 1 ); strcpy( out, in ); return out; @@ -1230,15 +1230,12 @@ void Mem_EnableLeakTest( const char *name ) { #undef Mem_Alloc16 #undef Mem_Free16 -#define MAX_CALLSTACK_DEPTH 6 - // size of this struct must be a multiple of 16 bytes typedef struct debugMemory_s { const char * fileName; int lineNumber; int frameNumber; int size; - address_t callStack[MAX_CALLSTACK_DEPTH]; struct debugMemory_s * prev; struct debugMemory_s * next; } debugMemory_t; @@ -1310,15 +1307,13 @@ void Mem_Dump( const char *fileName ) { } dump[i] = '\0'; if ( ( b->size >> 10 ) != 0 ) { - fprintf( f, "size: %6d KB: %s, line: %d [%s], call stack: %s\r\n", ( b->size >> 10 ), Mem_CleanupFileName(b->fileName), b->lineNumber, dump, idLib::sys->GetCallStackStr( b->callStack, MAX_CALLSTACK_DEPTH ) ); + fprintf( f, "size: %6d KB: %s, line: %d [%s]\r\n", ( b->size >> 10 ), Mem_CleanupFileName(b->fileName), b->lineNumber, dump ); } else { - fprintf( f, "size: %7d B: %s, line: %d [%s], call stack: %s\r\n", b->size, Mem_CleanupFileName(b->fileName), b->lineNumber, dump, idLib::sys->GetCallStackStr( b->callStack, MAX_CALLSTACK_DEPTH ) ); + fprintf( f, "size: %7d B: %s, line: %d [%s], call stack: %s\r\n", b->size, Mem_CleanupFileName(b->fileName), b->lineNumber, dump ); } } - idLib::sys->ShutdownSymbols(); - fprintf( f, "%8d total memory blocks allocated\r\n", numBlocks ); fprintf( f, "%8d KB memory allocated\r\n", ( totalSize >> 10 ) ); @@ -1352,7 +1347,6 @@ typedef struct allocInfo_s { int lineNumber; int size; int numAllocs; - address_t callStack[MAX_CALLSTACK_DEPTH]; struct allocInfo_s * next; } allocInfo_t; @@ -1360,10 +1354,9 @@ typedef enum { MEMSORT_SIZE, MEMSORT_LOCATION, MEMSORT_NUMALLOCS, - MEMSORT_CALLSTACK } memorySortType_t; -void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int sortCallStack, int numFrames ) { +void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int numFrames ) { int numBlocks, totalSize, r, j; debugMemory_t *b; allocInfo_t *a, *nexta, *allocInfo = NULL, *sortedAllocInfo = NULL, *prevSorted, *nextSorted; @@ -1387,11 +1380,6 @@ void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int sor if ( a->lineNumber != b->lineNumber ) { continue; } - for ( j = 0; j < MAX_CALLSTACK_DEPTH; j++ ) { - if ( a->callStack[j] != b->callStack[j] ) { - break; - } - } if ( j < MAX_CALLSTACK_DEPTH ) { continue; } @@ -1410,9 +1398,6 @@ void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int sor a->lineNumber = b->lineNumber; a->size = b->size; a->numAllocs = 1; - for ( j = 0; j < MAX_CALLSTACK_DEPTH; j++ ) { - a->callStack[j] = b->callStack[j]; - } a->next = allocInfo; allocInfo = a; } @@ -1455,16 +1440,6 @@ void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int sor } break; } - // sort on call stack - case MEMSORT_CALLSTACK: { - for ( nextSorted = sortedAllocInfo; nextSorted; nextSorted = nextSorted->next ) { - if ( a->callStack[sortCallStack] < nextSorted->callStack[sortCallStack] ) { - break; - } - prevSorted = nextSorted; - } - break; - } } if ( !prevSorted ) { a->next = sortedAllocInfo; @@ -1484,14 +1459,12 @@ void Mem_DumpCompressed( const char *fileName, memorySortType_t memSort, int sor // write list to file for ( a = sortedAllocInfo; a; a = nexta ) { nexta = a->next; - fprintf( f, "size: %6d KB, allocs: %5d: %s, line: %d, call stack: %s\r\n", + fprintf( f, "size: %6d KB, allocs: %5d: %s, line: %d\r\n", (a->size >> 10), a->numAllocs, Mem_CleanupFileName(a->fileName), - a->lineNumber, idLib::sys->GetCallStackStr( a->callStack, MAX_CALLSTACK_DEPTH ) ); + a->lineNumber ); ::free( a ); } - idLib::sys->ShutdownSymbols(); - fprintf( f, "%8d total memory blocks allocated\r\n", numBlocks ); fprintf( f, "%8d KB memory allocated\r\n", ( totalSize >> 10 ) ); @@ -1507,7 +1480,7 @@ void Mem_DumpCompressed_f( const idCmdArgs &args ) { int argNum; const char *arg, *fileName; memorySortType_t memSort = MEMSORT_LOCATION; - int sortCallStack = 0, numFrames = 0; + int numFrames = 0; // get cmd-line options argNum = 1; @@ -1520,15 +1493,6 @@ void Mem_DumpCompressed_f( const idCmdArgs &args ) { memSort = MEMSORT_LOCATION; } else if ( idStr::Icmp( arg, "a" ) == 0 ) { memSort = MEMSORT_NUMALLOCS; - } else if ( idStr::Icmp( arg, "cs1" ) == 0 ) { - memSort = MEMSORT_CALLSTACK; - sortCallStack = 2; - } else if ( idStr::Icmp( arg, "cs2" ) == 0 ) { - memSort = MEMSORT_CALLSTACK; - sortCallStack = 1; - } else if ( idStr::Icmp( arg, "cs3" ) == 0 ) { - memSort = MEMSORT_CALLSTACK; - sortCallStack = 0; } else if ( arg[0] == 'f' ) { numFrames = atoi( arg + 1 ); } else { @@ -1552,7 +1516,7 @@ void Mem_DumpCompressed_f( const idCmdArgs &args ) { } else { fileName = arg; } - Mem_DumpCompressed( fileName, memSort, sortCallStack, numFrames ); + Mem_DumpCompressed( fileName, memSort, numFrames ); } /* @@ -1596,7 +1560,6 @@ void *Mem_AllocDebugMemory( const int size, const char *fileName, const int line mem_debugMemory->prev = m; } mem_debugMemory = m; - idLib::sys->GetCallStack( m->callStack, MAX_CALLSTACK_DEPTH ); return ( ( (byte *) p ) + sizeof( debugMemory_t ) ); } @@ -1625,7 +1588,7 @@ void Mem_FreeDebugMemory( void *p, const char *fileName, const int lineNumber, c m = (debugMemory_t *) ( ( (byte *) p ) - sizeof( debugMemory_t ) ); if ( m->size < 0 ) { - idLib::common->FatalError( "memory freed twice, first from %s, now from %s", idLib::sys->GetCallStackStr( m->callStack, MAX_CALLSTACK_DEPTH ), idLib::sys->GetCallStackCurStr( MAX_CALLSTACK_DEPTH ) ); + idLib::common->FatalError( "memory freed twice" ); } Mem_UpdateFreeStats( m->size ); @@ -1644,13 +1607,12 @@ void Mem_FreeDebugMemory( void *p, const char *fileName, const int lineNumber, c m->lineNumber = lineNumber; m->frameNumber = idLib::frameNumber; m->size = -m->size; - idLib::sys->GetCallStack( m->callStack, MAX_CALLSTACK_DEPTH ); if ( align16 ) { - mem_heap->Free16( m ); + mem_heap->Free16( m ); } else { - mem_heap->Free( m ); + mem_heap->Free( m ); } } @@ -1725,7 +1687,7 @@ Mem_CopyString */ char *Mem_CopyString( const char *in, const char *fileName, const int lineNumber ) { char *out; - + out = (char *)Mem_Alloc( strlen(in) + 1, fileName, lineNumber ); strcpy( out, in ); return out; @@ -1748,9 +1710,8 @@ Mem_Shutdown void Mem_Shutdown( void ) { if ( mem_leakName[0] != '\0' ) { - Mem_DumpCompressed( va( "%s_leak_size.txt", mem_leakName ), MEMSORT_SIZE, 0, 0 ); - Mem_DumpCompressed( va( "%s_leak_location.txt", mem_leakName ), MEMSORT_LOCATION, 0, 0 ); - Mem_DumpCompressed( va( "%s_leak_cs1.txt", mem_leakName ), MEMSORT_CALLSTACK, 2, 0 ); + Mem_DumpCompressed( va( "%s_leak_size.txt", mem_leakName ), MEMSORT_SIZE, 0 ); + Mem_DumpCompressed( va( "%s_leak_location.txt", mem_leakName ), MEMSORT_LOCATION, 0 ); } idHeap *m = mem_heap; diff --git a/idlib/Heap.h b/idlib/Heap.h index 877e81b..96486a6 100644 --- a/idlib/Heap.h +++ b/idlib/Heap.h @@ -214,7 +214,9 @@ type *idBlockAlloc::Alloc( void ) { template void idBlockAlloc::Free( type *t ) { - element_t *element = (element_t *)( ( (unsigned char *) t ) - ( (int) &((element_t *)0)->t ) ); + // flibit: 64 bit fix, changed int to intptr_t + element_t *element = (element_t *)( ( (unsigned char *) t ) - ( (intptr_t) &((element_t *)0)->t ) ); + // flibit end element->next = free; free = element; active--; diff --git a/idlib/Lib.cpp b/idlib/Lib.cpp index ccb2c98..2aaa008 100644 --- a/idlib/Lib.cpp +++ b/idlib/Lib.cpp @@ -152,7 +152,7 @@ dword PackColor( const idVec4 &color ) { dz = ColorFloatToByte( color.z ); dw = ColorFloatToByte( color.w ); -#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && defined(__i386__)) +#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && !defined(__ppc__)) return ( dx << 0 ) | ( dy << 8 ) | ( dz << 16 ) | ( dw << 24 ); #elif (defined(MACOS_X) && defined(__ppc__)) return ( dx << 24 ) | ( dy << 16 ) | ( dz << 8 ) | ( dw << 0 ); @@ -167,7 +167,7 @@ UnpackColor ================ */ void UnpackColor( const dword color, idVec4 &unpackedColor ) { -#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && defined(__i386__)) +#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && !defined(__ppc__)) unpackedColor.Set( ( ( color >> 0 ) & 255 ) * ( 1.0f / 255.0f ), ( ( color >> 8 ) & 255 ) * ( 1.0f / 255.0f ), ( ( color >> 16 ) & 255 ) * ( 1.0f / 255.0f ), @@ -194,7 +194,7 @@ dword PackColor( const idVec3 &color ) { dy = ColorFloatToByte( color.y ); dz = ColorFloatToByte( color.z ); -#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && defined(__i386__)) +#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && !defined(__ppc__)) return ( dx << 0 ) | ( dy << 8 ) | ( dz << 16 ); #elif (defined(MACOS_X) && defined(__ppc__)) return ( dy << 16 ) | ( dz << 8 ) | ( dx << 0 ); @@ -209,7 +209,7 @@ UnpackColor ================ */ void UnpackColor( const dword color, idVec3 &unpackedColor ) { -#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && defined(__i386__)) +#if defined(_WIN32) || defined(__linux__) || (defined(MACOS_X) && !defined(__ppc__)) unpackedColor.Set( ( ( color >> 0 ) & 255 ) * ( 1.0f / 255.0f ), ( ( color >> 8 ) & 255 ) * ( 1.0f / 255.0f ), ( ( color >> 16 ) & 255 ) * ( 1.0f / 255.0f ) ); @@ -576,9 +576,17 @@ bool Swap_IsBigEndian( void ) { void AssertFailed( const char *file, int line, const char *expression ) { idLib::sys->DebugPrintf( "\n\nASSERTION FAILED!\n%s(%d): '%s'\n", file, line, expression ); #ifdef _WIN32 +#ifdef _WIN64 +// FIXME: Need a Win64 debugbreak +#else __asm int 0x03 +#endif #elif defined( __linux__ ) +#ifdef __i386__ __asm__ __volatile__ ("int $0x03"); +#else +#warning "Need a debugbreak for assertion failures" +#endif #elif defined( MACOS_X ) kill( getpid(), SIGINT ); #endif diff --git a/idlib/Parser.cpp b/idlib/Parser.cpp index b3cb717..d2b95b3 100644 --- a/idlib/Parser.cpp +++ b/idlib/Parser.cpp @@ -1294,7 +1294,9 @@ typedef struct operator_s typedef struct value_s { - signed long int intvalue; + // flibit: 64 bit fix, remove long keyword + int intvalue; + // flibit end double floatvalue; int parentheses; struct value_s *prev, *next; @@ -1365,7 +1367,9 @@ int PC_OperatorPriority(int op) { #define FreeOperator(op) -int idParser::EvaluateTokens( idToken *tokens, signed long int *intvalue, double *floatvalue, int integer ) { +// flibit: 64 bit fix, remove long keyword +int idParser::EvaluateTokens( idToken *tokens, int *intvalue, double *floatvalue, int integer ) { +// flibit end operator_t *o, *firstoperator, *lastoperator; value_t *v, *firstvalue, *lastvalue, *v1, *v2; idToken *t; @@ -1790,7 +1794,9 @@ int idParser::EvaluateTokens( idToken *tokens, signed long int *intvalue, double idParser::Evaluate ================ */ -int idParser::Evaluate( signed long int *intvalue, double *floatvalue, int integer ) { +// flibit: 64 bit fix, remove long keyword +int idParser::Evaluate( int *intvalue, double *floatvalue, int integer ) { +// flibit end idToken token, *firsttoken, *lasttoken; idToken *t, *nexttoken; define_t *define; @@ -1881,7 +1887,9 @@ int idParser::Evaluate( signed long int *intvalue, double *floatvalue, int integ idParser::DollarEvaluate ================ */ -int idParser::DollarEvaluate( signed long int *intvalue, double *floatvalue, int integer) { +// flibit: 64 bit fix, remove long keyword +int idParser::DollarEvaluate( int *intvalue, double *floatvalue, int integer) { +// flibit end int indent, defined = false; idToken token, *firsttoken, *lasttoken; idToken *t, *nexttoken; @@ -1983,7 +1991,9 @@ idParser::Directive_elif ================ */ int idParser::Directive_elif( void ) { - signed long int value; + // flibit: 64 bit fix, remove long keyword + int value; + // flibit end int type, skip; idParser::PopIndent( &type, &skip ); @@ -2005,7 +2015,9 @@ idParser::Directive_if ================ */ int idParser::Directive_if( void ) { - signed long int value; + // flibit: 64 bit fix, remove long keyword + int value; + // flibit end int skip; if ( !idParser::Evaluate( &value, NULL, true ) ) { @@ -2101,7 +2113,9 @@ idParser::Directive_eval ================ */ int idParser::Directive_eval( void ) { - signed long int value; + // flibit: 64 bit fix, remove long keyword + int value; + // flibit end idToken token; char buf[128]; @@ -2240,7 +2254,9 @@ idParser::DollarDirective_evalint ================ */ int idParser::DollarDirective_evalint( void ) { - signed long int value; + // flibit: 64 bit fix, remove long keyword + int value; + // flibit end idToken token; char buf[128]; @@ -2289,7 +2305,9 @@ int idParser::DollarDirective_evalfloat( void ) { token = buf; token.type = TT_NUMBER; token.subtype = TT_FLOAT | TT_LONG | TT_DECIMAL | TT_VALUESVALID; - token.intvalue = (unsigned long) fabs( value ); + // flibit: 64 bit fix, changed long to int + token.intvalue = (unsigned int) fabs( value ); + // flibit end token.floatvalue = fabs( value ); idParser::UnreadSourceToken( &token ); if ( value < 0 ) { diff --git a/idlib/Parser.h b/idlib/Parser.h index d62152c..d858ba8 100644 --- a/idlib/Parser.h +++ b/idlib/Parser.h @@ -225,9 +225,11 @@ private: int Directive_ifndef( void ); int Directive_else( void ); int Directive_endif( void ); - int EvaluateTokens( idToken *tokens, signed long int *intvalue, double *floatvalue, int integer ); - int Evaluate( signed long int *intvalue, double *floatvalue, int integer ); - int DollarEvaluate( signed long int *intvalue, double *floatvalue, int integer); + // flibit: 64 bit fix, removed long keyword + int EvaluateTokens( idToken *tokens, int *intvalue, double *floatvalue, int integer ); + int Evaluate( int *intvalue, double *floatvalue, int integer ); + int DollarEvaluate( int *intvalue, double *floatvalue, int integer); + // flibit end int Directive_define( void ); int Directive_elif( void ); int Directive_if( void ); diff --git a/idlib/Str.cpp b/idlib/Str.cpp index 4f46a6e..0491ffe 100644 --- a/idlib/Str.cpp +++ b/idlib/Str.cpp @@ -170,7 +170,9 @@ void idStr::operator=( const char *text ) { return; } - l = strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( text ); + // RB end EnsureAlloced( l + 1, false ); strcpy( data, text ); len = l; @@ -187,7 +189,9 @@ int idStr::FindChar( const char *str, const char c, int start, int end ) { int i; if ( end == -1 ) { - end = strlen( str ) - 1; + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + end = ( int )strlen( str ) - 1; + // RB end } for ( i = start; i <= end; i++ ) { if ( str[i] == c ) { @@ -208,9 +212,13 @@ int idStr::FindText( const char *str, const char *text, bool casesensitive, int int l, i, j; if ( end == -1 ) { - end = strlen( str ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + end = ( int )strlen( str ); + // RB end } - l = end - strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = end - ( int )strlen( text ); + // RB end for ( i = start; i <= l; i++ ) { if ( casesensitive ) { for ( j = 0; text[j]; j++ ) { @@ -481,7 +489,9 @@ idStr::StripLeading void idStr::StripLeading( const char *string ) { int l; - l = strlen( string ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( string ); + // RB end if ( l > 0 ) { while ( !Cmpn( string, l ) ) { memmove( data, data + l, len - l + 1 ); @@ -498,7 +508,9 @@ idStr::StripLeadingOnce bool idStr::StripLeadingOnce( const char *string ) { int l; - l = strlen( string ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( string ); + // RB end if ( ( l > 0 ) && !Cmpn( string, l ) ) { memmove( data, data + l, len - l + 1 ); len -= l; @@ -529,7 +541,9 @@ idStr::StripLeading void idStr::StripTrailing( const char *string ) { int l; - l = strlen( string ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( string ); + // RB end if ( l > 0 ) { while ( ( len >= l ) && !Cmpn( string, data + len - l, l ) ) { len -= l; @@ -546,7 +560,9 @@ idStr::StripTrailingOnce bool idStr::StripTrailingOnce( const char *string ) { int l; - l = strlen( string ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( string ); + // RB end if ( ( l > 0 ) && ( len >= l ) && !Cmpn( string, data + len - l, l ) ) { len -= l; data[len] = '\0'; @@ -564,8 +580,10 @@ void idStr::Replace( const char *old, const char *nw ) { int oldLen, newLen, i, j, count; idStr oldString( data ); - oldLen = strlen( old ); - newLen = strlen( nw ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + oldLen = ( int )strlen( old ); + newLen = ( int )strlen( nw ); + // RB end // Work out how big the new string will be count = 0; @@ -591,7 +609,9 @@ void idStr::Replace( const char *old, const char *nw ) { } } data[j] = 0; - len = strlen( data ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + len = ( int )strlen( data ); + // RB end } } @@ -698,8 +718,9 @@ idStr::FileNameHash ============ */ int idStr::FileNameHash( void ) const { + // flibit: 64 bit fix, changed long to int int i; - long hash; + int hash; char letter; hash = 0; @@ -712,11 +733,12 @@ int idStr::FileNameHash( void ) const { if ( letter =='\\' ) { letter = '/'; } - hash += (long)(letter)*(i+119); + hash += (int)(letter)*(i+119); i++; } hash &= (FILE_HASH_SIZE-1); return hash; + // flibit end } /* @@ -833,7 +855,9 @@ void idStr::AppendPath( const char *text ) { if ( text && text[i] ) { pos = len; - EnsureAlloced( len + strlen( text ) + 2 ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + EnsureAlloced( len + ( int )strlen( text ) + 2 ); + // RB end if ( pos ) { if ( data[ pos-1 ] != '/' ) { @@ -1397,7 +1421,9 @@ idStr::Append void idStr::Append( char *dest, int size, const char *src ) { int l1; - l1 = strlen( dest ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l1 = ( int )strlen( dest ); + // RB end if ( l1 >= size ) { idLib::common->Error( "idStr::Append: already overflowed" ); } diff --git a/idlib/Str.h b/idlib/Str.h index 5812022..5ff3ffe 100644 --- a/idlib/Str.h +++ b/idlib/Str.h @@ -389,7 +389,9 @@ ID_INLINE idStr::idStr( const char *text ) { Init(); if ( text ) { - l = strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( text ); + // RB end EnsureAlloced( l + 1 ); strcpy( data, text ); len = l; @@ -398,7 +400,9 @@ ID_INLINE idStr::idStr( const char *text ) { ID_INLINE idStr::idStr( const char *text, int start, int end ) { int i; - int l = strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + int l = ( int )strlen( text ); + // RB end Init(); if ( end > l ) { @@ -661,7 +665,9 @@ ID_INLINE int idStr::Cmpn( const char *text, int n ) const { ID_INLINE int idStr::CmpPrefix( const char *text ) const { assert( text ); - return idStr::Cmpn( data, text, strlen( text ) ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + return idStr::Cmpn( data, text, ( int )strlen( text ) ); + // RB end } ID_INLINE int idStr::Icmp( const char *text ) const { @@ -676,7 +682,9 @@ ID_INLINE int idStr::Icmpn( const char *text, int n ) const { ID_INLINE int idStr::IcmpPrefix( const char *text ) const { assert( text ); - return idStr::Icmpn( data, text, strlen( text ) ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + return idStr::Icmpn( data, text, ( int )strlen( text ) ); + // RB end } ID_INLINE int idStr::IcmpNoColor( const char *text ) const { @@ -696,7 +704,9 @@ ID_INLINE int idStr::IcmpnPath( const char *text, int n ) const { ID_INLINE int idStr::IcmpPrefixPath( const char *text ) const { assert( text ); - return idStr::IcmpnPath( data, text, strlen( text ) ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + return idStr::IcmpnPath( data, text, ( int )strlen( text ) ); + // RB end } ID_INLINE int idStr::Length( void ) const { @@ -751,7 +761,9 @@ ID_INLINE void idStr::Append( const char *text ) { int i; if ( text ) { - newLen = len + strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + newLen = len + ( int )strlen( text ); + // RB end EnsureAlloced( newLen + 1 ); for ( i = 0; text[ i ]; i++ ) { data[ len + i ] = text[ i ]; @@ -803,7 +815,9 @@ ID_INLINE void idStr::Insert( const char *text, int index ) { index = len; } - l = strlen( text ); + // RB: 64 bit fixes, conversion from 'size_t' to 'int', possible loss of data + l = ( int )strlen( text ); + // RB end EnsureAlloced( len + l + 1 ); for ( i = len; i >= index; i-- ) { data[i+l] = data[i]; diff --git a/idlib/Token.h b/idlib/Token.h index b8321fd..266d414 100644 --- a/idlib/Token.h +++ b/idlib/Token.h @@ -90,7 +90,9 @@ public: double GetDoubleValue( void ); // double value of TT_NUMBER float GetFloatValue( void ); // float value of TT_NUMBER - unsigned long GetUnsignedLongValue( void ); // unsigned long value of TT_NUMBER + // flibit: 64 bit fix, changed to GetUnsignedIntValue + unsigned int GetUnsignedIntValue( void ); // unsigned long value of TT_NUMBER + // flibit end int GetIntValue( void ); // int value of TT_NUMBER int WhiteSpaceBeforeToken( void ) const;// returns length of whitespace before token void ClearTokenWhiteSpace( void ); // forget whitespace before token @@ -98,7 +100,7 @@ public: void NumberValue( void ); // calculate values for a TT_NUMBER private: - unsigned long intvalue; // integer value + unsigned int intvalue; // integer value double floatvalue; // floating point value const char * whiteSpaceStart_p; // start of white space before token, only used by idLexer const char * whiteSpaceEnd_p; // end of white space before token, only used by idLexer @@ -139,7 +141,8 @@ ID_INLINE float idToken::GetFloatValue( void ) { return (float) GetDoubleValue(); } -ID_INLINE unsigned long idToken::GetUnsignedLongValue( void ) { +// flibit: 64 bit fix, GetUnsignedIntValue +ID_INLINE unsigned int idToken::GetUnsignedIntValue( void ) { if ( type != TT_NUMBER ) { return 0; } @@ -148,9 +151,10 @@ ID_INLINE unsigned long idToken::GetUnsignedLongValue( void ) { } return intvalue; } +// flibit end ID_INLINE int idToken::GetIntValue( void ) { - return (int) GetUnsignedLongValue(); + return (int) GetUnsignedIntValue(); } ID_INLINE int idToken::WhiteSpaceBeforeToken( void ) const { diff --git a/idlib/hashing/CRC32.cpp b/idlib/hashing/CRC32.cpp index c8c4026..0cca0e2 100644 --- a/idlib/hashing/CRC32.cpp +++ b/idlib/hashing/CRC32.cpp @@ -12,7 +12,9 @@ #ifdef CREATE_CRC_TABLE -static unsigned long crctable[256]; +// RB: 64 bit fix, changed long to int +static unsigned int crctable[256]; +// RB end /* Generate a table for a byte-wise 32-bit CRC calculation on the polynomial: @@ -41,7 +43,9 @@ static unsigned long crctable[256]; void make_crc_table( void ) { int i, j; - unsigned long c, poly; + // RB: 64 bit fix, changed long to int + unsigned int c, poly; + // RB end /* terms of polynomial defining this crc (except x^32): */ static const byte p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26}; @@ -52,7 +56,9 @@ void make_crc_table( void ) { } for ( i = 0; i < 256; i++ ) { - c = (unsigned long)i; + // RB: 64 bit fix, changed long to int + c = (unsigned int)i; + // RB end for ( j = 0; j < 8; j++ ) { c = ( c & 1 ) ? poly ^ ( c >> 1 ) : ( c >> 1 ); } @@ -65,7 +71,9 @@ void make_crc_table( void ) { /* Table of CRC-32's of all single-byte values (made by make_crc_table) */ -static unsigned long crctable[256] = { +// RB: 64 bit fix, changed long to int +static unsigned int crctable[256] = { +// RB end 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, 0xe0d5e91eL, 0x97d2d988L, @@ -134,16 +142,17 @@ static unsigned long crctable[256] = { #endif -void CRC32_InitChecksum( unsigned long &crcvalue ) { +// RB: 64 bit fixes, changed long to int +void CRC32_InitChecksum( unsigned int &crcvalue ) { crcvalue = CRC32_INIT_VALUE; } -void CRC32_Update( unsigned long &crcvalue, const byte data ) { +void CRC32_Update( unsigned int &crcvalue, const byte data ) { crcvalue = crctable[ ( crcvalue ^ data ) & 0xff ] ^ ( crcvalue >> 8 ); } -void CRC32_UpdateChecksum( unsigned long &crcvalue, const void *data, int length ) { - unsigned long crc; +void CRC32_UpdateChecksum( unsigned int &crcvalue, const void *data, int length ) { + unsigned int crc; const unsigned char *buf = (const unsigned char *) data; crc = crcvalue; @@ -153,15 +162,16 @@ void CRC32_UpdateChecksum( unsigned long &crcvalue, const void *data, int length crcvalue = crc; } -void CRC32_FinishChecksum( unsigned long &crcvalue ) { +void CRC32_FinishChecksum( unsigned int &crcvalue ) { crcvalue ^= CRC32_XOR_VALUE; } -unsigned long CRC32_BlockChecksum( const void *data, int length ) { - unsigned long crc; +unsigned int CRC32_BlockChecksum( const void *data, int length ) { + unsigned int crc; CRC32_InitChecksum( crc ); CRC32_UpdateChecksum( crc, data, length ); CRC32_FinishChecksum( crc ); return crc; } +// RB end diff --git a/idlib/hashing/CRC32.h b/idlib/hashing/CRC32.h index 63f0cc3..2a3c858 100644 --- a/idlib/hashing/CRC32.h +++ b/idlib/hashing/CRC32.h @@ -10,9 +10,11 @@ =============================================================================== */ -void CRC32_InitChecksum( unsigned long &crcvalue ); -void CRC32_UpdateChecksum( unsigned long &crcvalue, const void *data, int length ); -void CRC32_FinishChecksum( unsigned long &crcvalue ); -unsigned long CRC32_BlockChecksum( const void *data, int length ); +// RB: 64 bit fixes, changed long to int +void CRC32_InitChecksum( unsigned int &crcvalue ); +void CRC32_UpdateChecksum( unsigned int &crcvalue, const void *data, int length ); +void CRC32_FinishChecksum( unsigned int &crcvalue ); +unsigned int CRC32_BlockChecksum( const void *data, int length ); +// RB end #endif /* !__CRC32_H__ */ diff --git a/idlib/hashing/MD4.cpp b/idlib/hashing/MD4.cpp index f2139e6..19ddff1 100644 --- a/idlib/hashing/MD4.cpp +++ b/idlib/hashing/MD4.cpp @@ -38,7 +38,9 @@ typedef unsigned char *POINTER; typedef unsigned short int UINT2; /* UINT4 defines a four byte word */ -typedef unsigned long int UINT4; +// RB: 64 bit fix, changed long int to int +typedef unsigned int UINT4; +// RB end /* MD4 context. */ typedef struct { @@ -244,9 +246,10 @@ void MD4_Final( MD4_CTX *context, unsigned char digest[16] ) { MD4_BlockChecksum =============== */ -unsigned long MD4_BlockChecksum( const void *data, int length ) { - unsigned long digest[4]; - unsigned long val; +// RB: 64 bit fixes, changed long int to int +unsigned int MD4_BlockChecksum( const void *data, int length ) { + unsigned int digest[4]; + unsigned int val; MD4_CTX ctx; MD4_Init( &ctx ); @@ -257,3 +260,4 @@ unsigned long MD4_BlockChecksum( const void *data, int length ) { return val; } +// RB end diff --git a/idlib/hashing/MD4.h b/idlib/hashing/MD4.h index 8b5eb90..e61931d 100644 --- a/idlib/hashing/MD4.h +++ b/idlib/hashing/MD4.h @@ -10,6 +10,8 @@ =============================================================================== */ -unsigned long MD4_BlockChecksum( const void *data, int length ); +// RB: 64 bit fix, changed long to int +unsigned int MD4_BlockChecksum( const void *data, int length ); +// RB end #endif /* !__MD4_H__ */ diff --git a/idlib/hashing/MD5.cpp b/idlib/hashing/MD5.cpp index 8900089..624710d 100644 --- a/idlib/hashing/MD5.cpp +++ b/idlib/hashing/MD5.cpp @@ -257,10 +257,12 @@ void MD5_Final( MD5_CTX *ctx, unsigned char digest[16] ) { MD5_BlockChecksum =============== */ -unsigned long MD5_BlockChecksum( const void *data, int length ) { - unsigned long digest[4]; - unsigned long val; +// flibit: 64 bit fix, changed long to int +unsigned int MD5_BlockChecksum( const void *data, int length ) { + unsigned int digest[4]; + unsigned int val; MD5_CTX ctx; +// flibit end MD5_Init( &ctx ); MD5_Update( &ctx, (unsigned char *)data, length ); diff --git a/idlib/hashing/MD5.h b/idlib/hashing/MD5.h index e187e56..4d64f70 100644 --- a/idlib/hashing/MD5.h +++ b/idlib/hashing/MD5.h @@ -10,6 +10,8 @@ =============================================================================== */ -unsigned long MD5_BlockChecksum( const void *data, int length ); +// flibit: 64 bit fix, changed long to int +unsigned int MD5_BlockChecksum( const void *data, int length ); +// flibit end #endif /* !__MD5_H__ */ diff --git a/idlib/math/Matrix.cpp b/idlib/math/Matrix.cpp index c5c57fb..8e817d8 100644 --- a/idlib/math/Matrix.cpp +++ b/idlib/math/Matrix.cpp @@ -2936,7 +2936,9 @@ const char *idMat6::ToString( int precision ) const { //=============================================================== float idMatX::temp[MATX_MAX_TEMP+4]; -float * idMatX::tempPtr = (float *) ( ( (int) idMatX::temp + 15 ) & ~15 ); +// flibit: 64 bit fix, changed int to intptr_t +float * idMatX::tempPtr = (float *) ( ( (intptr_t) idMatX::temp + 15 ) & ~15 ); +// flibit end int idMatX::tempIndex = 0; diff --git a/idlib/math/Matrix.h b/idlib/math/Matrix.h index c3421b6..a5603e7 100644 --- a/idlib/math/Matrix.h +++ b/idlib/math/Matrix.h @@ -2280,7 +2280,9 @@ ID_INLINE void idMatX::SetData( int rows, int columns, float *data ) { if ( mat != NULL && alloced != -1 ) { Mem_Free16( mat ); } - assert( ( ( (int) data ) & 15 ) == 0 ); // data must be 16 byte aligned + // flibit: 64 bit fix, change int to intptr_t + assert( ( ( (intptr_t) data ) & 15 ) == 0 ); // data must be 16 byte aligned + // flibit End mat = data; alloced = -1; numRows = rows; diff --git a/idlib/math/Random.h b/idlib/math/Random.h index 2e18554..579fc96 100644 --- a/idlib/math/Random.h +++ b/idlib/math/Random.h @@ -96,12 +96,14 @@ ID_INLINE float idRandom::CRandomFloat( void ) { =============================================================================== */ +// flibit: 64 bit fix, change long to int + class idRandom2 { public: - idRandom2( unsigned long seed = 0 ); + idRandom2( unsigned int seed = 0 ); - void SetSeed( unsigned long seed ); - unsigned long GetSeed( void ) const; + void SetSeed( unsigned int seed ); + unsigned int GetSeed( void ) const; int RandomInt( void ); // random integer in the range [0, MAX_RAND] int RandomInt( int max ); // random integer in the range [0, max] @@ -111,21 +113,21 @@ public: static const int MAX_RAND = 0x7fff; private: - unsigned long seed; + unsigned int seed; - static const unsigned long IEEE_ONE = 0x3f800000; - static const unsigned long IEEE_MASK = 0x007fffff; + static const unsigned int IEEE_ONE = 0x3f800000; + static const unsigned int IEEE_MASK = 0x007fffff; }; -ID_INLINE idRandom2::idRandom2( unsigned long seed ) { +ID_INLINE idRandom2::idRandom2( unsigned int seed ) { this->seed = seed; } -ID_INLINE void idRandom2::SetSeed( unsigned long seed ) { +ID_INLINE void idRandom2::SetSeed( unsigned int seed ) { this->seed = seed; } -ID_INLINE unsigned long idRandom2::GetSeed( void ) const { +ID_INLINE unsigned int idRandom2::GetSeed( void ) const { return seed; } @@ -142,17 +144,19 @@ ID_INLINE int idRandom2::RandomInt( int max ) { } ID_INLINE float idRandom2::RandomFloat( void ) { - unsigned long i; - seed = 1664525L * seed + 1013904223L; + unsigned int i; + seed = 1664525 * seed + 1013904223; i = idRandom2::IEEE_ONE | ( seed & idRandom2::IEEE_MASK ); return ( ( *(float *)&i ) - 1.0f ); } ID_INLINE float idRandom2::CRandomFloat( void ) { - unsigned long i; - seed = 1664525L * seed + 1013904223L; + unsigned int i; + seed = 1664525 * seed + 1013904223; i = idRandom2::IEEE_ONE | ( seed & idRandom2::IEEE_MASK ); return ( 2.0f * ( *(float *)&i ) - 3.0f ); } +// flibit end + #endif /* !__MATH_RANDOM_H__ */ diff --git a/idlib/math/Simd.cpp b/idlib/math/Simd.cpp index d887052..4aedc38 100644 --- a/idlib/math/Simd.cpp +++ b/idlib/math/Simd.cpp @@ -139,7 +139,9 @@ void idSIMD::Shutdown( void ) { idSIMDProcessor *p_simd; idSIMDProcessor *p_generic; -long baseClocks = 0; +// flibit: 64 bit fix, change long to int +int baseClocks = 0; +// flibit end #ifdef _WIN32 @@ -147,7 +149,9 @@ long baseClocks = 0; #pragma warning(disable : 4731) // frame pointer register 'ebx' modified by inline assembly code -long saved_ebx = 0; +// flibit: 64 bit fix, change long to int +int saved_ebx = 0; +// flibit end #define StartRecordTime( start ) \ __asm mov saved_ebx, ebx \ @@ -1498,7 +1502,7 @@ void TestMemcpy( void ) { p_simd->Memcpy( test1, test0, 8192 ); for ( j = 0; j < i; j++ ) { if ( test1[j] != test0[j] ) { - idLib::common->Printf( " simd->Memcpy() "S_COLOR_RED"X\n" ); + idLib::common->Printf( " simd->Memcpy() " S_COLOR_RED "X\n" ); return; } } @@ -1524,7 +1528,7 @@ void TestMemset( void ) { p_simd->Memset( test, j, i ); for ( k = 0; k < i; k++ ) { if ( test[k] != (byte)j ) { - idLib::common->Printf( " simd->Memset() "S_COLOR_RED"X\n" ); + idLib::common->Printf( " simd->Memset() " S_COLOR_RED "X\n" ); return; } } diff --git a/idlib/math/Simd_AltiVec.cpp b/idlib/math/Simd_AltiVec.cpp index 3869615..f31dfc8 100644 --- a/idlib/math/Simd_AltiVec.cpp +++ b/idlib/math/Simd_AltiVec.cpp @@ -68,8 +68,8 @@ If you have questions concerning this license or the applicable additional terms #define IDVEC4_OFFSET 4 // Alignment tests -#define IS_16BYTE_ALIGNED( x ) ( ( (unsigned long)&x & 0x0F ) == 0 ) -#define NOT_16BYTE_ALIGNED( x ) ( ( (unsigned long)&x & 0x0F) != 0 ) +#define IS_16BYTE_ALIGNED( x ) ( ( (unsigned int)&x & 0x0F ) == 0 ) +#define NOT_16BYTE_ALIGNED( x ) ( ( (unsigned int)&x & 0x0F) != 0 ) // Aligned storing floats #define ALIGNED_STORE2( ADDR, V0, V1 ) \ @@ -7134,7 +7134,7 @@ void VPCALL idSIMD_AltiVec::DeriveTangents( idPlane *planes, idDrawVert *verts, idPlane *planesPtr = planes; for ( i = 0; i < numIndexes; i += 3 ) { idDrawVert *a, *b, *c; - // unsigned long signBit; + // unsigned int signBit; float d0[5], d1[5], area; idVec3 n, t0, t1; float f1, f2, f3; diff --git a/idlib/math/Simd_Generic.cpp b/idlib/math/Simd_Generic.cpp index 6222a41..5d2fed7 100644 --- a/idlib/math/Simd_Generic.cpp +++ b/idlib/math/Simd_Generic.cpp @@ -2499,7 +2499,7 @@ void VPCALL idSIMD_Generic::DeriveTangents( idPlane *planes, idDrawVert *verts, idPlane *planesPtr = planes; for ( i = 0; i < numIndexes; i += 3 ) { idDrawVert *a, *b, *c; - unsigned long signBit; + unsigned int signBit; float d0[5], d1[5], f, area; idVec3 n, t0, t1; @@ -2540,7 +2540,7 @@ void VPCALL idSIMD_Generic::DeriveTangents( idPlane *planes, idDrawVert *verts, // area sign bit area = d0[3] * d1[4] - d0[4] * d1[3]; - signBit = ( *(unsigned long *)&area ) & ( 1 << 31 ); + signBit = ( *(unsigned int *)&area ) & ( 1 << 31 ); // first tangent t0[0] = d0[0] * d1[4] - d0[4] * d1[0]; @@ -2548,7 +2548,7 @@ void VPCALL idSIMD_Generic::DeriveTangents( idPlane *planes, idDrawVert *verts, t0[2] = d0[2] * d1[4] - d0[4] * d1[2]; f = idMath::RSqrt( t0.x * t0.x + t0.y * t0.y + t0.z * t0.z ); - *(unsigned long *)&f ^= signBit; + *(unsigned int *)&f ^= signBit; t0.x *= f; t0.y *= f; @@ -2560,7 +2560,7 @@ void VPCALL idSIMD_Generic::DeriveTangents( idPlane *planes, idDrawVert *verts, t1[2] = d0[3] * d1[2] - d0[2] * d1[3]; f = idMath::RSqrt( t1.x * t1.x + t1.y * t1.y + t1.z * t1.z ); - *(unsigned long *)&f ^= signBit; + *(unsigned int *)&f ^= signBit; t1.x *= f; t1.y *= f; diff --git a/idlib/math/Simd_SSE.cpp b/idlib/math/Simd_SSE.cpp index d69339b..d3ba5ce 100644 --- a/idlib/math/Simd_SSE.cpp +++ b/idlib/math/Simd_SSE.cpp @@ -1017,16 +1017,16 @@ void VPCALL idSIMD_SSE::Dot( float *dst, const idVec3 &constant, const idPlane * ALIGN8_INIT1( unsigned short SIMD_W_zero, 0 ); ALIGN8_INIT1( unsigned short SIMD_W_maxShort, 1<<15 ); -ALIGN4_INIT1( unsigned long SIMD_DW_mat2quatShuffle0, (3<<0)|(2<<8)|(1<<16)|(0<<24) ); -ALIGN4_INIT1( unsigned long SIMD_DW_mat2quatShuffle1, (0<<0)|(1<<8)|(2<<16)|(3<<24) ); -ALIGN4_INIT1( unsigned long SIMD_DW_mat2quatShuffle2, (1<<0)|(0<<8)|(3<<16)|(2<<24) ); -ALIGN4_INIT1( unsigned long SIMD_DW_mat2quatShuffle3, (2<<0)|(3<<8)|(0<<16)|(1<<24) ); +ALIGN4_INIT1( unsigned int SIMD_DW_mat2quatShuffle0, (3<<0)|(2<<8)|(1<<16)|(0<<24) ); +ALIGN4_INIT1( unsigned int SIMD_DW_mat2quatShuffle1, (0<<0)|(1<<8)|(2<<16)|(3<<24) ); +ALIGN4_INIT1( unsigned int SIMD_DW_mat2quatShuffle2, (1<<0)|(0<<8)|(3<<16)|(2<<24) ); +ALIGN4_INIT1( unsigned int SIMD_DW_mat2quatShuffle3, (2<<0)|(3<<8)|(0<<16)|(1<<24) ); -ALIGN4_INIT4( unsigned long SIMD_SP_singleSignBitMask, (unsigned long) ( 1 << 31 ), 0, 0, 0 ); -ALIGN4_INIT1( unsigned long SIMD_SP_signBitMask, (unsigned long) ( 1 << 31 ) ); -ALIGN4_INIT1( unsigned long SIMD_SP_absMask, (unsigned long) ~( 1 << 31 ) ); -ALIGN4_INIT1( unsigned long SIMD_SP_infinityMask, (unsigned long) ~( 1 << 23 ) ); -ALIGN4_INIT1( unsigned long SIMD_SP_not, 0xFFFFFFFF ); +ALIGN4_INIT4( unsigned int SIMD_SP_singleSignBitMask, (unsigned int) ( 1 << 31 ), 0, 0, 0 ); +ALIGN4_INIT1( unsigned int SIMD_SP_signBitMask, (unsigned int) ( 1 << 31 ) ); +ALIGN4_INIT1( unsigned int SIMD_SP_absMask, (unsigned int) ~( 1 << 31 ) ); +ALIGN4_INIT1( unsigned int SIMD_SP_infinityMask, (unsigned int) ~( 1 << 23 ) ); +ALIGN4_INIT1( unsigned int SIMD_SP_not, 0xFFFFFFFF ); ALIGN4_INIT1( float SIMD_SP_zero, 0.0f ); ALIGN4_INIT1( float SIMD_SP_half, 0.5f ); @@ -1950,7 +1950,7 @@ float SSE_ATan( float y, float x ) { if ( fabs( y ) > fabs( x ) ) { a = -x / y; d = idMath::HALF_PI; - *((unsigned long *)&d) ^= ( *((unsigned long *)&x) ^ *((unsigned long *)&y) ) & (1<<31); + *((unsigned int *)&d) ^= ( *((unsigned int *)&x) ^ *((unsigned int *)&y) ) & (1<<31); } else { a = y / x; d = 0.0f; @@ -11527,7 +11527,7 @@ void VPCALL idSIMD_SSE::BlendJoints( idJointQuat *joints, const idJointQuat *ble ALIGN16( float omega1[4] ); ALIGN16( float scale0[4] ); ALIGN16( float scale1[4] ); - ALIGN16( unsigned long signBit[4] ); + ALIGN16( unsigned int signBit[4] ); cosom[0] = jointQuat0[0] * blendQuat0[0]; cosom[1] = jointQuat0[1] * blendQuat0[1]; @@ -11549,15 +11549,15 @@ void VPCALL idSIMD_SSE::BlendJoints( idJointQuat *joints, const idJointQuat *ble cosom[2] += jointQuat3[2] * blendQuat3[2]; cosom[3] += jointQuat3[3] * blendQuat3[3]; - signBit[0] = (*(unsigned long *)&cosom[0]) & ( 1 << 31 ); - signBit[1] = (*(unsigned long *)&cosom[1]) & ( 1 << 31 ); - signBit[2] = (*(unsigned long *)&cosom[2]) & ( 1 << 31 ); - signBit[3] = (*(unsigned long *)&cosom[3]) & ( 1 << 31 ); + signBit[0] = (*(unsigned int *)&cosom[0]) & ( 1 << 31 ); + signBit[1] = (*(unsigned int *)&cosom[1]) & ( 1 << 31 ); + signBit[2] = (*(unsigned int *)&cosom[2]) & ( 1 << 31 ); + signBit[3] = (*(unsigned int *)&cosom[3]) & ( 1 << 31 ); - (*(unsigned long *)&cosom[0]) ^= signBit[0]; - (*(unsigned long *)&cosom[1]) ^= signBit[1]; - (*(unsigned long *)&cosom[2]) ^= signBit[2]; - (*(unsigned long *)&cosom[3]) ^= signBit[3]; + (*(unsigned int *)&cosom[0]) ^= signBit[0]; + (*(unsigned int *)&cosom[1]) ^= signBit[1]; + (*(unsigned int *)&cosom[2]) ^= signBit[2]; + (*(unsigned int *)&cosom[3]) ^= signBit[3]; scale0[0] = 1.0f - cosom[0] * cosom[0]; scale0[1] = 1.0f - cosom[1] * cosom[1]; @@ -11604,10 +11604,10 @@ void VPCALL idSIMD_SSE::BlendJoints( idJointQuat *joints, const idJointQuat *ble scale1[2] = SSE_SinZeroHalfPI( omega1[2] ) * sinom[2]; scale1[3] = SSE_SinZeroHalfPI( omega1[3] ) * sinom[3]; - (*(unsigned long *)&scale1[0]) ^= signBit[0]; - (*(unsigned long *)&scale1[1]) ^= signBit[1]; - (*(unsigned long *)&scale1[2]) ^= signBit[2]; - (*(unsigned long *)&scale1[3]) ^= signBit[3]; + (*(unsigned int *)&scale1[0]) ^= signBit[0]; + (*(unsigned int *)&scale1[1]) ^= signBit[1]; + (*(unsigned int *)&scale1[2]) ^= signBit[2]; + (*(unsigned int *)&scale1[3]) ^= signBit[3]; jointQuat0[0] = scale0[0] * jointQuat0[0] + scale1[0] * blendQuat0[0]; jointQuat0[1] = scale0[1] * jointQuat0[1] + scale1[1] * blendQuat0[1]; @@ -11663,13 +11663,13 @@ void VPCALL idSIMD_SSE::BlendJoints( idJointQuat *joints, const idJointQuat *ble float omega; float scale0; float scale1; - unsigned long signBit; + unsigned int signBit; cosom = jointQuat.x * blendQuat.x + jointQuat.y * blendQuat.y + jointQuat.z * blendQuat.z + jointQuat.w * blendQuat.w; - signBit = (*(unsigned long *)&cosom) & ( 1 << 31 ); + signBit = (*(unsigned int *)&cosom) & ( 1 << 31 ); - (*(unsigned long *)&cosom) ^= signBit; + (*(unsigned int *)&cosom) ^= signBit; scale0 = 1.0f - cosom * cosom; scale0 = ( scale0 <= 0.0f ) ? SIMD_SP_tiny[0] : scale0; @@ -11678,7 +11678,7 @@ void VPCALL idSIMD_SSE::BlendJoints( idJointQuat *joints, const idJointQuat *ble scale0 = idMath::Sin16( ( 1.0f - lerp ) * omega ) * sinom; scale1 = idMath::Sin16( lerp * omega ) * sinom; - (*(unsigned long *)&scale1) ^= signBit; + (*(unsigned int *)&scale1) ^= signBit; jointQuat.x = scale0 * jointQuat.x + scale1 * blendQuat.x; jointQuat.y = scale0 * jointQuat.y + scale1 * blendQuat.y; @@ -13664,7 +13664,7 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons for ( i = 0; i <= numIndexes - 12; i += 12 ) { idDrawVert *a, *b, *c; - ALIGN16( unsigned long signBit[4] ); + ALIGN16( unsigned int signBit[4] ); ALIGN16( float d0[4] ); ALIGN16( float d1[4] ); ALIGN16( float d2[4] ); @@ -13967,10 +13967,10 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons tmp[2] -= d4[2] * d8[2]; tmp[3] -= d4[3] * d8[3]; - signBit[0] = ( *(unsigned long *)&tmp[0] ) & ( 1 << 31 ); - signBit[1] = ( *(unsigned long *)&tmp[1] ) & ( 1 << 31 ); - signBit[2] = ( *(unsigned long *)&tmp[2] ) & ( 1 << 31 ); - signBit[3] = ( *(unsigned long *)&tmp[3] ) & ( 1 << 31 ); + signBit[0] = ( *(unsigned int *)&tmp[0] ) & ( 1 << 31 ); + signBit[1] = ( *(unsigned int *)&tmp[1] ) & ( 1 << 31 ); + signBit[2] = ( *(unsigned int *)&tmp[2] ) & ( 1 << 31 ); + signBit[3] = ( *(unsigned int *)&tmp[3] ) & ( 1 << 31 ); // first tangent t0[0] = d0[0] * d9[0]; @@ -14023,10 +14023,10 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons tmp[2] = idMath::RSqrt( tmp[2] ); tmp[3] = idMath::RSqrt( tmp[3] ); - *(unsigned long *)&tmp[0] ^= signBit[0]; - *(unsigned long *)&tmp[1] ^= signBit[1]; - *(unsigned long *)&tmp[2] ^= signBit[2]; - *(unsigned long *)&tmp[3] ^= signBit[3]; + *(unsigned int *)&tmp[0] ^= signBit[0]; + *(unsigned int *)&tmp[1] ^= signBit[1]; + *(unsigned int *)&tmp[2] ^= signBit[2]; + *(unsigned int *)&tmp[3] ^= signBit[3]; t0[0] *= tmp[0]; t0[1] *= tmp[1]; @@ -14094,10 +14094,10 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons tmp[2] = idMath::RSqrt( tmp[2] ); tmp[3] = idMath::RSqrt( tmp[3] ); - *(unsigned long *)&tmp[0] ^= signBit[0]; - *(unsigned long *)&tmp[1] ^= signBit[1]; - *(unsigned long *)&tmp[2] ^= signBit[2]; - *(unsigned long *)&tmp[3] ^= signBit[3]; + *(unsigned int *)&tmp[0] ^= signBit[0]; + *(unsigned int *)&tmp[1] ^= signBit[1]; + *(unsigned int *)&tmp[2] ^= signBit[2]; + *(unsigned int *)&tmp[3] ^= signBit[3]; t3[0] *= tmp[0]; t3[1] *= tmp[1]; @@ -14220,7 +14220,7 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons for ( ; i < numIndexes; i += 3 ) { idDrawVert *a, *b, *c; - ALIGN16( unsigned long signBit[4] ); + ALIGN16( unsigned int signBit[4] ); float d0, d1, d2, d3, d4; float d5, d6, d7, d8, d9; float n0, n1, n2; @@ -14446,7 +14446,7 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons // area sign bit tmp = d3 * d9 - d4 * d8; - signBit[0] = ( *(unsigned long *)&tmp ) & ( 1 << 31 ); + signBit[0] = ( *(unsigned int *)&tmp ) & ( 1 << 31 ); // first tangent t0 = d0 * d9 - d4 * d5; @@ -14454,7 +14454,7 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons t2 = d2 * d9 - d4 * d7; tmp = idMath::RSqrt( t0 * t0 + t1 * t1 + t2 * t2 ); - *(unsigned long *)&tmp ^= signBit[0]; + *(unsigned int *)&tmp ^= signBit[0]; t0 *= tmp; t1 *= tmp; @@ -14466,7 +14466,7 @@ void VPCALL idSIMD_SSE::DeriveTangents( idPlane *planes, idDrawVert *verts, cons t5 = d3 * d7 - d2 * d8; tmp = idMath::RSqrt( t3 * t3 + t4 * t4 + t5 * t5 ); - *(unsigned long *)&tmp ^= signBit[0]; + *(unsigned int *)&tmp ^= signBit[0]; t3 *= tmp; t4 *= tmp; diff --git a/idlib/math/Simd_SSE2.cpp b/idlib/math/Simd_SSE2.cpp index 2d20dbb..f78b482 100644 --- a/idlib/math/Simd_SSE2.cpp +++ b/idlib/math/Simd_SSE2.cpp @@ -261,10 +261,10 @@ void VPCALL idSIMD_SSE2::CmpLT( byte *dst, const byte bitNum, const float *src0, ALIGN8_INIT1( unsigned short SIMD_W_zero, 0 ); ALIGN8_INIT1( unsigned short SIMD_W_maxShort, 1<<15 ); -ALIGN4_INIT4( unsigned long SIMD_SP_singleSignBitMask, (unsigned long) ( 1 << 31 ), 0, 0, 0 ); -ALIGN4_INIT1( unsigned long SIMD_SP_signBitMask, (unsigned long) ( 1 << 31 ) ); -ALIGN4_INIT1( unsigned long SIMD_SP_absMask, (unsigned long) ~( 1 << 31 ) ); -ALIGN4_INIT1( unsigned long SIMD_SP_infinityMask, (unsigned long) ~( 1 << 23 ) ); +ALIGN4_INIT4( unsigned int SIMD_SP_singleSignBitMask, (unsigned int) ( 1 << 31 ), 0, 0, 0 ); +ALIGN4_INIT1( unsigned int SIMD_SP_signBitMask, (unsigned int) ( 1 << 31 ) ); +ALIGN4_INIT1( unsigned int SIMD_SP_absMask, (unsigned int) ~( 1 << 31 ) ); +ALIGN4_INIT1( unsigned int SIMD_SP_infinityMask, (unsigned int) ~( 1 << 23 ) ); ALIGN4_INIT1( float SIMD_SP_zero, 0.0f ); ALIGN4_INIT1( float SIMD_SP_one, 1.0f ); diff --git a/idlib/math/Vector.cpp b/idlib/math/Vector.cpp index 0b29706..081b2af 100644 --- a/idlib/math/Vector.cpp +++ b/idlib/math/Vector.cpp @@ -384,7 +384,9 @@ const char *idVec6::ToString( int precision ) const { //=============================================================== float idVecX::temp[VECX_MAX_TEMP+4]; -float * idVecX::tempPtr = (float *) ( ( (int) idVecX::temp + 15 ) & ~15 ); +// flibit: 64 bit fix, changed int to intptr_t +float * idVecX::tempPtr = (float *) ( ( (intptr_t) idVecX::temp + 15 ) & ~15 ); +// flibit end int idVecX::tempIndex = 0; /* diff --git a/idlib/math/Vector.h b/idlib/math/Vector.h index 8ef454d..131d9b9 100644 --- a/idlib/math/Vector.h +++ b/idlib/math/Vector.h @@ -1757,7 +1757,9 @@ ID_INLINE void idVecX::SetData( int length, float *data ) { if ( p && ( p < idVecX::tempPtr || p >= idVecX::tempPtr + VECX_MAX_TEMP ) && alloced != -1 ) { Mem_Free16( p ); } - assert( ( ( (int) data ) & 15 ) == 0 ); // data must be 16 byte aligned + // flibit: 64 bit fix, change int to intptr_t + assert( ( ( (intptr_t) data ) & 15 ) == 0 ); // data must be 16 byte aligned + // flibit End p = data; size = length; alloced = -1; diff --git a/idlib/math/idMath.h b/idlib/math/idMath.h index 5058864..5652858 100644 --- a/idlib/math/idMath.h +++ b/idlib/math/idMath.h @@ -45,6 +45,8 @@ If you have questions concerning this license or the applicable additional terms =============================================================================== */ +// flibit: 64 bit fix, changed long to int + #ifdef INFINITY #undef INFINITY #endif @@ -65,17 +67,17 @@ If you have questions concerning this license or the applicable additional terms #define ANGLE2BYTE(x) ( idMath::FtoiFast( (x) * 256.0f / 360.0f ) & 255 ) #define BYTE2ANGLE(x) ( (x) * ( 360.0f / 256.0f ) ) -#define FLOATSIGNBITSET(f) ((*(const unsigned long *)&(f)) >> 31) -#define FLOATSIGNBITNOTSET(f) ((~(*(const unsigned long *)&(f))) >> 31) -#define FLOATNOTZERO(f) ((*(const unsigned long *)&(f)) & ~(1<<31) ) -#define INTSIGNBITSET(i) (((const unsigned long)(i)) >> 31) -#define INTSIGNBITNOTSET(i) ((~((const unsigned long)(i))) >> 31) +#define FLOATSIGNBITSET(f) ((*(const unsigned int *)&(f)) >> 31) +#define FLOATSIGNBITNOTSET(f) ((~(*(const unsigned int *)&(f))) >> 31) +#define FLOATNOTZERO(f) ((*(const unsigned int *)&(f)) & ~(1<<31) ) +#define INTSIGNBITSET(i) (((const unsigned int)(i)) >> 31) +#define INTSIGNBITNOTSET(i) ((~((const unsigned int)(i))) >> 31) -#define FLOAT_IS_NAN(x) (((*(const unsigned long *)&x) & 0x7f800000) == 0x7f800000) -#define FLOAT_IS_INF(x) (((*(const unsigned long *)&x) & 0x7fffffff) == 0x7f800000) -#define FLOAT_IS_IND(x) ((*(const unsigned long *)&x) == 0xffc00000) -#define FLOAT_IS_DENORMAL(x) (((*(const unsigned long *)&x) & 0x7f800000) == 0x00000000 && \ - ((*(const unsigned long *)&x) & 0x007fffff) != 0x00000000 ) +#define FLOAT_IS_NAN(x) (((*(const unsigned int *)&x) & 0x7f800000) == 0x7f800000) +#define FLOAT_IS_INF(x) (((*(const unsigned int *)&x) & 0x7fffffff) == 0x7f800000) +#define FLOAT_IS_IND(x) ((*(const unsigned int *)&x) == 0xffc00000) +#define FLOAT_IS_DENORMAL(x) (((*(const unsigned int *)&x) & 0x7f800000) == 0x00000000 && \ + ((*(const unsigned int *)&x) & 0x007fffff) != 0x00000000 ) #define IEEE_FLT_MANTISSA_BITS 23 #define IEEE_FLT_EXPONENT_BITS 8 @@ -185,8 +187,8 @@ public: static float Rint( float f ); // returns the nearest integer static int Ftoi( float f ); // float to int conversion static int FtoiFast( float f ); // fast float to int conversion but uses current FPU round mode (default round nearest) - static unsigned long Ftol( float f ); // float to long conversion - static unsigned long FtolFast( float ); // fast float to long conversion but uses current FPU round mode (default round nearest) + static unsigned int Ftol( float f ); // float to long conversion + static unsigned int FtolFast( float ); // fast float to long conversion but uses current FPU round mode (default round nearest) static signed char ClampChar( int i ); static signed short ClampShort( int i ); @@ -243,11 +245,11 @@ private: ID_INLINE float idMath::RSqrt( float x ) { - long i; + int i; float y, r; y = x * 0.5f; - i = *reinterpret_cast( &x ); + i = *reinterpret_cast( &x ); i = 0x5f3759df - ( i >> 1 ); r = *reinterpret_cast( &i ); r = r * ( 1.5f - r * r * y ); @@ -391,7 +393,7 @@ ID_INLINE double idMath::Cos64( float a ) { } ID_INLINE void idMath::SinCos( float a, float &s, float &c ) { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_WIN64) _asm { fld a fsincos @@ -444,7 +446,7 @@ ID_INLINE void idMath::SinCos16( float a, float &s, float &c ) { } ID_INLINE void idMath::SinCos64( float a, double &s, double &c ) { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_WIN64) _asm { fld a fsincos @@ -802,7 +804,7 @@ ID_INLINE int idMath::Ftoi( float f ) { } ID_INLINE int idMath::FtoiFast( float f ) { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_WIN64) int i; __asm fld f __asm fistp i // use default rouding mode (round nearest) @@ -829,14 +831,14 @@ ID_INLINE int idMath::FtoiFast( float f ) { #endif } -ID_INLINE unsigned long idMath::Ftol( float f ) { - return (unsigned long) f; +ID_INLINE unsigned int idMath::Ftol( float f ) { + return (unsigned int) f; } -ID_INLINE unsigned long idMath::FtolFast( float f ) { -#ifdef _WIN32 +ID_INLINE unsigned int idMath::FtolFast( float f ) { +#if defined(_WIN32) && !defined(_WIN64) // FIXME: this overflows on 31bits still .. same as FtoiFast - unsigned long i; + unsigned int i; __asm fld f __asm fistp i // use default rouding mode (round nearest) return i; @@ -859,10 +861,12 @@ ID_INLINE unsigned long idMath::FtolFast( float f ) { : "m" (f) ); return i; #else - return (unsigned long) f; + return (unsigned int) f; #endif } +// flibit end + ID_INLINE signed char idMath::ClampChar( int i ) { if ( i < -128 ) { return -128; diff --git a/idlib/precompiled.h b/idlib/precompiled.h index e50c6b2..1c6b974 100644 --- a/idlib/precompiled.h +++ b/idlib/precompiled.h @@ -114,8 +114,14 @@ using std::min; #ifdef _WIN32 // TODO: have main for windows match mac/linux #define SDL_MAIN_HANDLED 1 -#endif #include "../sdl2/include/SDL.h" +#else +#ifdef __APPLE__ +#include +#else +#include // Really should just be SDL.h but oh welllll -flibit +#endif +#endif // non-portable system services #include "../sys/sys_public.h" diff --git a/openal/linux/libopenal.so b/openal/linux/libopenal.so deleted file mode 100644 index 6bb5ad2..0000000 --- a/openal/linux/libopenal.so +++ /dev/null @@ -1 +0,0 @@ -link libopenal.so.1 \ No newline at end of file diff --git a/openal/linux/libopenal.so.1 b/openal/linux/libopenal.so.1 deleted file mode 100644 index 0c3b94a..0000000 --- a/openal/linux/libopenal.so.1 +++ /dev/null @@ -1 +0,0 @@ -link libopenal.so.1.16.0 \ No newline at end of file diff --git a/openal/linux/libopenal.so.1.16.0 b/openal/linux/libopenal.so.1.16.0 deleted file mode 100644 index 8a8a8fc..0000000 Binary files a/openal/linux/libopenal.so.1.16.0 and /dev/null differ diff --git a/openal/osx/OpenAL.framework/Headers b/openal/osx/OpenAL.framework/Headers deleted file mode 100644 index a177d2a..0000000 --- a/openal/osx/OpenAL.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers \ No newline at end of file diff --git a/openal/osx/OpenAL.framework/OpenAL b/openal/osx/OpenAL.framework/OpenAL deleted file mode 100644 index 7a4d340..0000000 --- a/openal/osx/OpenAL.framework/OpenAL +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/OpenAL \ No newline at end of file diff --git a/openal/osx/OpenAL.framework/Resources b/openal/osx/OpenAL.framework/Resources deleted file mode 100644 index 953ee36..0000000 --- a/openal/osx/OpenAL.framework/Resources +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Resources \ No newline at end of file diff --git a/openal/osx/OpenAL.framework/Versions/A/Headers/al.h b/openal/osx/OpenAL.framework/Versions/A/Headers/al.h deleted file mode 100644 index 8759876..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Headers/al.h +++ /dev/null @@ -1,498 +0,0 @@ -#ifndef _AL_H_ -#define _AL_H_ - -/** - * OpenAL cross platform audio library - * Copyright (C) 1999-2000 by authors. - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * Or go to http://www.gnu.org/copyleft/lgpl.html - */ - -#include "altypes.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef _WIN32 - #ifdef _LIB - #define ALAPI __declspec(dllexport) - #else - #define ALAPI __declspec(dllimport) - #endif - #define ALAPIENTRY __cdecl - #define AL_CALLBACK -#else - #ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export on - #endif - #endif - #define ALAPI - #define ALAPIENTRY - #define AL_CALLBACK -#endif - -#define OPENAL - -#ifndef AL_NO_PROTOTYPES - -/** - * OpenAL Maintenance Functions - * Initialization and exiting. - * State Management and Query. - * Error Handling. - * Extension Support. - */ - -/** State management. */ -ALAPI ALvoid ALAPIENTRY alEnable( ALenum capability ); -ALAPI ALvoid ALAPIENTRY alDisable( ALenum capability ); -ALAPI ALboolean ALAPIENTRY alIsEnabled( ALenum capability ); - -/** Application preferences for driver performance choices. */ -ALAPI ALvoid ALAPIENTRY alHint( ALenum target, ALenum mode ); - -/** State retrieval. */ -ALAPI ALboolean ALAPIENTRY alGetBoolean( ALenum param ); -ALAPI ALint ALAPIENTRY alGetInteger( ALenum param ); -ALAPI ALfloat ALAPIENTRY alGetFloat( ALenum param ); -ALAPI ALdouble ALAPIENTRY alGetDouble( ALenum param ); -ALAPI ALvoid ALAPIENTRY alGetBooleanv( ALenum param, ALboolean* data ); -ALAPI ALvoid ALAPIENTRY alGetIntegerv( ALenum param, ALint* data ); -ALAPI ALvoid ALAPIENTRY alGetFloatv( ALenum param, ALfloat* data ); -ALAPI ALvoid ALAPIENTRY alGetDoublev( ALenum param, ALdouble* data ); -ALAPI ALubyte* ALAPIENTRY alGetString( ALenum param ); - -ALAPI ALvoid ALAPIENTRY alSetInteger( ALenum pname, ALint value ); -ALAPI ALvoid ALAPIENTRY alSetDouble( ALenum pname, ALdouble value ); - -/** - * Error support. - * Obtain the most recent error generated in the AL state machine. - */ -ALAPI ALenum ALAPIENTRY alGetError(); - - -/** - * Extension support. - * Obtain the address of a function (usually an extension) - * with the name fname. All addresses are context-independent. - */ -ALAPI ALboolean ALAPIENTRY alIsExtensionPresent( ALubyte* fname ); - - -/** - * Extension support. - * Obtain the address of a function (usually an extension) - * with the name fname. All addresses are context-independent. - */ -ALAPI ALvoid* ALAPIENTRY alGetProcAddress( ALubyte* fname ); - - -/** - * Extension support. - * Obtain the integer value of an enumeration (usually an extension) with the name ename. - */ -ALAPI ALenum ALAPIENTRY alGetEnumValue( ALubyte* ename ); - - - - -/** - * LISTENER - * Listener is the sample position for a given context. - * The multi-channel (usually stereo) output stream generated - * by the mixer is parametrized by this Listener object: - * its position and velocity relative to Sources, within - * occluder and reflector geometry. - */ - - - -/** - * - * Listener Environment: default 0. - */ -ALAPI ALvoid ALAPIENTRY alListeneri( ALenum param, ALint value ); - - -/** - * - * Listener Gain: default 1.0f. - */ -ALAPI ALvoid ALAPIENTRY alListenerf( ALenum param, ALfloat value ); - - -/** - * - * Listener Position. - * Listener Velocity. - */ -ALAPI ALvoid ALAPIENTRY alListener3f( ALenum param, ALfloat v1, ALfloat v2, ALfloat v3 ); - - -/** - * - * Listener Position: ALfloat[3] - * Listener Velocity: ALfloat[3] - * Listener Orientation: ALfloat[6] (forward and up vector). - */ -ALAPI ALvoid ALAPIENTRY alListenerfv( ALenum param, ALfloat* values ); - -ALAPI ALvoid ALAPIENTRY alGetListeneri( ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY alGetListenerf( ALenum param, ALfloat* value ); -ALAPI ALvoid ALAPIENTRY alGetListener3f( ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3 ); -ALAPI ALvoid ALAPIENTRY alGetListenerfv( ALenum param, ALfloat* values ); - - -/** - * SOURCE - * Source objects are by default localized. Sources - * take the PCM data provided in the specified Buffer, - * apply Source-specific modifications, and then - * submit them to be mixed according to spatial - * arrangement etc. - */ - - - -/** Create Source objects. */ -ALAPI ALvoid ALAPIENTRY alGenSources( ALsizei n, ALuint* sources ); - -/** Delete Source objects. */ -ALAPI ALvoid ALAPIENTRY alDeleteSources( ALsizei n, ALuint* sources ); - -/** Verify a handle is a valid Source. */ -ALAPI ALboolean ALAPIENTRY alIsSource( ALuint id ); - -/** Set an integer parameter for a Source object. */ -ALAPI ALvoid ALAPIENTRY alSourcei( ALuint source, ALenum param, ALint value ); -ALAPI ALvoid ALAPIENTRY alSourcef( ALuint source, ALenum param, ALfloat value ); -ALAPI ALvoid ALAPIENTRY alSource3f( ALuint source, ALenum param, ALfloat v1, ALfloat v2, ALfloat v3 ); -ALAPI ALvoid ALAPIENTRY alSourcefv( ALuint source, ALenum param, ALfloat* values ); - -/** Get an integer parameter for a Source object. */ -ALAPI ALvoid ALAPIENTRY alGetSourcei( ALuint source, ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY alGetSourcef( ALuint source, ALenum param, ALfloat* value ); -ALAPI ALvoid ALAPIENTRY alGetSource3f( ALuint source, ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3 ); -ALAPI ALvoid ALAPIENTRY alGetSourcefv( ALuint source, ALenum param, ALfloat* values ); - -ALAPI ALvoid ALAPIENTRY alSourcePlayv( ALsizei n, ALuint *sources ); -ALAPI ALvoid ALAPIENTRY alSourcePausev( ALsizei n, ALuint *sources ); -ALAPI ALvoid ALAPIENTRY alSourceStopv( ALsizei n, ALuint *sources ); -ALAPI ALvoid ALAPIENTRY alSourceRewindv(ALsizei n,ALuint *sources); - -/** Activate a source, start replay. */ -ALAPI ALvoid ALAPIENTRY alSourcePlay( ALuint source ); - -/** - * Pause a source, - * temporarily remove it from the mixer list. - */ -ALAPI ALvoid ALAPIENTRY alSourcePause( ALuint source ); - -/** - * Stop a source, - * temporarily remove it from the mixer list, - * and reset its internal state to pre-Play. - * To remove a Source completely, it has to be - * deleted following Stop, or before Play. - */ -ALAPI ALvoid ALAPIENTRY alSourceStop( ALuint source ); - -/** - * Rewinds a source, - * temporarily remove it from the mixer list, - * and reset its internal state to pre-Play. - */ -ALAPI ALvoid ALAPIENTRY alSourceRewind( ALuint source ); - - - -/** - * BUFFER - * Buffer objects are storage space for sample data. - * Buffers are referred to by Sources. There can be more than - * one Source using the same Buffer data. If Buffers have - * to be duplicated on a per-Source basis, the driver has to - * take care of allocation, copying, and deallocation as well - * as propagating buffer data changes. - */ - - - - -/** Buffer object generation. */ -ALAPI ALvoid ALAPIENTRY alGenBuffers( ALsizei n, ALuint* buffers ); -ALAPI ALvoid ALAPIENTRY alDeleteBuffers( ALsizei n, ALuint* buffers ); -ALAPI ALboolean ALAPIENTRY alIsBuffer( ALuint buffer ); - -/** - * Specify the data to be filled into a buffer. - */ -ALAPI ALvoid ALAPIENTRY alBufferData( ALuint buffer, - ALenum format, - ALvoid* data, - ALsizei size, - ALsizei freq ); - - -ALAPI ALvoid ALAPIENTRY alGetBufferi( ALuint buffer, ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY alGetBufferf( ALuint buffer, ALenum param, ALfloat* value ); - - - - -/** - * Queue stuff - */ - -ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers( ALuint source, ALsizei n, ALuint* buffers ); -ALAPI ALvoid ALAPIENTRY alSourceUnqueueBuffers( ALuint source, ALsizei n, ALuint* buffers ); - -/** - * Knobs and dials - */ -ALAPI ALvoid ALAPIENTRY alDistanceModel( ALenum value ); -ALAPI ALvoid ALAPIENTRY alDopplerFactor( ALfloat value ); -ALAPI ALvoid ALAPIENTRY alDopplerVelocity( ALfloat value ); - -#else /* AL_NO_PROTOTYPES */ - -/** - * OpenAL Maintenance Functions - * Initialization and exiting. - * State Management and Query. - * Error Handling. - * Extension Support. - */ - -/** State management. */ -ALAPI ALvoid ALAPIENTRY (*alEnable)( ALenum capability ); -ALAPI ALvoid ALAPIENTRY (*alDisable)( ALenum capability ); -ALAPI ALboolean ALAPIENTRY (*alIsEnabled)( ALenum capability ); - -/** Application preferences for driver performance choices. */ -ALAPI ALvoid ALAPIENTRY (*alHint)( ALenum target, ALenum mode ); - -/** State retrieval. */ -ALAPI ALboolean ALAPIENTRY (*alGetBoolean)( ALenum param ); -ALAPI ALint ALAPIENTRY (*alGetInteger)( ALenum param ); -ALAPI ALfloat ALAPIENTRY (*alGetFloat)( ALenum param ); -ALAPI ALdouble ALAPIENTRY (*alGetDouble)( ALenum param ); -ALAPI ALvoid ALAPIENTRY (*alGetBooleanv)( ALenum param, ALboolean* data ); -ALAPI ALvoid ALAPIENTRY (*alGetIntegerv)( ALenum param, ALint* data ); -ALAPI ALvoid ALAPIENTRY (*alGetFloatv)( ALenum param, ALfloat* data ); -ALAPI ALvoid ALAPIENTRY (*alGetDoublev)( ALenum param, ALdouble* data ); -ALAPI ALubyte* ALAPIENTRY (*alGetString)( ALenum param ); - -ALAPI ALvoid ALAPIENTRY (*alSetInteger)( ALenum pname, ALint value ); -ALAPI ALvoid ALAPIENTRY (*alSetDouble)( ALenum pname, ALdouble value ); - -/** - * Error support. - * Obtain the most recent error generated in the AL state machine. - */ -ALAPI ALenum ALAPIENTRY (*alGetError)( ALvoid ); - - -/** - * Extension support. - * Obtain the address of a function (usually an extension) - * with the name fname. All addresses are context-independent. - */ -ALAPI ALboolean ALAPIENTRY (*alIsExtensionPresent)( ALubyte* fname ); - - -/** - * Extension support. - * Obtain the address of a function (usually an extension) - * with the name fname. All addresses are context-independent. - */ -ALAPI ALvoid* ALAPIENTRY (*alGetProcAddress)( ALubyte* fname ); - - -/** - * Extension support. - * Obtain the integer value of an enumeration (usually an extension) with the name ename. - */ -ALAPI ALenum ALAPIENTRY (*alGetEnumValue)( ALubyte* ename ); - - - - -/** - * LISTENER - * Listener is the sample position for a given context. - * The multi-channel (usually stereo) output stream generated - * by the mixer is parametrized by this Listener object: - * its position and velocity relative to Sources, within - * occluder and reflector geometry. - */ - - - -/** - * - * Listener Environment: default 0. - */ -ALAPI ALvoid ALAPIENTRY (*alListeneri)( ALenum param, ALint value ); - - -/** - * - * Listener Gain: default 1.0f. - */ -ALAPI ALvoid ALAPIENTRY (*alListenerf)( ALenum param, ALfloat value ); - - -/** - * - * Listener Position. - * Listener Velocity. - */ -ALAPI ALvoid ALAPIENTRY (*alListener3f)( ALenum param, ALfloat v1, ALfloat v2, ALfloat v3 ); - - -/** - * - * Listener Position: ALfloat[3] - * Listener Velocity: ALfloat[3] - * Listener Orientation: ALfloat[6] (forward and up vector). - */ -ALAPI ALvoid ALAPIENTRY (*alListenerfv)( ALenum param, ALfloat* values ); - -ALAPI ALvoid ALAPIENTRY (*alGetListeneri)( ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY (*alGetListenerf)( ALenum param, ALfloat* value ); -ALAPI ALvoid ALAPIENTRY (*alGetListener3f)( ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3 ); -ALAPI ALvoid ALAPIENTRY (*alGetListenerfv)( ALenum param, ALfloat* values ); - - -/** - * SOURCE - * Source objects are by default localized. Sources - * take the PCM data provided in the specified Buffer, - * apply Source-specific modifications, and then - * submit them to be mixed according to spatial - * arrangement etc. - */ - - - -/** Create Source objects. */ -ALAPI ALvoid ALAPIENTRY (*alGenSources)( ALsizei n, ALuint* sources ); - -/** Delete Source objects. */ -ALAPI ALvoid ALAPIENTRY (*alDeleteSources)( ALsizei n, ALuint* sources ); - -/** Verify a handle is a valid Source. */ -ALAPI ALboolean ALAPIENTRY (*alIsSource)( ALuint id ); - -/** Set an integer parameter for a Source object. */ -ALAPI ALvoid ALAPIENTRY (*alSourcei)( ALuint source, ALenum param, ALint value ); -ALAPI ALvoid ALAPIENTRY (*alSourcef)( ALuint source, ALenum param, ALfloat value ); -ALAPI ALvoid ALAPIENTRY (*alSource3f)( ALuint source, ALenum param, ALfloat v1, ALfloat v2, ALfloat v3 ); -ALAPI ALvoid ALAPIENTRY (*alSourcefv)( ALuint source, ALenum param, ALfloat* values ); - -/** Get an integer parameter for a Source object. */ -ALAPI ALvoid ALAPIENTRY (*alGetSourcei)( ALuint source, ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY (*alGetSourcef)( ALuint source, ALenum param, ALfloat* value ); -ALAPI ALvoid ALAPIENTRY (*alGetSourcefv)( ALuint source, ALenum param, ALfloat* values ); - -ALAPI ALvoid ALAPIENTRY (*alSourcePlayv)( ALsizei n, ALuint *sources ); -ALAPI ALvoid ALAPIENTRY (*alSourceStopv)( ALsizei n, ALuint *sources ); - -/** Activate a source, start replay. */ -ALAPI ALvoid ALAPIENTRY (*alSourcePlay)( ALuint source ); - -/** - * Pause a source, - * temporarily remove it from the mixer list. - */ -ALAPI ALvoid ALAPIENTRY (*alSourcePause)( ALuint source ); - -/** - * Stop a source, - * temporarily remove it from the mixer list, - * and reset its internal state to pre-Play. - * To remove a Source completely, it has to be - * deleted following Stop, or before Play. - */ -ALAPI ALvoid ALAPIENTRY (*alSourceStop)( ALuint source ); - - - -/** - * BUFFER - * Buffer objects are storage space for sample data. - * Buffers are referred to by Sources. There can be more than - * one Source using the same Buffer data. If Buffers have - * to be duplicated on a per-Source basis, the driver has to - * take care of allocation, copying, and deallocation as well - * as propagating buffer data changes. - */ - - - - -/** Buffer object generation. */ -ALAPI ALvoid ALAPIENTRY (*alGenBuffers)( ALsizei n, ALuint* buffers ); -ALAPI ALvoid ALAPIENTRY (*alDeleteBuffers)( ALsizei n, ALuint* buffers ); -ALAPI ALboolean ALAPIENTRY (*alIsBuffer)( ALuint buffer ); - -/** - * Specify the data to be filled into a buffer. - */ -ALAPI ALvoid ALAPIENTRY (*alBufferData)( ALuint buffer, - ALenum format, - ALvoid* data, - ALsizei size, - ALsizei freq ); - -ALAPI ALvoid ALAPIENTRY (*alGetBufferi)( ALuint buffer, ALenum param, ALint* value ); -ALAPI ALvoid ALAPIENTRY (*alGetBufferf)( ALuint buffer, ALenum param, ALfloat* value ); - - - - -/** - * Queue stuff - */ -ALAPI ALvoid ALAPIENTRY (*alSourceQueueBuffers)( ALuint source, ALsizei n, ALuint* buffers ); -ALAPI ALvoid ALAPIENTRY (*alSourceUnqueueBuffers)( ALuint source, ALsizei n, ALuint* buffers ); - -/** - * Knobs and dials - */ -ALAPI ALvoid ALAPIENTRY (*alDistanceModel)( ALenum value ); -ALAPI ALvoid ALAPIENTRY (*alDopplerFactor)( ALfloat value ); -ALAPI ALvoid ALAPIENTRY (*alDopplerVelocity)( ALfloat value ); - - -#endif /* AL_NO_PROTOTYPES */ - -#ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export off - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/openal/osx/OpenAL.framework/Versions/A/Headers/alc.h b/openal/osx/OpenAL.framework/Versions/A/Headers/alc.h deleted file mode 100644 index 641e2fd..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Headers/alc.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifndef _ALC_H_ -#define _ALC_H_ - -#include "altypes.h" -#include "alctypes.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef _WIN32 - #ifdef _LIB - #define ALCAPI __declspec(dllexport) - #else - #define ALCAPI __declspec(dllimport) - typedef ALCvoid ALCdevice; - typedef ALCvoid ALCcontext; - #endif - #define ALCAPIENTRY __cdecl -#else - #ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export on - #endif - #endif - #define ALCAPI - #define ALCAPIENTRY - typedef ALCvoid ALCdevice; - typedef ALCvoid ALCcontext; -#endif - -#ifndef ALC_NO_PROTOTYPES - -ALCAPI ALCubyte* ALCAPIENTRY alcGetString(ALCdevice *device,ALCenum param); -ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALCsizei size,ALCint *data); - -ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(ALCubyte *deviceName); -ALCAPI ALCvoid ALCAPIENTRY alcCloseDevice(ALCdevice *device); - -ALCAPI ALCcontext*ALCAPIENTRY alcCreateContext(ALCdevice *device,ALCint *attrList); -ALCAPI ALCboolean ALCAPIENTRY alcMakeContextCurrent(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY alcProcessContext(ALCcontext *context); -ALCAPI ALCcontext*ALCAPIENTRY alcGetCurrentContext(); -ALCAPI ALCdevice* ALCAPIENTRY alcGetContextsDevice(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY alcSuspendContext(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context); - -ALCAPI ALCenum ALCAPIENTRY alcGetError(ALCdevice *device); - -ALCAPI ALCboolean ALCAPIENTRY alcIsExtensionPresent(ALCdevice *device,ALCubyte *extName); -ALCAPI ALCvoid * ALCAPIENTRY alcGetProcAddress(ALCdevice *device,ALCubyte *funcName); -ALCAPI ALCenum ALCAPIENTRY alcGetEnumValue(ALCdevice *device,ALCubyte *enumName); - -#else /* AL_NO_PROTOTYPES */ - -ALCAPI ALCubyte* ALCAPIENTRY (*alcGetString)(ALCdevice *device,ALCenum param); -ALCAPI ALCvoid ALCAPIENTRY (*alcGetIntegerv)(ALCdevice * device,ALCenum param,ALCsizei size,ALCint *data); - -ALCAPI ALCdevice* ALCAPIENTRY (*alcOpenDevice)(ALubyte *deviceName); -ALCAPI ALCvoid ALCAPIENTRY (*alcCloseDevice)(ALCdevice *device); - -ALCAPI ALCcontext*ALCAPIENTRY (*alcCreateContext)(ALCdevice *device,ALCint *attrList); -ALCAPI ALCboolean ALCAPIENTRY (*alcMakeContextCurrent)(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY (*alcProcessContext)(ALCcontext *context); -ALCAPI ALCcontext*ALCAPIENTRY (*alcGetCurrentContext)(ALCvoid); -ALCAPI ALCdevice* ALCAPIENTRY (*alcGetContextsDevice)(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY (*alcSuspendContext)(ALCcontext *context); -ALCAPI ALCvoid ALCAPIENTRY (*alcDestroyContext)(ALCcontext *context); - -ALCAPI ALCenum ALCAPIENTRY (*alcGetError)(ALCdevice *device); - -ALCAPI ALCboolean ALCAPIENTRY (*alcIsExtensionPresent)(ALCdevice *device,ALCubyte *extName); -ALCAPI ALCvoid * ALCAPIENTRY (*alcGetProcAddress)(ALCdevice *device,ALCubyte *funcName); -ALCAPI ALCenum ALCAPIENTRY (*alcGetEnumValue)(ALCdevice *device,ALCubyte *enumName); - -#endif /* AL_NO_PROTOTYPES */ - -#ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export off - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/openal/osx/OpenAL.framework/Versions/A/Headers/alctypes.h b/openal/osx/OpenAL.framework/Versions/A/Headers/alctypes.h deleted file mode 100644 index 9036460..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Headers/alctypes.h +++ /dev/null @@ -1,165 +0,0 @@ -#ifndef _ALCTYPES_H_ -#define _ALCTYPES_H_ - -/** - * OpenAL cross platform audio library - * Copyright (C) 1999-2000 by authors. - * Portions Copyright (C) 2004 by Apple Computer Inc. - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * Or go to http://www.gnu.org/copyleft/lgpl.html - */ - - -#ifdef __cplusplus -extern "C" { -#endif - -/** ALC boolean type. */ -typedef char ALCboolean; - -/** ALC 8bit signed byte. */ -typedef char ALCbyte; - -/** ALC 8bit unsigned byte. */ -typedef unsigned char ALCubyte; - -/** ALC 16bit signed short integer type. */ -typedef short ALCshort; - -/** ALC 16bit unsigned short integer type. */ -typedef unsigned short ALCushort; - -/** ALC 32bit unsigned integer type. */ -typedef unsigned ALCuint; - -/** ALC 32bit signed integer type. */ -typedef int ALCint; - -/** ALC 32bit floating point type. */ -typedef float ALCfloat; - -/** ALC 64bit double point type. */ -typedef double ALCdouble; - -/** ALC 32bit type. */ -typedef unsigned int ALCsizei; - -/** ALC void type */ -typedef void ALCvoid; - -/** ALC enumerations. */ -typedef int ALCenum; - -/* Bad value. */ -#define ALC_INVALID (-1) - -/* Boolean False. */ -#define ALC_FALSE 0 - -/* Boolean True. */ -#define ALC_TRUE 1 - -/** Errors: No Error. */ -#define ALC_NO_ERROR ALC_FALSE - -#define ALC_MAJOR_VERSION 0x1000 -#define ALC_MINOR_VERSION 0x1001 -#define ALC_ATTRIBUTES_SIZE 0x1002 -#define ALC_ALL_ATTRIBUTES 0x1003 - -#define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004 -#define ALC_DEVICE_SPECIFIER 0x1005 -#define ALC_EXTENSIONS 0x1006 - -#define ALC_FREQUENCY 0x1007 -#define ALC_REFRESH 0x1008 -#define ALC_SYNC 0x1009 - -/** - * The device argument does not name a valid dvice. - */ -#define ALC_INVALID_DEVICE 0xA001 - -/** - * The context argument does not name a valid context. - */ -#define ALC_INVALID_CONTEXT 0xA002 - -/** - * A function was called at inappropriate time, - * or in an inappropriate way, causing an illegal state. - * This can be an incompatible ALenum, object ID, - * and/or function. - */ -#define ALC_INVALID_ENUM 0xA003 - -/** - * Illegal value passed as an argument to an AL call. - * Applies to parameter values, but not to enumerations. - */ -#define ALC_INVALID_VALUE 0xA004 - -/** - * A function could not be completed, - * because there is not enough memory available. - */ -#define ALC_OUT_OF_MEMORY 0xA005 - - -//********************************************************************************* -// OSX Specific Properties -//********************************************************************************* - -/** - * Convert Data When Loading. Default false, currently applies only to monophonic sounds - */ -#define ALC_CONVERT_DATA_UPON_LOADING 0xF001 - -/** - * Render Quality. - */ -#define ALC_SPATIAL_RENDERING_QUALITY 0xF002 - #define ALC_SPATIAL_RENDERING_QUALITY_HIGH 'rqhi' - #define ALC_SPATIAL_RENDERING_QUALITY_LOW 'rdlo' - -/** - * Mixer Output Rate. - */ -#define ALC_MIXER_OUTPUT_RATE 0xF003 - -/** - * Maximum Mixer Busses. - * Set this before opening a new OAL device to indicate how many busses on the mixer - * are desired. Get returns either the current devices bus count value, or the value - * that will be used to open a device - */ -#define ALC_MIXER_MAXIMUM_BUSSES 0xF004 - -/** - * Render Channels. - * Allows a user to force OpenAL to render to stereo, regardless of the audio hardware being used - */ -#define ALC_RENDER_CHANNEL_COUNT 0xF005 - #define ALC_RENDER_CHANNEL_COUNT_STEREO 'rcst' - #define ALC_RENDER_CHANNEL_COUNT_MULTICHANNEL 'rcmc' - - -#ifdef __cplusplus -} -#endif - -#endif - diff --git a/openal/osx/OpenAL.framework/Versions/A/Headers/altypes.h b/openal/osx/OpenAL.framework/Versions/A/Headers/altypes.h deleted file mode 100644 index 6e96d33..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Headers/altypes.h +++ /dev/null @@ -1,326 +0,0 @@ -#ifndef _ALTYPES_H_ -#define _ALTYPES_H_ - -/** - * OpenAL cross platform audio library - * Copyright (C) 1999-2000 by authors. - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * Or go to http://www.gnu.org/copyleft/lgpl.html - */ - - -#ifdef __cplusplus -extern "C" { -#endif - -/** OpenAL boolean type. */ -typedef char ALboolean; - -/** OpenAL 8bit signed byte. */ -typedef char ALbyte; - -/** OpenAL 8bit unsigned byte. */ -typedef unsigned char ALubyte; - -/** OpenAL 16bit signed short integer type. */ -typedef short ALshort; - -/** OpenAL 16bit unsigned short integer type. */ -typedef unsigned short ALushort; - -/** OpenAL 32bit unsigned integer type. */ -typedef unsigned ALuint; - -/** OpenAL 32bit signed integer type. */ -typedef int ALint; - -/** OpenAL 32bit floating point type. */ -typedef float ALfloat; - -/** OpenAL 64bit double point type. */ -typedef double ALdouble; - -/** OpenAL 32bit type. */ -typedef unsigned int ALsizei; - -/** OpenAL void type */ -typedef void ALvoid; - -/** OpenAL enumerations. */ -typedef int ALenum; - -/* Bad value. */ -#define AL_INVALID (-1) - -/* Disable value. */ -#define AL_NONE 0 - -/* Boolean False. */ -#define AL_FALSE 0 - -/* Boolean True. */ -#define AL_TRUE 1 - -/** - * Indicate the type of AL_SOURCE. - * Sources can be spatialized - */ -#define AL_SOURCE_TYPE 0x200 - -/** Indicate source has absolute coordinates. */ -#define AL_SOURCE_ABSOLUTE 0x201 - -/** Indicate Source has listener relative coordinates. */ -#define AL_SOURCE_RELATIVE 0x202 - -/** - * Directional source, inner cone angle, in degrees. - * Range: [0-360] - * Default: 360 - */ -#define AL_CONE_INNER_ANGLE 0x1001 - -/** - * Directional source, outer cone angle, in degrees. - * Range: [0-360] - * Default: 360 - */ -#define AL_CONE_OUTER_ANGLE 0x1002 - -/** - * Specify the pitch to be applied, either at source, - * or on mixer results, at listener. - * Range: [0.5-2.0] - * Default: 1.0 - */ -#define AL_PITCH 0x1003 - -/** - * Specify the current location in three dimensional space. - * OpenAL, like OpenGL, uses a right handed coordinate system, - * where in a frontal default view X (thumb) points right, - * Y points up (index finger), and Z points towards the - * viewer/camera (middle finger). - * To switch from a left handed coordinate system, flip the - * sign on the Z coordinate. - * Listener position is always in the world coordinate system. - */ -#define AL_POSITION 0x1004 - -/** Specify the current direction as forward vector. */ -#define AL_DIRECTION 0x1005 - -/** Specify the current velocity in three dimensional space. */ -#define AL_VELOCITY 0x1006 - -/** - * Indicate whether source has to loop infinite. - * Type: ALboolean - * Range: [AL_TRUE, AL_FALSE] - * Default: AL_FALSE - */ -#define AL_LOOPING 0x1007 - -/** - * Indicate the buffer to provide sound samples. - * Type: ALuint. - * Range: any valid Buffer id. - */ -#define AL_BUFFER 0x1009 - -/** - * Indicate the gain (volume amplification) applied. - * Type: ALfloat. - * Range: ]0.0- ] - * A value of 1.0 means un-attenuated/unchanged. - * Each division by 2 equals an attenuation of -6dB. - * Each multiplicaton with 2 equals an amplification of +6dB. - * A value of 0.0 is meaningless with respect to a logarithmic - * scale; it is interpreted as zero volume - the channel - * is effectively disabled. - */ -#define AL_GAIN 0x100A - -/** - * Indicate minimum source attenuation. - * Type: ALfloat - * Range: [0.0 - 1.0] - */ -#define AL_MIN_GAIN 0x100D - -/** - * Indicate maximum source attenuation. - * Type: ALfloat - * Range: [0.0 - 1.0] - */ -#define AL_MAX_GAIN 0x100E - -/** - * Specify the current orientation. - * Type: ALfv6 (at/up) - * Range: N/A - */ -#define AL_ORIENTATION 0x100F - -/* byte offset into source (in canon format). -1 if source - * is not playing. Don't set this, get this. - * - * Type: ALfloat - * Range: [0.0 - ] - * Default: 1.0 - */ -#define AL_REFERENCE_DISTANCE 0x1020 - - /** - * Indicate the rolloff factor for the source. - * Type: ALfloat - * Range: [0.0 - ] - * Default: 1.0 - */ -#define AL_ROLLOFF_FACTOR 0x1021 - -/** - * Indicate the gain (volume amplification) applied. - * Type: ALfloat. - * Range: ]0.0- ] - * A value of 1.0 means un-attenuated/unchanged. - * Each division by 2 equals an attenuation of -6dB. - * Each multiplicaton with 2 equals an amplification of +6dB. - * A value of 0.0 is meaningless with respect to a logarithmic - * scale; it is interpreted as zero volume - the channel - * is effectively disabled. - */ -#define AL_CONE_OUTER_GAIN 0x1022 - -/** - * Specify the maximum distance. - * Type: ALfloat - * Range: [0.0 - ] - */ -#define AL_MAX_DISTANCE 0x1023 - -/** - * Source state information - */ -#define AL_SOURCE_STATE 0x1010 -#define AL_INITIAL 0x1011 -#define AL_PLAYING 0x1012 -#define AL_PAUSED 0x1013 -#define AL_STOPPED 0x1014 - -/** - * Buffer Queue params - */ -#define AL_BUFFERS_QUEUED 0x1015 -#define AL_BUFFERS_PROCESSED 0x1016 - -/** Sound buffers: format specifier. */ -#define AL_FORMAT_MONO8 0x1100 -#define AL_FORMAT_MONO16 0x1101 -#define AL_FORMAT_STEREO8 0x1102 -#define AL_FORMAT_STEREO16 0x1103 - -/** - * Sound buffers: frequency, in units of Hertz [Hz]. - * This is the number of samples per second. Half of the - * sample frequency marks the maximum significant - * frequency component. - */ -#define AL_FREQUENCY 0x2001 -#define AL_BITS 0x2002 -#define AL_CHANNELS 0x2003 -#define AL_SIZE 0x2004 -#define AL_DATA 0x2005 - -/** - * Buffer state. - * - * Not supported for public use (yet). - */ -#define AL_UNUSED 0x2010 -#define AL_PENDING 0x2011 -#define AL_PROCESSED 0x2012 - -/** Errors: No Error. */ -#define AL_NO_ERROR AL_FALSE - -/** - * Illegal name passed as an argument to an AL call. - */ -#define AL_INVALID_NAME 0xA001 - -/** - * Illegal enum passed as an argument to an AL call. - */ -#define AL_INVALID_ENUM 0xA002 -/** - * Illegal value passed as an argument to an AL call. - * Applies to parameter values, but not to enumerations. - */ -#define AL_INVALID_VALUE 0xA003 - -/** - * A function was called at inappropriate time, - * or in an inappropriate way, causing an illegal state. - * This can be an incompatible ALenum, object ID, - * and/or function. - */ -#define AL_INVALID_OPERATION 0xA004 - -/** - * A function could not be completed, - * because there is not enough memory available. - */ -#define AL_OUT_OF_MEMORY 0xA005 - -/** Context strings: Vendor Name. */ -#define AL_VENDOR 0xB001 -#define AL_VERSION 0xB002 -#define AL_RENDERER 0xB003 -#define AL_EXTENSIONS 0xB004 - -/** Global tweakage. */ - -/** - * Doppler scale. Default 1.0 - */ -#define AL_DOPPLER_FACTOR 0xC000 - -/** - * Doppler velocity. Default 1.0 - */ -#define AL_DOPPLER_VELOCITY 0xC001 - -/** - * Distance model. Default AL_INVERSE_DISTANCE_CLAMPED - */ -#define AL_DISTANCE_MODEL 0xD000 - -/** Distance models. */ - -#define AL_INVERSE_DISTANCE 0xD001 -#define AL_INVERSE_DISTANCE_CLAMPED 0xD002 - - /** - * enables - */ - -#ifdef __cplusplus -} -#endif - -#endif - diff --git a/openal/osx/OpenAL.framework/Versions/A/Headers/alut.h b/openal/osx/OpenAL.framework/Versions/A/Headers/alut.h deleted file mode 100644 index 0b1baea..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Headers/alut.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * OpenAL cross platform audio library - * Copyright (C) 1999-2000 by authors. - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * Or go to http://www.gnu.org/copyleft/lgpl.html - */ - -#ifndef _ALUT_H_ -#define _ALUT_H_ - -#define ALUTAPI -#define ALUTAPIENTRY - -#include "al.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export on - #endif -#endif - -ALUTAPI ALvoid ALUTAPIENTRY alutInit(ALint *argc,ALbyte **argv); -ALUTAPI ALvoid ALUTAPIENTRY alutExit(ALvoid); -ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVFile(ALbyte *file,ALenum *format,ALvoid **data,ALsizei *size,ALsizei *freq); -ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVMemory(ALbyte *memory,ALenum *format,ALvoid **data,ALsizei *size,ALsizei *freq); -ALUTAPI ALvoid ALUTAPIENTRY alutUnloadWAV(ALenum format,ALvoid *data,ALsizei size,ALsizei freq); - -#ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export off - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/openal/osx/OpenAL.framework/Versions/A/OpenAL b/openal/osx/OpenAL.framework/Versions/A/OpenAL deleted file mode 100644 index b03b04f..0000000 Binary files a/openal/osx/OpenAL.framework/Versions/A/OpenAL and /dev/null differ diff --git a/openal/osx/OpenAL.framework/Versions/A/Resources/English.lproj/InfoPlist.strings b/openal/osx/OpenAL.framework/Versions/A/Resources/English.lproj/InfoPlist.strings deleted file mode 100644 index fa85802..0000000 Binary files a/openal/osx/OpenAL.framework/Versions/A/Resources/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/openal/osx/OpenAL.framework/Versions/A/Resources/Info.plist b/openal/osx/OpenAL.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index a811c8b..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - OpenAL - CFBundleGetInfoString - OpenAL - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - OpenAL - CFBundlePackageType - FMWK - CFBundleShortVersionString - OpenAL - CFBundleSignature - ???? - CFBundleVersion - 1.0.1d1 - CSResourcesFileMapped - - - diff --git a/openal/osx/OpenAL.framework/Versions/A/Resources/READ_ME b/openal/osx/OpenAL.framework/Versions/A/Resources/READ_ME deleted file mode 100644 index 378b781..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Resources/READ_ME +++ /dev/null @@ -1,86 +0,0 @@ - -February 13th, 2004 - Apple Computer Inc. -updated: March 15th, 2004 - Apple Computer Inc. - ----------------------------------------------------------------------------------------------------------------------- -READ ME: OPEN AL - OSX IMPLEMENTATION USING THE 3DMIXER AUDIOUNIT ----------------------------------------------------------------------------------------------------------------------- - -This Read Me should accompany the 3DMixer implementation of OpenAL (Open Audio Library). - -CoreAUdio SDK Requirements ------------------------ -Building this implementation of OpenAL for Mac OSX requires the latest CoreAudio SDK (version 1.3.1), due to it use -of new CoreAudio Public Utility classes. - -CoreAudio Version requirements ------------------------ -There are Recommended and Minimum CoreAudio framework and component pieces for running this implementation -of OpenAL for Mac OSX: - - Recommended: - ------------ - OSX: version 10.2.6 AND - QuickTime: version 6.5.1 - AudioToolbox.framework (version 1.3.2) - AudioUnit.framework (version 1.3.2) - CoreAudio.component (version 1.3.2 - this version contains the 2.0 version of the 3DMixer AudioUnit) - - Minimum: - ------------ - OSX: version 10.2 (Jaguar) AND - QuickTime: version 6.4 - AudioToolbox.framework (version 1.2xxxxx) - AudioUnit.framework (version 1.2xxxxx) - CoreAudio.component (version 1.2xxxxxx - this version contains the 1.3 version of the 3DMixer AudioUnit) - ----------------------------------------------------------------------------------------------------------------------- -OpenAL Extensions: ----------------------------------------------------------------------------------------------------------------------- - -This implementation has the following OpenAL extensions. These constants can be found in the included "alctypes.h" header. - -***** ALC_CONVERT_DATA_UPON_LOADING -This extension allows the caller to tell OpenAL to preconvert to the native CoreAudio format, the audio data passed to the -library with the alBufferData() call. Preconverting the audio data, reduces CPU usage by removing an audio data conversion -(per source) at render timem at the expense of a larger memory footprint. - -This feature is toggled on/off by using the alDisable() & alEnable() APIs. This setting will be applied to all subsequent -calls to alBufferData(). - -***** ALC_SPATIAL_RENDERING_QUALITY -This extension allows the application to specify the quality of spatial rendering to better suit the resources of the CPU. -At this time, the quality settings are only applied when rendering to stereo hw. All multichannel rendering uses the same -spatilaization setting on the 3DMixer. Use the alSetInteger() & alGetInteger() APIs to specify and retrieve this setting. -This implmentation provides 2 setting constants: ALC_SPATIAL_RENDERING_QUALITY_HIGH (HRTF) - ALC_SPATIAL_RENDERING_QUALITY_LOW (EqualPowerPanning) - -note: This implementation applies the setting to all the OAL Sources of an OAL Context. However, spatial settings can be applied to -each input bus of the 3DMixer, so it is possible to have this setting on a per OAL Source basis, allowing the developer to give -quality priorities to the various sounds used in an application. - -note: Currently, all stereo sounds are 'passed thru' with no spatial rendering applied. This has the best output quality for rendering -what are typically background sound tracks. However, the 3DMixer has the ability to render a stereo source to a spatial coordinate -if this was desired and support to do so would be trivial. - -***** ALC_MIXER_OUTPUT_RATE -This extension allows the developer to let the AudioGraph be efficient about sample rate conversion. If for example, all sounds -being played have a sample rate of 44k, but the output hardware is set to 48k, then it is best for the 3DMixer to leave the -the audio data (Mixer Outputut Rate) at 44k, letting the output AU rate convert the streams after they have been mixed. By default, -this is set to 44k which is very common sample rate for sound hw. - -***** ALC_MIXER_MAXIMUM_BUSSES -This extension allows the developer to optimize the 3DMixer by setting it available input bus count. This allows the 3DMixer to be as -efficient as possible in resource allocations. By default, the 3DMixer currently defaults to 64 busses (note: the 1.3 version of the -3DMixer does not respect this setting, so always confirm the bus count with a get call, after setting the bus count and creating a new device). -Use: set the bus count before making a call to alOpenDevice(). This will cause the library to set the mixer to you desired bus count. -as it creates the AUGraph. Use the alSetInteger() & alGetInteger() APIs to specify and retrieve this setting. - -***** ALC_RENDER_CHANNEL_COUNT -Because the audio system has no way to know if a user has actually connected a speaker to an output of the audio hardware, it may be desired -to allow the user to clamp all rendering to stereo. Use the alSetInteger() & alGetInteger() APIs to specify and retrieve this setting. -This implmentation provides 2 setting constants: ALC_RENDER_CHANNEL_COUNT_STEREO (clamp the 3DMixer output rendering to stereo, regardless of the hw capabilities) - ALC_RENDER_CHANNEL_COUNT_MULTICHANNEL (try and render to the maximum speakers possible by interrogating the device) - ----------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------- diff --git a/openal/osx/OpenAL.framework/Versions/A/Resources/pbdevelopment.plist b/openal/osx/OpenAL.framework/Versions/A/Resources/pbdevelopment.plist deleted file mode 100644 index 151e2d6..0000000 --- a/openal/osx/OpenAL.framework/Versions/A/Resources/pbdevelopment.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PBXProjectSourcePath - /Users/mmarks/Development/OpenAL/openal/macosx/al_osx.xcode - - diff --git a/openal/osx/OpenAL.framework/Versions/Current b/openal/osx/OpenAL.framework/Versions/Current deleted file mode 100644 index 8c7e5a6..0000000 --- a/openal/osx/OpenAL.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A \ No newline at end of file diff --git a/renderer/Cinematic.cpp b/renderer/Cinematic.cpp index b340d49..fd85f5b 100644 --- a/renderer/Cinematic.cpp +++ b/renderer/Cinematic.cpp @@ -54,31 +54,36 @@ public: virtual void ResetTime(int time); private: - unsigned int mcomp[256]; + // RB: 64 bit fixes, changed int to size_t + size_t mcomp[256]; + // RB end byte ** qStatus[2]; idStr fileName; int CIN_WIDTH, CIN_HEIGHT; idFile * iFile; cinStatus_t status; - long tfps; - long RoQPlayed; - long ROQSize; + // RB: 64 bit fixes, changed long to int + int tfps; + + int RoQPlayed; + int ROQSize; unsigned int RoQFrameSize; - long onQuad; - long numQuads; - long samplesPerLine; + int onQuad; + int numQuads; + int samplesPerLine; unsigned int roq_id; - long screenDelta; + int screenDelta; byte * buf; - long samplesPerPixel; // defaults to 2 + int samplesPerPixel; // defaults to 2 unsigned int xsize, ysize, maxsize, minsize; - long normalBuffer0; - long roq_flags; - long roqF0; - long roqF1; - long t[2]; - long roqFPS; - long drawX, drawY; + int normalBuffer0; + int roq_flags; + int roqF0; + int roqF1; + int t[2]; + int roqFPS; + int drawX, drawY; + // RB end int animationLength; int startTime; @@ -103,15 +108,17 @@ private: void blit4_32( byte *src, byte *dst, int spl ); void blit2_32( byte *src, byte *dst, int spl ); - unsigned short yuv_to_rgb( long y, long u, long v ); - unsigned int yuv_to_rgb24( long y, long u, long v ); + // RB: 64 bit fixes, changed long to int + unsigned short yuv_to_rgb( int y, int u, int v ); + unsigned int yuv_to_rgb24( int y, int u, int v ); void decodeCodeBook( byte *input, unsigned short roq_flags ); - void recurseQuad( long startX, long startY, long quadSize, long xOff, long yOff ); - void setupQuad( long xOff, long yOff ); + void recurseQuad( int startX, int startY, int quadSize, int xOff, int yOff ); + void setupQuad( int xOff, int yOff ); void readQuadInfo( byte *qData ); - void RoQPrepMcomp( long xoff, long yoff ); + void RoQPrepMcomp( int xoff, int yoff ); void RoQReset(); + // RB end }; const int DEFAULT_CIN_WIDTH = 512; @@ -131,11 +138,13 @@ const int ZA_SOUND_MONO = 0x1020; const int ZA_SOUND_STEREO = 0x1021; // temporary buffers used by all cinematics -static long ROQ_YY_tab[256]; -static long ROQ_UB_tab[256]; -static long ROQ_UG_tab[256]; -static long ROQ_VG_tab[256]; -static long ROQ_VR_tab[256]; +// RB: 64 bit fixes, changed long to int +static int ROQ_YY_tab[256]; +static int ROQ_UB_tab[256]; +static int ROQ_UG_tab[256]; +static int ROQ_VG_tab[256]; +static int ROQ_VR_tab[256]; +// RB end static byte * file = NULL; static unsigned short * vq2 = NULL; static unsigned short * vq4 = NULL; @@ -150,9 +159,10 @@ static unsigned short * vq8 = NULL; idCinematicLocal::InitCinematic ============== */ +// RB: 64 bit fixes, changed long to int void idCinematic::InitCinematic( void ) { float t_ub,t_vr,t_ug,t_vg; - long i; + int i; // generate YUV tables t_ub = (1.77200f/2.0f) * (float)(1<<6) + 0.5f; @@ -162,11 +172,11 @@ void idCinematic::InitCinematic( void ) { for( i = 0; i < 256; i++ ) { float x = (float)(2 * i - 255); - ROQ_UB_tab[i] = (long)( ( t_ub * x) + (1<<5)); - ROQ_VR_tab[i] = (long)( ( t_vr * x) + (1<<5)); - ROQ_UG_tab[i] = (long)( (-t_ug * x) ); - ROQ_VG_tab[i] = (long)( (-t_vg * x) + (1<<5)); - ROQ_YY_tab[i] = (long)( (i << 6) | (i >> 2) ); + ROQ_UB_tab[i] = (int)( ( t_ub * x) + (1<<5)); + ROQ_VR_tab[i] = (int)( ( t_vr * x) + (1<<5)); + ROQ_UG_tab[i] = (int)( (-t_ug * x) ); + ROQ_VG_tab[i] = (int)( (-t_vg * x) + (1<<5)); + ROQ_YY_tab[i] = (int)( (i << 6) | (i >> 2) ); } file = (byte *)Mem_Alloc( 65536 ); @@ -174,6 +184,7 @@ void idCinematic::InitCinematic( void ) { vq4 = (word *)Mem_Alloc( 256*64*4 * sizeof( word ) ); vq8 = (word *)Mem_Alloc( 256*256*4 * sizeof( word ) ); } +// RB end /* ============== @@ -931,8 +942,9 @@ void idCinematicLocal::blitVQQuad32fs( byte **status, unsigned char *data ) { idCinematicLocal::yuv_to_rgb ============== */ -unsigned short idCinematicLocal::yuv_to_rgb( long y, long u, long v ) { - long r,g,b,YY = (long)(ROQ_YY_tab[(y)]); +// RB: 64 bit fixes, changed long to int +unsigned short idCinematicLocal::yuv_to_rgb( int y, int u, int v ) { + int r,g,b,YY = (int)(ROQ_YY_tab[(y)]); r = (YY + ROQ_VR_tab[v]) >> 9; g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 8; @@ -943,13 +955,15 @@ unsigned short idCinematicLocal::yuv_to_rgb( long y, long u, long v ) { return (unsigned short)((r<<11)+(g<<5)+(b)); } +// RB end /* ============== idCinematicLocal::yuv_to_rgb24 ============== */ -unsigned int idCinematicLocal::yuv_to_rgb24( long y, long u, long v ) { +// RB: 64 bit fixes, changed long to int +unsigned int idCinematicLocal::yuv_to_rgb24( int y, int u, int v ) { long r,g,b,YY = (long)(ROQ_YY_tab[(y)]); r = (YY + ROQ_VR_tab[v]) >> 6; @@ -961,16 +975,18 @@ unsigned int idCinematicLocal::yuv_to_rgb24( long y, long u, long v ) { return LittleLong((r)+(g<<8)+(b<<16)); } +// RB end /* ============== idCinematicLocal::decodeCodeBook ============== */ +// RB: 64 bit fixes, changed long to int void idCinematicLocal::decodeCodeBook( byte *input, unsigned short roq_flags ) { - long i, j, two, four; + int i, j, two, four; unsigned short *aptr, *bptr, *cptr, *dptr; - long y0,y1,y2,y3,cr,cb; + int y0,y1,y2,y3,cr,cb; unsigned int *iaptr, *ibptr, *icptr, *idptr; if (!roq_flags) { @@ -992,12 +1008,12 @@ void idCinematicLocal::decodeCodeBook( byte *input, unsigned short roq_flags ) { // if (samplesPerPixel==2) { for(i=0;iCloseFile( f ); - unsigned long magic = LittleLong( *(unsigned long *)data ); + // flibit: 64 bit fix, changed long to int + unsigned int magic = LittleLong( *(unsigned int *)data ); + // flibit end ddsFileHeader_t *_header = (ddsFileHeader_t *)(data + 4); int ddspf_dwFlags = LittleLong( _header->ddspf.dwFlags ); diff --git a/renderer/Model_lwo.cpp b/renderer/Model_lwo.cpp index a548e2c..fd36f17 100644 --- a/renderer/Model_lwo.cpp +++ b/renderer/Model_lwo.cpp @@ -2676,8 +2676,10 @@ default surface is created. int lwResolvePolySurfaces( lwPolygonList *polygon, lwTagList *tlist, lwSurface **surf, int *nsurfs ) { + // flibit: 64 bit fix, changed int to intptr_t lwSurface **s, *st; - int i, index; + int i; + intptr_t index; if ( tlist->count == 0 ) return 1; @@ -2696,7 +2698,7 @@ int lwResolvePolySurfaces( lwPolygonList *polygon, lwTagList *tlist, } for ( i = 0; i < polygon->count; i++ ) { - index = ( int ) polygon->pol[ i ].surf; + index = ( intptr_t ) polygon->pol[ i ].surf; if ( index < 0 || index > tlist->count ) return 0; if ( !s[ index ] ) { s[ index ] = lwDefaultSurface(); @@ -2712,6 +2714,7 @@ int lwResolvePolySurfaces( lwPolygonList *polygon, lwTagList *tlist, Mem_Free( s ); return 1; + // flibit end } diff --git a/renderer/glext.h b/renderer/glext.h index 50843e9..2a92f55 100644 --- a/renderer/glext.h +++ b/renderer/glext.h @@ -4657,10 +4657,8 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count); #ifndef GL_ARB_vertex_buffer_object #define GL_ARB_vertex_buffer_object 1 -#if !defined(__APPLE__) typedef ptrdiff_t GLsizeiptrARB; typedef ptrdiff_t GLintptrARB; -#endif #define GL_BUFFER_SIZE_ARB 0x8764 #define GL_BUFFER_USAGE_ARB 0x8765 #define GL_ARRAY_BUFFER_ARB 0x8892 @@ -12144,4 +12142,4 @@ GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (co } #endif -#endif \ No newline at end of file +#endif diff --git a/renderer/tr_font.cpp b/renderer/tr_font.cpp index 935c50e..bb27563 100644 --- a/renderer/tr_font.cpp +++ b/renderer/tr_font.cpp @@ -344,7 +344,9 @@ bool idRenderSystemLocal::RegisterFont( const char *fontName, fontInfoEx_t &font idStr::Copynz( outFont->name, name, sizeof( outFont->name ) ); len = fileSystem->ReadFile( name, NULL, &ftime ); - if ( len != sizeof( fontInfo_t ) ) { + // FIXME: BAD BAD BAD BAD BAD -flibit + //if ( len != sizeof( fontInfo_t ) ) { + if ( len <= 0 ) { common->Warning( "RegisterFont: couldn't find font: '%s'", name ); return false; } diff --git a/sdl2/lib/linux/libSDL2-2.0.so.0 b/sdl2/lib/linux/libSDL2-2.0.so.0 deleted file mode 100644 index a6782ec..0000000 --- a/sdl2/lib/linux/libSDL2-2.0.so.0 +++ /dev/null @@ -1 +0,0 @@ -link libSDL2-2.0.so.0.4.0 \ No newline at end of file diff --git a/sdl2/lib/linux/libSDL2-2.0.so.0.4.0 b/sdl2/lib/linux/libSDL2-2.0.so.0.4.0 deleted file mode 100644 index 061ab0d..0000000 Binary files a/sdl2/lib/linux/libSDL2-2.0.so.0.4.0 and /dev/null differ diff --git a/sdl2/lib/linux/libSDL2.so b/sdl2/lib/linux/libSDL2.so deleted file mode 100644 index a6782ec..0000000 --- a/sdl2/lib/linux/libSDL2.so +++ /dev/null @@ -1 +0,0 @@ -link libSDL2-2.0.so.0.4.0 \ No newline at end of file diff --git a/sdl2/lib/osx/libSDL2.dylib b/sdl2/lib/osx/libSDL2.dylib deleted file mode 100644 index 81d7402..0000000 Binary files a/sdl2/lib/osx/libSDL2.dylib and /dev/null differ diff --git a/sound/snd_efxfile.cpp b/sound/snd_efxfile.cpp index 46125b9..9b1951b 100644 --- a/sound/snd_efxfile.cpp +++ b/sound/snd_efxfile.cpp @@ -118,7 +118,7 @@ bool idEFXFile::ReadEffect( idLexer &src, idSoundEffect *effect ) { if ( token == "environment" ) { src.ReadTokenOnLine( &token ); - reverb->ulEnvironment = token.GetUnsignedLongValue(); + reverb->ulEnvironment = token.GetUnsignedIntValue(); } else if ( token == "environment size" ) { reverb->flEnvironmentSize = src.ParseFloat(); } else if ( token == "environment diffusion" ) { @@ -169,7 +169,7 @@ bool idEFXFile::ReadEffect( idLexer &src, idSoundEffect *effect ) { reverb->flRoomRolloffFactor = src.ParseFloat(); } else if ( token == "flags" ) { src.ReadTokenOnLine( &token ); - reverb->ulFlags = token.GetUnsignedLongValue(); + reverb->ulFlags = token.GetUnsignedIntValue(); } else { src.ReadTokenOnLine( &token ); src.Error( "idEFXFile::ReadEffect: Invalid parameter in reverb definition" ); diff --git a/sound/snd_emitter.cpp b/sound/snd_emitter.cpp index 51bcf5d..8b58a3c 100644 --- a/sound/snd_emitter.cpp +++ b/sound/snd_emitter.cpp @@ -185,7 +185,9 @@ void idSoundChannel::Clear( void ) { memset( &parms, 0, sizeof(parms) ); triggered = false; - openalSource = NULL; + // flibit: 64 bit fix, changed NULL to 0 + openalSource = 0; + // flibit end openalStreamingOffset = 0; openalStreamingBuffer[0] = openalStreamingBuffer[1] = openalStreamingBuffer[2] = 0; lastopenalStreamingBuffer[0] = lastopenalStreamingBuffer[1] = lastopenalStreamingBuffer[2] = 0; diff --git a/sound/snd_system.cpp b/sound/snd_system.cpp index f69b525..c705c7a 100644 --- a/sound/snd_system.cpp +++ b/sound/snd_system.cpp @@ -355,7 +355,9 @@ void idSoundSystemLocal::Init() { } // make a 16 byte aligned finalMixBuffer - finalMixBuffer = (float *) ( ( ( (int)realAccum ) + 15 ) & ~15 ); + // flibit: 64 bit fix, changed int to intptr_t + finalMixBuffer = (float *) ( ( ( (intptr_t)realAccum ) + 15 ) & ~15 ); + // flibit end graph = NULL; @@ -494,7 +496,9 @@ void idSoundSystemLocal::Shutdown() { alDeleteSources( 1, &openalSources[i].handle ); // clear entry in source array - openalSources[i].handle = NULL; + // flibit: 64 bit fix, changed NULL to 0 + openalSources[i].handle = 0; + // flibit end openalSources[i].startTime = 0; openalSources[i].chan = NULL; openalSources[i].inUse = false; @@ -1269,7 +1273,9 @@ ALuint idSoundSystemLocal::AllocOpenALSource( idSoundChannel *chan, bool looping return openalSources[index].handle; } else { - return NULL; + // flibit: 64 bit fix, changed NULL to 0 + return 0; + // flibit end } } @@ -1283,7 +1289,9 @@ void idSoundSystemLocal::FreeOpenALSource( ALuint handle ) { for ( i = 0; i < openalSourceCount; i++ ) { if ( openalSources[i].handle == handle ) { if ( openalSources[i].chan ) { - openalSources[i].chan->openalSource = NULL; + // flibit: 64 bit fix, changed NULL to 0 + openalSources[i].chan->openalSource = 0; + // flibit end } #if ID_OPENAL // Reset source EAX ROOM level when freeing stereo source @@ -1560,4 +1568,4 @@ int example_audio_stream_chunk( const cst_wave *w, int start, int size, int last return CST_AUDIO_STREAM_CONT; } -*/ \ No newline at end of file +*/ diff --git a/sound/snd_world.cpp b/sound/snd_world.cpp index 9c885f1..3df5c19 100644 --- a/sound/snd_world.cpp +++ b/sound/snd_world.cpp @@ -589,7 +589,9 @@ void idSoundWorldLocal::AVIUpdate() { } float mix[MIXBUFFER_SAMPLES*6+16]; - float *mix_p = (float *)((( int)mix + 15 ) & ~15); // SIMD align + // flibit: 64 bit fix, changed int to intptr_t + float *mix_p = (float *)((( intptr_t)mix + 15 ) & ~15); // SIMD align + // flibit end SIMDProcessor->Memset( mix_p, 0, MIXBUFFER_SAMPLES*sizeof(float)*numSpeakers ); @@ -1198,10 +1200,10 @@ void idSoundWorldLocal::WriteToSaveGameSoundChannel( idFile *saveGame, idSoundCh saveGame->WriteInt( ch->trigger44kHzTime ); saveGame->WriteInt( ch->triggerGame44kHzTime ); WriteToSaveGameSoundShaderParams( saveGame, &ch->parms ); - saveGame->WriteInt( (int)ch->leadinSample ); + saveGame->WriteInt( (int)(size_t)ch->leadinSample ); saveGame->WriteInt( ch->triggerChannel ); - saveGame->WriteInt( (int)ch->soundShader ); - saveGame->WriteInt( (int)ch->decoder ); + saveGame->WriteInt( (int)(size_t)ch->soundShader ); + saveGame->WriteInt( (int)(size_t)ch->decoder ); saveGame->WriteFloat(ch->diversity ); saveGame->WriteFloat(ch->lastVolume ); for (int m = 0; m < 6; m++) @@ -1714,7 +1716,9 @@ void idSoundWorldLocal::AddChannelContribution( idSoundEmitterLocal *sound, idSo // int offset = current44kHz - chan->trigger44kHzTime; float inputSamples[MIXBUFFER_SAMPLES*2+16]; - float *alignedInputSamples = (float *) ( ( ( (int)inputSamples ) + 15 ) & ~15 ); + // flibit: 64 bit fix, changed int to intptr_t + float *alignedInputSamples = (float *) ( ( ( (intptr_t)inputSamples ) + 15 ) & ~15 ); + // flibit end // // allocate and initialize hardware source @@ -1764,7 +1768,9 @@ void idSoundWorldLocal::AddChannelContribution( idSoundEmitterLocal *sound, idSo // handle streaming sounds (decode on the fly) both single shot AND looping if ( chan->triggered ) { - alSourcei( chan->openalSource, AL_BUFFER, NULL ); + // flibit: 64 bit fix, changed NULL to 0 + alSourcei( chan->openalSource, AL_BUFFER, 0 ); + // flibit end alDeleteBuffers( 3, &chan->lastopenalStreamingBuffer[0] ); chan->lastopenalStreamingBuffer[0] = chan->openalStreamingBuffer[0]; chan->lastopenalStreamingBuffer[1] = chan->openalStreamingBuffer[1]; diff --git a/sys/glimp.cpp b/sys/glimp.cpp old mode 100644 new mode 100755 index 71f7033..37ed680 --- a/sys/glimp.cpp +++ b/sys/glimp.cpp @@ -222,7 +222,11 @@ bool GLimp_Init(glimpParms_t parms) { "Graphics Error", "Your computer doesn't support 32bit color, 24bit depth and 8bit stencil. Try installing latest graphics drivers", NULL); +#ifdef __APPLE__ + exit(2); +#else _exit(2); +#endif } if (SDL_GL_SetSwapInterval(r_swapInterval.GetInteger()) < 0) diff --git a/sys/linux/main.cpp b/sys/linux/main.cpp index d932892..ad07157 100644 --- a/sys/linux/main.cpp +++ b/sys/linux/main.cpp @@ -266,7 +266,14 @@ double Sys_GetClockTicks( void ) { : "=r" (lo), "=r" (hi) ); return (double) lo + (double) 0xFFFFFFFF * hi; #else -#error unsupported CPU +//#error unsupported CPU +// RB begin + struct timespec now; + + clock_gettime( CLOCK_MONOTONIC, &now ); + + return now.tv_sec * 1000000000LL + now.tv_nsec; +// RB end #endif } diff --git a/sys/osx/DOOMController.mm b/sys/osx/DOOMController.mm index 05931e2..03a5a64 100644 --- a/sys/osx/DOOMController.mm +++ b/sys/osx/DOOMController.mm @@ -392,7 +392,7 @@ extern void CL_Quit_f(void); - (BOOL)checkOS { OSErr err; - long gestaltOSVersion; + int gestaltOSVersion; err = Gestalt(gestaltSystemVersion, &gestaltOSVersion); if ( err || gestaltOSVersion < 0x1038 ) { NSBundle *thisBundle = [ NSBundle mainBundle ]; @@ -486,6 +486,8 @@ const char *Sys_GetProcessorString( void ) { return "ppc CPU with AltiVec extensions"; #elif defined(__i386__) return "x86 CPU with MMX/SSE/SSE2/SSE3 extensions"; +#elif defined(__x86_64__) + return "x86_64 CPU"; #else #error return NULL; @@ -513,8 +515,8 @@ enum { typedef union { struct { - unsigned long hi; - unsigned long lo; + unsigned int hi; + unsigned int lo; } i; double d; } hexdouble; @@ -656,13 +658,13 @@ Sys_ClockTicksPerSecond double Sys_ClockTicksPerSecond(void) { // Our strategy is to query both Gestalt & IOKit and then take the larger of the two values. - long gestaltSpeed, ioKitSpeed = -1; + int gestaltSpeed, ioKitSpeed = -1; // GESTALT // gestaltProcClkSpeedMHz available in 10.3 needs to be used because CPU speeds have now - // exceeded the signed long that Gestalt returns. - long osVers; + // exceeded the signed int that Gestalt returns. + int osVers; OSErr err; Gestalt(gestaltSystemVersion, &osVers); if (osVers >= 0x1030) @@ -699,7 +701,7 @@ double Sys_ClockTicksPerSecond(void) { { CFDataRef data = (CFDataRef)IORegistryEntryCreateCFProperty(ioCpu, CFSTR("clock-frequency"),kCFAllocatorDefault,0); if (data) - ioKitSpeed = *((unsigned long*)CFDataGetBytePtr(data)) / 1000000; + ioKitSpeed = *((unsigned int*)CFDataGetBytePtr(data)) / 1000000; } service = IOIteratorNext(itThis); } @@ -717,7 +719,7 @@ returns in megabytes ================ */ int Sys_GetSystemRam( void ) { - long ramSize; + int ramSize; if ( Gestalt( gestaltPhysicalRAMSize, &ramSize ) == noErr ) { return ramSize / (1024*1024); @@ -735,7 +737,7 @@ returns in megabytes int Sys_GetVideoRam( void ) { unsigned int i; CFTypeRef typeCode; - long vramStorage = 64; + int vramStorage = 64; const short MAXDISPLAYS = 8; CGDisplayCount displayCount; io_service_t dspPorts[MAXDISPLAYS]; @@ -763,7 +765,7 @@ int Sys_GetVideoRam( void ) { bool OSX_GetCPUIdentification( int& cpuId, bool& oldArchitecture ) { - long cpu; + int cpu; Gestalt(gestaltNativeCPUtype, &cpu); cpuId = cpu; @@ -816,8 +818,8 @@ void OSX_GetVideoCard( int& outVendorId, int& outDeviceId ) vendorID = (CFDataRef)IORegistryEntryCreateCFProperty(service, CFSTR("vendor-id"),kCFAllocatorDefault,0); deviceID = (CFDataRef)IORegistryEntryCreateCFProperty(service, CFSTR("device-id"),kCFAllocatorDefault,0); - outVendorId = *((long*)CFDataGetBytePtr(vendorID)); - outDeviceId = *((long*)CFDataGetBytePtr(deviceID)); + outVendorId = *((int*)CFDataGetBytePtr(vendorID)); + outDeviceId = *((int*)CFDataGetBytePtr(deviceID)); CFRelease(vendorID); CFRelease(deviceID); @@ -947,6 +949,7 @@ static pascal OSStatus RegCodeHandler( EventHandlerCallRef inHandler, EventRef i */ static OSErr DoRegCodeDialog( char* ioRegCode1 ) { +#if 0 // Eat my Ass-pyr -flibit OSErr err; RegCodeInfo regCodeInfo; memset(®CodeInfo, 0, sizeof(regCodeInfo)); @@ -980,6 +983,7 @@ static OSErr DoRegCodeDialog( char* ioRegCode1 ) } return regCodeInfo.okPressed ? (OSErr)noErr : (OSErr)userCanceledErr; +#endif // 0 } /* @@ -1016,7 +1020,7 @@ void Sys_FPU_SetFTZ( bool enable ) { } -#elif defined(__i386__) +#elif defined(__i386__) || defined(__x86_64__) #include diff --git a/sys/osx/PreferencesDialog.cpp b/sys/osx/PreferencesDialog.cpp index 1038c77..fb7d6e4 100644 --- a/sys/osx/PreferencesDialog.cpp +++ b/sys/osx/PreferencesDialog.cpp @@ -419,6 +419,7 @@ static void BuildRefreshRates(CGDirectDisplayID inDisplayID, int inWidth, int in static void BuildRefreshPopupButton(ControlRef inControl, std::list* inList) { +#if 0 // Eat my Ass-pyr -flibit MenuRef menu = GetControlPopupMenuRef(inControl); assert(menu); if (!menu) return; @@ -434,6 +435,7 @@ static void BuildRefreshPopupButton(ControlRef inControl, std::list* inLi } SetControlMaximum(inControl, CountMenuItems(menu)); +#endif } static SInt32 FindRefreshPopupMenuItem(std::list* inList, Fixed inFrequency) @@ -450,6 +452,7 @@ static SInt32 FindRefreshPopupMenuItem(std::list* inList, Fixed inFrequen static void BuildResolutionPopupButton(ControlRef inControl, CGDirectDisplayID inDisplayID, ValidModeCallbackProc inCallback) { +#if 0 // Eat my Ass-pyr -flibit // Get the list of valid resolutions int count = BuildResolutionList(inDisplayID, NULL, inCallback); Res resList[count]; @@ -472,10 +475,12 @@ static void BuildResolutionPopupButton(ControlRef inControl, CGDirectDisplayID i } SetControlMaximum(inControl, CountMenuItems(menu)); +#endif } static void GetResolutionFromPopupMenuItem(ControlRef inControl, MenuItemIndex inItem, int *outX, int *outY, int *outDepth, UInt32 *outResFlags) { +#if 0 // Eat my Ass-pyr -flibit MenuRef menu = GetControlPopupMenuRef(inControl); Res res; OSStatus err; @@ -488,10 +493,12 @@ static void GetResolutionFromPopupMenuItem(ControlRef inControl, MenuItemIndex i *outResFlags = res.resFlags; *outDepth = 32; } +#endif } static void AdjustResolutionPopupMenu(ControlRef inControl, CGDirectDisplayID inDisplayID, bool isFullscreen, int& screenwidth, int& screenheight, int& screendepth, UInt32& screenResFlags) { +#if 0 // Eat my Ass-pyr -flibit int screenX = INT_MAX, screenY = INT_MAX; // In windowed mode, you have to disable resolutions that are larger than the current screen size @@ -533,10 +540,12 @@ static void AdjustResolutionPopupMenu(ControlRef inControl, CGDirectDisplayID in } } } +#endif } static void AdjustDisplayControls(PrefInfo *prefInfo) { +#if 0 // Eat my Ass-pyr -flibit // Build new resolution popup and select appropriate resolution if ((prefInfo->prefGameDisplayMode != kFullScreen)) { @@ -577,12 +586,16 @@ static void AdjustDisplayControls(PrefInfo *prefInfo) DisableControl (prefInfo->refreshRatePopup); else EnableControl (prefInfo->refreshRatePopup); +#endif } #pragma mark - static pascal OSStatus PrefHandler( EventHandlerCallRef inHandler, EventRef inEvent, void* inUserData ) { +#if 1 + return eventNotHandledErr; +#else // Eat my Ass-pyr -flibit #pragma unused( inHandler ) HICommand cmd; @@ -699,6 +712,7 @@ static pascal OSStatus PrefHandler( EventHandlerCallRef inHandler, EventRef inEv } return result; +#endif } #pragma mark - @@ -709,6 +723,8 @@ OSStatus CreateGameDisplayPreferencesDialog(const GameDisplayInfo *inGDInfo, WindowRef *outWindow, ValidModeCallbackProc inCallback) { OSStatus err = noErr; + +#if 0 // Eat my Ass-pyr -flibit // Build up a structure to pass to the window handler we are about // to install. We store the window itself, as well as the original @@ -798,6 +814,7 @@ OSStatus CreateGameDisplayPreferencesDialog(const GameDisplayInfo *inGDInfo, if (outWindow) *outWindow = prefInfo.window; +#endif return err; } @@ -810,6 +827,7 @@ OSStatus CreateGameDisplayPreferencesDialog(const GameDisplayInfo *inGDInfo, OSStatus RunGameDisplayPreferencesDialog(GameDisplayInfo *outGDInfo, WindowRef inWindow) { +#if 0 // Eat my Ass-pyr -flibit PrefInfo *prefInfo = (PrefInfo*)GetWRefCon(inWindow); ShowWindow( inWindow ); @@ -838,6 +856,8 @@ OSStatus RunGameDisplayPreferencesDialog(GameDisplayInfo *outGDInfo, WindowRef i } return prefInfo->okPressed ? noErr : userCanceledErr; +#endif + return noErr; } diff --git a/sys/osx/macosx_sound.cpp b/sys/osx/macosx_sound.cpp index 66b56a1..75e35fb 100644 --- a/sys/osx/macosx_sound.cpp +++ b/sys/osx/macosx_sound.cpp @@ -439,7 +439,7 @@ int idAudioHardwareOSX::GetNumberOfSpeakers() { */ bool Sys_LoadOpenAL( void ) { OSErr err; - long gestaltOSVersion; + int gestaltOSVersion; err = Gestalt(gestaltSystemVersion, &gestaltOSVersion); if ( err || gestaltOSVersion < 0x1040 ) { return false; diff --git a/sys/posix/posix_main.cpp b/sys/posix/posix_main.cpp index 5095e71..cf3cef9 100644 --- a/sys/posix/posix_main.cpp +++ b/sys/posix/posix_main.cpp @@ -382,13 +382,15 @@ void Posix_Shutdown( void ) { } } +// flibit: 64 bit fix, changed int to void* + /* ================= Sys_DLL_Load TODO: OSX - use the native API instead? NSModule ================= */ -int Sys_DLL_Load( const char *path ) { +void* Sys_DLL_Load( const char *path ) { int mode = RTLD_NOW; #ifdef __APPLE__ // NOTE: genenv starts crashing after I dlclose game.dylib >:-( mode |= RTLD_NODELETE; @@ -397,7 +399,7 @@ int Sys_DLL_Load( const char *path ) { if ( !handle ) { Sys_Printf( "dlopen '%s' failed: %s\n", path, dlerror() ); } - return (int)handle; + return handle; } /* @@ -405,9 +407,9 @@ int Sys_DLL_Load( const char *path ) { Sys_DLL_GetProcAddress ================= */ -void* Sys_DLL_GetProcAddress( int handle, const char *sym ) { +void* Sys_DLL_GetProcAddress( void* handle, const char *sym ) { const char *error; - void *ret = dlsym( (void *)handle, sym ); + void *ret = dlsym( handle, sym ); if ((error = dlerror()) != NULL) { Sys_Printf( "dlsym '%s' failed: %s\n", sym, error ); } @@ -419,10 +421,12 @@ void* Sys_DLL_GetProcAddress( int handle, const char *sym ) { Sys_DLL_Unload ================= */ -void Sys_DLL_Unload( int handle ) { - dlclose( (void *)handle ); +void Sys_DLL_Unload( void* handle ) { + dlclose( handle ); } +// flibit end + /* ================ Sys_ShowConsole diff --git a/sys/sys_local.cpp b/sys/sys_local.cpp index bf40527..7111fee 100644 --- a/sys/sys_local.cpp +++ b/sys/sys_local.cpp @@ -108,17 +108,19 @@ void idSysLocal::ShutdownSymbols( void ) { Sys_ShutdownSymbols(); } -int idSysLocal::DLL_Load( const char *dllName ) { +// flibit: 64 bit fix, change int to void* +void* idSysLocal::DLL_Load( const char *dllName ) { return Sys_DLL_Load( dllName ); } -void *idSysLocal::DLL_GetProcAddress( int dllHandle, const char *procName ) { +void *idSysLocal::DLL_GetProcAddress( void* dllHandle, const char *procName ) { return Sys_DLL_GetProcAddress( dllHandle, procName ); } -void idSysLocal::DLL_Unload( int dllHandle ) { +void idSysLocal::DLL_Unload( void* dllHandle ) { Sys_DLL_Unload( dllHandle ); } +// flibit end void idSysLocal::DLL_GetFileName( const char *baseName, char *dllName, int maxLength ) { #ifdef _WIN32 diff --git a/sys/sys_local.h b/sys/sys_local.h index db87c38..21de9a8 100644 --- a/sys/sys_local.h +++ b/sys/sys_local.h @@ -61,10 +61,12 @@ public: virtual bool LockMemory( void *ptr, int bytes ); virtual bool UnlockMemory( void *ptr, int bytes ); - virtual int DLL_Load( const char *dllName ); - virtual void * DLL_GetProcAddress( int dllHandle, const char *procName ); - virtual void DLL_Unload( int dllHandle ); + // flibit: 64 bit fix, changed int to void* + virtual void * DLL_Load( const char *dllName ); + virtual void * DLL_GetProcAddress( void* dllHandle, const char *procName ); + virtual void DLL_Unload( void* dllHandle ); virtual void DLL_GetFileName( const char *baseName, char *dllName, int maxLength ); + // flibit end virtual sysEvent_t GenerateMouseButtonEvent( int button, bool down ); virtual sysEvent_t GenerateMouseMoveEvent( int deltax, int deltay ); diff --git a/sys/sys_public.h b/sys/sys_public.h index 6d2ad6c..336aef4 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -38,8 +38,31 @@ If you have questions concerning this license or the applicable additional terms */ +// Win64 +#if defined(_WIN64) + +#define BUILD_STRING "win-x64" +#define BUILD_OS_ID 0 +#define CPUSTRING "x64" +#define CPU_EASYARGS 0 + +#define ALIGN16( x ) __declspec(align(16)) x +#define PACKED + +// flibit: 64 bit fix, changed int to intptr_t +#define _alloca16( x ) ((void *)((((intptr_t)_alloca( (x)+15 )) + 15) & ~15)) +// flibit end + +#define PATHSEPERATOR_STR "\\" +#define PATHSEPERATOR_CHAR '\\' + +#define ID_INLINE __forceinline +#define ID_STATIC_TEMPLATE static + +#define assertmem( x, y ) assert( _CrtIsValidPointer( x, y, true ) ) + // Win32 -#if defined(WIN32) || defined(_WIN32) +#elif defined(WIN32) || defined(_WIN32) #define BUILD_STRING "win-x86" #define BUILD_OS_ID 0 @@ -49,7 +72,9 @@ If you have questions concerning this license or the applicable additional terms #define ALIGN16( x ) __declspec(align(16)) x #define PACKED -#define _alloca16( x ) ((void *)((((int)_alloca( (x)+15 )) + 15) & ~15)) +// flibit: 64 bit fix, changed int to intptr_t +#define _alloca16( x ) ((void *)((((intptr_t)_alloca( (x)+15 )) + 15) & ~15)) +// flibit end #define PATHSEPERATOR_STR "\\" #define PATHSEPERATOR_CHAR '\\' @@ -72,6 +97,11 @@ If you have questions concerning this license or the applicable additional terms #elif defined(__i386__) #define CPUSTRING "x86" #define CPU_EASYARGS 1 +#elif defined(__x86_64__) + #define CPUSTRING "x86_64" + #define CPU_EASYARGS 0 +#else +#error Unrecognized CPU arch! #endif #define ALIGN16( x ) x __attribute__ ((aligned (16))) @@ -84,7 +114,9 @@ If you have questions concerning this license or the applicable additional terms #endif #define _alloca alloca -#define _alloca16( x ) ((void *)((((int)alloca( (x)+15 )) + 15) & ~15)) +// flibit: 64 bit fix, changed int to intptr_t +#define _alloca16( x ) ((void *)((((intptr_t)alloca( (x)+15 )) + 15) & ~15)) +// flibit end #define PATHSEPERATOR_STR "/" #define PATHSEPERATOR_CHAR '/' @@ -108,14 +140,23 @@ If you have questions concerning this license or the applicable additional terms #define BUILD_OS_ID 2 #define CPUSTRING "x86" #define CPU_EASYARGS 1 +#elif defined(__x86_64__) + #define BUILD_STRING "linux-x86_64" + #define BUILD_OS_ID 2 + #define CPUSTRING "x86_64" + #define CPU_EASYARGS 0 #elif defined(__ppc__) #define BUILD_STRING "linux-ppc" #define CPUSTRING "ppc" #define CPU_EASYARGS 0 +#else +#error Unrecognized CPU arch! #endif #define _alloca alloca -#define _alloca16( x ) ((void *)((((int)alloca( (x)+15 )) + 15) & ~15)) +// flibit: 64 bit fix, changed int to intptr_t +#define _alloca16( x ) ((void *)((((intptr_t)alloca( (x)+15 )) + 15) & ~15)) +// flibit end #define ALIGN16( x ) x #define PACKED __attribute__((packed)) @@ -379,9 +420,11 @@ const char * Sys_GetCallStackCurAddressStr( int depth ); void Sys_ShutdownSymbols( void ); // DLL loading, the path should be a fully qualified OS path to the DLL file to be loaded -int Sys_DLL_Load( const char *dllName ); -void * Sys_DLL_GetProcAddress( int dllHandle, const char *procName ); -void Sys_DLL_Unload( int dllHandle ); +// flibit: 64 bit fix, change int to void* +void * Sys_DLL_Load( const char *dllName ); +void * Sys_DLL_GetProcAddress( void* dllHandle, const char *procName ); +void Sys_DLL_Unload( void* dllHandle ); +// flibit end // event generation void Sys_GenerateEvents( void ); @@ -547,7 +590,9 @@ typedef enum { typedef struct { const char * name; - int threadHandle; + // flibit: 64 bit fix, changed int to intptr_t + intptr_t threadHandle; + // flibit end unsigned long threadId; } xthreadInfo; @@ -618,10 +663,12 @@ public: virtual const char * GetCallStackCurStr( int depth ) = 0; virtual void ShutdownSymbols( void ) = 0; - virtual int DLL_Load( const char *dllName ) = 0; - virtual void * DLL_GetProcAddress( int dllHandle, const char *procName ) = 0; - virtual void DLL_Unload( int dllHandle ) = 0; + // flibit: 64 bit fix, changed int to void* + virtual void * DLL_Load( const char *dllName ) = 0; + virtual void * DLL_GetProcAddress( void* dllHandle, const char *procName ) = 0; + virtual void DLL_Unload( void* dllHandle ) = 0; virtual void DLL_GetFileName( const char *baseName, char *dllName, int maxLength ) = 0; + // flibit end virtual sysEvent_t GenerateMouseButtonEvent( int button, bool down ) = 0; virtual sysEvent_t GenerateMouseMoveEvent( int deltax, int deltay ) = 0; diff --git a/sys/win32/win_main.cpp b/sys/win32/win_main.cpp index c180d33..0167a27 100644 --- a/sys/win32/win_main.cpp +++ b/sys/win32/win_main.cpp @@ -665,12 +665,14 @@ DLL Loading ======================================================================== */ +// flibit: 64 bit fix, changed int to void* + /* ===================== Sys_DLL_Load ===================== */ -int Sys_DLL_Load( const char *dllName ) { +void* Sys_DLL_Load( const char *dllName ) { HINSTANCE libHandle; libHandle = LoadLibrary( dllName ); if ( libHandle ) { @@ -679,11 +681,11 @@ int Sys_DLL_Load( const char *dllName ) { GetModuleFileName( libHandle, loadedPath, sizeof( loadedPath ) - 1 ); if ( idStr::IcmpPath( dllName, loadedPath ) ) { Sys_Printf( "ERROR: LoadLibrary '%s' wants to load '%s'\n", dllName, loadedPath ); - Sys_DLL_Unload( (int)libHandle ); + Sys_DLL_Unload( libHandle ); return 0; } } - return (int)libHandle; + return (void*)libHandle; } /* @@ -691,7 +693,7 @@ int Sys_DLL_Load( const char *dllName ) { Sys_DLL_GetProcAddress ===================== */ -void *Sys_DLL_GetProcAddress( int dllHandle, const char *procName ) { +void *Sys_DLL_GetProcAddress( void* dllHandle, const char *procName ) { return GetProcAddress( (HINSTANCE)dllHandle, procName ); } @@ -700,7 +702,7 @@ void *Sys_DLL_GetProcAddress( int dllHandle, const char *procName ) { Sys_DLL_Unload ===================== */ -void Sys_DLL_Unload( int dllHandle ) { +void Sys_DLL_Unload( void* dllHandle ) { if ( !dllHandle ) { return; } @@ -720,6 +722,8 @@ void Sys_DLL_Unload( int dllHandle ) { } } +// flibit end + /* ======================================================================== diff --git a/tools/compilers/aas/AASFile.cpp b/tools/compilers/aas/AASFile.cpp index 6e73a25..d60f216 100644 --- a/tools/compilers/aas/AASFile.cpp +++ b/tools/compilers/aas/AASFile.cpp @@ -1127,7 +1127,7 @@ bool idAASFileLocal::Load( const idStr &fileName, unsigned int mapFileCRC ) { return false; } - c = token.GetUnsignedLongValue(); + c = token.GetUnsignedIntValue(); if ( mapFileCRC && c != mapFileCRC ) { common->Warning( "AAS file '%s' is out of date", name.c_str() ); return false; diff --git a/tools/compilers/roqvq/codec.cpp b/tools/compilers/roqvq/codec.cpp index e4131a9..ce187bc 100644 --- a/tools/compilers/roqvq/codec.cpp +++ b/tools/compilers/roqvq/codec.cpp @@ -30,6 +30,12 @@ If you have questions concerning this license or the applicable additional terms #include "codec.h" +// flibit wedged this in for Win32... eh. -flibit +#ifdef _WIN32 +#undef HUGE_VAL +#define HUGE_VAL HUGE +#endif + float glimit( const float val ) { if (val<0) return 0; if (val>255) return 255; @@ -321,7 +327,7 @@ void codec::Segment( int *alist, float *flist, int numElements, float rmse) int codec::BestCodeword( unsigned char *tempvector, int dimension, VQDATA **codebook ) { VQDATA dist; - VQDATA bestDist = HUGE; + VQDATA bestDist = HUGE_VAL; VQDATA tempvq[64]; int bestIndex = -1; @@ -1510,7 +1516,7 @@ void codec::VQ( const int numEntries, const int dimension, const unsigned char * // // find the closest two and eliminate one // - double bestDist = HUGE; + double bestDist = HUGE_VAL; double dist, simport; int bestIndex = -1; int bestOtherIndex = 0; @@ -1576,7 +1582,7 @@ void codec::VQ( const int numEntries, const int dimension, const unsigned char * // until we have reduced it to 256 entries, find one to toss // do { - bestDist = HUGE; + bestDist = HUGE_VAL; bestIndex = -1; bestOtherIndex = -1; if (optimize) { @@ -1591,7 +1597,7 @@ void codec::VQ( const int numEntries, const int dimension, const unsigned char * } } if (bestIndex == -1 || !optimize) { - bestDist = HUGE; + bestDist = HUGE_VAL; bestIndex = -1; bestOtherIndex = 0; aentries = 0; diff --git a/ui/SimpleWindow.cpp b/ui/SimpleWindow.cpp index a181bec..39447b6 100644 --- a/ui/SimpleWindow.cpp +++ b/ui/SimpleWindow.cpp @@ -2,9 +2,9 @@ =========================================================================== Doom 3 GPL Source Code -Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. +Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. -This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). +This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 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 @@ -72,10 +72,10 @@ idSimpleWindow::idSimpleWindow(idWindow *win) { } backGroundName.SetMaterialPtr(&background); -// +// // added parent mParent = win->GetParent(); -// +// hideCursor = win->hideCursor; @@ -122,7 +122,7 @@ idSimpleWindow::~idSimpleWindow() { } void idSimpleWindow::StateChanged( bool redraw ) { - if ( redraw && background && background->CinematicLength() ) { + if ( redraw && background && background->CinematicLength() ) { background->UpdateCinematic( gui->GetTime() ); } } @@ -189,7 +189,7 @@ void idSimpleWindow::CalcClientRect(float xofs, float yofs) { drawRect.x = rect.x() - rect.w(); drawRect.y = rect.y() - rect.h(); } - + drawRect.x += xofs; drawRect.y += yofs; @@ -205,7 +205,7 @@ void idSimpleWindow::CalcClientRect(float xofs, float yofs) { textRect = clientRect; textRect.x += 2.0; - textRect.w -= 2.0; + textRect.w -= 2.0; textRect.y += 2.0; textRect.h -= 2.0; textRect.x += textAlignx; @@ -218,7 +218,7 @@ void idSimpleWindow::CalcClientRect(float xofs, float yofs) { void idSimpleWindow::Redraw(float x, float y) { - + if (!visible) { return; } @@ -254,35 +254,35 @@ void idSimpleWindow::Redraw(float x, float y) { textRect.Offset(-x, -y); } -int idSimpleWindow::GetWinVarOffset( idWinVar *wv, drawWin_t* owner) { - int ret = -1; +intptr_t idSimpleWindow::GetWinVarOffset( idWinVar *wv, drawWin_t* owner) { + intptr_t ret = -1; if ( wv == &rect ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->rect; + ret = (ptrdiff_t)&this->rect - (ptrdiff_t)this; } if ( wv == &backColor ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->backColor; + ret = (ptrdiff_t)&this->backColor - (ptrdiff_t)this; } if ( wv == &matColor ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->matColor; + ret = (ptrdiff_t)&this->matColor - (ptrdiff_t)this; } if ( wv == &foreColor ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->foreColor; + ret = (ptrdiff_t)&this->foreColor - (ptrdiff_t)this; } if ( wv == &borderColor ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->borderColor; + ret = (ptrdiff_t)&this->borderColor - (ptrdiff_t)this; } if ( wv == &textScale ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->textScale; + ret = (ptrdiff_t)&this->textScale - (ptrdiff_t)this; } if ( wv == &rotate ) { - ret = (int)&( ( idSimpleWindow * ) 0 )->rotate; + ret = (ptrdiff_t)&this->rotate - (ptrdiff_t)this; } if ( ret != -1 ) { diff --git a/ui/SimpleWindow.h b/ui/SimpleWindow.h index 492e029..f8e97e2 100644 --- a/ui/SimpleWindow.h +++ b/ui/SimpleWindow.h @@ -49,7 +49,7 @@ public: idStr name; idWinVar * GetWinVarByName(const char *_name); - int GetWinVarOffset( idWinVar *wv, drawWin_t* owner); + intptr_t GetWinVarOffset( idWinVar *wv, drawWin_t* owner); size_t Size(); idWindow* GetParent ( void ) { return mParent; } diff --git a/ui/Window.cpp b/ui/Window.cpp index e550950..58b7741 100644 --- a/ui/Window.cpp +++ b/ui/Window.cpp @@ -1794,39 +1794,39 @@ void idWindow::PostParse() { idWindow::GetWinVarOffset ================ */ -int idWindow::GetWinVarOffset( idWinVar *wv, drawWin_t* owner) { +intptr_t idWindow::GetWinVarOffset( idWinVar *wv, drawWin_t* owner) { int ret = -1; if ( wv == &rect ) { - ret = (int)&( ( idWindow * ) 0 )->rect; + ret = (intptr_t)&( ( idWindow * ) 0 )->rect; } if ( wv == &backColor ) { - ret = (int)&( ( idWindow * ) 0 )->backColor; + ret = (intptr_t)&( ( idWindow * ) 0 )->backColor; } if ( wv == &matColor ) { - ret = (int)&( ( idWindow * ) 0 )->matColor; + ret = (intptr_t)&( ( idWindow * ) 0 )->matColor; } if ( wv == &foreColor ) { - ret = (int)&( ( idWindow * ) 0 )->foreColor; + ret = (intptr_t)&( ( idWindow * ) 0 )->foreColor; } if ( wv == &hoverColor ) { - ret = (int)&( ( idWindow * ) 0 )->hoverColor; + ret = (intptr_t)&( ( idWindow * ) 0 )->hoverColor; } if ( wv == &borderColor ) { - ret = (int)&( ( idWindow * ) 0 )->borderColor; + ret = (intptr_t)&( ( idWindow * ) 0 )->borderColor; } if ( wv == &textScale ) { - ret = (int)&( ( idWindow * ) 0 )->textScale; + ret = (intptr_t)&( ( idWindow * ) 0 )->textScale; } if ( wv == &rotate ) { - ret = (int)&( ( idWindow * ) 0 )->rotate; + ret = (intptr_t)&( ( idWindow * ) 0 )->rotate; } if ( ret != -1 ) { @@ -2868,7 +2868,7 @@ idWindow::EmitOp ================ */ -int idWindow::EmitOp( int a, int b, wexpOpType_t opType, wexpOp_t **opp ) { +intptr_t idWindow::EmitOp( intptr_t a, intptr_t b, wexpOpType_t opType, wexpOp_t **opp ) { wexpOp_t *op; /* // optimize away identity operations @@ -2919,8 +2919,8 @@ int idWindow::EmitOp( int a, int b, wexpOpType_t opType, wexpOp_t **opp ) { idWindow::ParseEmitOp ================ */ -int idWindow::ParseEmitOp( idParser *src, int a, wexpOpType_t opType, int priority, wexpOp_t **opp ) { - int b = ParseExpressionPriority( src, priority ); +intptr_t idWindow::ParseEmitOp( idParser *src, intptr_t a, wexpOpType_t opType, int priority, wexpOp_t **opp ) { + intptr_t b = ParseExpressionPriority( src, priority ); return EmitOp( a, b, opType, opp ); } @@ -2932,9 +2932,9 @@ idWindow::ParseTerm Returns a register index ================= */ -int idWindow::ParseTerm( idParser *src, idWinVar *var, int component ) { +intptr_t idWindow::ParseTerm( idParser *src, idWinVar *var, intptr_t component ) { idToken token; - int a, b; + intptr_t a, b; src->ReadToken( &token ); @@ -2977,7 +2977,7 @@ int idWindow::ParseTerm( idParser *src, idWinVar *var, int component ) { var = GetWinVarByName(token, true); } if (var) { - a = (int)var; + a = (intptr_t)var; //assert(dynamic_cast(var)); var->Init(token, this); b = component; @@ -3007,7 +3007,7 @@ int idWindow::ParseTerm( idParser *src, idWinVar *var, int component ) { // ugly but used for post parsing to fixup named vars char *p = new char[token.Length()+1]; strcpy(p, token); - a = (int)p; + a = (intptr_t)p; b = -2; return EmitOp(a, b, WOP_TYPE_VAR); } @@ -3022,9 +3022,9 @@ Returns a register index ================= */ #define TOP_PRIORITY 4 -int idWindow::ParseExpressionPriority( idParser *src, int priority, idWinVar *var, int component ) { +intptr_t idWindow::ParseExpressionPriority( idParser *src, int priority, idWinVar *var, intptr_t component ) { idToken token; - int a; + intptr_t a; if ( priority == 0 ) { return ParseTerm( src, var, component ); @@ -3079,7 +3079,7 @@ int idWindow::ParseExpressionPriority( idParser *src, int priority, idWinVar *va } if ( priority == 4 && token == "?" ) { wexpOp_t *oop = NULL; - int o = ParseEmitOp( src, a, WOP_TYPE_COND, priority, &oop ); + intptr_t o = ParseEmitOp( src, a, WOP_TYPE_COND, priority, &oop ); if ( !src->ReadToken( &token ) ) { return o; } @@ -3105,7 +3105,7 @@ idWindow::ParseExpression Returns a register index ================ */ -int idWindow::ParseExpression(idParser *src, idWinVar *var, int component) { +intptr_t idWindow::ParseExpression(idParser *src, idWinVar *var, intptr_t component) { return ParseExpressionPriority( src, TOP_PRIORITY, var ); } @@ -3881,35 +3881,35 @@ void idWindow::FixupTransitions() { transitions[i].data = NULL; if ( dw && ( dw->win || dw->simp ) ){ if ( dw->win ) { - if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->rect ) { + if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->rect ) { transitions[i].data = &dw->win->rect; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->backColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->backColor ) { transitions[i].data = &dw->win->backColor; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->matColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->matColor ) { transitions[i].data = &dw->win->matColor; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->foreColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->foreColor ) { transitions[i].data = &dw->win->foreColor; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->borderColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->borderColor ) { transitions[i].data = &dw->win->borderColor; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->textScale ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->textScale ) { transitions[i].data = &dw->win->textScale; - } else if ( transitions[i].offset == (int)&( ( idWindow * ) 0 )->rotate ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idWindow * ) 0 )->rotate ) { transitions[i].data = &dw->win->rotate; } } else { - if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->rect ) { + if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->rect ) { transitions[i].data = &dw->simp->rect; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->backColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->backColor ) { transitions[i].data = &dw->simp->backColor; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->matColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->matColor ) { transitions[i].data = &dw->simp->matColor; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->foreColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->foreColor ) { transitions[i].data = &dw->simp->foreColor; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->borderColor ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->borderColor ) { transitions[i].data = &dw->simp->borderColor; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->textScale ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->textScale ) { transitions[i].data = &dw->simp->textScale; - } else if ( transitions[i].offset == (int)&( ( idSimpleWindow * ) 0 )->rotate ) { + } else if ( transitions[i].offset == (ptrdiff_t)&( ( idSimpleWindow * ) 0 )->rotate ) { transitions[i].data = &dw->simp->rotate; } } @@ -3969,7 +3969,7 @@ void idWindow::FixupParms() { const char *p = (const char*)(ops[i].a); idWinVar *var = GetWinVarByName(p, true); delete []p; - ops[i].a = (int)var; + ops[i].a = (intptr_t)var; ops[i].b = -1; } } diff --git a/ui/Window.h b/ui/Window.h index 7c5cdfc..aed613d 100644 --- a/ui/Window.h +++ b/ui/Window.h @@ -106,7 +106,7 @@ typedef enum { typedef struct { wexpOpType_t opType; - int a, b, c, d; + intptr_t a, b, c, d; } wexpOp_t; struct idRegEntry { @@ -233,7 +233,7 @@ public: virtual idWinVar *GetWinVarByName (const char *_name, bool winLookup = false, drawWin_t** owner = NULL); - int GetWinVarOffset( idWinVar *wv, drawWin_t *dw ); + intptr_t GetWinVarOffset( idWinVar *wv, drawWin_t *dw ); float GetMaxCharHeight(); float GetMaxCharWidth(); void SetFont(); @@ -303,7 +303,7 @@ public: bool RunScript(int n); bool RunScriptList(idGuiScriptList *src); void SetRegs(const char *key, const char *val); - int ParseExpression( idParser *src, idWinVar *var = NULL, int component = 0 ); + intptr_t ParseExpression( idParser *src, idWinVar *var = NULL, intptr_t component = 0 ); int ExpressionConstant(float f); idRegisterList *RegList() { return ®List; } void AddCommand(const char *cmd); @@ -353,10 +353,10 @@ protected: int ExpressionTemporary(); wexpOp_t *ExpressionOp(); - int EmitOp( int a, int b, wexpOpType_t opType, wexpOp_t **opp = NULL ); - int ParseEmitOp( idParser *src, int a, wexpOpType_t opType, int priority, wexpOp_t **opp = NULL ); - int ParseTerm( idParser *src, idWinVar *var = NULL, int component = 0 ); - int ParseExpressionPriority( idParser *src, int priority, idWinVar *var = NULL, int component = 0 ); + intptr_t EmitOp( intptr_t a, intptr_t b, wexpOpType_t opType, wexpOp_t **opp = NULL ); + intptr_t ParseEmitOp( idParser *src, intptr_t a, wexpOpType_t opType, int priority, wexpOp_t **opp = NULL ); + intptr_t ParseTerm( idParser *src, idWinVar *var = NULL, intptr_t component = 0 ); + intptr_t ParseExpressionPriority( idParser *src, int priority, idWinVar *var = NULL, intptr_t component = 0 ); void EvaluateRegisters(float *registers); void SaveExpressionParseState(); void RestoreExpressionParseState(); diff --git a/ui/Winvar.cpp b/ui/Winvar.cpp index cfe8cc0..9e0cfba 100644 --- a/ui/Winvar.cpp +++ b/ui/Winvar.cpp @@ -40,7 +40,7 @@ idWinVar::idWinVar() { } idWinVar::~idWinVar() { - delete name; + delete [] name; name = NULL; }