Copy disabled (too large)
Download .txt
Showing preview only (19,554K chars total). Download the full file to get everything.
Repository: thug1src/thug
Branch: master
Commit: d8eb7147663d
Files: 1308
Total size: 18.4 MB
Directory structure:
gitextract_37te5saf/
└── Code/
├── Core/
│ ├── Debug/
│ │ ├── Assert.cpp
│ │ ├── Checks.h
│ │ ├── Debug.cpp
│ │ ├── Mem_stat.h
│ │ ├── Messages.h
│ │ ├── Module.h
│ │ ├── NGPS/
│ │ │ └── P_debug.cpp
│ │ ├── Project.h
│ │ ├── Signatrs.h
│ │ ├── Wn32/
│ │ │ └── P_debug.cpp
│ │ ├── XBox/
│ │ │ └── p_debug.cpp
│ │ ├── log.cpp
│ │ └── ngc/
│ │ └── P_debug.cpp
│ ├── Debug.h
│ ├── Defines.h
│ ├── DynamicTable.cpp
│ ├── DynamicTable.h
│ ├── HashTable.h
│ ├── List/
│ │ ├── Head.h
│ │ ├── Node.h
│ │ ├── Search.h
│ │ └── list.cpp
│ ├── List.h
│ ├── LookupTable.cpp
│ ├── LookupTable.h
│ ├── Math/
│ │ ├── Xbox/
│ │ │ └── sse.h
│ │ ├── geometry.cpp
│ │ ├── geometry.h
│ │ ├── math.cpp
│ │ ├── math.h
│ │ ├── matrix.cpp
│ │ ├── matrix.h
│ │ ├── matrix.inl
│ │ ├── quat.h
│ │ ├── quat.inl
│ │ ├── rect.h
│ │ ├── rot90.cpp
│ │ ├── rot90.h
│ │ ├── slerp.cpp
│ │ ├── slerp.h
│ │ ├── vector.cpp
│ │ ├── vector.h
│ │ └── vector.inl
│ ├── String/
│ │ ├── CString.cpp
│ │ ├── CString.h
│ │ ├── stringutils.cpp
│ │ └── stringutils.h
│ ├── StringHashTable.h
│ ├── Support/
│ │ ├── Lock.h
│ │ ├── Ref.h
│ │ ├── class.cpp
│ │ ├── class.h
│ │ └── support.h
│ ├── Task/
│ │ ├── Hook.h
│ │ ├── List.h
│ │ ├── Stack.h
│ │ ├── Task.cpp
│ │ ├── Task.h
│ │ ├── Tlist.cpp
│ │ └── Tstack.cpp
│ ├── Task.h
│ ├── Thread/
│ │ ├── ngc/
│ │ │ ├── t_thread.cpp
│ │ │ └── t_thread.h
│ │ ├── ngps/
│ │ │ ├── t_thread.cpp
│ │ │ └── t_thread.h
│ │ └── wn32/
│ │ ├── t_thread.cpp
│ │ └── t_thread.h
│ ├── TimestampedFlag.h
│ ├── compress.cpp
│ ├── compress.h
│ ├── crc.cpp
│ ├── crc.h
│ ├── flags.h
│ ├── glue.h
│ ├── log.h
│ ├── macros.h
│ ├── math.h
│ ├── singleton.h
│ ├── support.h
│ └── thread.h
├── GameFlow.txt
├── Gel/
│ ├── AssMan/
│ │ ├── AssMan.cpp
│ │ ├── AssMan.h
│ │ ├── NodeArrayAsset.cpp
│ │ ├── NodeArrayAsset.h
│ │ ├── animasset.cpp
│ │ ├── animasset.h
│ │ ├── asset.cpp
│ │ ├── asset.h
│ │ ├── assettypes.h
│ │ ├── cutsceneasset.cpp
│ │ ├── cutsceneasset.h
│ │ ├── refasset.cpp
│ │ ├── refasset.h
│ │ ├── skeletonasset.cpp
│ │ ├── skeletonasset.h
│ │ ├── skinasset.cpp
│ │ └── skinasset.h
│ ├── Collision/
│ │ ├── BatchTriColl.cpp
│ │ ├── BatchTriColl.h
│ │ ├── CollCache.cpp
│ │ ├── CollCache.h
│ │ ├── CollEnums.h
│ │ ├── CollTriData.cpp
│ │ ├── CollTriData.h
│ │ ├── Collision.cpp
│ │ ├── Collision.h
│ │ ├── MovCollMan.cpp
│ │ └── MovCollMan.h
│ ├── Components/
│ │ ├── BouncyComponent.h
│ │ ├── CameraComponent.cpp
│ │ ├── CameraComponent.h
│ │ ├── CameraLookAroundComponent.cpp
│ │ ├── CameraLookAroundComponent.h
│ │ ├── CameraUtil.cpp
│ │ ├── CameraUtil.h
│ │ ├── CollideAndDieComponent.cpp
│ │ ├── CollideAndDieComponent.h
│ │ ├── FloatingLabelComponent.cpp
│ │ ├── FloatingLabelComponent.h
│ │ ├── GunslingerCameraLookAroundComponent.cpp
│ │ ├── GunslingerWalkCameraComponent.cpp
│ │ ├── GunslingerWalkComponent.cpp
│ │ ├── HorseCameraComponent.cpp
│ │ ├── HorseCameraComponent.h
│ │ ├── HorseComponent.cpp
│ │ ├── HorseComponent.h
│ │ ├── InputComponent.cpp
│ │ ├── InputComponent.h
│ │ ├── ModelLightUpdateComponent.cpp
│ │ ├── ModelLightUpdateComponent.h
│ │ ├── MovableContactComponent.cpp
│ │ ├── MovableContactComponent.h
│ │ ├── NearComponent.cpp
│ │ ├── NearComponent.h
│ │ ├── NodeArrayComponent.cpp
│ │ ├── NodeArrayComponent.h
│ │ ├── ObjectHookManagerComponent.cpp
│ │ ├── ObjectHookManagerComponent.h
│ │ ├── ParticleComponent.cpp
│ │ ├── ParticleComponent.h
│ │ ├── PedLogicComponent.cpp
│ │ ├── PedLogicComponent.h
│ │ ├── ProximTriggerComponent.cpp
│ │ ├── ProximTriggerComponent.h
│ │ ├── RailManagerComponent.cpp
│ │ ├── RailManagerComponent.h
│ │ ├── RibbonComponent.cpp
│ │ ├── RibbonComponent.h
│ │ ├── RiderComponent.cpp
│ │ ├── RiderComponent.h
│ │ ├── SetDisplayMatrixComponent.cpp
│ │ ├── SetDisplayMatrixComponent.h
│ │ ├── SkaterCameraComponent.cpp
│ │ ├── SkaterCameraComponent.h
│ │ ├── SkitchComponent.cpp
│ │ ├── SkitchComponent.h
│ │ ├── StaticVehicleComponent.cpp
│ │ ├── StaticVehicleComponent.h
│ │ ├── StatsManagerComponent.cpp
│ │ ├── StatsManagerComponent.h
│ │ ├── StreamComponent.cpp
│ │ ├── StreamComponent.h
│ │ ├── SuspendComponent.cpp
│ │ ├── SuspendComponent.h
│ │ ├── TriggerComponent.cpp
│ │ ├── TriggerComponent.h
│ │ ├── VehicleSoundComponent.cpp
│ │ ├── VehicleSoundComponent.h
│ │ ├── VelocityComponent.cpp
│ │ ├── VelocityComponent.h
│ │ ├── VibrationComponent.cpp
│ │ ├── VibrationComponent.h
│ │ ├── WalkCameraComponent.cpp
│ │ ├── WalkCameraComponent.h
│ │ ├── WalkComponent.cpp
│ │ ├── WalkComponent.h
│ │ ├── WalkHangUtil.cpp
│ │ ├── WalkLadderUtil.cpp
│ │ ├── animationcomponent.cpp
│ │ ├── animationcomponent.h
│ │ ├── avoidcomponent.cpp
│ │ ├── avoidcomponent.h
│ │ ├── bouncycomponent.cpp
│ │ ├── carphysicscomponent.cpp
│ │ ├── carphysicscomponent.h
│ │ ├── collisioncomponent.cpp
│ │ ├── collisioncomponent.h
│ │ ├── emptycomponent.cpp
│ │ ├── emptycomponent.h
│ │ ├── lockobjcomponent.cpp
│ │ ├── lockobjcomponent.h
│ │ ├── modelcomponent.cpp
│ │ ├── modelcomponent.h
│ │ ├── motioncomponent.cpp
│ │ ├── motioncomponent.h
│ │ ├── rigidbodycomponent.cpp
│ │ ├── rigidbodycomponent.h
│ │ ├── shadowcomponent.cpp
│ │ ├── shadowcomponent.h
│ │ ├── skeletoncomponent.cpp
│ │ ├── skeletoncomponent.h
│ │ ├── soundcomponent.cpp
│ │ ├── soundcomponent.h
│ │ ├── specialitemcomponent.cpp
│ │ ├── specialitemcomponent.h
│ │ ├── trickcomponent.cpp
│ │ ├── trickcomponent.h
│ │ ├── vehiclecameracomponent.cpp
│ │ ├── vehiclecameracomponent.h
│ │ ├── vehiclecomponent.cpp
│ │ ├── vehiclecomponent.h
│ │ ├── weaponcomponent.cpp
│ │ └── weaponcomponent.h
│ ├── Environment/
│ │ ├── terrain.cpp
│ │ └── terrain.h
│ ├── Event.h
│ ├── Input/
│ │ ├── InpMan.cpp
│ │ └── inpserv.cpp
│ ├── MainLoop/
│ │ └── Mainloop.cpp
│ ├── Module/
│ │ ├── modman.cpp
│ │ └── module.cpp
│ ├── Movies/
│ │ ├── Movies.cpp
│ │ ├── Movies.h
│ │ ├── Ngps/
│ │ │ ├── audiodec.cpp
│ │ │ ├── audiodec.h
│ │ │ ├── defs.h
│ │ │ ├── disp.cpp
│ │ │ ├── disp.h
│ │ │ ├── p_movies.cpp
│ │ │ ├── p_movies.h
│ │ │ ├── read.cpp
│ │ │ ├── readbuf.cpp
│ │ │ ├── readbuf.h
│ │ │ ├── strfile.cpp
│ │ │ ├── strfile.h
│ │ │ ├── vibuf.cpp
│ │ │ ├── vibuf.h
│ │ │ ├── videodec.cpp
│ │ │ ├── videodec.h
│ │ │ ├── vobuf.cpp
│ │ │ └── vobuf.h
│ │ ├── Xbox/
│ │ │ ├── p_movies.cpp
│ │ │ └── p_movies.h
│ │ └── ngc/
│ │ ├── p_movies.cpp
│ │ └── p_movies.h
│ ├── Music/
│ │ ├── Ngps/
│ │ │ ├── Bgm/
│ │ │ │ ├── PathDefs
│ │ │ │ ├── bgm_com.c
│ │ │ │ ├── bgm_entr.c
│ │ │ │ ├── bgm_i.h
│ │ │ │ ├── bgm_play.c
│ │ │ │ ├── bgm_r2s.s
│ │ │ │ ├── bgm_r2sm.c
│ │ │ │ └── makefile
│ │ │ ├── Pcm/
│ │ │ │ ├── Makefile
│ │ │ │ ├── PathDefs
│ │ │ │ ├── pcm.h
│ │ │ │ ├── pcm_com.c
│ │ │ │ ├── pcm_ent.c
│ │ │ │ ├── pcm_sound.c
│ │ │ │ └── pcmiop.h
│ │ │ ├── p_music.cpp
│ │ │ └── p_music.h
│ │ ├── Xbox/
│ │ │ ├── p_adpcmfilestream.cpp
│ │ │ ├── p_adpcmfilestream.h
│ │ │ ├── p_music.cpp
│ │ │ ├── p_music.h
│ │ │ ├── p_soundtrack.cpp
│ │ │ ├── p_soundtrack.h
│ │ │ ├── p_wmafilestream.cpp
│ │ │ └── p_wmafilestream.h
│ │ ├── music.cpp
│ │ ├── music.h
│ │ └── ngc/
│ │ ├── bgm/
│ │ │ ├── bgm_com.c
│ │ │ ├── bgm_entr.c
│ │ │ ├── bgm_i.h
│ │ │ ├── bgm_play.c
│ │ │ ├── bgm_r2s.s
│ │ │ └── bgm_r2sm.c
│ │ ├── divx/
│ │ │ ├── AUDSimpleAudio.cpp
│ │ │ ├── AUDSimpleAudio.h
│ │ │ ├── AUDSimplePlayer.cpp
│ │ │ └── AUDSimplePlayer.h
│ │ ├── p_music.cpp
│ │ ├── p_music.h
│ │ └── pcm/
│ │ ├── pcm.h
│ │ ├── pcm_com.c
│ │ ├── pcm_ent.c
│ │ └── pcmiop.h
│ ├── Net/
│ │ ├── App/
│ │ │ └── netapp.cpp
│ │ ├── Client/
│ │ │ ├── netclnt.cpp
│ │ │ └── netclnt.h
│ │ ├── Dispatch/
│ │ │ └── netdsptch.cpp
│ │ ├── Handler/
│ │ │ └── nethndlr.cpp
│ │ ├── Server/
│ │ │ ├── netserv.cpp
│ │ │ └── netserv.h
│ │ ├── net.cpp
│ │ ├── net.h
│ │ └── netconn.cpp
│ ├── ObjPtr.h
│ ├── Object/
│ │ ├── Event.cpp
│ │ ├── ObjPtr.cpp
│ │ ├── RefCounted.cpp
│ │ ├── basecomponent.cpp
│ │ ├── basecomponent.h
│ │ ├── compositeobject.cpp
│ │ ├── compositeobject.h
│ │ ├── compositeobjectmanager.cpp
│ │ ├── compositeobjectmanager.h
│ │ ├── object.cpp
│ │ ├── objman.cpp
│ │ ├── objsearch.cpp
│ │ └── objtrack.cpp
│ ├── Prefs/
│ │ ├── Prefs.cpp
│ │ └── Prefs.h
│ ├── RefCounted.h
│ ├── Scripting/
│ │ ├── array.cpp
│ │ ├── array.h
│ │ ├── checksum.cpp
│ │ ├── checksum.h
│ │ ├── component.cpp
│ │ ├── component.h
│ │ ├── debugger.cpp
│ │ ├── debugger.h
│ │ ├── eval.cpp
│ │ ├── eval.h
│ │ ├── file.cpp
│ │ ├── file.h
│ │ ├── init.cpp
│ │ ├── init.h
│ │ ├── parse.cpp
│ │ ├── parse.h
│ │ ├── script.cpp
│ │ ├── script.h
│ │ ├── scriptcache.cpp
│ │ ├── scriptcache.h
│ │ ├── scriptdefs.h
│ │ ├── skiptoken.cpp
│ │ ├── string.cpp
│ │ ├── string.h
│ │ ├── struct.cpp
│ │ ├── struct.h
│ │ ├── symboltable.cpp
│ │ ├── symboltable.h
│ │ ├── symboltype.cpp
│ │ ├── symboltype.h
│ │ ├── tokens.cpp
│ │ ├── tokens.h
│ │ ├── utils.cpp
│ │ ├── utils.h
│ │ ├── vecpair.cpp
│ │ ├── vecpair.h
│ │ └── win32functions.cpp
│ ├── SoundFX/
│ │ ├── NGPS/
│ │ │ ├── p_sfx.cpp
│ │ │ └── p_sfx.h
│ │ ├── Xbox/
│ │ │ ├── p_sfx.cpp
│ │ │ ├── p_sfx.h
│ │ │ └── skate5fx.h
│ │ ├── ngc/
│ │ │ ├── p_sfx.cpp
│ │ │ └── p_sfx.h
│ │ ├── soundfx.cpp
│ │ └── soundfx.h
│ ├── inpman.h
│ ├── mainloop.h
│ ├── modman.h
│ ├── module.h
│ ├── object.h
│ ├── objman.h
│ ├── objsearch.h
│ ├── objserv.h
│ └── objtrack.h
├── Gfx/
│ ├── 2D/
│ │ ├── BlurEffect.cpp
│ │ ├── BlurEffect.h
│ │ ├── Element3d.cpp
│ │ ├── Element3d.h
│ │ ├── Menu2.cpp
│ │ ├── Menu2.h
│ │ ├── ScreenElemMan.cpp
│ │ ├── ScreenElemMan.h
│ │ ├── ScreenElement2.cpp
│ │ ├── ScreenElement2.h
│ │ ├── ScrollingMenu.cpp
│ │ ├── ScrollingMenu.h
│ │ ├── SpriteElement.cpp
│ │ ├── SpriteElement.h
│ │ ├── TextElement.cpp
│ │ ├── TextElement.h
│ │ ├── Window.cpp
│ │ └── Window.h
│ ├── AnimController.cpp
│ ├── AnimController.h
│ ├── BonedAnim.cpp
│ ├── BonedAnim.h
│ ├── BonedAnimTypes.h
│ ├── CasUtils.cpp
│ ├── CasUtils.h
│ ├── CustomAnimKey.cpp
│ ├── CustomAnimKey.h
│ ├── FaceMassage.cpp
│ ├── FaceMassage.h
│ ├── FaceTexture.cpp
│ ├── FaceTexture.h
│ ├── Image/
│ │ └── ImageBasic.h
│ ├── ModelAppearance.cpp
│ ├── ModelAppearance.h
│ ├── ModelBuilder.cpp
│ ├── ModelBuilder.h
│ ├── NGC/
│ │ ├── NX/
│ │ │ ├── anim.cpp
│ │ │ ├── anim.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── geomnode.cpp
│ │ │ ├── geomnode.h
│ │ │ ├── grass.cpp
│ │ │ ├── grass.h
│ │ │ ├── import.cpp
│ │ │ ├── import.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── light.cpp
│ │ │ ├── light.h
│ │ │ ├── line.cpp
│ │ │ ├── line.h
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── particles.cpp
│ │ │ ├── particles.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ └── types.h
│ │ ├── blur.cpp
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_gfxman.cpp
│ │ ├── p_loadscreen.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxanimcache.cpp
│ │ ├── p_nxanimcache.h
│ │ ├── p_nxfont.cpp
│ │ ├── p_nxfont.h
│ │ ├── p_nxfontman.cpp
│ │ ├── p_nxlight.cpp
│ │ ├── p_nxlight.h
│ │ ├── p_nxloadscreen.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxmodel.cpp
│ │ ├── p_nxmodel.h
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticleribbontrail.cpp
│ │ ├── p_nxparticleribbontrail.h
│ │ ├── p_nxparticleshaded.cpp
│ │ ├── p_nxparticleshaded.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxparticlestar.cpp
│ │ ├── p_nxparticlestar.h
│ │ ├── p_nxscene.cpp
│ │ ├── p_nxscene.h
│ │ ├── p_nxsector.cpp
│ │ ├── p_nxsector.h
│ │ ├── p_nxtexman.cpp
│ │ ├── p_nxtexture.cpp
│ │ ├── p_nxtexture.h
│ │ ├── p_nxviewman.cpp
│ │ ├── p_nxweather.cpp
│ │ ├── p_nxweather.h
│ │ └── p_nxwin2D.h
│ ├── NGPS/
│ │ ├── NX/
│ │ │ ├── Makefile
│ │ │ ├── asmdma.dsm
│ │ │ ├── asmdma.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── dma.cpp
│ │ │ ├── dma.h
│ │ │ ├── dmacalls.cpp
│ │ │ ├── dmacalls.h
│ │ │ ├── fx.cpp
│ │ │ ├── fx.h
│ │ │ ├── geomnode.cpp
│ │ │ ├── geomnode.h
│ │ │ ├── gif.cpp
│ │ │ ├── gif.h
│ │ │ ├── group.cpp
│ │ │ ├── group.h
│ │ │ ├── gs.cpp
│ │ │ ├── gs.h
│ │ │ ├── immediate.cpp
│ │ │ ├── immediate.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── interrupts.cpp
│ │ │ ├── interrupts.h
│ │ │ ├── light.cpp
│ │ │ ├── light.h
│ │ │ ├── line.cpp
│ │ │ ├── line.h
│ │ │ ├── loadscreen.cpp
│ │ │ ├── loadscreen.h
│ │ │ ├── maintest.cpp
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── mikemath.cpp
│ │ │ ├── mikemath.h
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── pcrtc.cpp
│ │ │ ├── pcrtc.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── resource.cpp
│ │ │ ├── resource.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── switches.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── texturemem.cpp
│ │ │ ├── texturemem.h
│ │ │ ├── types.h
│ │ │ ├── vif.cpp
│ │ │ ├── vif.h
│ │ │ ├── vu0code.dsm
│ │ │ ├── vu0code.h
│ │ │ ├── vu1/
│ │ │ │ ├── defs.vsm
│ │ │ │ ├── jumptab.vsm
│ │ │ │ ├── main.vsm
│ │ │ │ ├── newvu1code.dsm
│ │ │ │ ├── newvu1code.h
│ │ │ │ └── particle.vsm
│ │ │ ├── vu1.cpp
│ │ │ ├── vu1.h
│ │ │ ├── vu1code.dsm
│ │ │ ├── vu1code.h
│ │ │ ├── vu1context.cpp
│ │ │ └── vu1context.h
│ │ ├── PaletteGen.cpp
│ │ ├── PaletteGen.h
│ │ ├── p_NxAnimCache.cpp
│ │ ├── p_NxAnimCache.h
│ │ ├── p_NxFont.cpp
│ │ ├── p_NxFont.h
│ │ ├── p_NxFontMan.cpp
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLight.cpp
│ │ ├── p_NxLight.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxLightMan.h
│ │ ├── p_NxLoadScreen.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxModel.cpp
│ │ ├── p_NxModel.h
│ │ ├── p_NxScene.cpp
│ │ ├── p_NxScene.h
│ │ ├── p_NxSector.cpp
│ │ ├── p_NxSector.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTexMan.cpp
│ │ ├── p_NxTexture.cpp
│ │ ├── p_NxTexture.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewMan.cpp
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_NxWin2D.h
│ │ ├── p_gfxman.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticlenewflat.cpp
│ │ ├── p_nxparticlenewflat.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticleribbontrail.cpp
│ │ ├── p_nxparticleribbontrail.h
│ │ ├── p_nxparticleshaded.cpp
│ │ ├── p_nxparticleshaded.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxparticlestar.cpp
│ │ ├── p_nxparticlestar.h
│ │ ├── p_nxweather.cpp
│ │ └── p_nxweather.h
│ ├── NxAnimCache.cpp
│ ├── NxAnimCache.h
│ ├── NxFont.cpp
│ ├── NxFont.h
│ ├── NxFontMan.cpp
│ ├── NxFontMan.h
│ ├── NxGeom.cpp
│ ├── NxGeom.h
│ ├── NxHierarchy.h
│ ├── NxImposter.cpp
│ ├── NxImposter.h
│ ├── NxLight.cpp
│ ├── NxLight.h
│ ├── NxLightMan.cpp
│ ├── NxLightMan.h
│ ├── NxLoadScreen.cpp
│ ├── NxLoadScreen.h
│ ├── NxMesh.cpp
│ ├── NxMesh.h
│ ├── NxMiscFX.cpp
│ ├── NxMiscFX.h
│ ├── NxModel.cpp
│ ├── NxModel.h
│ ├── NxNewParticle.cpp
│ ├── NxNewParticle.h
│ ├── NxNewParticleMgr.cpp
│ ├── NxNewParticleMgr.h
│ ├── NxQuickAnim.cpp
│ ├── NxQuickAnim.h
│ ├── NxScene.cpp
│ ├── NxScene.h
│ ├── NxSector.cpp
│ ├── NxSector.h
│ ├── NxSkinComponent.cpp
│ ├── NxSkinComponent.h
│ ├── NxSprite.cpp
│ ├── NxSprite.h
│ ├── NxTexMan.cpp
│ ├── NxTexMan.h
│ ├── NxTexture.cpp
│ ├── NxTexture.h
│ ├── NxTextured3dPoly.cpp
│ ├── NxTextured3dPoly.h
│ ├── NxViewMan.cpp
│ ├── NxViewMan.h
│ ├── NxViewport.cpp
│ ├── NxViewport.h
│ ├── NxWin2D.cpp
│ ├── NxWin2D.h
│ ├── Pose.h
│ ├── Skeleton.cpp
│ ├── Skeleton.h
│ ├── XBox/
│ │ ├── NX/
│ │ │ ├── BillboardScreenAlignedVS.vsh
│ │ │ ├── ParticleFlatVS.vsh
│ │ │ ├── ParticleNewFlatPointSpriteVS.vsh
│ │ │ ├── ParticleNewFlatVS.vsh
│ │ │ ├── PixelShader0.psh
│ │ │ ├── PixelShader0IVA.psh
│ │ │ ├── PixelShader1.psh
│ │ │ ├── PixelShader2.psh
│ │ │ ├── PixelShader3.psh
│ │ │ ├── PixelShader4.psh
│ │ │ ├── PixelShader5.psh
│ │ │ ├── PixelShaderBrighten.psh
│ │ │ ├── PixelShaderBrightenIVA.psh
│ │ │ ├── PixelShaderBumpWater.psh
│ │ │ ├── PixelShaderFocusBlur.psh
│ │ │ ├── PixelShaderFocusIntegrate.psh
│ │ │ ├── PixelShaderFocusLookupIntegrate.psh
│ │ │ ├── PixelShaderNULL.psh
│ │ │ ├── PixelShaderPointSprite.psh
│ │ │ ├── PixelShader_ShadowBuffer.psh
│ │ │ ├── ShadowBufferStaticGeomPS.psh
│ │ │ ├── ShadowBufferStaticGeomVS.vsh
│ │ │ ├── WeightedMeshVS_1Weight.vsh
│ │ │ ├── WeightedMeshVS_2Weight.vsh
│ │ │ ├── WeightedMeshVS_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_4Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_4Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_1Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_2Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_4Weight.vsh
│ │ │ ├── WeightedMeshVertexShader0.vsh
│ │ │ ├── WeightedMeshVertexShader1.vsh
│ │ │ ├── WeightedMeshVertexShader_SBWrite.vsh
│ │ │ ├── anim.cpp
│ │ │ ├── anim.h
│ │ │ ├── anim_vertdefs.h
│ │ │ ├── billboard.cpp
│ │ │ ├── billboard.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── gamma.cpp
│ │ │ ├── gamma.h
│ │ │ ├── grass.cpp
│ │ │ ├── grass.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── mipmap.inl
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── particles.cpp
│ │ │ ├── particles.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── screenfx.cpp
│ │ │ ├── screenfx.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── swizzleformat.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── verlet.cpp
│ │ │ ├── verlet.h
│ │ │ └── xbmemfnt.h
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLight.cpp
│ │ ├── p_NxLight.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxLoadScreen.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxModel.cpp
│ │ ├── p_NxModel.h
│ │ ├── p_NxParticleRibbonTrail.cpp
│ │ ├── p_NxParticleRibbonTrail.h
│ │ ├── p_NxParticleShaded.cpp
│ │ ├── p_NxParticleShaded.h
│ │ ├── p_NxParticleStar.cpp
│ │ ├── p_NxParticleStar.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewMan.cpp
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_NxWin2D.h
│ │ ├── p_gfxman.cpp
│ │ ├── p_loadscreen.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxfont.cpp
│ │ ├── p_nxfont.h
│ │ ├── p_nxfontman.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxscene.cpp
│ │ ├── p_nxscene.h
│ │ ├── p_nxsector.cpp
│ │ ├── p_nxsector.h
│ │ ├── p_nxtexman.cpp
│ │ ├── p_nxtexture.cpp
│ │ ├── p_nxtexture.h
│ │ ├── p_nxweather.cpp
│ │ └── p_nxweather.h
│ ├── baseanimcontroller.cpp
│ ├── baseanimcontroller.h
│ ├── bbox.cpp
│ ├── bbox.h
│ ├── blendchannel.cpp
│ ├── blendchannel.h
│ ├── camera.cpp
│ ├── camera.h
│ ├── debuggfx.cpp
│ ├── debuggfx.h
│ ├── gfxman.cpp
│ ├── gfxman.h
│ ├── gfxutils.cpp
│ ├── gfxutils.h
│ ├── nx.cpp
│ ├── nx.h
│ ├── nxflags.h
│ ├── nxparticle.cpp
│ ├── nxparticle.h
│ ├── nxparticlemgr.cpp
│ ├── nxparticlemgr.h
│ ├── nxweather.cpp
│ ├── nxweather.h
│ ├── shadow.cpp
│ ├── shadow.h
│ ├── stdafx.h
│ ├── subanimcontroller.cpp
│ ├── subanimcontroller.h
│ ├── vecfont.cpp
│ └── vecfont.h
├── Sk/
│ ├── Components/
│ │ ├── EditorCameraComponent.cpp
│ │ ├── EditorCameraComponent.h
│ │ ├── GoalEditorComponent.cpp
│ │ ├── GoalEditorComponent.h
│ │ ├── ProjectileCollisionComponent.cpp
│ │ ├── ProjectileCollisionComponent.h
│ │ ├── RailEditorComponent.cpp
│ │ ├── RailEditorComponent.h
│ │ ├── SkaterAdjustPhysicsComponent.cpp
│ │ ├── SkaterAdjustPhysicsComponent.h
│ │ ├── SkaterBalanceTrickComponent.cpp
│ │ ├── SkaterBalanceTrickComponent.h
│ │ ├── SkaterCleanupStateComponent.cpp
│ │ ├── SkaterCleanupStateComponent.h
│ │ ├── SkaterCorePhysicsComponent.cpp
│ │ ├── SkaterCorePhysicsComponent.h
│ │ ├── SkaterEndRunComponent.cpp
│ │ ├── SkaterEndRunComponent.h
│ │ ├── SkaterFinalizePhysicsComponent.cpp
│ │ ├── SkaterFinalizePhysicsComponent.h
│ │ ├── SkaterFlipAndRotateComponent.cpp
│ │ ├── SkaterFlipAndRotateComponent.h
│ │ ├── SkaterFloatingNameComponent.cpp
│ │ ├── SkaterFloatingNameComponent.h
│ │ ├── SkaterGapComponent.cpp
│ │ ├── SkaterGapComponent.h
│ │ ├── SkaterLocalNetLogicComponent.cpp
│ │ ├── SkaterLocalNetLogicComponent.h
│ │ ├── SkaterLoopingSoundComponent.cpp
│ │ ├── SkaterLoopingSoundComponent.h
│ │ ├── SkaterMatrixQueriesComponent.cpp
│ │ ├── SkaterMatrixQueriesComponent.h
│ │ ├── SkaterNonLocalNetLogicComponent.cpp
│ │ ├── SkaterNonLocalNetLogicComponent.h
│ │ ├── SkaterPhysicsControlComponent.cpp
│ │ ├── SkaterPhysicsControlComponent.h
│ │ ├── SkaterProximityComponent.cpp
│ │ ├── SkaterProximityComponent.h
│ │ ├── SkaterRotateComponent.cpp
│ │ ├── SkaterRotateComponent.h
│ │ ├── SkaterRunTimerComponent.cpp
│ │ ├── SkaterRunTimerComponent.h
│ │ ├── SkaterScoreComponent.cpp
│ │ ├── SkaterScoreComponent.h
│ │ ├── SkaterSoundComponent.cpp
│ │ ├── SkaterSoundComponent.h
│ │ ├── SkaterStancePanelComponent.cpp
│ │ ├── SkaterStancePanelComponent.h
│ │ ├── SkaterStateComponent.cpp
│ │ ├── SkaterStateComponent.h
│ │ ├── SkaterStateHistoryComponent.cpp
│ │ └── SkaterStateHistoryComponent.h
│ ├── Engine/
│ │ ├── RectFeeler.cpp
│ │ ├── RectFeeler.h
│ │ ├── SuperSector.cpp
│ │ ├── SuperSector.h
│ │ ├── contact.cpp
│ │ ├── contact.h
│ │ ├── feeler.cpp
│ │ ├── feeler.h
│ │ ├── sounds.cpp
│ │ └── sounds.h
│ ├── GameNet/
│ │ ├── ExportMsg.h
│ │ ├── GameHandler.cpp
│ │ ├── GameMsg.h
│ │ ├── GameNet.cpp
│ │ ├── GameNet.h
│ │ ├── Lobby.cpp
│ │ ├── Lobby.h
│ │ ├── Ngps/
│ │ │ ├── dnas.cpp
│ │ │ ├── p_buddy.cpp
│ │ │ ├── p_buddy.h
│ │ │ ├── p_content.cpp
│ │ │ ├── p_content.h
│ │ │ ├── p_ezcommon.h
│ │ │ ├── p_ezconfig.h
│ │ │ ├── p_ezmain.h
│ │ │ ├── p_libezcnf.cpp
│ │ │ ├── p_libezcnf.h
│ │ │ ├── p_netcnfif.h
│ │ │ ├── p_netconfig.cpp
│ │ │ ├── p_stats.cpp
│ │ │ ├── p_stats.h
│ │ │ └── snglue.cpp
│ │ ├── Player.cpp
│ │ ├── ServerList.cpp
│ │ ├── XBox/
│ │ │ ├── p_auth.cpp
│ │ │ ├── p_auth.h
│ │ │ ├── p_buddy.cpp
│ │ │ ├── p_buddy.h
│ │ │ ├── p_match.cpp
│ │ │ ├── p_match.h
│ │ │ ├── p_voice.cpp
│ │ │ └── p_voice.h
│ │ └── scriptdebugger.h
│ ├── Main.cpp
│ ├── Modules/
│ │ ├── FrontEnd/
│ │ │ ├── FrontEnd.cpp
│ │ │ └── FrontEnd.h
│ │ ├── Skate/
│ │ │ ├── BettingGuy.cpp
│ │ │ ├── BettingGuy.h
│ │ │ ├── CATGoal.cpp
│ │ │ ├── CATGoal.h
│ │ │ ├── CompetitionGoal.cpp
│ │ │ ├── CompetitionGoal.h
│ │ │ ├── CreateATrick.cpp
│ │ │ ├── CreateATrick.h
│ │ │ ├── FilmGoal.cpp
│ │ │ ├── FilmGoal.h
│ │ │ ├── FindGapsGoal.cpp
│ │ │ ├── FindGapsGoal.h
│ │ │ ├── GameFlow.cpp
│ │ │ ├── GameFlow.h
│ │ │ ├── GameMode.cpp
│ │ │ ├── GameMode.h
│ │ │ ├── Goal.cpp
│ │ │ ├── Goal.h
│ │ │ ├── GoalManager.cpp
│ │ │ ├── GoalManager.h
│ │ │ ├── GoalPed.cpp
│ │ │ ├── GoalPed.h
│ │ │ ├── HorseGoal.cpp
│ │ │ ├── HorseGoal.h
│ │ │ ├── Minigame.cpp
│ │ │ ├── Minigame.h
│ │ │ ├── NetGoal.cpp
│ │ │ ├── NetGoal.h
│ │ │ ├── RaceGoal.cpp
│ │ │ ├── RaceGoal.h
│ │ │ ├── SkatetrisGoal.cpp
│ │ │ ├── SkatetrisGoal.h
│ │ │ ├── VictoryCond.cpp
│ │ │ ├── VictoryCond.h
│ │ │ ├── competition.cpp
│ │ │ ├── competition.h
│ │ │ ├── horse.cpp
│ │ │ ├── horse.h
│ │ │ ├── score.cpp
│ │ │ ├── score.h
│ │ │ ├── skate.cpp
│ │ │ ├── skate.h
│ │ │ └── skatenet.cpp
│ │ └── Viewer/
│ │ ├── Viewer.cpp
│ │ └── Viewer.h
│ ├── Ngps/
│ │ └── crt0.s
│ ├── Objects/
│ │ ├── FollowOb.h
│ │ ├── GameObj.cpp
│ │ ├── GameObj.h
│ │ ├── MovingObject.cpp
│ │ ├── MovingObject.h
│ │ ├── PathMan.cpp
│ │ ├── PathMan.h
│ │ ├── PathOb.cpp
│ │ ├── PathOb.h
│ │ ├── PlayerProfileManager.cpp
│ │ ├── PlayerProfileManager.h
│ │ ├── SkaterButton.cpp
│ │ ├── SkaterButton.h
│ │ ├── SkaterPad.h
│ │ ├── SkaterProfile.cpp
│ │ ├── SkaterProfile.h
│ │ ├── SkaterTricks.cpp
│ │ ├── SkaterTricks.h
│ │ ├── TrickObject.cpp
│ │ ├── TrickObject.h
│ │ ├── ViewerObj.cpp
│ │ ├── ViewerObj.h
│ │ ├── car.cpp
│ │ ├── car.h
│ │ ├── crown.cpp
│ │ ├── crown.h
│ │ ├── cutscenedetails.cpp
│ │ ├── cutscenedetails.h
│ │ ├── emitter.cpp
│ │ ├── emitter.h
│ │ ├── followob.cpp
│ │ ├── gap.cpp
│ │ ├── gap.h
│ │ ├── manual.cpp
│ │ ├── manual.h
│ │ ├── moviecam.cpp
│ │ ├── moviecam.h
│ │ ├── moviedetails.cpp
│ │ ├── moviedetails.h
│ │ ├── navigation.cpp
│ │ ├── navigation.h
│ │ ├── objecthook.cpp
│ │ ├── objecthook.h
│ │ ├── ped.cpp
│ │ ├── ped.h
│ │ ├── proxim.cpp
│ │ ├── proxim.h
│ │ ├── rail.cpp
│ │ ├── rail.h
│ │ ├── records.cpp
│ │ ├── records.h
│ │ ├── restart.cpp
│ │ ├── restart.h
│ │ ├── skater.cpp
│ │ ├── skater.h
│ │ ├── skatercam.cpp
│ │ ├── skatercam.h
│ │ ├── skatercareer.cpp
│ │ ├── skatercareer.h
│ │ ├── skaterflags.h
│ │ └── skaterpad.cpp
│ ├── ParkEditor/
│ │ ├── EdRail.cpp
│ │ ├── EdRail.h
│ │ └── LoadPath.txt
│ ├── ParkEditor2/
│ │ ├── EdMap.cpp
│ │ ├── EdMap.h
│ │ ├── GapManager.cpp
│ │ ├── GapManager.h
│ │ ├── ParkEd.cpp
│ │ ├── ParkEd.h
│ │ ├── ParkGen.cpp
│ │ ├── ParkGen.h
│ │ ├── clipboard.cpp
│ │ └── clipboard.h
│ ├── Scripting/
│ │ ├── cfuncs.cpp
│ │ ├── cfuncs.h
│ │ ├── ftables.cpp
│ │ ├── ftables.h
│ │ ├── gs_file.cpp
│ │ ├── gs_file.h
│ │ ├── gs_init.cpp
│ │ ├── gs_init.h
│ │ ├── mcfuncs.cpp
│ │ ├── mcfuncs.h
│ │ ├── nodearray.cpp
│ │ ├── nodearray.h
│ │ ├── skfuncs.cpp
│ │ └── skfuncs.h
│ ├── heap_sizes.h
│ ├── language.h
│ ├── ngc/
│ │ ├── crt0.s
│ │ └── defs.s
│ ├── product_codes.h
│ └── template.h
├── Sys/
│ ├── Config/
│ │ ├── NGC/
│ │ │ └── p_config.cpp
│ │ ├── NGPS/
│ │ │ └── p_config.cpp
│ │ ├── Win32/
│ │ │ └── p_config.cpp
│ │ ├── XBox/
│ │ │ └── p_config.cpp
│ │ ├── config.cpp
│ │ └── config.h
│ ├── File/
│ │ ├── AsyncFilesys.cpp
│ │ ├── AsyncFilesys.h
│ │ ├── AsyncTypes.h
│ │ ├── FileLibrary.cpp
│ │ ├── FileLibrary.h
│ │ ├── PRE.cpp
│ │ ├── PRE.h
│ │ ├── XBox/
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_AsyncFilesys.h
│ │ │ ├── p_filesys.cpp
│ │ │ ├── p_pre.cpp
│ │ │ ├── p_streamer.cpp
│ │ │ └── p_streamer.h
│ │ ├── filesys.h
│ │ ├── memfile.h
│ │ ├── ngc/
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_asyncFilesys.h
│ │ │ ├── p_filesys.cpp
│ │ │ └── p_pre.cpp
│ │ ├── ngps/
│ │ │ ├── FileIO/
│ │ │ │ ├── FIleIO_IOP.h
│ │ │ │ ├── FileIO.h
│ │ │ │ ├── Makefile
│ │ │ │ ├── PathDefs
│ │ │ │ ├── command.c
│ │ │ │ └── start.c
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_AsyncFilesys.h
│ │ │ └── p_filesys.cpp
│ │ ├── pip.cpp
│ │ └── pip.h
│ ├── McMan.h
│ ├── Mem/
│ │ ├── CompactPool.cpp
│ │ ├── CompactPool.h
│ │ ├── PoolManager.cpp
│ │ ├── PoolManager.h
│ │ ├── Poolable.cpp
│ │ ├── Poolable.h
│ │ ├── alloc.cpp
│ │ ├── alloc.h
│ │ ├── handle.h
│ │ ├── heap.cpp
│ │ ├── heap.h
│ │ ├── memdbg.h
│ │ ├── memman.cpp
│ │ ├── memman.h
│ │ ├── memptr.h
│ │ ├── memtest.cpp
│ │ ├── memtest.h
│ │ ├── pile.cpp
│ │ ├── pile.h
│ │ ├── pool.cpp
│ │ ├── pool.h
│ │ ├── region.cpp
│ │ └── region.h
│ ├── MemCard/
│ │ ├── NGPS/
│ │ │ └── p_McMan.cpp
│ │ ├── XBox/
│ │ │ └── p_McMan.cpp
│ │ └── ngc/
│ │ └── p_McMan.cpp
│ ├── Profiler.cpp
│ ├── Profiler.h
│ ├── Replay/
│ │ ├── NGC/
│ │ │ └── p_replay.cpp
│ │ ├── NGPS/
│ │ │ └── p_replay.cpp
│ │ ├── Win32/
│ │ │ └── p_replay.cpp
│ │ ├── XBox/
│ │ │ └── p_replay.cpp
│ │ ├── replay.cpp
│ │ └── replay.h
│ ├── SIO/
│ │ ├── NGPS/
│ │ │ └── p_keyboard.cpp
│ │ ├── XBox/
│ │ │ ├── p_keyboard.cpp
│ │ │ ├── p_siodev.cpp
│ │ │ └── p_sioman.cpp
│ │ ├── keyboard.h
│ │ ├── ngc/
│ │ │ ├── p_keyboard.cpp
│ │ │ ├── siodev.cpp
│ │ │ └── sioman.cpp
│ │ ├── siodev.cpp
│ │ └── sioman.cpp
│ ├── Win32/
│ │ └── p_timer.cpp
│ ├── XBox/
│ │ └── p_timer.cpp
│ ├── demo.cpp
│ ├── demo.h
│ ├── ngc/
│ │ ├── p_anim.cpp
│ │ ├── p_anim.h
│ │ ├── p_anim_core.s
│ │ ├── p_aram.cpp
│ │ ├── p_aram.h
│ │ ├── p_assert.h
│ │ ├── p_atomic.cpp
│ │ ├── p_atomic.h
│ │ ├── p_bbox.cpp
│ │ ├── p_bbox.h
│ │ ├── p_buffer.cpp
│ │ ├── p_buffer.h
│ │ ├── p_camera.cpp
│ │ ├── p_camera.h
│ │ ├── p_clump.cpp
│ │ ├── p_clump.h
│ │ ├── p_collision.cpp
│ │ ├── p_collision.h
│ │ ├── p_debugfont.cpp
│ │ ├── p_debugfont.h
│ │ ├── p_display.cpp
│ │ ├── p_display.h
│ │ ├── p_dl.cpp
│ │ ├── p_dl.h
│ │ ├── p_dlman.cpp
│ │ ├── p_dlman.h
│ │ ├── p_dma.cpp
│ │ ├── p_dma.h
│ │ ├── p_dvd.cpp
│ │ ├── p_dvd.h
│ │ ├── p_file.cpp
│ │ ├── p_file.h
│ │ ├── p_font.cpp
│ │ ├── p_frame.cpp
│ │ ├── p_frame.h
│ │ ├── p_gx.cpp
│ │ ├── p_gx.h
│ │ ├── p_hashid.cpp
│ │ ├── p_hashid.h
│ │ ├── p_hw.h
│ │ ├── p_hwinit.cpp
│ │ ├── p_hwpad.cpp
│ │ ├── p_hwpad.h
│ │ ├── p_light.cpp
│ │ ├── p_light.h
│ │ ├── p_material.cpp
│ │ ├── p_material.h
│ │ ├── p_matman.cpp
│ │ ├── p_matman.h
│ │ ├── p_matrix.cpp
│ │ ├── p_matrix.h
│ │ ├── p_model.cpp
│ │ ├── p_model.h
│ │ ├── p_particle.cpp
│ │ ├── p_particle.h
│ │ ├── p_ppcwgpipe.h
│ │ ├── p_prim.cpp
│ │ ├── p_prim.h
│ │ ├── p_profile.cpp
│ │ ├── p_profile.h
│ │ ├── p_quat.cpp
│ │ ├── p_quat.h
│ │ ├── p_reftypes.h
│ │ ├── p_render.cpp
│ │ ├── p_render.h
│ │ ├── p_scene.cpp
│ │ ├── p_scene.h
│ │ ├── p_screenshot.cpp
│ │ ├── p_screenshot.h
│ │ ├── p_slerp.cpp
│ │ ├── p_slerp.h
│ │ ├── p_tex.cpp
│ │ ├── p_tex.h
│ │ ├── p_texman.cpp
│ │ ├── p_texman.h
│ │ ├── p_timer.cpp
│ │ ├── p_triangle.cpp
│ │ ├── p_triangle.h
│ │ ├── p_vector.cpp
│ │ └── p_vector.h
│ ├── ngps/
│ │ └── p_timer.cpp
│ ├── siodev.h
│ ├── sioman.h
│ ├── sys.cpp
│ ├── sys.h
│ ├── timer.cpp
│ └── timer.h
├── standard.cpp
├── template.cpp
└── template.h
================================================
FILE CONTENTS
================================================
================================================
FILE: Code/Core/Debug/Assert.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: assert.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: Assert support code **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <stdio.h>
#include <core/defines.h>
#include <core/support.h>
#include <core/debug.h>
#include <sys/config/config.h>
#ifndef __PLAT_WN32__
#include <gfx/gfxman.h>
#endif // __PLAT_WN32__
#ifdef __PLAT_NGPS__
int DumpUnwindStack( int iMaxDepth, int *pDest );
#include <libdev.h>
#endif
#ifdef __PLAT_NGC__
#include <dolphin.h>
#define _output OSReport
#else
#define _output printf
#endif
#ifdef __NOPT_ASSERT__
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
static const int vASSERT_BUFFER_SIZE = 512;
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
static AssertTrap* assert_trap_handler = NULL;
static bool screen_assert_active = false;
// made public for Dbg_ Macros
char* msg_null_pointer = "Null Pointer";
char* msg_misaligned_pointer = "Pointer not aligned";
char* msg_pointer_to_free_mem = "Pointer to free mem";
char* msg_unknown_reason = "No reason supplied";
char* msg_type_mismatch = "Type Mismatch: \"%s\" is of type \"%s\" - not a valid \"%s\"";
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
void set_trap( AssertTrap* trap )
{
assert_trap_handler = trap;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void screen_assert( bool on )
{
screen_assert_active = on;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#ifdef __NOPT_DEBUG__
void Assert( char* file, uint line, Signature& sig, char* reason )
#else
void Assert( char* file, uint line, char* reason )
#endif
{
static char assert_buffer1[vASSERT_BUFFER_SIZE];
#ifdef __NOPT_DEBUG
static char assert_buffer2[vASSERT_BUFFER_SIZE];
#endif
static char assert_buffer3[vASSERT_BUFFER_SIZE];
static char* tmp1 = assert_buffer1;
#ifdef __NOPT_DEBUG
static char* tmp2 = assert_buffer2;
#endif
static char* tmp3 = assert_buffer3;
#if !( defined ( __PLAT_XBOX__ ) || defined ( __PLAT_WN32__ ))
static int again = 0;
if (again)
{
_output ("MEM CONTEXT: %s\n",Mem::Manager::sHandle().GetContextName());
_output( "LOOPED ASSERTION: %s(%d)\n%s\n\n",
file, line, reason );
_output ("Real Assertion: %s\n%s\n",tmp1,tmp3);
while (1); // and hang...
}
again = 1;
_output ("\n--------------------------------------------------\nPLEASE COPY FROM A FEW LINES ABOVE HERE\n\nCURRENT MEM CONTEXT: %s\n\n"
,Mem::Manager::sHandle().GetContextName());
Mem::Manager& mem_man = Mem::Manager::sHandle();
// Mem::Heap* heap = mem_man.TopDownHeap();
// Mem::Region* region = heap->ParentRegion();
// _output ("TopDown Fragmentation %7dK, in %5d Blocks\n",heap->mFreeMem.m_count / 1024, heap->mFreeBlocks.m_count);
// _output (" used %7dK, in %5d Blocks\n",heap->mUsedMem.m_count / 1024, heap->mUsedBlocks.m_count);
// heap = mem_man.BottomUpHeap();
// _output ("BottomUp Fragmentation %7dK, in %5d Blocks\n",heap->mFreeMem.m_count / 1024, heap->mFreeBlocks.m_count);
// _output (" used %7dK, in %5d Blocks\n",heap->mUsedMem.m_count / 1024, heap->mUsedBlocks.m_count);
// _output ("Shared Region %dK free out of %d K available\n", region->MemAvailable() / 1024, region->TotalSize() / 1024 );
_output("Name Used Frag Free Min Blocks\n");
_output("--------------- ----- ----- ---- ------ ------\n");
Mem::Heap* heap;
for (heap = mem_man.FirstHeap(); heap != NULL; heap = mem_man.NextHeap(heap))
{
Mem::Region* region = heap->ParentRegion();
_output( "%12s: %5dK %4dK %4dK %4dK %5d \n",
heap->GetName(),
heap->mUsedMem.m_count / 1024,
heap->mFreeMem.m_count / 1024,
region->MemAvailable() / 1024,
region->MinMemAvailable() / 1024,
heap->mUsedBlocks.m_count
);
}
_output( "FILE: %s(%d)\nASSERTION: %s\n\n",
file, line, reason );
_output( tmp1, "FILE: %s(%d) ", file, line );
_output( tmp3, "ASSERTION: %s", reason );
// attempt to dump the call stack
// requires that you have the correct .map file, along with the executable
#ifndef __PLAT_WN32__
MemView_FindLeaks();
#endif
_output( "\nCALL STACK ..........................\n\n");
#ifdef __PLAT_NGPS__
DumpUnwindStack( 40, NULL );
#endif
#endif
sprintf( tmp1, "FILE: %s(%d) ", file, line );
sprintf( tmp3, "ASSERTION: %s", reason );
#ifndef __PLAT_NGC__
#ifndef __PLAT_WN32__
// Mick: Attempt to save a screenshot
// Dbg_Printf("Attempting to save screenshot 'screens\\Assert???.bmp'\n");
if (!Config::CD())
{
Gfx::Manager * gfx_manager = Gfx::Manager::Instance();
gfx_manager->ScreenShot( "Assert" );
}
#endif
if ( screen_assert_active )
{
screen_assert_active = false;
#ifndef __PLAT_WN32__
Gfx::Manager* gfx_man = Gfx::Manager::Instance();
gfx_man->AssertText ( 0, tmp1 );
#ifdef __NOPT_DEBUG
sprintf( tmp2, "%s", &sig.GetName() );
gfx_man->AssertText ( 1, tmp2 );
#endif
gfx_man->AssertText ( 2, tmp3 );
gfx_man->AssertFlush();
#endif // __PLAT_WN32__
}
#endif // __PLAT_NGC__
#ifdef __NOPT_DEBUG
sprintf( tmp1, "ASSERTION: %s(%d) %s\n%s\n\n",
file, line, &sig.GetName(), reason );
#else
sprintf( tmp1, "FILE: %s(%d)\nASSERTION: %s\n\n",
file, line, reason );
#endif
#ifdef __PLAT_NGPS__
#if 0 // does not seem to output anything...
sceDevConsInit(); // Initialise screen console output
int console = sceDevConsOpen(
(2048 - 640/2 + 20) << 4, // top left GS X primitive coord
(2048 - 448/2 + 20) << 4, // top left GS Y primitive coord
80, // Number of chars (X)
5); // Number of chars (Y)
sceDevConsAttribute(console, 7); // Output in white (default colours can be
// redefined by sceDevConsSetColor)
sceDevConsClear(console);
sceDevConsPrintf(console, tmp1);
sceDevConsPrintf(console, "blah \n");
sceDevConsPrintf(console, "blah2 \n");
sceDevConsPrintf(console, "blah3 \n");
sceDevConsDraw(console);
#endif
#endif
if ( assert_trap_handler != NULL )
{
_output ("MEM CONTEXT: %s\n",Mem::Manager::sHandle().GetContextName());
Dbg_Printf( "%s\n", tmp1 );
assert_trap_handler( tmp1 );
}
else
{
Dbg_Printf( "%s\n", tmp1 );
Dbg_Printf( "!!NO TRAP HANDLER SET!!\n" );
}
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#if ( defined ( __PLAT_XBOX__ ) || defined ( __PLAT_WN32__ ))
void assert_vcc( char* file, uint line, char* reason )
{
static char assert_buffer[vASSERT_BUFFER_SIZE];
static char* tmp = assert_buffer;
sprintf( tmp, "ASSERTION: %s(%d)\n%s\n\n",
file, line, reason );
if ( assert_trap_handler != NULL )
{
Dbg_Printf( "%s\n", tmp );
assert_trap_handler( tmp );
}
else
{
Dbg_Printf( "%s\n", tmp );
Dbg_Printf( "!!NO TRAP HANDLER SET!!\n" );
}
}
#endif // #ifdef __PLAT_XBOX__
/*****************************************************************************
** Public Functions **
*****************************************************************************/
} // namespace Dbg
#endif //__NOPT_DEBUG__
================================================
FILE: Code/Core/Debug/Checks.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (Dbg_) **
** **
** Created: 05/27/99 mjb **
** **
** File name: core/debug/checks.h **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_CHECKS_H
#define __CORE_DEBUG_CHECKS_H
#ifndef __CORE_DEBUG_LOG_H
#include <core/log.h>
#endif
/*****************************************************************************
** Includes **
*****************************************************************************/
#include "signatrs.h"
#ifdef __NOPT_ASSERT__
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Type Defines **
*****************************************************************************/
typedef void ( AssertTrap ) ( char* message );
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
extern char* msg_unknown_reason; // message strings
extern char* msg_null_pointer;
extern char* msg_misaligned_pointer;
extern char* msg_pointer_to_free_mem;
extern char* msg_type_mismatch;
extern AssertTrap default_trap;
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
#ifdef __NOPT_DEBUG__
void Assert ( char* file, uint line, Signature& sig, char* reason = msg_unknown_reason );
#else
void Assert ( char* file, uint line, char* reason = msg_unknown_reason );
#endif
void pad_printf ( const char* text, ... );
void set_trap( AssertTrap* trap = default_trap );
void screen_assert( bool on = false );
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Dbg
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Macros **
*****************************************************************************/
#define Dbg_SetTrap(A) { Dbg::set_trap(A); }
#define Dbg_SetScreenAssert(A) { Dbg::screen_assert(A); }
/******************************************************************/
/* Assertions */
/* */
/******************************************************************/
#ifdef __NOPT_DEBUG__
#define Dbg_Assert(_c) \
\
if ( !(_c)) \
{ \
Dbg::Assert( __FILE__, __LINE__, Dbg_signature ); \
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#define Dbg_MsgAssert( _c, _params ) \
\
if( !( _c )) \
{ \
Dbg::pad_printf _params; \
Dbg::Assert( __FILE__, __LINE__, Dbg_signature, \
Dbg::sprintf_pad ); \
}
#else // __NOPT_DEBUG__
// Mick: If we have assertions, but are not in DEBUG mode
// then we don not have the Dbg_signature thing
// so we just pass NULL to assert()
#define Dbg_Assert(_c) \
\
if ( !(_c)) \
{ \
Dbg::Assert ( __FILE__, __LINE__, NULL ); \
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#ifdef __PLAT_WN32__
#ifdef _CONSOLE
#define Dbg_MsgAssert( _c, _params ) \
\
if( !( _c )) \
{ \
printf("\nGame code assert!\n"); \
printf("File %s, line %d\n",__FILE__,__LINE__); \
printf _params; \
printf("\nPress CTRL-C to quit ... "); \
while(1); \
}
#else
#define Dbg_MsgAssert( _c, _params )
#endif
#else
#define Dbg_MsgAssert( _c, _params ) \
\
if( !( _c )) \
{ \
Dbg::pad_printf _params; \
Dbg::Assert( __FILE__, __LINE__, Dbg::sprintf_pad ); \
}
#endif
#endif // __NOPT_DEBUG__
#ifdef __PLAT_NGPS__
#define Dbg_MsgLog( _params ) \
{ \
Dbg::pad_printf _params; \
Log::AddEntry(__FILE__,__LINE__,__PRETTY_FUNCTION__,Dbg::sprintf_pad); \
}
#define Dbg_Log( ) \
{ \
Log::AddEntry(__FILE__,__LINE__,__PRETTY_FUNCTION__); \
}
#else
#define Dbg_MsgLog( _params ) \
{ \
Dbg::pad_printf _params; \
Log::AddEntry(__FILE__,__LINE__,__FUNCTION__,Dbg::sprintf_pad); \
}
#define Dbg_Log( ) \
{ \
Log::AddEntry(__FILE__,__LINE__,__FUNCTION__); \
}
#endif
/******************************************************************/
/* */
/* */
/******************************************************************/
#ifdef __NOPT_MEM_DEBUG__
#define Dbg_AssertPtr(_p) \
{ \
if ((_p) == NULL ) \
{ \
Dbg::Assert ( __FILE__, __LINE__, \
Dbg_signature, Dbg::msg_null_pointer ); \
} \
else if ( *((uint64*)(nAlignDown(_p))) == Mem::vFREE_BLOCK ) \
{ \
Dbg::Assert ( __FILE__, __LINE__, \
Dbg_signature, Dbg::msg_pointer_to_free_mem ); \
} \
}
#else // __NOPT_MEM_DEBUG__
#ifdef __NOPT_DEBUG__
#define Dbg_AssertPtr(_p) \
{ \
if ((_p) == NULL ) \
{ \
Dbg::Assert ( __FILE__, __LINE__, \
Dbg_signature, Dbg::msg_null_pointer ); \
} \
}
#else
#define Dbg_AssertPtr(_p) \
{ \
if ((_p) == NULL ) \
{ \
Dbg::Assert ( __FILE__, __LINE__, \
Dbg::msg_null_pointer ); \
} \
}
#endif //__NOPT_DEBUG__
#endif // __NOPT_MEM_DEBUG__
/******************************************************************/
/* Type Checking */
/* */
/******************************************************************/
#ifdef __NOPT_FULL_DEBUG__
#define Dbg_AssertType(_c,_t) \
{ \
Dbg_AssertPtr(_c); \
Dbg_MsgAssert( nAligned(_c), Dbg::msg_misaligned_pointer ); \
Dbg_MsgAssert(((_c)->classStamp != Spt::Class::vDELETED_CLASS ),"Deleted Class" ); \
Dbg_MsgAssert(((_c)->classStamp == Spt::Class::vREGISTERED_CLASS ), "Corrupt Class" ); \
Dbg_MsgAssert(((_c)->vClassNode()->IsDerivedOrSame(*_t::sClassNode())), \
Dbg::msg_type_mismatch,#_c,(_c)->vClassNode()->GetName(),#_t); \
}
#define Dbg_AssertThis \
{ \
Dbg_AssertPtr(this); \
Dbg_MsgAssert( nAligned(this), Dbg::msg_misaligned_pointer ); \
Dbg_MsgAssert((classStamp != Spt::Class::vDELETED_CLASS ),"Deleted Class" ); \
Dbg_MsgAssert((classStamp == Spt::Class::vREGISTERED_CLASS ), "Corrupt Class" ); \
Dbg_MsgAssert((vClassNode()->IsDerivedOrSame(*sClassNode())), \
Dbg::msg_type_mismatch,"this", vClassNode()->GetName(),sClassNode()->GetName()); \
}
#else // __NOPT_FULL_DEBUG__
#define Dbg_AssertType(_c,_t) Dbg_AssertPtr(_c)
#define Dbg_AssertThis Dbg_AssertPtr(this)
#endif // __NOPT_FULL_DEBUG__
/*****************************************************************************
** Stubs **
*****************************************************************************/
#else
#define Dbg_MsgAssert( _c, _params )
#define Dbg_SetTrap(_f)
#ifdef __NOPT_ASSERT__
#define Dbg_SetScreenAssert(A) { Dbg::screen_assert(A); }
#else
#define Dbg_SetScreenAssert(_b)
#endif
#define Dbg_Assert(_c)
#define Dbg_AssertPtr(_p)
#define Dbg_AssertType(_c,_t)
#define Dbg_AssertThis
#define Dbg_MsgLog( _params )
#define Dbg_Log( )
#endif // __NOPT_ASSERT__
/******************************************************************/
/* */
/* */
/******************************************************************/
#endif // __CORE_DEBUG_CHECKS_H
================================================
FILE: Code/Core/Debug/Debug.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: debug.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: Debug message support. **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#define __ERROR_STRINGS__
#include <stdio.h>
#include <stdarg.h>
#include <core/defines.h>
#include <core/debug.h>
#include <sys/config/config.h>
#include <sys/timer.h>
#include <sys/mem/memman.h>
#ifdef __PLAT_NGC__
#include <dolphin.h>
#endif __PLAT_NGC__
#ifdef __NOPT_ASSERT__
/*****************************************************************************
** DBG Information **
*****************************************************************************/
Dbg_DefineProject( Core, "Core Library")
namespace Dbg
{
/*****************************************************************************
** Externals **
*****************************************************************************/
extern void set_up ( void );
extern void close_down ( void );
extern OutputCode default_print;
extern AssertTrap default_trap;
/*****************************************************************************
** Defines **
*****************************************************************************/
static const int vBUFFER_SIZE = 512;
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
static char s_sprintf_buffer[vBUFFER_SIZE];
static char s_printf_buffer[vBUFFER_SIZE];
static Flags< Level > s_level_mask = mNONE;
#ifdef __NOPT_DEBUG__
static char* s_typename[] =
{
"ERROR!!",
"WARNING",
"Notify ",
"Message"
};
#endif
static OutputCode* output;
// public for Dbg_ Macros
char* sprintf_pad = s_sprintf_buffer;
char* printf_pad = s_printf_buffer;
#ifdef __NOPT_DEBUG__
Signature* current_sig;
#endif
/*****************************************************************************
** Public Data **
*****************************************************************************/
#ifdef __NOPT_DEBUG__
Project* RegisteredProjects = NULL;
Module* RegisteredModules = NULL;
#endif
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
void print( char* text );
/*****************************************************************************
** Private Functions **
*****************************************************************************/
static void s_prefixed_output( Level level, char* text, va_list args )
{
Dbg_AssertPtr( text );
Dbg_Assert( level >= vERROR );
Dbg_Assert( level <= vMESSAGE );
if ( s_level_mask.Test( level ))
{
return;
}
#ifdef __NOPT_DEBUG__
printf( "[%s] %s - ",
s_typename[level],
¤t_sig->GetName());
#endif
vsprintf( printf_pad, text, args);
Dbg::print( printf_pad );
Dbg::print( "\n" );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void pad_printf( const char* text, ... )
{
Dbg_AssertPtr( text );
va_list args;
va_start( args, text );
vsprintf( sprintf_pad, text, args);
va_end( args );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void print( char* text )
{
if ( output )
{
output( text );
}
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void message ( char *text, ... )
{
Dbg_AssertPtr( text );
if ( s_level_mask.TestMask ( mMESSAGE ))
{
return;
}
va_list args;
va_start( args, text );
s_prefixed_output( vMESSAGE, text, args );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void notify( char *text, ... )
{
Dbg_AssertPtr( text );
if ( s_level_mask.TestMask ( mNOTIFY ))
{
return;
}
va_list args;
va_start( args, text );
s_prefixed_output( vNOTIFY, text, args );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void warning( char *text, ... )
{
Dbg_AssertPtr( text );
if ( s_level_mask.TestMask ( mWARNING ))
{
return;
}
va_list args;
va_start( args, text );
s_prefixed_output( vWARNING, text, args );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void error( char *text, ... )
{
Dbg_AssertPtr( text );
if ( s_level_mask.TestMask ( mERROR ))
{
return;
}
va_list args;
va_start( args, text );
s_prefixed_output( vERROR, text, args );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void set_output( OutputCode* handler )
{
Dbg_AssertPtr( handler );
output = handler;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void level_mask( Flags< Mask > mask )
{
s_level_mask.SetMask( mask );
}
/*****************************************************************************
** Public Functions **
*****************************************************************************/
void SetUp( void )
{
set_trap( default_trap );
set_output( Dbg::default_print );
#ifdef __NOPT_DEBUG__
set_up(); // platform specific setup
#endif
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void CloseDown( void )
{
#ifdef __NOPT_DEBUG__
close_down(); // platform specific closedown
#endif
}
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Dbg
#endif // __NOPT_DEBUG__
#ifdef __PLAT_NGPS__
extern "C"
{
int snputs(const char* pszStr);
}
#endif
// Need to do this, cos otherwise the printf inside OurPrintf will get converted to
// an OurPrintf, & it will infinitely recurse.
#undef printf
int OurPrintf ( const char* fmt, ... )
{
// Don't want printf's in some builds.
# if defined( __PLAT_XBOX__ ) && !defined( __NOPT_ASSERT__ )
return 0;
# endif
int ret=-1;
char p_buffer[1024];
char *p_buf = p_buffer;
#if 1
p_buf[0]=0;
#else
sprintf (p_buf,"%6d: ",(int)Tmr::GetRenderFrame());
p_buf+=strlen(p_buf);
#endif
va_list args;
va_start( args, fmt );
vsprintf(p_buf,fmt,args);
va_end( args );
switch (Config::GetHardware())
{
#ifdef __PLAT_NGPS__
case Config::HARDWARE_PS2_PROVIEW:
ret=snputs(p_buffer);
break;
case Config::HARDWARE_PS2_DEVSYSTEM:
case Config::HARDWARE_PS2:
// If we are capturing to a file, then redirect there
if (dumping_printfs == 1)
{
dump_printf(p_buffer);
}
printf("%s",p_buffer);
break;
#endif
#ifdef __PLAT_NGC__
case Config::HARDWARE_NGC:
OSReport("%s",p_buffer);
break;
#endif
#ifdef __PLAT_XBOX__
case Config::HARDWARE_XBOX:
OutputDebugString(p_buffer);
break;
#endif
default:
break;
}
return ret;
}
uint32 quick_check_checksum(uint32 _i, const char *_s, const char *f, int line);
uint32 check_checksum(uint32 _i, const char *_s, const char *f, int line)
{
#ifdef __PLAT_NGPS__
uint32* ra;
asm ( "daddu %0, $31, $0" : "=r" (ra) );
Dbg_MsgAssert(_i == Crc::GenerateCRCFromString(_s),("%s:%d: Checksum 0x%x does not match %s, should be 0x%x",f,line,_i,_s,Crc::GenerateCRCFromString(_s)));
// After the assert has been run once, there is no need to run it again, so
// patch up the calling code to call quick_check_checksum instead
// we just need to inspect the code just before ra,
// make sure it contains the instructions for calling "check_checksum"
// and replace it with the equivalent for "quick_check_checksum"
// This will still all get compiled out for the release build
// but this method lets us validata all usages of CRCD that get called.
// Note, due to I-Cache, this code might still be executed several times
// as the routine will continue to be called until the cache entry for the
// call is overwritten
uint32 JAL_check_checksum = 0x0c000000 + ((uint32)check_checksum >> 2);
uint32 JAL_quick_check_checksum = 0x0c000000 + ((uint32)quick_check_checksum >> 2);
if (ra[-2] == JAL_check_checksum)
{
ra[-2] = JAL_quick_check_checksum;
}
return quick_check_checksum(_i,_s,f,line);
#else
return _i;
#endif
}
uint32 quick_check_checksum(uint32 _i, const char *_s, const char *f, int line)
{
return _i;
}
================================================
FILE: Code/Core/Debug/Mem_stat.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Host (HOST_) **
** **
** File name: core/host.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_MEM_STAT_H
#define __CORE_DEBUG_MEM_STAT_H
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Type Defines **
*****************************************************************************/
class Dbg_MEMORY_STATS
{
public :
Dbg_MEMORY_STATS ( uint total = 0, uint spike = 0,
uint system = 0, uint fixed = 0 );
private :
uint total; // total memory currently allocated on behalf of this module/project
uint spike; // peak total memory allocated on behalf of this module/project
uint system; // current module/project private memory that is adjustable by the user
uint fixed; // current module/project private memory that is a fixed overhead
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Macros **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
inline Dbg_MEMORY_STATS::Dbg_MEMORY_STATS ( uint total, uint spike,
uint system, uint fixed )
: total ( total ), spike ( spike ),
system ( system ), fixed ( fixed )
{
}
#endif // __NOPT_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
#endif // __CORE_DEBUG_SIGNATRS_H
================================================
FILE: Code/Core/Debug/Messages.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (Dbg_) **
** **
** File name: core/debug/messages.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_MESSAGES_H
#define __CORE_DEBUG_MESSAGES_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/flags.h>
#include <core/debug/signatrs.h>
#include <core/debug/project.h>
#include <core/debug/module.h>
#ifdef __NOPT_ASSERT__
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Dbg
{
enum Level
{
vERROR,
vWARNING,
vNOTIFY,
vMESSAGE,
vPRINTF
};
enum Mask
{
mERROR = (1<<vERROR),
mWARNING = (1<<vWARNING),
mNOTIFY = (1<<vNOTIFY),
mMESSAGE = (1<<vMESSAGE),
mPRINTF = (1<<vPRINTF),
mALL = ( mERROR |
mWARNING |
mNOTIFY |
mMESSAGE |
mPRINTF ),
mNONE = 0
};
/*****************************************************************************
** Type Defines **
*****************************************************************************/
typedef void ( OutputCode )( char* );
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
extern char* sprintf_pad;
#ifdef __NOPT_DEBUG__
extern Signature* current_sig;
#endif
extern OutputCode default_print;
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
void set_output( OutputCode* handler = default_print );
void level_mask( Flags< Mask > mask );
void message( char* text, ...);
void notify ( char* text, ...);
void warning( char* text, ...);
void error ( char* text, ...);
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
} // namespace Dbg
/*****************************************************************************
** Macros **
*****************************************************************************/
#if (defined ( __PLAT_XBOX__ ) || defined( __PLAT_WN32__ ))
inline void Dbg_SetOutput( const char* A ... ) {};
#define Dbg_LevelMask(A) { Dbg::level_mask(A); }
inline void Dbg_Printf( const char* A ... ) {};
inline void Dbg_Message( const char* A ... ) {};
inline void Dbg_Notify( const char* A ... ) {};
inline void Dbg_Warning( const char* A ... ) {};
inline void Dbg_Error( const char* A ... ) {};
#else
#define Dbg_SetOutput(A...) { Dbg::set_output(##A); }
#define Dbg_LevelMask(A) { Dbg::level_mask(A); }
#ifdef __NOPT_DEBUG__
#define Dbg_Printf(A...) { printf(##A); }
#define Dbg_Message(A...) { Dbg::current_sig = &Dbg_signature; Dbg::message(##A); }
#define Dbg_Notify(A...) { Dbg::current_sig = &Dbg_signature; Dbg::notify(##A); }
#define Dbg_Warning(A...) { Dbg::current_sig = &Dbg_signature; Dbg::warning(##A); }
#define Dbg_Error(A...) { Dbg::current_sig = &Dbg_signature; Dbg::error(##A); }
#else
#define Dbg_Printf(A...) { printf(##A); }
#define Dbg_Message(A...) { Dbg::message(##A); }
#define Dbg_Notify(A...) { Dbg::notify(##A); }
#define Dbg_Warning(A...) { Dbg::warning(##A); }
#define Dbg_Error(A...) { Dbg::error(##A); }
#endif
#endif // __PLAT_XBOX__
/*****************************************************************************
** Stubs **
*****************************************************************************/
#else
#if ( defined ( __PLAT_XBOX__ ) || defined ( __PLAT_WN32__ ))
inline void Dbg_SetOutput( const char* A ... ) {};
#define Dbg_LevelMask(A)
inline void Dbg_Printf( const char* A ... ) {};
inline void Dbg_Message( const char* A ... ) {};
inline void Dbg_Notify( const char* A ... ) {};
inline void Dbg_Warning( const char* A ... ) {};
inline void Dbg_Error( const char* A ... ) {};
#else
#define Dbg_SetOutput(A...)
#define Dbg_LevelMask(A)
#define Dbg_Printf(A...)
#define Dbg_Message(A...)
#define Dbg_Notify(A...)
#define Dbg_Warning(A...)
#define Dbg_Error(A...)
#endif
#endif // __NOPT_MESSAGES__
/******************************************************************/
/* */
/* */
/******************************************************************/
// A special printf function that only works for Ryan
// (since I love them so much)
#if defined ( __PLAT_XBOX__ ) || defined ( __PLAT_WN32__ )
inline void Ryan(const char* A ...) {};
inline void Ken(const char* A ...) {};
inline void Matt(const char* A ...) {};
#else
#ifdef __USER_RYAN__
#define Ryan(A...) printf(##A)
#else
#define Ryan(A...)
#endif
#if defined(__USER_KEN__) && defined(__NOPT_DEBUG__)
#define Ken(A...) printf(##A)
#else
#define Ken(A...)
#endif
#if defined(__USER_MATT__) && defined(__NOPT_DEBUG__)
#define Matt(A...) printf(##A)
#else
#define Matt(A...)
#endif
#endif
#endif // __CORE_DEBUG_MESSAGES_H
================================================
FILE: Code/Core/Debug/Module.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Confidential Information **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (Dbg_) **
** **
** File name: core/debug/module.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_MODULE_H
#define __CORE_DEBUG_MODULE_H
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
#include "mem_stat.h"
/*****************************************************************************
** Defines **
*****************************************************************************/
// Unfortunately, Visual C++ does not support the __PRETTY_FUNCTION__ predefined
// name. The most information we can get at is __FILE__.
#if ( defined ( __PLAT_XBOX__ ) || defined ( __PLAT_WN32__ ))
#define __PRETTY_FUNCTION__ __FILE__
#endif
/*****************************************************************************
** Type Defines **
*****************************************************************************/
namespace Dbg
{
class Project;
class Module
{
public :
Module ( Project& proj, const char& prefix, const char& description );
void SetNext ( const Module* next );
void SetSibling ( const Module* sibling );
const Module* GetNext ( void ) const;
const Module* GetSibling ( void ) const;
private :
const Module* m_next; // pointer to next registered module
const Module* m_sibling; // pointer to next module in same project
const char& m_prefix; // module prefix
const char& m_description; // module description
Project& m_project; // project that this modules belongs to
Dbg_MEMORY_STATS m_stats;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
extern Module* RegisteredModules;
} // namespace Dbg
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Macros **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
namespace Dbg
{
inline Module::Module( Project& proj, const char& pref, const char& desc )
: m_prefix ( pref ),
m_description ( desc ),
m_project ( proj )
{
m_next = Dbg::RegisteredModules; // add module to main registration list
Dbg::RegisteredModules = this;
m_sibling = m_project.GetChildren(); // add module to its project parent
m_project.SetChildren( this );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void Module::SetNext( const Module* next )
{
m_next = next;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void Module::SetSibling( const Module* sibling )
{
m_sibling = sibling;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline const Module* Module::GetNext( void ) const
{
return m_next;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline const Module* Module::GetSibling( void ) const
{
return m_sibling;
}
} // namespace Dbg
/*****************************************************************************
** Stubs **
*****************************************************************************/
#else
#endif //__NOPT_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
#endif // __CORE_DEBUG_MODULE_H
================================================
FILE: Code/Core/Debug/NGPS/P_debug.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: p_debug.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: Platform specific debug code **
** **
*****************************************************************************/
#include <stdio.h>
#include <core/defines.h>
#include <core/support.h>
#include <core/debug.h>
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Externals **
*****************************************************************************/
extern char _dbg_start[];
extern char _dbg_end[];
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Defines **
*****************************************************************************/
#ifdef __NOPT_FULL_DEBUG__
enum
{
vMAX_CLASS_NODES = 28000,
vMAX_INSTANCE_NODES = 100000
};
static const int vFREE_CLASS_BLOCK_ID = 0x02030405;
static const int vFREE_INST_BLOCK_ID = 0x27354351;
/*****************************************************************************
** Private Types **
*****************************************************************************/
struct FreeNode
{
FreeNode* next;
int id;
} ;
union ClassNodeBlock
{
char pad[sizeof(Spt::ClassNode)];
FreeNode free_node;
};
union InstanceNodeBlock
{
char pad[sizeof(Spt::ClassNode::InstanceNode)];
FreeNode free_node;
};
/*****************************************************************************
** Private Data **
*****************************************************************************/
static ClassNodeBlock* spClassNodeFreeList = NULL;
static InstanceNodeBlock* spInstanceNodeFreeList = NULL;
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
void set_up( void )
{
spClassNodeFreeList = (ClassNodeBlock*)_dbg_start;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
for( int i = 0; i < ( vMAX_CLASS_NODES - 1 ); i++ )
{
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
p_class_node->free_node.next = (FreeNode*)(++p_class_node);
}
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
(p_class_node++)->free_node.next = (FreeNode*)spClassNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)(++p_class_node);
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
for( int i = 0; i < ( vMAX_INSTANCE_NODES - 1 ) ; i++ )
{
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
p_inst_node->free_node.next = (FreeNode*)(++p_inst_node);
}
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
(p_inst_node++)->free_node.next = (FreeNode*)spInstanceNodeFreeList;
Dbg_MsgAssert( (int)p_inst_node <= (int)_dbg_end,
"Dbg Mem Block not big enough (%d bytes too small)", (int)p_inst_node - (int)_dbg_end );
if ( (int)p_inst_node < ((int)_dbg_end))
{
Dbg_Warning ( "%dbytes unused in Dbg mem block",((int)_dbg_end - (int)p_inst_node));
}
Dbg_Notify ( "Dbg Mem Block Allocated successfully" );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
int count = 0;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
do
{
Dbg_MsgAssert ( p_class_node->free_node.id == vFREE_CLASS_BLOCK_ID, "Block not free" );
p_class_node = (ClassNodeBlock*)p_class_node->free_node.next;
count++;
} while ( p_class_node != spClassNodeFreeList );
Dbg_MsgAssert ( count == vMAX_CLASS_NODES,
"%d Class Nodes still registered", vMAX_CLASS_NODES - count );
count = 0;
do
{
Dbg_MsgAssert ( p_inst_node->free_node.id == vFREE_INST_BLOCK_ID, "Block not free" );
p_inst_node = (InstanceNodeBlock*)p_inst_node->free_node.next;
count++;
} while ( p_inst_node != spInstanceNodeFreeList );
Dbg_MsgAssert ( count == vMAX_INSTANCE_NODES,
"%d Instance Nodes still registered", vMAX_INSTANCE_NODES - count );
Dbg_Notify ( "Dbg Mem Block Released successfully" );
}
/*****************************************************************************
** Public Functions **
*****************************************************************************/
void* NewClassNode( size_t size )
{
void* p_ret = (void*)spClassNodeFreeList;
Dbg_MsgAssert ( (int)spClassNodeFreeList != (int)(spClassNodeFreeList->free_node.next),
"ClassNode pool full" );
Dbg_MsgAssert ( spClassNodeFreeList->free_node.id == vFREE_CLASS_BLOCK_ID, "Not a Free Class Node" );
spClassNodeFreeList = (ClassNodeBlock*)spClassNodeFreeList->free_node.next;
// printf("NewClassNode %p next %p\n",p_ret, spClassNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteClassNode( void* pMem )
{
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
ClassNodeBlock* p_freeblock = (ClassNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spClassNodeFreeList;
spClassNodeFreeList = (ClassNodeBlock*)p_freeblock;
spClassNodeFreeList->free_node.id = vFREE_CLASS_BLOCK_ID;
// printf("DeleteClassNode %p next %p\n",spClassNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void* NewInstanceNode( size_t size )
{
void* p_ret = (void*)spInstanceNodeFreeList;
Dbg_MsgAssert ( (int)spInstanceNodeFreeList != (int)(spInstanceNodeFreeList->free_node.next),
"InstanceNode pool full" );
Dbg_MsgAssert ( spInstanceNodeFreeList->free_node.id == vFREE_INST_BLOCK_ID, "Not a Free Instance Node" );
spInstanceNodeFreeList = (InstanceNodeBlock*)spInstanceNodeFreeList->free_node.next;
// printf("NewInstanceNode %p next %p\n",p_ret, spInstanceNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteInstanceNode( void* pMem )
{
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
InstanceNodeBlock* p_freeblock = (InstanceNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spInstanceNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)p_freeblock;
spInstanceNodeFreeList->free_node.id = vFREE_INST_BLOCK_ID;
// printf("DeleteInstanceNode %p next %p\n",spInstanceNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#else // __NOPT_FULL_DEBUG__
void set_up( void )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
}
#endif // __NOPT_FULL_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Dbg
#endif // __NOPT_DEBUG__
#ifdef __NOPT_ASSERT__
namespace Dbg
{
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_print( char *text )
{
std::printf( text );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_trap( char* mess )
{
uint* ptr = reinterpret_cast< uint* >( 0x00000001 );
*ptr = 0;
}
} // namespace Dbg
#endif
================================================
FILE: Code/Core/Debug/Project.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Confidential Information **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (Dbg_) **
** **
** File name: core/debug/project.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_PROJECT_H
#define __CORE_DEBUG_PROJECT_H
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
#include "mem_stat.h"
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Type Defines **
*****************************************************************************/
namespace Dbg
{
class Project
{
public :
Project ( const char& name, const char& description );
void SetChildren ( Dbg::Module* children );
Dbg::Module* GetChildren ( void ) const;
private :
const char& name;
const char& description;
Project* next; // pointer to next registered project
Dbg::Module* children; // pointer to children modules
Dbg_MEMORY_STATS stats;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
extern Dbg::Project* RegisteredProjects;
} // namespace Dbg
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Macros **
*****************************************************************************/
#define Dbg_DefineProject(proj,des) \
\
Dbg::Project& Dbg_project_##proj ( void ) \
{ \
static Dbg::Project project ( *#proj, *des ); \
\
return project; \
}
\
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
namespace Dbg
{
inline Project::Project ( const char& name, const char& description )
: name ( name ), description ( description )
{
next = RegisteredProjects;
RegisteredProjects = this;
children = NULL;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void Project::SetChildren ( Dbg::Module* children_in )
{
children = children_in;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline Dbg::Module* Project::GetChildren ( void ) const
{
return children;
}
} // namespace Dbg
/*****************************************************************************
** Stubs **
*****************************************************************************/
#else
#define Dbg_DefineProject(proj,des)
#endif //__NOPT_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
#endif // __CORE_DEBUG_PROJECT_H
================================================
FILE: Code/Core/Debug/Signatrs.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (Dbg_) **
** **
** File name: core/debug/signatrs.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_SIGNATRS_H
#define __CORE_DEBUG_SIGNATRS_H
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Type Defines **
*****************************************************************************/
class Module;
class Signature
{
public :
Signature( char* name, const Module& module );
Signature( const char* cl, char* name, const Module& module );
const char& GetName( void ) const ;
private :
char* m_name; // function's name
const Module& m_module; // function's module
};
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Macros **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
inline Signature::Signature( char* name, const Module& module )
: m_name ( name ),
m_module ( module )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline const char& Signature::GetName( void ) const
{
return *m_name;
}
} // namespace Dbg
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
#ifdef __PLAT_NGC__
extern Dbg::Module& Dbg_module;
extern Dbg::Signature Dbg_signature;
#endif
#ifndef __NOPT_STRICT_SIGNATURES__
extern Dbg::Module& Dbg_module;
extern Dbg::Signature Dbg_signature;
#endif
#endif // __NOPT_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
#endif // __CORE_DEBUG_SIGNATRS_H
================================================
FILE: Code/Core/Debug/Wn32/P_debug.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: p_debug.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: Platform specific debug code **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>
#include <core/defines.h>
/*****************************************************************************
** DBG Information **
*****************************************************************************/
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
#ifdef __NOPT_DEBUG__
void set_up ( void )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down ( void )
{
}
#endif // __NOPT_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_print ( char *text )
{
#ifdef __PLAT_WN32__
OutputDebugString ( text );
#else
printf ( text );
#endif // __CC_VISUALC__
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_trap ( char* message )
{
#ifdef __CC_VISUALC__
#ifdef __ALLOW_CONTINUE__
switch ( MessageBox ( GetActiveWindow(), message, "Assertion Failure - Trigger Debugger ?",
MB_DEFBUTTON1 | MB_YESNO | MB_ICONEXCLAMATION ))
{
case IDYES:
__asm int 3; // trigger the debugger
break;
}
#else // __ALLOW_CONTINUE__
MessageBox ( GetActiveWindow(), message, "Assertion Failure",
MB_DEFBUTTON1 | MB_ICONEXCLAMATION );
__asm int 3;
#endif // __ALLOW_CONTINUE__
#else // __CC_VISUALC__
exit(-10);
#endif // __CC_VISUALC__
}
/*****************************************************************************
** Public Functions **
*****************************************************************************/
}
================================================
FILE: Code/Core/Debug/XBox/p_debug.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: p_debug.cpp **
** **
** Created by: 09/25/00 - dc **
** **
** Description: Platform specific debug code **
** **
*****************************************************************************/
#include <xtl.h>
#include <core/defines.h>
#include <core/support.h>
#include <core/debug.h>
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Externals **
*****************************************************************************/
extern char _dbg_start[];
extern char _dbg_end[];
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Dbg
{
Dbg_Module // module this code belongs to
/*****************************************************************************
** Defines **
*****************************************************************************/
#ifdef __NOPT_FULL_DEBUG__
enum
{
vMAX_CLASS_NODES = 28000,
vMAX_INSTANCE_NODES = 100000
};
static const int vFREE_CLASS_BLOCK_ID = 0x02030405;
static const int vFREE_INST_BLOCK_ID = 0x27354351;
/*****************************************************************************
** Private Types **
*****************************************************************************/
struct FreeNode
{
FreeNode* next;
int id;
} ;
union ClassNodeBlock
{
char pad[sizeof(Spt::ClassNode)];
FreeNode free_node;
};
union InstanceNodeBlock
{
char pad[sizeof(Spt::ClassNode::InstanceNode)];
FreeNode free_node;
};
/*****************************************************************************
** Private Data **
*****************************************************************************/
static ClassNodeBlock* spClassNodeFreeList = NULL;
static InstanceNodeBlock* spInstanceNodeFreeList = NULL;
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
void set_up( void )
{
Dbg_Function;
spClassNodeFreeList = (ClassNodeBlock*)_dbg_start;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
for( int i = 0; i < ( vMAX_CLASS_NODES - 1 ); i++ )
{
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
p_class_node->free_node.next = (FreeNode*)(++p_class_node);
}
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
(p_class_node++)->free_node.next = (FreeNode*)spClassNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)(++p_class_node);
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
for( int i = 0; i < ( vMAX_INSTANCE_NODES - 1 ) ; i++ )
{
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
p_inst_node->free_node.next = (FreeNode*)(++p_inst_node);
}
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
(p_inst_node++)->free_node.next = (FreeNode*)spInstanceNodeFreeList;
Dbg_MsgAssert( (int)p_inst_node <= (int)_dbg_end,
"Dbg Mem Block not big enough (%d bytes too small)", (int)p_inst_node - (int)_dbg_end );
if ( (int)p_inst_node < ((int)_dbg_end))
{
Dbg_Warning ( "%dbytes unused in Dbg mem block",((int)_dbg_end - (int)p_inst_node));
}
Dbg_Notify ( "Dbg Mem Block Allocated successfully" );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
Dbg_Function;
int count = 0;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
do
{
Dbg_MsgAssert ( p_class_node->free_node.id == vFREE_CLASS_BLOCK_ID, "Block not free" );
p_class_node = (ClassNodeBlock*)p_class_node->free_node.next;
count++;
} while ( p_class_node != spClassNodeFreeList );
Dbg_MsgAssert ( count == vMAX_CLASS_NODES,
"%d Class Nodes still registered", vMAX_CLASS_NODES - count );
count = 0;
do
{
Dbg_MsgAssert ( p_inst_node->free_node.id == vFREE_INST_BLOCK_ID, "Block not free" );
p_inst_node = (InstanceNodeBlock*)p_inst_node->free_node.next;
count++;
} while ( p_inst_node != spInstanceNodeFreeList );
Dbg_MsgAssert ( count == vMAX_INSTANCE_NODES,
"%d Instance Nodes still registered", vMAX_INSTANCE_NODES - count );
Dbg_Notify ( "Dbg Mem Block Released successfully" );
}
/*****************************************************************************
** Public Functions **
*****************************************************************************/
void* NewClassNode( size_t size )
{
Dbg_Function;
void* p_ret = (void*)spClassNodeFreeList;
Dbg_MsgAssert ( (int)spClassNodeFreeList != (int)(spClassNodeFreeList->free_node.next),
"ClassNode pool full" );
Dbg_MsgAssert ( spClassNodeFreeList->free_node.id == vFREE_CLASS_BLOCK_ID, "Not a Free Class Node" );
spClassNodeFreeList = (ClassNodeBlock*)spClassNodeFreeList->free_node.next;
// printf("NewClassNode %p next %p\n",p_ret, spClassNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteClassNode( void* pMem )
{
Dbg_Function;
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
ClassNodeBlock* p_freeblock = (ClassNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spClassNodeFreeList;
spClassNodeFreeList = (ClassNodeBlock*)p_freeblock;
spClassNodeFreeList->free_node.id = vFREE_CLASS_BLOCK_ID;
// printf("DeleteClassNode %p next %p\n",spClassNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void* NewInstanceNode( size_t size )
{
Dbg_Function;
void* p_ret = (void*)spInstanceNodeFreeList;
Dbg_MsgAssert ( (int)spInstanceNodeFreeList != (int)(spInstanceNodeFreeList->free_node.next),
"InstanceNode pool full" );
Dbg_MsgAssert ( spInstanceNodeFreeList->free_node.id == vFREE_INST_BLOCK_ID, "Not a Free Instance Node" );
spInstanceNodeFreeList = (InstanceNodeBlock*)spInstanceNodeFreeList->free_node.next;
// printf("NewInstanceNode %p next %p\n",p_ret, spInstanceNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteInstanceNode( void* pMem )
{
Dbg_Function;
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
InstanceNodeBlock* p_freeblock = (InstanceNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spInstanceNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)p_freeblock;
spInstanceNodeFreeList->free_node.id = vFREE_INST_BLOCK_ID;
// printf("DeleteInstanceNode %p next %p\n",spInstanceNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#else // __NOPT_FULL_DEBUG__
void set_up( void )
{
Dbg_Function;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
Dbg_Function;
}
#endif // __NOPT_FULL_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Dbg
#endif // __NOPT_DEBUG__
#ifdef __NOPT_ASSERT__
namespace Dbg
{
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_print( char *text )
{
OutputDebugString( text );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_trap( char* message )
{
OutputDebugString( message );
uint* ptr = reinterpret_cast< uint* >( 0x00000001 );
*ptr = NULL;
}
} // namespace Dbg
#endif
================================================
FILE: Code/Core/Debug/log.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: log.cpp **
** **
** Created by: 09/25/02 - ksh **
** **
** Description: Logging code **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <stdio.h>
#include <core/defines.h>
#include <core/support.h>
#include <core/debug.h>
#include <sys/config/config.h>
#ifndef __PLAT_WN32__
#include <gfx/gfxman.h>
#endif // __PLAT_WN32__
#ifdef __PLAT_NGC__
#include <dolphin.h>
#define _output OSReport
#else
#define _output printf
#endif
#ifdef __NOPT_ASSERT__
#ifdef __PLAT_NGPS__
/*****************************************************************************
** DBG Information **
*****************************************************************************/
// 128 bytes each (sizeof(SLogEntry)) and they come off the debug heap.
#define MAX_LOG_ENTRIES 20000
extern char _log_info_start[];
extern char _log_info_end[];
namespace Log
{
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Private Types **
*****************************************************************************/
// Chosen just to make sizeof(SLogEntry) a nice round 128
#define MAX_MESSAGE_LENGTH 107
struct SLogEntry
{
Tmr::CPUCycles mCPUTime;
const char *mpSourceFileName;
const char *mpFunctionName;
int mLineNumber;
char mpMessage[MAX_MESSAGE_LENGTH+1];
};
//char p_foo[sizeof(SLogEntry)/0];
struct SLogBufferInfo
{
// Pointer to the start of the big log buffer, which will be in the debug heap somewhere.
SLogEntry *mpBuffer;
// The total number of entries in the buffer.
int mTotalEntries;
// The number of entries written to so far. This starts at 0 when the game starts,
// and increases till it hits mTotalEntries, then stays at that value.
int mNumEntries;
// Points to just after the last entry that got added to the buffer.
// So it may not point to a valid SLogEntry, for example when the buffer is filling
// up, or when pTop points to the end of pBuffer.
SLogEntry *mpTop;
};
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
static bool sInitialised=false;
static SLogBufferInfo *spLogInfo=NULL;
static SLogEntry *spNotALeak=NULL;
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Public Functions **
*****************************************************************************/
void Init()
{
if (Config::GotExtraMemory())
{
Dbg_MsgAssert(!sInitialised,("Tried to call Log::Init twice"));
Dbg_MsgAssert((uint32)(_log_info_end-_log_info_start) >= sizeof(SLogBufferInfo),("log_info section too small, got=%d, required=%d",(uint32)(_log_info_end-_log_info_start),sizeof(SLogBufferInfo)));
spLogInfo=(SLogBufferInfo*)_log_info_start;
Mem::Manager::sHandle().PushContext(Mem::Manager::sHandle().DebugHeap());
spLogInfo->mNumEntries=0;
spLogInfo->mTotalEntries=MAX_LOG_ENTRIES;
spLogInfo->mpBuffer=(SLogEntry*)Mem::Malloc(MAX_LOG_ENTRIES*sizeof(SLogEntry));
spNotALeak=spLogInfo->mpBuffer;
spLogInfo->mpTop=spLogInfo->mpBuffer;
uint32 *p_long=(uint32*)spLogInfo->mpBuffer;
Dbg_MsgAssert((sizeof(SLogEntry)&3)==0,("sizeof(SLogEntry) not a multiple of 4"));
for (uint32 i=0; i<MAX_LOG_ENTRIES*sizeof(SLogEntry)/4; ++i)
{
*p_long++=0;
}
Mem::Manager::sHandle().PopContext();
sInitialised=true;
}
}
void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, char *p_message)
{
if (Config::GotExtraMemory())
{
Dbg_MsgAssert(sInitialised,("Log::AddEntry called before Log::Init called"));
SLogEntry *p_new=NULL;
if (spLogInfo->mNumEntries < MAX_LOG_ENTRIES)
{
p_new=spLogInfo->mpTop++;
++spLogInfo->mNumEntries;
}
else
{
if (spLogInfo->mpTop >= spLogInfo->mpBuffer+MAX_LOG_ENTRIES)
{
spLogInfo->mpTop=spLogInfo->mpBuffer;
}
p_new=spLogInfo->mpTop++;
}
p_new->mCPUTime=Tmr::GetTimeInCPUCycles();
p_new->mLineNumber=lineNumber;
p_new->mpFunctionName=p_functionName;
p_new->mpSourceFileName=p_fileName;
if (p_message)
{
Dbg_MsgAssert(strlen(p_message)<=MAX_MESSAGE_LENGTH,("Log message '%s' too long",p_message));
strcpy(p_new->mpMessage,p_message);
}
else
{
p_new->mpMessage[0]=0;
}
}
}
} // namespace Log
#else
namespace Log
{
void Init()
{
}
void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, char *p_message)
{
}
} // namespace Log
#endif // #ifdef __PLAT_NGPS__
#endif //__NOPT_ASSERT__
================================================
FILE: Code/Core/Debug/ngc/P_debug.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** File name: p_debug.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: Platform specific debug code **
** **
*****************************************************************************/
#include <stdio.h>
#include <core/defines.h>
#include <core/support.h>
#include <core/debug.h>
#include <libsn.h>
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Externals **
*****************************************************************************/
extern char _dbg_start[];
extern char _dbg_end[];
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Dbg
{
/*****************************************************************************
** Defines **
*****************************************************************************/
#ifdef __NOPT_FULL_DEBUG__
enum
{
vMAX_CLASS_NODES = 28000,
vMAX_INSTANCE_NODES = 100000
};
static const int vFREE_CLASS_BLOCK_ID = 0x02030405;
static const int vFREE_INST_BLOCK_ID = 0x27354351;
/*****************************************************************************
** Private Types **
*****************************************************************************/
struct FreeNode
{
FreeNode* next;
int id;
} ;
union ClassNodeBlock
{
char pad[sizeof(Spt::ClassNode)];
FreeNode free_node;
};
union InstanceNodeBlock
{
char pad[sizeof(Spt::ClassNode::InstanceNode)];
FreeNode free_node;
};
/*****************************************************************************
** Private Data **
*****************************************************************************/
static ClassNodeBlock* spClassNodeFreeList = NULL;
static InstanceNodeBlock* spInstanceNodeFreeList = NULL;
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
void set_up( void )
{
spClassNodeFreeList = (ClassNodeBlock*)_dbg_start;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
for( int i = 0; i < ( vMAX_CLASS_NODES - 1 ); i++ )
{
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
p_class_node->free_node.next = (FreeNode*)(++p_class_node);
}
p_class_node->free_node.id = vFREE_CLASS_BLOCK_ID;
(p_class_node++)->free_node.next = (FreeNode*)spClassNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)(++p_class_node);
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
for( int i = 0; i < ( vMAX_INSTANCE_NODES - 1 ) ; i++ )
{
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
p_inst_node->free_node.next = (FreeNode*)(++p_inst_node);
}
p_inst_node->free_node.id = vFREE_INST_BLOCK_ID;
(p_inst_node++)->free_node.next = (FreeNode*)spInstanceNodeFreeList;
Dbg_MsgAssert( (int)p_inst_node <= (int)_dbg_end,
"Dbg Mem Block not big enough (%d bytes too small)", (int)p_inst_node - (int)_dbg_end );
if ( (int)p_inst_node < ((int)_dbg_end))
{
Dbg_Warning ( "%dbytes unused in Dbg mem block",((int)_dbg_end - (int)p_inst_node));
}
Dbg_Notify ( "Dbg Mem Block Allocated successfully" );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
int count = 0;
ClassNodeBlock* p_class_node = spClassNodeFreeList;
InstanceNodeBlock* p_inst_node = spInstanceNodeFreeList;
do
{
Dbg_MsgAssert ( p_class_node->free_node.id == vFREE_CLASS_BLOCK_ID, "Block not free" );
p_class_node = (ClassNodeBlock*)p_class_node->free_node.next;
count++;
} while ( p_class_node != spClassNodeFreeList );
Dbg_MsgAssert ( count == vMAX_CLASS_NODES,
"%d Class Nodes still registered", vMAX_CLASS_NODES - count );
count = 0;
do
{
Dbg_MsgAssert ( p_inst_node->free_node.id == vFREE_INST_BLOCK_ID, "Block not free" );
p_inst_node = (InstanceNodeBlock*)p_inst_node->free_node.next;
count++;
} while ( p_inst_node != spInstanceNodeFreeList );
Dbg_MsgAssert ( count == vMAX_INSTANCE_NODES,
"%d Instance Nodes still registered", vMAX_INSTANCE_NODES - count );
Dbg_Notify ( "Dbg Mem Block Released successfully" );
}
/*****************************************************************************
** Public Functions **
*****************************************************************************/
void* NewClassNode( size_t size )
{
void* p_ret = (void*)spClassNodeFreeList;
Dbg_MsgAssert ( (int)spClassNodeFreeList != (int)(spClassNodeFreeList->free_node.next),
"ClassNode pool full" );
Dbg_MsgAssert ( spClassNodeFreeList->free_node.id == vFREE_CLASS_BLOCK_ID, "Not a Free Class Node" );
spClassNodeFreeList = (ClassNodeBlock*)spClassNodeFreeList->free_node.next;
// printf("NewClassNode %p next %p\n",p_ret, spClassNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteClassNode( void* pMem )
{
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
ClassNodeBlock* p_freeblock = (ClassNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spClassNodeFreeList;
spClassNodeFreeList = (ClassNodeBlock*)p_freeblock;
spClassNodeFreeList->free_node.id = vFREE_CLASS_BLOCK_ID;
// printf("DeleteClassNode %p next %p\n",spClassNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void* NewInstanceNode( size_t size )
{
void* p_ret = (void*)spInstanceNodeFreeList;
Dbg_MsgAssert ( (int)spInstanceNodeFreeList != (int)(spInstanceNodeFreeList->free_node.next),
"InstanceNode pool full" );
Dbg_MsgAssert ( spInstanceNodeFreeList->free_node.id == vFREE_INST_BLOCK_ID, "Not a Free Instance Node" );
spInstanceNodeFreeList = (InstanceNodeBlock*)spInstanceNodeFreeList->free_node.next;
// printf("NewInstanceNode %p next %p\n",p_ret, spInstanceNodeFreeList);
return p_ret;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void DeleteInstanceNode( void* pMem )
{
Dbg_MsgAssert ( (((int)pMem >= (int)_dbg_start ) && (((int)pMem < (int)_dbg_end ))),
"Memory not in Debug block (%p)",pMem );
InstanceNodeBlock* p_freeblock = (InstanceNodeBlock*)pMem;
p_freeblock->free_node.next = (FreeNode*)spInstanceNodeFreeList;
spInstanceNodeFreeList = (InstanceNodeBlock*)p_freeblock;
spInstanceNodeFreeList->free_node.id = vFREE_INST_BLOCK_ID;
// printf("DeleteInstanceNode %p next %p\n",spInstanceNodeFreeList, p_freeblock->free_node.next);
}
/******************************************************************/
/* */
/* */
/******************************************************************/
#else // __NOPT_FULL_DEBUG__
void set_up( void )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void close_down( void )
{
}
#endif // __NOPT_FULL_DEBUG__
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Dbg
#endif // __NOPT_DEBUG__
#ifdef __NOPT_ASSERT__
namespace Dbg
{
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_print( char *text )
{
std::printf( text );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
void default_trap( char* message )
{
// uint* ptr = reinterpret_cast< uint* >( 0x00000001 );
//
// *ptr = NULL;
snPause();
}
} // namespace Dbg
#endif
================================================
FILE: Code/Core/Debug.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Debug (DBG) **
** **
** Created: 05/27/99 mjb **
** **
** File name: core/debug.h **
** **
*****************************************************************************/
#ifndef __CORE_DEBUG_H
#define __CORE_DEBUG_H
#ifdef __NOPT_DEBUG__
// for now - always turn on messages and assertion
#define __NOPT_MESSAGES__
#define __NOPT_ASSERT__
#else
// Mick - added assertions always on, regardless of debug mode.
#define __NOPT_ASSERT__
// Gary - ... unless you're working on the tools,
// in which case the asserts prevent the code from compiling...
#ifdef __PLAT_WN32__
#ifndef _CONSOLE // Ken: Asserts now compile for console apps. (see levelassetlister project)
#undef __NOPT_ASSERT__
#endif
#endif
#endif // __NOPT_DEBUG__
#ifdef __NOPT_CDROM__OLD
#undef __NOPT_ASSERT__
#endif
// Temporary switch off assertions flag
#ifdef __NOPT_NOASSERTIONS__
#undef __NOPT_ASSERT__
#endif
// no assertions on final build ("final=")
#ifdef __NOPT_FINAL__
#undef __NOPT_ASSERT__
#endif
#ifdef __NOPT_ASSERT__
#define __DEBUG_CODE__
#endif
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <sys/mem/memdbg.h>
#include "debug/messages.h"
#include "debug/checks.h"
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Dbg
{
#ifdef __NOPT_DEBUG__
/*****************************************************************************
** Type Defines **
*****************************************************************************/
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
void SetUp( void );
void CloseDown( void );
#ifdef __NOPT_FULL_DEBUG__
void* NewClassNode( size_t size );
void DeleteClassNode( void* pMem );
void* NewInstanceNode( size_t size );
void DeleteInstanceNode( void* pMem );
#endif // __NOPT_FULL_DEBUG__
/*****************************************************************************
** Macros **
*****************************************************************************/
#define Dbg_Code(X) X
/*****************************************************************************
** Stubs **
*****************************************************************************/
#else // __NOPT_DEBUG__
#ifndef __NOPT_ASSERT__
inline void SetUp( void ) {};
inline void CloseDown( void ) {};
#else
void SetUp( void );
void CloseDown( void );
#endif // __NOPT_ASSERT
#define Dbg_Code(X)
#endif // __NOPT_DEBUG__
} // namespace Dbg
#endif // __CORE_DEBUG_H
================================================
FILE: Code/Core/Defines.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: Standard Header **
** **
** File name: core/defines.h **
** **
** Created: 05/27/99 - mjb **
** **
** All code depends on the definitions in this files **
** It should be included in every file **
** **
*****************************************************************************/
#ifndef __CORE_DEFINES_H
#define __CORE_DEFINES_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#ifdef __PLAT_WN32__
//#include <strstream>
//#include <fstream.h>
#ifdef __USE_OLD_STREAMS__
#include <iostream.h>
#else
#include <iostream>
using namespace std;
#endif
#include <stdio.h>
#include <string.h>
#pragma warning( disable : 4800 )
#pragma warning( disable : 4355 ) // 'this' : used in base member initializer list
#pragma warning( disable : 4291 ) // no matching operator delete found
#else
#ifdef __PLAT_NGPS__
#include <stdio.h>
#include <eetypes.h>
//#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#else
#ifdef __PLAT_NGC__
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <typeinfo>
#else
#ifdef __PLAT_XBOX__
#include <stdio.h>
//#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#pragma warning( disable : 4800 )
#pragma warning( disable : 4291 ) // no matching operator delete found
#pragma warning( disable : 4355 ) // 'this' : used in base member initializer list
#pragma warning( disable : 4995 ) // name was marked as #pragma deprecated
#endif
#endif
#endif
#endif
#ifndef __PLAT_WN32__
//#ifdef __NOPT_ASSERT__
#ifdef __PLAT_NGC__
#ifdef __NOPT_FINAL__
#define printf(A...)
#else
int OurPrintf(const char *fmt, ...);
#define printf OurPrintf
#endif
#else
int OurPrintf(const char *fmt, ...);
#define printf OurPrintf
#endif
//#else
// inline void NullPrintf(const char *fmt, ...){}
// #define printf NullPrintf
//#endif
#endif
/*****************************************************************************
** Defines **
*****************************************************************************/
#define vINT8_MAX 0x7F
#define vINT8_MIN 0x81
#define vINT16_MAX 0x7FFF
#define vINT16_MIN 0x8001
#define vINT32_MAX 0x7FFFFFFF
#define vINT32_MIN 0x80000001
#define vINT64_MAX 0x7FFFFFFFFFFFFFFF
#define vINT64_MIN 0x8000000000000001
#define vUINT8_MAX 0xFF
#define vUINT16_MAX 0xFFFF
#define vUINT32_MAX 0xFFFFFFFF
#define vUINT64_MAX 0xFFFFFFFFFFFFFFFF
#ifndef TRUE
#define FALSE 0
#define TRUE (!FALSE)
#endif
#ifndef NULL
#define NULL 0
#endif
/*****************************************************************************
** Type Defines **
*****************************************************************************/
typedef char int8;
typedef short int16;
typedef unsigned int uint;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef signed int sint;
typedef signed char sint8;
typedef signed short sint16;
#define vINT_MAX vINT32_MAX
#define vINT_MIN vINT32_MIN
#define vUINT_MAX vUINT32_MAX
#ifdef __PLAT_WN32__
typedef long int32;
typedef unsigned long uint32;
typedef signed long sint32;
typedef __int64 int64;
typedef unsigned __int64 uint64;
typedef signed __int64 sint64;
#endif
#ifdef __PLAT_NGPS__
typedef int int32;
typedef unsigned int uint32;
typedef signed int sint32;
typedef long int64;
typedef unsigned long uint64;
typedef signed long sint64;
typedef long128 int128;
typedef u_long128 uint128;
typedef long128 sint128;
#endif
#ifdef __PLAT_XBOX__
typedef long int32;
typedef unsigned long uint32;
typedef signed long sint32;
typedef __int64 int64;
typedef unsigned __int64 uint64;
typedef signed __int64 sint64;
#endif
#ifdef __PLAT_NGC__
typedef int int32;
typedef unsigned int uint32;
typedef signed int sint32;
typedef long long int64;
typedef unsigned long long uint64;
typedef signed long long sint64;
// Paul: No GameCube 128-bit types.
//typedef long128 int128;
//typedef u_long128 uint128;
//typedef long128 sint128;
typedef long long int128;
typedef unsigned long long uint128;
typedef signed long long sint128;
#endif
#if defined(__PLAT_NGPS__) || defined(__PLAT_XBOX__) || defined(__PLAT_NGC__)
class ostream
{
public:
ostream& operator<< ( char* str ) { printf ( str ); return *this; }
ostream& operator<< ( const char* str ) { printf ( str ); return *this; }
ostream& operator<< ( sint i ) { printf ( "%d", i ); return *this; }
ostream& operator<< ( uint i ) { printf ( "%u", i ); return *this; }
ostream& operator<< ( float f ) { printf ( "%f", f ); return *this; }
ostream& operator<< ( void* p ) { printf ( "%p", p ); return *this; }
ostream& operator<< ( const void* p ) { printf ( "%p", p ); return *this; }
};
#endif
#define vINT_BITS 32
#define vPTR_BITS 32
/******************************************************************/
/* */
/* */
/******************************************************************/
// Alignment macros
#ifdef __PLAT_NGPS__
#define nAlign(bits) __attribute__((aligned((bits>>3))))
#else
#define nAlign(bits)
#endif
#define nPad64(X) uint64 _pad##X;
#define nPad32(X) uint32 _pad##X;
#define nPad16(X) uint16 _pad##X;
#define nPad8(X) uint8 _pad##X;
/******************************************************************/
/* */
/* */
/******************************************************************/
// version stamping
#define __nTIME__ __TIME__
#define __nDATE__ __DATE__
/******************************************************************/
/* */
/* */
/******************************************************************/
#define nBit(b) ( 1 << (b) )
typedef sint nID;
typedef sint8 nID8;
typedef sint16 nID16;
typedef sint32 nID32;
typedef sint64 nID64;
#define nMakeID(a,b,c,d) ( (nID) ( ( (nID) (a) ) << 24 | ( (nID) (b) ) << 16 | \
( (nID) (c) ) << 8 | ( (nID) (d) ) ) )
// nMakeStructID() differs from nMakeID in that struct IDs are always
// readable from a memory dump, where as IDs would be reversed on little
// endian machines
#if __CPU_BIG_ENDIAN__
#define nMakeStructID(a,b,c,d) ( (nID) ( ((nID)(a))<<24 | ((nID)(b))<<16 | \
((nID)(c))<<8 | ((nID)(d)) ))
#else
#define nMakeStructID(a,b,c,d) ( (ID) ( ((nID)(d))<<24 | ((nID)(c))<<16 | \
((nID)(b))<<8 | ((nID)(a)) ))
#endif
/*****************************************************************************
** Macros **
*****************************************************************************/
#define nReverse32(L) ( (( (L)>>24 ) & 0xff) | (((L)>>8) &0xff00) | (((L)<<8)&0xff0000) | (((L)<<24)&0xff000000))
#define nReverse16(L) ( (( (L)>>8 ) & 0xff) | (((L)<<8)&0xff00) )
#if __CPU_BIG_ENDIAN__
#define nBgEn32(L) (L)
#define nBgEn16(L) (L)
#define nLtEn32(L) nReverse32(L)
#define nLtEn16(L) nReverse16(L)
#else
#define nBgEn32(L) nReverse32(L)
#define nBgEn16(L) nReverse16(L)
#define nLtEn32(L) (L)
#define nLtEn16(L) (L)
#endif
#ifdef __PLAT_XBOX__
#define __PRETTY_FUNCTION__ "?"
#define isnanf _isnan
#define isinff _isnan
#endif
/******************************************************************/
/* */
/* */
/******************************************************************/
#define __CPU_WORD_BALIGN__ 4 // Memory word byte alignment
#define PTR_ALIGNMASK ( vUINT_MAX << __CPU_WORD_BALIGN__)
// The alignment macros align elements for fastest access
#define nAligned(P) ( !( (uint) (P) & (~PTR_ALIGNMASK) ) )
#define nAlignDown(P) (void*)( (uint) (P) & PTR_ALIGNMASK )
#define nAlignUp(P) (void*)( ( (uint) (P) + ( 1 << __CPU_WORD_BALIGN__ ) - 1 ) & PTR_ALIGNMASK )
#define nAlignedBy(P,A) ( !( (uint) (P) & ( ~(vUINT_MAX << (A) ) ) ) )
#define nAlignDownBy(P,A) (void*)( (uint) (P) & (vUINT_MAX << (A) ) )
#define nAlignUpBy(P,A) (void*)( ( (uint) (P) + ( 1 << (A) ) - 1 ) & ( vUINT_MAX <<( A ) ) )
#define nStorage(X) nAlignUp ( (X) + 1 )
/****************************************************************************/
#define nAddPointer(P,X) (void*) ( (uint) (P) + (uint) (X) )
#define nSubPointer(P,X) (void*) ( (uint) (P) - (uint) (X) )
/****************************************************************************/
// Converts a string into a checksum. This macro can be used for readability.
// Later, for speed, some application can scan all .cpp and .h files, and
// replace all instances of CRCX(...) with corresponding CRCD(...) instances
//
// Example: CRCX("object_id")
#define CRCX(_s) Script::GenerateCRC(_s)
// This macro exists simply for readability. Whenever you see a CRCD(...) instance,
// you will know what string the checksum maps to. CRCD(...) instances in the code
// can be generated from CRCX(...), and can be reverse mapped if desired.
//
// Example: CRCD(0xdcd2a9d4, "object_id")
#include <core/debug.h>
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/support.h>
#include <sys/mem/memman.h>
#include <core/crc.h>
#ifdef __PLAT_NGPS__
#include <gfx/ngps/p_memview.h>
#include "libsn.h"
#elif defined( __PLAT_NGC__ )
#include <gfx/ngc/p_memview.h>
//#include "libsn.h"
#elif defined( __PLAT_XBOX__ )
#include <gfx/xbox/p_memview.h>
#endif
// Mick: This check slows the game down quite a bit
#if 1 && defined( __NOPT_ASSERT__ )
extern uint32 check_checksum(uint32 _i, const char *_s, const char *f, int line);
#define CRCD(_i, _s) check_checksum(_i, _s, __FILE__, __LINE__)
#else
#define CRCD(_i, _s) _i
#endif
// CRC-C, for use only in switch statements, where you want to use the same syntax as CRCD
#define CRCC(_i, _s) _i
//#ifdef __PLAT_NGC__
//class TCPPInit
//{
//public:
// static bool IsHeapInitialized ;
//} ;
//
//// these definitions override the new and delete operators.
//
#ifdef __PLAT_NGC__
static inline void* operator new ( size_t blocksize ) ;
static inline void* operator new[] ( size_t blocksize ) ;
static inline void operator delete ( void* block ) ;
static inline void operator delete[] ( void* block ) ;
#endif // __PLAT_NGC__
//
//#else
#ifdef __PLAT_WN32__
inline void* operator new( size_t size, bool assert_on_fail )
{
return new char[size];
}
#else
#ifndef __PLAT_NGC__
/******************************************************************/
/* Global new/delete operators */
/* */
/******************************************************************/
inline void* operator new( size_t size )
{
return Mem::Manager::sHandle().New( size, true );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new[] ( size_t size )
{
return Mem::Manager::sHandle().New( size, true );
}
#endif // __PLAT_NGC__
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new( size_t size, bool assert_on_fail )
{
return Mem::Manager::sHandle().New( size, assert_on_fail );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new[] ( size_t size, bool assert_on_fail )
{
return Mem::Manager::sHandle().New( size, assert_on_fail );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new( size_t size, Mem::Allocator* pAlloc, bool assert_on_fail = true )
{
return Mem::Manager::sHandle().New( size, assert_on_fail, pAlloc );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new[]( size_t size, Mem::Allocator* pAlloc, bool assert_on_fail = true )
{
return Mem::Manager::sHandle().New( size, assert_on_fail, pAlloc );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new( size_t size, void* pLocation )
{
return pLocation;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void* operator new[]( size_t size, void* pLocation )
{
return pLocation;
}
#ifndef __PLAT_NGC__
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void operator delete( void* pAddr )
{
Mem::Manager::sHandle().Delete( pAddr );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
inline void operator delete[]( void* pAddr )
{
Mem::Manager::sHandle().Delete( pAddr );
}
#endif // __PLAT_NGC__
//#ifdef __PLAT_NGC__
/******************************************************************/
/* only used when exception is thrown in constructor */
/* */
/******************************************************************
inline void operator delete( void* pAddr, Mem::Allocator* pAlloc )
{
Mem::Manager * mem_man = Mem::Manager::Instance();
Mem::Manager::sHandle().Delete( pAddr );
}
/******************************************************************/
/* */
/* */
/******************************************************************
inline void operator delete[]( void* pAddr, Mem::Allocator* pAlloc )
{
Mem::Manager * mem_man = Mem::Manager::Instance();
Mem::Manager::sHandle().Delete( pAddr );
}
/******************************************************************/
/* */
/* */
/******************************************************************
inline void operator delete( void*, void* pLocation )
{
return;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
//#endif // __PLAT_NGC__
#endif // __PLAT_WN32__
#endif // __CORE_DEFINES_H
================================================
FILE: Code/Core/DynamicTable.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment. **
** **
** Copyright (C) 2000 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core library **
** **
** Module: List **
** **
** File name: **
** **
** Created by: **
** **
** Description: **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/defines.h>
#include <core/DynamicTable.h>
//
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
/*****************************************************************************
** Public Functions **
*****************************************************************************/
/******************************************************************************
*
* Function:
*
* Description: Default constructor
*
* Parameters:
*
*****************************************************************************/
} // namespace Lst
================================================
FILE: Code/Core/DynamicTable.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment. **
** **
** Copyright (C) 2000 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core library **
** **
** Module: DynamicTable **
** **
** File name: Core\DynamicTable.h **
** **
** Created by: 12/14/2000 - rjm **
** **
** Description: A handy DynamicTable class **
** **
*****************************************************************************/
#ifndef __CORE_LIST_DYNAMICTABLE_H
#define __CORE_LIST_DYNAMICTABLE_H
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
nTemplateBaseClass(_V, DynamicTable)
{
Dbg_TemplateBaseClass(_V, DynamicTable);
public:
DynamicTable(int size, int grow_increment = 8);
~DynamicTable();
// it goes on the end of the table
void Add(_V *pItem);
int GetSize();
void Reset();
_V &Last();
void Replace(int index, _V *pNewItem);
void Remove(int index);
/*
bool IsEmpty(int index);
*/
_V &operator[](int index);
private:
_V ** mpp_table;
int m_size;
int m_entriesFilled;
int m_growIncrement;
};
template<class _V>
class DynamicTableDestroyer
{
public:
DynamicTableDestroyer(DynamicTable<_V> *pTable);
void DeleteTableContents();
private:
DynamicTable<_V> * mp_table;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
/******************************************************************/
/* */
/* */
/******************************************************************/
template<class _V>
DynamicTable<_V>::DynamicTable(int size, int grow_increment)
{
m_size = size;
m_growIncrement = grow_increment;
mpp_table = (_V**) Mem::Malloc(sizeof(_V *) * m_size);
//mpp_table = new _V*[m_size];
for (int i = 0; i < m_size; i++)
mpp_table[i] = NULL;
m_entriesFilled = 0;
}
template<class _V>
DynamicTable<_V>::~DynamicTable()
{
Mem::Free(mpp_table);
//delete [] mpp_table;
}
template<class _V>
void DynamicTable<_V>::Add(_V* pItem)
{
Dbg_MsgAssert(pItem,( "can't add NULL item to table"));
// do we need to create a new table?
if (m_size <= m_entriesFilled)
{
// create new table
int new_size = m_size + m_growIncrement;
_V **ppTemp = (_V**) Mem::Malloc(sizeof(_V *) * new_size);
//_V **ppTemp = new _V*[new_size];
// copy contents of old one
int i;
for (i = 0; i < m_size; i++)
ppTemp[i] = mpp_table[i];
for (i = m_size; i < new_size; i++)
ppTemp[i] = NULL;
Mem::Free(mpp_table);
//delete [] mpp_table;
mpp_table = ppTemp;
m_size = new_size;
}
mpp_table[m_entriesFilled++] = pItem;
}
template<class _V>
int DynamicTable<_V>::GetSize()
{
return m_entriesFilled;
}
template<class _V>
void DynamicTable<_V>::Reset()
{
m_entriesFilled = 0;
}
template<class _V>
void DynamicTable<_V>::Replace(int index, _V *pNewItem)
{
Dbg_MsgAssert(index >= 0 && index < m_entriesFilled,( "index out of bounds in DynamicTable"));
Dbg_AssertPtr(pNewItem);
mpp_table[index] = pNewItem;
}
template<class _V>
void DynamicTable<_V>::Remove(int index)
{
Dbg_MsgAssert(index >= 0 && index < m_entriesFilled,( "index out of bounds in DynamicTable"));
delete mpp_table[index];
for ( int i = index; i < m_entriesFilled-1; i++ )
{
mpp_table[i] = mpp_table[i+1];
}
mpp_table[m_entriesFilled-1] = NULL;
m_entriesFilled--;
}
/*
template<class _V>
bool DynamicTable<_V>::IsEmpty(int index)
{
Dbg_MsgAssert(index >= 0 && index < m_entriesFilled,( "index out of bounds in DynamicTable"));
if (mpp_table[index]) return false;
return true;
}
*/
template<class _V>
_V &DynamicTable<_V>::operator[](int index)
{
Dbg_MsgAssert(index >= 0 && index < m_entriesFilled,( "index %d out of bounds in DynamicTable", index));
Dbg_MsgAssert(mpp_table[index],( "table entry is NULL"));
Dbg_AssertPtr(mpp_table[index]);
return *mpp_table[index];
}
template<class _V>
_V &DynamicTable<_V>::Last()
{
Dbg_MsgAssert(m_entriesFilled > 0,( "empty list"));
return *mpp_table[m_entriesFilled-1];
}
template<class _V>
DynamicTableDestroyer<_V>::DynamicTableDestroyer(DynamicTable<_V> *pTable)
{
mp_table = pTable;
}
template<class _V>
void DynamicTableDestroyer<_V>::DeleteTableContents()
{
int size = mp_table->GetSize();
for (int i = 0; i < size; i++)
{
//if (!mp_table->IsEmpty())
delete &(*mp_table)[i];
}
mp_table->Reset();
}
} // namespace Lst
#endif // __CORE_LIST_DYNAMICTABLE_H
================================================
FILE: Code/Core/HashTable.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment. **
** **
** Copyright (C) 2000 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core library **
** **
** Module: HashTable **
** **
** File name: Core\HashTable.h **
** **
** Created by: 9/22/2000 - rjm **
** **
** Description: A handy Hashtable class **
** **
*****************************************************************************/
#ifndef __CORE_LIST_HASHTABLE_H
#define __CORE_LIST_HASHTABLE_H
#ifndef __CORE_DEFINES_H
#include <core/defines.h>
#endif
#ifndef __PLAT_WN32__
#include <sys/mem/PoolManager.h>
#endif
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
template< class _V > class HashTable;
template< class _V > class HashItem
{
friend class HashTable<_V>;
private:
HashItem();
void Init();
uint32 m_key;
_V * mp_value;
HashItem<_V> * mp_next;
};
template <class _V> class HashTable
{
typedef void (*HashCallback)(_V*, void*);
public:
HashTable(uint32 numBits);
~HashTable();
// if any item exists with the same key, replace it
bool PutItem(const uint32 &key, _V *item);
// delete the item, and remove it from the table
void FlushItem(const uint32 &key);
// print all instances of an item (debugging)
void PrintItem(const uint32 &key);
// gets a pointer to requested item, returns NULL if item not in table
_V * GetItem(const uint32 &key, bool assert_if_clash = true);
_V * GetNextItemWithSameKey(const uint32 &key, _V *p_item);
void FlushAllItems(void);
void HandleCallback(HashCallback, void* pData);
int GetSize(){return m_size;}
void IterateStart();
_V * IterateNext(uint32 *pRetKey = NULL);
#ifdef __NOPT_ASSERT__
void PrintContents();
#endif
void AllowDuplicateKeys(bool allowed)
{
m_allowDuplicateKeys = allowed;
}
protected:
uint32 m_numBits; // resolution of hash table
HashItem<_V> * mp_hash_table;
int m_size; // number of entries in the table
int m_iterator_index;
HashItem<_V> * mp_iterator_item;
bool m_allowDuplicateKeys;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
/******************************************************************/
/* */
/* */
/******************************************************************/
template<class _V> //inline
HashTable<_V>::HashTable(uint32 numBits)
{
//Ryan("Creating HashTable");
m_numBits = numBits;
mp_hash_table = new HashItem<_V>[1<<m_numBits];
m_size = 0;
m_allowDuplicateKeys = false;
}
template<class _V> //inline
HashTable<_V>::~HashTable()
{
//Ryan("Destroying HashTable");
Dbg_AssertPtr( mp_hash_table );
if (!mp_hash_table)
return;
FlushAllItems();
// Remove the table.
// Mem::Free(mp_hash_table);
delete[] mp_hash_table;
mp_hash_table=NULL;
}
template<class _V> //inline
bool HashTable<_V>::PutItem(const uint32 &key, _V *item)
{
Dbg_AssertPtr(item);
//Ryan("putting item in Hash table\n");
Dbg_AssertPtr( mp_hash_table );
// sometimes, we want to allow checksum conflicts
// (for instance, ConvertAssets' file database)
if ( !m_allowDuplicateKeys )
{
Dbg_MsgAssert(!GetItem(key), ("item 0x%x already in hash table", key));
}
// can't add an item of 0,NULL, as that is used to indicate an empty head slot
Dbg_MsgAssert(key || item, ("Both key and item are 0 (NULL) in hash table"));
// can have a value of NULL either, as the the test below uses pEntry->mp_value == NULL
// to indicate an an empty head slot
// We could just change it to ( pEntry->mp_value || pEntry->m_key ) if NULL values are desirable
Dbg_MsgAssert( item, ("NULL item added to hash table"));
HashItem<_V> *pEntry=&mp_hash_table[key&((1<<m_numBits)-1)];
if ( pEntry->mp_value )
{
// The main table entry is already occupied, so create a new HashEntry and
// link it in between the first and the rest.
#ifndef __PLAT_WN32__
HashItem<_V> *pNew = new (Mem::PoolManager::SCreateItem(Mem::PoolManager::vHASH_ITEM_POOL)) HashItem<_V>();
#else
HashItem<_V> *pNew = new HashItem<_V>;
#endif
pNew->m_key = key;
pNew->mp_value = item;
pNew->mp_next = pEntry->mp_next;
pEntry->mp_next = pNew;
}
else
{
// Main table entry is not occupied, so wack it in there.
pEntry->m_key = key;
pEntry->mp_value = item;
// leave pEntry->mp_next untouched
}
m_size++;
return true;
}
template<class _V> //inline
_V *HashTable<_V>::GetNextItemWithSameKey(const uint32 &key, _V *p_item)
{
Dbg_AssertPtr( mp_hash_table );
// Jump to the linked list of all entries with similar checksums.
HashItem<_V> *pEntry=&mp_hash_table[key&((1<<m_numBits)-1)];
// Look for p_item
while (pEntry)
{
if (pEntry->m_key == key && pEntry->mp_value==p_item)
{
break;
}
pEntry=pEntry->mp_next;
}
if (!pEntry)
{
// p_item was not found.
return NULL;
}
// Found p_item, so search the rest of the list for the next element with the same key.
pEntry=pEntry->mp_next;
while (pEntry)
{
if (pEntry->m_key == key && pEntry->mp_value)
{
return pEntry->mp_value;
}
pEntry=pEntry->mp_next;
}
return NULL;
}
template<class _V> //inline
_V *HashTable<_V>::GetItem(const uint32 &key, bool assert_if_clash)
{
Dbg_AssertPtr( mp_hash_table );
// Jump to the linked list of all entries with similar checksums.
HashItem<_V> *pEntry=&mp_hash_table[key&((1<<m_numBits)-1)];
// Scan through the small list until the matching entry is found.
// Note: the main table entry might be empty, so we still want to scan
// the linked ones
while (pEntry)
{
if (pEntry->m_key == key && pEntry->mp_value)
{
return (_V *) pEntry->mp_value;
}
pEntry=pEntry->mp_next;
}
return NULL;
}
template<class _V> //inline
void HashTable<_V>::PrintItem(const uint32 &key)
{
Dbg_AssertPtr( mp_hash_table );
// Jump to the linked list of all entries with similar checksums.
HashItem<_V> *pEntry=&mp_hash_table[key&((1<<m_numBits)-1)];
// Scan through the small list until the matching entry is found.
int n =0;
// Note: the main table entry might be empty, so we still want to scan
// the linked ones
while (pEntry)
{
if (pEntry->m_key == key && pEntry->mp_value)
{
printf ("%d: Entry for 0x%x at %p\n", n ,key,(_V *) pEntry->mp_value);
n++;
}
pEntry=pEntry->mp_next;
}
}
template<class _V> //inline
void HashTable<_V>::FlushItem(const uint32 &key)
{
Dbg_AssertPtr( mp_hash_table );
if (!mp_hash_table)
return;
// Jump to the linked list of all entries with similar checksums.
HashItem<_V> *pEntry=&mp_hash_table[key&((1<<m_numBits)-1)];
HashItem<_V> *pLast = NULL;
// Scan through the small list until the matching entry is found.
while (pEntry)
{
HashItem<_V> *p_next_entry = pEntry->mp_next;
if (pEntry->m_key==key && pEntry->mp_value) // to allow keys of value 0, we have to skip head nodes that are 0,NULL
{
if (pLast)
{
// this is not a main table entry; this is a linked entry
pLast->mp_next = pEntry->mp_next;
#ifndef __PLAT_WN32__
Mem::PoolManager::SFreeItem(Mem::PoolManager::vHASH_ITEM_POOL, pEntry);
#else
delete pEntry;
#endif
}
else
{
// this is a main table entry, it still might be linked to something
// clear the entry to 0,NULL (see comment above about keys of value 0)
pEntry->m_key = 0;
pEntry->mp_value = NULL;
}
m_size--;
return;
}
pLast = pEntry;
pEntry = p_next_entry;
}
return;
}
template<class _V> //inline
void HashTable<_V>::FlushAllItems()
{
Dbg_AssertPtr( mp_hash_table );
if (!mp_hash_table)
return;
// Run through the table and delete any of the extra
// HashItem<_V>s.
HashItem<_V> *pMainEntry = mp_hash_table;
uint32 hashTableSize = (1<<m_numBits);
for (uint32 i=0; i<hashTableSize; ++i)
{
HashItem<_V> *pLinkedEntry = pMainEntry->mp_next;
while (pLinkedEntry)
{
HashItem<_V> *pNext = pLinkedEntry->mp_next;
#ifndef __PLAT_WN32__
Mem::PoolManager::SFreeItem(Mem::PoolManager::vHASH_ITEM_POOL, pLinkedEntry);
#else
delete pLinkedEntry;
#endif
pLinkedEntry = pNext;
}
pMainEntry->Init();
++pMainEntry;
}
m_size = 0;
}
template<class _V> //inline
void HashTable<_V>::HandleCallback(HashCallback hashCallback, void* pData)
{
HashItem<_V> *pMainEntry = mp_hash_table;
uint32 hashTableSize=(1<<m_numBits);
for (uint32 i=0; i<hashTableSize; ++i)
{
HashItem<_V> *pLinkedEntry = pMainEntry->mp_next;
while (pLinkedEntry)
{
HashItem<_V> *pNext = pLinkedEntry->mp_next;
// Mem::Free(pLinkedEntry);
if (pLinkedEntry->mp_value)
(hashCallback)((_V *) pLinkedEntry->mp_value, pData);
pLinkedEntry = pNext;
}
if (pMainEntry->mp_value)
(hashCallback)((_V *) pMainEntry->mp_value, pData);
++pMainEntry;
}
}
template<class _V> //inline
void HashTable<_V>::IterateStart()
{
m_iterator_index = -1;
mp_iterator_item = NULL;
}
template<class _V> //inline
_V * HashTable<_V>::IterateNext(uint32 *pRetKey)
{
uint32 hashTableSize=(1<<m_numBits);
// time to go to the next entry, or the first if we're just starting
if (mp_iterator_item)
// next entry in list
mp_iterator_item = mp_iterator_item->mp_next;
else if (m_iterator_index >= 0)
// we've exhausted all the lists
return NULL;
if (!mp_iterator_item)
{
// no entry in list, move on to next list
do
{
m_iterator_index++;
if (m_iterator_index >= (int) hashTableSize)
return NULL;
mp_iterator_item = mp_hash_table + m_iterator_index;
} // main entry has to contain something, or be part of a list
while (!mp_iterator_item->mp_value && !mp_iterator_item->mp_next);
if (!mp_iterator_item->mp_value)
// this must be an empty main entry, skip ahead
mp_iterator_item = mp_iterator_item->mp_next;
}
// Ken: Added this because it was hanging here once when loading the junkyard
// off CD. It was trying to dereference mp_iterator_item. Added the printf
// so we can at least see when it happens without having to go into the debugger.
if (!mp_iterator_item)
{
#ifdef __NOPT_ASSERT__
printf("Error!! NULL mp_iterator_item in IterateNext()\n");
#endif
return NULL;
}
if (pRetKey)
*pRetKey = mp_iterator_item->m_key;
return mp_iterator_item->mp_value;
}
#ifdef __NOPT_ASSERT__
template<class _V> //inline
void HashTable<_V>::PrintContents()
{
printf("Items in Hash Table:\n");
uint32 hashTableSize=(1<<m_numBits);
for (uint32 i = 0; i < hashTableSize; ++i)
{
HashItem<_V> *pEntry = mp_hash_table + i;
while(pEntry)
{
if (pEntry->mp_value)
printf(" 0x%x [%d]\n", pEntry->m_key, i);
pEntry = pEntry->mp_next;
}
}
}
#endif
template<class _V> //inline
HashItem<_V>::HashItem<_V>()
{
Init();
}
template<class _V> //inline
void HashItem<_V>::Init()
{
m_key = 0;
mp_value = NULL;
mp_next = NULL;
}
} // namespace Lst
#endif // __CORE_LIST_HASHTABLE_H
================================================
FILE: Code/Core/List/Head.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: List (LST_) **
** **
** File name: core/list/head.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_LIST_HEAD_H
#define __CORE_LIST_HEAD_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/list/node.h>
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
/***********************************************************************
*
* Class: Head
*
* Description: Linked-list head node.
*
***********************************************************************/
nTemplateSubClass( _T, Head, Node< _T > )
{
public:
Head( void );
virtual ~Head( void );
void Merge( Head< _T >* dest ); // Source list will be empty after merge
uint CountItems( void );
Node< _T >* GetItem( uint number ); // Zero-based ( 0 will return first node )
void AddNode( Node< _T >* node ); // Using priority
void AddNodeFromTail( Node< _T >* node ); // Using priority, search backwards from tail (i.e same-priorties are appended rather than pre-pended)
bool AddUniqueSequence( Node< _T >* node ); // Only add if priority is unique
// and priority decreases
void AddToTail( Node< _T >* node );
void AddToHead( Node< _T >* node );
void RemoveAllNodes( void );
void DestroyAllNodes( void ); // ONLY USE FOR INHERITED LISTS
bool IsEmpty( void );
Node< _T >* FirstItem(); // get first node, or NULL if none
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
template < class _T > inline
Head< _T >::Head( void )
: Node< _T > ( reinterpret_cast < _T* >( vHEAD_NODE ) )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Head< _T >::~Head( void )
{
Dbg_MsgAssert( IsEmpty(),( "List is not empty" ));
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Head< _T >::AddNode( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Dbg_MsgAssert( !node->InList (),( "Object is already in a list" ));
Node< _T >* node_ptr = this;
Priority new_pri = node->GetPri();
while (( node_ptr = node_ptr->GetNext() ))
{
if ( node_ptr->GetPri() <= new_pri )
{
node_ptr->Insert( node );
return;
}
}
Insert( node );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Head< _T >::AddNodeFromTail( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Dbg_MsgAssert( !node->InList (),( "Object is already in a list" ));
Node< _T >* node_ptr = this;
Priority new_pri = node->GetPri();
while (( node_ptr = node_ptr->GetPrev() ))
{
if ( node_ptr->GetPri() >= new_pri )
{
node_ptr->Append( node );
return;
}
}
Append( node );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
bool Head< _T >::AddUniqueSequence( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Dbg_MsgAssert( !node->InList (),( "Object is already in a list" ));
Node< _T >* node_ptr = this;
Priority new_pri = node->GetPri();
while (( node_ptr = node_ptr->GetNext() ))
{
if ( node_ptr->GetPri() == new_pri )
{
return false;
}
else if ( node_ptr->GetPri() > new_pri )
{
node_ptr->Insert( node );
return true;
}
}
Insert( node );
return true;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Head< _T >::Merge( Head< _T >* dest )
{
Dbg_AssertType( dest, Head< _T > );
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Dbg_MsgAssert( dest->is_head (),( "Object is not a list" ));
Node< _T >* first = next;
Node< _T >* last = prev;
Node< _T >* node = dest->GetPrev();
if ( this == first ) // source list is empty
{
return;
}
node->SetNext( first );
first->SetPrev( node );
last->SetNext( dest );
dest->SetPrev( last );
node_init(); // make the source list empty
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >* Head< _T >::GetItem( uint number )
{
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Node< _T >* node = GetNext();
while ( node )
{
if ( number-- == 0 )
{
return node;
}
node = node->GetNext();
}
Dbg_Warning( "Item requested (%d) out of range (%d)", number, CountItems() );
return NULL;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
// Return the firs node in the list that this is the head of
template < class _T > inline
Node< _T >* Head< _T >::FirstItem( )
{
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
return GetNext();
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T > inline
uint Head< _T >::CountItems( void )
{
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
uint count = 0;
Node< _T >* node = GetNext();
while ( node )
{
count++;
node = node->GetNext();
}
return count;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
void Head< _T >::RemoveAllNodes( void )
{
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Node< _T >* next_nd;
Node< _T >* node = GetNext();
while ( node )
{
next_nd = node->GetNext();
node->Remove();
node = next_nd;
}
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
void Head< _T >::DestroyAllNodes( void )
{
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Node< _T >* next_nd;
Node< _T >* node = GetNext();
while ( node )
{
next_nd = node->GetNext();
// node->Remove();
delete node;
node = next_nd;
}
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
void Head< _T >::AddToTail( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( this->is_head (),( "Object is not a list" ));
Dbg_MsgAssert( !node->InList (),( "Node is already in a list" ));
Insert ( node );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
void Head< _T >::AddToHead ( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( this->is_head(),(( "Object is not a list" )));
Dbg_MsgAssert( !node->InList(),(( "Node is already in a list" )));
Append( node );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
bool Head< _T >::IsEmpty( void )
{
Dbg_MsgAssert ( this->is_head(),( "Object is not a list" ));
return ( !InList() );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Lst
#endif // __CORE_LIST_HEAD_H
================================================
FILE: Code/Core/List/Node.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: List (LST_) **
** **
** File name: core/list/node.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_LIST_Node_H
#define __CORE_LIST_Node_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/support.h>
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
/***********************************************************************
*
* Class: Lst::Node
*
* Description: Linked-list node.
*
***********************************************************************/
nTemplateBaseClass( _T, Node )
{
public:
// GJ: Note we have to cast vINT_MIN to an sint
// ( ((sint)vINT_MIN) / 2 ) ends up positive.
enum
{
vNORMAL_PRIORITY = 0,
vHEAD_NODE = vUINT32_MAX
};
enum
{
vSYSTEM_TASK_PRIORITY_PROCESS_MODULES = -1000,
vSYSTEM_TASK_PRIORITY_FLUSH_DEAD_OBJECTS = 1000,
};
enum
{
vLOGIC_TASK_PRIORITY_REPLAY_END_FRAME = -3000,
vLOGIC_TASK_PRIORITY_PROCESS_NETWORK_METRICS = -2500,
vLOGIC_TASK_PRIORITY_SERVER_SEND_NETWORK_DATA = -2000,
vLOGIC_TASK_PRIORITY_CLIENT_SEND_NETWORK_DATA = -2000,
vLOGIC_TASK_PRIORITY_TIMEOUT_CONNECTIONS = -2000,
vLOGIC_TASK_PRIORITY_CLIENT_ADD_NEW_PLAYERS = -2000,
vLOGIC_TASK_PRIORITY_SERVER_ADD_NEW_PLAYERS = -2000,
vLOGIC_TASK_PRIORITY_FRONTEND = -2000,
vLOGIC_TASK_PRIORITY_SCRIPT_DEBUGGER = -1500,
vLOGIC_TASK_PRIORITY_LOCKED_OBJECT_MANAGER_LOGIC = -1100,
vLOGIC_TASK_PRIORITY_PARTICLE_MANAGER_LOGIC = -1000,
vLOGIC_TASK_PRIORITY_HANDLE_KEYBOARD = -1000,
vLOGIC_TASK_PRIORITY_OBJECT_UPDATE = -1000,
vLOGIC_TASK_PRIORITY_SCORE_UPDATE = -1000,
vLOGIC_TASK_PRIORITY_COMPOSITE_MANAGER = -900,
vLOGIC_TASK_PRIORITY_PROCESS_NETWORK_DATA = 0,
vLOGIC_TASK_PRIORITY_SKATER_SERVER = 1000,
vLOGIC_TASK_PRIORITY_TRANSFER_NETWORK_DATA = 1000,
vLOGIC_TASK_PRIORITY_RECEIVE_NETWORK_DATA = 1000,
vLOGIC_TASK_PRIORITY_PROCESS_HANDLERS = 2000,
vLOGIC_TASK_PRIORITY_REPLAY_START_FRAME = 3000,
};
enum
{
vDISPLAY_TASK_PRIORITY_PARK_EDITOR_DISPLAY = -1000,
vDISPLAY_TASK_PRIORITY_CPARKEDITOR_DISPLAY = -1000,
vDISPLAY_TASK_PRIORITY_IMAGE_VIEWER_DISPLAY = -1000,
vDISPLAY_TASK_PRIORITY_PANEL_DISPLAY = -500,
};
enum
{
vHANDLER_PRIORITY_OBSERVER_INPUT_LOGIC = -1000,
vHANDLER_PRIORITY_FRONTEND_INPUT_LOGIC0 = -1000,
vHANDLER_PRIORITY_FRONTEND_INPUT_LOGIC1 = -1000,
vHANDLER_PRIORITY_IMAGE_VIEWER_INPUT_LOGIC = 1000,
vHANDLER_PRIORITY_VIEWER_SHIFT_INPUT_LOGIC = 1000,
};
typedef sint Priority;
Node ( _T* d, Priority p = vNORMAL_PRIORITY );
virtual ~Node ( void );
void Insert ( Node< _T >* node );
void Append ( Node< _T >* node );
void Remove ( void );
void SetPri ( const Priority priority );
void SetNext ( Node< _T >* node );
void SetPrev ( Node< _T >* node );
Priority GetPri ( void ) const;
Node< _T >* GetNext ( void ) const;
Node< _T >* GetPrev ( void ) const;
_T* GetData ( void ) const;
Node< _T >* LoopNext ( void ) const;
Node< _T >* LoopPrev ( void ) const;
bool InList ( void ) const;
protected:
bool is_head ( void ) const;
void node_init ( void );
private:
_T* data;
Priority pri;
Node< _T >* next;
Node< _T >* prev;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Inline Functions **
*****************************************************************************/
template < class _T > inline
void Node< _T >::node_init( void )
{
next = this;
prev = this;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
bool Node< _T >::is_head( void ) const
{
return ( data == reinterpret_cast<void*>( vHEAD_NODE ));
}
/*****************************************************************************
** Public Inline Functions **
*****************************************************************************/
template < class _T > inline
Node< _T >::Node( _T* d, Priority p )
: data( d ), pri( p )
{
node_init();
}
/******************************************************************/
/* */
/* */
/******************************************************************/
// Must define inline functions before they are used
template < class _T > inline
void Node< _T >::Remove( void )
{
prev->next = next;
next->prev = prev;
node_init(); // so we know that the node is not in a list
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >::~Node( void )
{
Remove();
}
/******************************************************************/
/* */
/* */
/******************************************************************/
// Mick: Moved this here from the end of the file
// as it's intended to b inline
// yet it is used by other functions below
template < class _T > inline
bool Node< _T >::InList( void ) const
{
return ( prev != this );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Node< _T >::Insert ( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( !node->InList(),("node is already in a list" ));
node->prev = prev;
node->next = this;
prev->next = node;
prev = node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Node< _T >::Append( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
Dbg_MsgAssert( !node->InList(),( "node is already in a list" ));
node->prev = this;
node->next = next;
next->prev = node;
next = node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Node< _T >::SetPri( const Priority priority )
{
pri = priority;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Node< _T >::SetNext( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
next = node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
void Node< _T >::SetPrev( Node< _T >* node )
{
Dbg_AssertType( node, Node< _T > );
prev = node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
typename Node< _T >::Priority Node< _T >::GetPri( void ) const
{
return pri;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >* Node< _T >::GetNext( void ) const
{
if ( next->is_head() )
{
return NULL;
}
return next;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >* Node< _T >::GetPrev( void ) const
{
if ( prev->is_head() )
{
return NULL;
}
return prev;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
_T* Node< _T >::GetData( void ) const
{
return data;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >* Node< _T >::LoopNext( void ) const
{
Node< _T >* next_node = next;
if ( next_node->is_head() )
{
next_node = next_node->next; // skip head node
if ( next_node->is_head() )
{
return NULL; // list is empty
}
}
return next_node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template < class _T > inline
Node< _T >* Node< _T >::LoopPrev( void ) const
{
Node< _T >* prev_node = prev;
if ( prev_node->is_head() )
{
prev_node = prev_node->prev; // skip head node
if ( prev_node->is_head() )
{
return NULL; // list is empty
}
}
return prev_node;
}
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Lst
#endif // __CORE_LIST_Node_H
================================================
FILE: Code/Core/List/Search.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: List (LST_) **
** **
** File name: core/list/search.h **
** **
** Created: 04/02/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_LIST_SEARCH_H
#define __CORE_LIST_SEARCH_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/list/node.h>
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
nTemplateBaseClass ( _T, Search )
{
public:
Search ( void );
virtual ~Search ( void );
_T* FirstItem ( Head<_T>& head );
_T* LastItem ( Head<_T>& head );
_T* NextItem ( void );
_T* PrevItem ( void );
private:
Node< _T >* node;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
template <class _T> inline
Search<_T>::Search ( void )
: node ( NULL )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
Search<_T>::~Search ( void )
{
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
_T* Search<_T>::FirstItem ( Head<_T>& head )
{
Dbg_AssertType ( &head, Head<_T> );
node = &head;
return ( NextItem () );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
_T* Search<_T>::LastItem ( Head<_T>& head )
{
Dbg_AssertType ( &head, Head<_T> );
node = &head;
return ( PrevItem () );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
_T* Search<_T>::NextItem ( void )
{
Dbg_AssertType ( node, Node< _T > );
node = node->GetNext();
if ( !node )
{
return NULL;
}
Dbg_AssertType ( node, Node<_T> );
return ( node->GetData() );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
template <class _T> inline
_T* Search<_T>::PrevItem ( void )
{
Dbg_AssertType ( node, Node< _T > );
node = node->GetPrev();
if ( !node )
{
return NULL;
}
Dbg_AssertType ( node, Node<_T> );
return ( node->GetData() );
}
/******************************************************************/
/* */
/* */
/******************************************************************/
} // namespace Lst
#endif // __CORE_LIST_SEARCH_H
================================================
FILE: Code/Core/List/list.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: List (Lst) **
** **
** File name: list.cpp **
** **
** Created by: 05/27/99 - mjb **
** **
** Description: List management code **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/defines.h>
/*****************************************************************************
** DBG Information **
*****************************************************************************/
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
/*****************************************************************************
** Public Functions **
*****************************************************************************/
================================================
FILE: Code/Core/List.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment **
** **
** Copyright (C) 1999 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core Library **
** **
** Module: List (Lst) **
** **
** File name: core/list.h **
** **
** Created: 05/27/99 - mjb **
** **
*****************************************************************************/
#ifndef __CORE_LIST_H
#define __CORE_LIST_H
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/list/node.h>
#include <core/list/head.h>
#include <core/list/search.h>
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
#endif // __CORE_LIST_H
================================================
FILE: Code/Core/LookupTable.cpp
================================================
/*****************************************************************************
** **
** Neversoft Entertainment. **
** **
** Copyright (C) 2000 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core library **
** **
** Module: List **
** **
** File name: Core\List\LookupTable.cpp **
** **
** Created by: 9/22/2000 - rjm **
** **
** Description: A Lookuptable **
** **
*****************************************************************************/
/*****************************************************************************
** Includes **
*****************************************************************************/
#include <core/defines.h>
#include <core/string/cstring.h>
#include <core/lookuptable.h>
//
/*****************************************************************************
** DBG Information **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Externals **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
/*****************************************************************************
** Private Types **
*****************************************************************************/
/*****************************************************************************
** Private Data **
*****************************************************************************/
/*****************************************************************************
** Public Data **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Private Functions **
*****************************************************************************/
/*****************************************************************************
** Public Functions **
*****************************************************************************/
/******************************************************************************
*
* Function:
*
* Description: Default constructor
*
* Parameters:
*
*****************************************************************************/
} // namespace Lst
================================================
FILE: Code/Core/LookupTable.h
================================================
/*****************************************************************************
** **
** Neversoft Entertainment. **
** **
** Copyright (C) 2000 - All Rights Reserved **
** **
******************************************************************************
** **
** Project: Core library **
** **
** Module: LookupTable **
** **
** File name: Core\LookupTable.h **
** **
** Created by: 9/22/2000 - rjm **
** **
** Description: A handy Lookuptable class **
** **
*****************************************************************************/
#ifndef __CORE_LIST_LOOKUPTABLE_H
#define __CORE_LIST_LOOKUPTABLE_H
#ifndef __CORE_CRC_H
#include <core/crc.h>
#endif
/*****************************************************************************
** Includes **
*****************************************************************************/
/*****************************************************************************
** Defines **
*****************************************************************************/
namespace Lst
{
/*****************************************************************************
** Class Definitions **
*****************************************************************************/
/****************************************************************************
*
* Class: LookupItem
*
* Description: Used to represent an item in a Lookup table.
*
* Usage:
*
*
*
****************************************************************************/
// forward declaration
template< class _V > class LookupTable;
//nTemplateBaseClass2(_K, _V, LookupItem)
template< class _V > class LookupItem
{
// Dbg_TemplateBaseClass2(_K, _V, LookupItem);
friend class LookupTable<_V>;
private:
LookupItem();
int m_key;
_V * mp_value;
LookupItem<_V> * mp_next;
};
nTemplateBaseClass(_V, LookupTable)
{
Dbg_TemplateBaseClass(_V, LookupTable);
public:
LookupTable(int size=0); // Mick, size is not used, so give it default until we get rid of it
~LookupTable();
// if any item exists with the same key, replace it
bool PutItem(const int &key, _V *item);
// gets a pointer to requested item, returns NULL if item not in table
_V *GetItem(const int &key);
// gets a pointer to requested item, returns NULL if item not in table
_V *GetItemByIndex(const int &index, int *pKey = NULL);
int getSize() {return m_size;}
// removes item from table, calls its destructor if requested
void FlushItem(const int &key);
void flushAllItems();
private:
int m_size;
LookupItem<_V> * mp_list; // first item in list
LookupItem<_V> * mp_last; // last item in list
LookupItem<_V> * mp_current; // Pointer to current item in this table, NULL if invalid
int m_currentIndex; // the index of this item. Only valid if mp_current is not NULL
};
template<class _V>
class StringLookupTable : public LookupTable<_V>
{
//Dbg_TemplateBaseClass2(_K, _V, LookupItem);
public:
StringLookupTable(int size);
bool PutItem(const char *stringKey, _V *item);
_V *GetItem(const char *stringKey);
void FlushItem(const char *stringKey);
};
template<class _V>
class LookupTableDestroyer
{
public:
LookupTableDestroyer(LookupTable<_V> *pTable);
void DeleteTableContents();
private:
LookupTable<_V> * mp_table;
};
/*****************************************************************************
** Private Declarations **
*****************************************************************************/
/*****************************************************************************
** Private Prototypes **
*****************************************************************************/
/*****************************************************************************
** Public Declarations **
*****************************************************************************/
/*****************************************************************************
** Public Prototypes **
*****************************************************************************/
/*****************************************************************************
** Inline Functions **
*****************************************************************************/
/******************************************************************/
/* */
/* */
/******************************************************************/
template<class _V> //inline
LookupItem<_V>::LookupItem()
{
mp_value = NULL;
mp_next = NULL;
}
template<class _V> //inline
LookupTable<_V>::LookupTable(int size=0)
{
m_size = 0;
mp_list = NULL;
mp_current = NULL; // initialized invalid, so we don't try to use it
}
template<class _V> //inline
LookupTable<_V>::~LookupTable()
{
flushAllItems();
}
template<class _V> //inline
bool LookupTable<_V>::PutItem(const int &key, _V *item)
{
Dbg_AssertPtr(item);
//Ryan("putting item in lookup table\n");
# ifdef __NOPT_DEBUG__
if (GetItem(key)) return false;
# endif
LookupItem<_V> *pItem = new LookupItem<_V>;
pItem->mp_value = item;
pItem->m_key = key;
if (!mp_list)
mp_list = pItem;
else
mp_last->mp_next = pItem;
mp_last = pItem;
m_size++;
mp_current = NULL; // no longer valid
return true;
}
template<class _V> //inline
_V *LookupTable<_V>::GetItem(const int &key)
{
LookupItem<_V> *pItem = mp_list;
mp_current = NULL; // set invalid now, so if not found, then it will be correctly invalid
m_currentIndex = 0; // index should be 0, for the first item
while(pItem)
{
if (pItem->m_key == key)
{
mp_current = pItem; // we have a valid current, and hence index
return pItem->mp_value;
}
m_currentIndex++; // update index, in case we find the item
pItem = pItem->mp_next;
}
//printf("returning NULL from GetItem()\n");
// warning should be given by calling function, if necessary
//Dbg_Warning("Item not found in lookup table");
return NULL;
}
template<class _V> //inline
_V *LookupTable<_V>::GetItemByIndex(const int &index, int *pKey)
{
// size must be at least 1
Dbg_MsgAssert(index >= 0 && index < m_size,( "bad index %d", index));
// if we have a valid mp_current, then check if we can use that (for speed)
if (mp_current)
{
// is it the same as last time?
if (m_currentIndex == index)
{
// It's this one, so just leave it alone
}
else if (m_currentIndex < index)
{
// need to step forward until we find the correct one
// this is the most likely scenario if
// we are using GetItemByIndex in a for loop
// really we need an interator access class
// but this should be similar, in terms of code speed
while (m_currentIndex < index)
{
m_currentIndex++;
mp_current = mp_current->mp_next;
}
}
else
{
// otherwise, we need to start again, so invalidate mp_current
mp_current = NULL;
}
}
// if we don't have a valid mp_current at this point, then we need
// to start searching from the start again
if (!mp_current)
{
LookupItem<_V> *pItem = mp_list;
for (int i = 0; i < index; i++)
{
pItem = pItem->mp_next;
}
m_currentIndex = index;
mp_current = pItem;
}
// if they want us to returnt he key, then poke it into the supplied destination
if ( pKey )
*pKey = mp_current->m_key;
// the current value is correct
return mp_current->mp_value;
}
template<class _V> //inline
void LookupTable<_V>::FlushItem(const int &key)
{
mp_current = NULL; // No longer valid
LookupItem<_V> *pItem = mp_list;
LookupItem<_V> *prev = NULL;
while(pItem)
{
if (pItem->m_key == key)
{
if (prev)
prev->mp_next = pItem->mp_next;
else
mp_list = pItem->mp_next;
if (mp_last == pItem)
mp_last = prev;
delete pItem;
m_size--;
return;
}
prev = pItem;
pItem = pItem->mp_next;
}
}
template<class _V> //inline
void LookupTable<_V>::flushAllItems()
{
LookupItem<_V> *pItem = mp_list;
while(pItem)
{
LookupItem<_V> *pNext = pItem->mp_next;
delete pItem;
pItem = pNext;
}
mp_list = NULL;
mp_current = NULL;
m_size = 0;
}
/*
int m_size;
LookupItem<_K, _V> *m_array;
_K m_key;
_V *mp_value;
*/
template<class _V> //inline
StringLookupTable<_V>::StringLookupTable(int size) :
LookupTable<_V>(size)
{
}
template<class _V> //inline
bool StringLookupTable<_V>::PutItem(const char *stringKey, _V *item)
{
int key = Crc::GenerateCRCFromString(stringKey);
return LookupTable<_V>::PutItem(key, item);
}
template<class _V> //inline
_V *StringLookupTable<_V>::GetItem(const char *stringKey)
{
int key = Crc::GenerateCRCFromString(stringKey);
return LookupTable<_V>::GetItem(key);
}
template<class _V> //inline
void StringLookupTable<_V>::FlushItem(const char *stringKey)
{
int key = Crc::GenerateCRCFromString(stringKey);
LookupTable<_V>::FlushItem(key);
}
template<class _V> //inline
LookupTableDestroyer<_V>::LookupTableDestroyer(LookupTable<_V> *pTable)
{
mp_table = pTable;
}
template<class _V> inline
void LookupTableDestroyer<_V>::DeleteTableContents()
{
int num_items = mp_table->getSize();
for (int i = 0; i < num_items; i++)
{
int key;
// since we are flushing items out of the table as we go,
// we should always grab the first one
_V *pItem = mp_table->GetItemByIndex(0, &key);
mp_table->FlushItem(key);
if (pItem) delete pItem;
}
}
} // namespace Lst
#endif // __CORE_LIST_LOOKUPTABLE_H
====
gitextract_37te5saf/
└── Code/
├── Core/
│ ├── Debug/
│ │ ├── Assert.cpp
│ │ ├── Checks.h
│ │ ├── Debug.cpp
│ │ ├── Mem_stat.h
│ │ ├── Messages.h
│ │ ├── Module.h
│ │ ├── NGPS/
│ │ │ └── P_debug.cpp
│ │ ├── Project.h
│ │ ├── Signatrs.h
│ │ ├── Wn32/
│ │ │ └── P_debug.cpp
│ │ ├── XBox/
│ │ │ └── p_debug.cpp
│ │ ├── log.cpp
│ │ └── ngc/
│ │ └── P_debug.cpp
│ ├── Debug.h
│ ├── Defines.h
│ ├── DynamicTable.cpp
│ ├── DynamicTable.h
│ ├── HashTable.h
│ ├── List/
│ │ ├── Head.h
│ │ ├── Node.h
│ │ ├── Search.h
│ │ └── list.cpp
│ ├── List.h
│ ├── LookupTable.cpp
│ ├── LookupTable.h
│ ├── Math/
│ │ ├── Xbox/
│ │ │ └── sse.h
│ │ ├── geometry.cpp
│ │ ├── geometry.h
│ │ ├── math.cpp
│ │ ├── math.h
│ │ ├── matrix.cpp
│ │ ├── matrix.h
│ │ ├── matrix.inl
│ │ ├── quat.h
│ │ ├── quat.inl
│ │ ├── rect.h
│ │ ├── rot90.cpp
│ │ ├── rot90.h
│ │ ├── slerp.cpp
│ │ ├── slerp.h
│ │ ├── vector.cpp
│ │ ├── vector.h
│ │ └── vector.inl
│ ├── String/
│ │ ├── CString.cpp
│ │ ├── CString.h
│ │ ├── stringutils.cpp
│ │ └── stringutils.h
│ ├── StringHashTable.h
│ ├── Support/
│ │ ├── Lock.h
│ │ ├── Ref.h
│ │ ├── class.cpp
│ │ ├── class.h
│ │ └── support.h
│ ├── Task/
│ │ ├── Hook.h
│ │ ├── List.h
│ │ ├── Stack.h
│ │ ├── Task.cpp
│ │ ├── Task.h
│ │ ├── Tlist.cpp
│ │ └── Tstack.cpp
│ ├── Task.h
│ ├── Thread/
│ │ ├── ngc/
│ │ │ ├── t_thread.cpp
│ │ │ └── t_thread.h
│ │ ├── ngps/
│ │ │ ├── t_thread.cpp
│ │ │ └── t_thread.h
│ │ └── wn32/
│ │ ├── t_thread.cpp
│ │ └── t_thread.h
│ ├── TimestampedFlag.h
│ ├── compress.cpp
│ ├── compress.h
│ ├── crc.cpp
│ ├── crc.h
│ ├── flags.h
│ ├── glue.h
│ ├── log.h
│ ├── macros.h
│ ├── math.h
│ ├── singleton.h
│ ├── support.h
│ └── thread.h
├── GameFlow.txt
├── Gel/
│ ├── AssMan/
│ │ ├── AssMan.cpp
│ │ ├── AssMan.h
│ │ ├── NodeArrayAsset.cpp
│ │ ├── NodeArrayAsset.h
│ │ ├── animasset.cpp
│ │ ├── animasset.h
│ │ ├── asset.cpp
│ │ ├── asset.h
│ │ ├── assettypes.h
│ │ ├── cutsceneasset.cpp
│ │ ├── cutsceneasset.h
│ │ ├── refasset.cpp
│ │ ├── refasset.h
│ │ ├── skeletonasset.cpp
│ │ ├── skeletonasset.h
│ │ ├── skinasset.cpp
│ │ └── skinasset.h
│ ├── Collision/
│ │ ├── BatchTriColl.cpp
│ │ ├── BatchTriColl.h
│ │ ├── CollCache.cpp
│ │ ├── CollCache.h
│ │ ├── CollEnums.h
│ │ ├── CollTriData.cpp
│ │ ├── CollTriData.h
│ │ ├── Collision.cpp
│ │ ├── Collision.h
│ │ ├── MovCollMan.cpp
│ │ └── MovCollMan.h
│ ├── Components/
│ │ ├── BouncyComponent.h
│ │ ├── CameraComponent.cpp
│ │ ├── CameraComponent.h
│ │ ├── CameraLookAroundComponent.cpp
│ │ ├── CameraLookAroundComponent.h
│ │ ├── CameraUtil.cpp
│ │ ├── CameraUtil.h
│ │ ├── CollideAndDieComponent.cpp
│ │ ├── CollideAndDieComponent.h
│ │ ├── FloatingLabelComponent.cpp
│ │ ├── FloatingLabelComponent.h
│ │ ├── GunslingerCameraLookAroundComponent.cpp
│ │ ├── GunslingerWalkCameraComponent.cpp
│ │ ├── GunslingerWalkComponent.cpp
│ │ ├── HorseCameraComponent.cpp
│ │ ├── HorseCameraComponent.h
│ │ ├── HorseComponent.cpp
│ │ ├── HorseComponent.h
│ │ ├── InputComponent.cpp
│ │ ├── InputComponent.h
│ │ ├── ModelLightUpdateComponent.cpp
│ │ ├── ModelLightUpdateComponent.h
│ │ ├── MovableContactComponent.cpp
│ │ ├── MovableContactComponent.h
│ │ ├── NearComponent.cpp
│ │ ├── NearComponent.h
│ │ ├── NodeArrayComponent.cpp
│ │ ├── NodeArrayComponent.h
│ │ ├── ObjectHookManagerComponent.cpp
│ │ ├── ObjectHookManagerComponent.h
│ │ ├── ParticleComponent.cpp
│ │ ├── ParticleComponent.h
│ │ ├── PedLogicComponent.cpp
│ │ ├── PedLogicComponent.h
│ │ ├── ProximTriggerComponent.cpp
│ │ ├── ProximTriggerComponent.h
│ │ ├── RailManagerComponent.cpp
│ │ ├── RailManagerComponent.h
│ │ ├── RibbonComponent.cpp
│ │ ├── RibbonComponent.h
│ │ ├── RiderComponent.cpp
│ │ ├── RiderComponent.h
│ │ ├── SetDisplayMatrixComponent.cpp
│ │ ├── SetDisplayMatrixComponent.h
│ │ ├── SkaterCameraComponent.cpp
│ │ ├── SkaterCameraComponent.h
│ │ ├── SkitchComponent.cpp
│ │ ├── SkitchComponent.h
│ │ ├── StaticVehicleComponent.cpp
│ │ ├── StaticVehicleComponent.h
│ │ ├── StatsManagerComponent.cpp
│ │ ├── StatsManagerComponent.h
│ │ ├── StreamComponent.cpp
│ │ ├── StreamComponent.h
│ │ ├── SuspendComponent.cpp
│ │ ├── SuspendComponent.h
│ │ ├── TriggerComponent.cpp
│ │ ├── TriggerComponent.h
│ │ ├── VehicleSoundComponent.cpp
│ │ ├── VehicleSoundComponent.h
│ │ ├── VelocityComponent.cpp
│ │ ├── VelocityComponent.h
│ │ ├── VibrationComponent.cpp
│ │ ├── VibrationComponent.h
│ │ ├── WalkCameraComponent.cpp
│ │ ├── WalkCameraComponent.h
│ │ ├── WalkComponent.cpp
│ │ ├── WalkComponent.h
│ │ ├── WalkHangUtil.cpp
│ │ ├── WalkLadderUtil.cpp
│ │ ├── animationcomponent.cpp
│ │ ├── animationcomponent.h
│ │ ├── avoidcomponent.cpp
│ │ ├── avoidcomponent.h
│ │ ├── bouncycomponent.cpp
│ │ ├── carphysicscomponent.cpp
│ │ ├── carphysicscomponent.h
│ │ ├── collisioncomponent.cpp
│ │ ├── collisioncomponent.h
│ │ ├── emptycomponent.cpp
│ │ ├── emptycomponent.h
│ │ ├── lockobjcomponent.cpp
│ │ ├── lockobjcomponent.h
│ │ ├── modelcomponent.cpp
│ │ ├── modelcomponent.h
│ │ ├── motioncomponent.cpp
│ │ ├── motioncomponent.h
│ │ ├── rigidbodycomponent.cpp
│ │ ├── rigidbodycomponent.h
│ │ ├── shadowcomponent.cpp
│ │ ├── shadowcomponent.h
│ │ ├── skeletoncomponent.cpp
│ │ ├── skeletoncomponent.h
│ │ ├── soundcomponent.cpp
│ │ ├── soundcomponent.h
│ │ ├── specialitemcomponent.cpp
│ │ ├── specialitemcomponent.h
│ │ ├── trickcomponent.cpp
│ │ ├── trickcomponent.h
│ │ ├── vehiclecameracomponent.cpp
│ │ ├── vehiclecameracomponent.h
│ │ ├── vehiclecomponent.cpp
│ │ ├── vehiclecomponent.h
│ │ ├── weaponcomponent.cpp
│ │ └── weaponcomponent.h
│ ├── Environment/
│ │ ├── terrain.cpp
│ │ └── terrain.h
│ ├── Event.h
│ ├── Input/
│ │ ├── InpMan.cpp
│ │ └── inpserv.cpp
│ ├── MainLoop/
│ │ └── Mainloop.cpp
│ ├── Module/
│ │ ├── modman.cpp
│ │ └── module.cpp
│ ├── Movies/
│ │ ├── Movies.cpp
│ │ ├── Movies.h
│ │ ├── Ngps/
│ │ │ ├── audiodec.cpp
│ │ │ ├── audiodec.h
│ │ │ ├── defs.h
│ │ │ ├── disp.cpp
│ │ │ ├── disp.h
│ │ │ ├── p_movies.cpp
│ │ │ ├── p_movies.h
│ │ │ ├── read.cpp
│ │ │ ├── readbuf.cpp
│ │ │ ├── readbuf.h
│ │ │ ├── strfile.cpp
│ │ │ ├── strfile.h
│ │ │ ├── vibuf.cpp
│ │ │ ├── vibuf.h
│ │ │ ├── videodec.cpp
│ │ │ ├── videodec.h
│ │ │ ├── vobuf.cpp
│ │ │ └── vobuf.h
│ │ ├── Xbox/
│ │ │ ├── p_movies.cpp
│ │ │ └── p_movies.h
│ │ └── ngc/
│ │ ├── p_movies.cpp
│ │ └── p_movies.h
│ ├── Music/
│ │ ├── Ngps/
│ │ │ ├── Bgm/
│ │ │ │ ├── PathDefs
│ │ │ │ ├── bgm_com.c
│ │ │ │ ├── bgm_entr.c
│ │ │ │ ├── bgm_i.h
│ │ │ │ ├── bgm_play.c
│ │ │ │ ├── bgm_r2s.s
│ │ │ │ ├── bgm_r2sm.c
│ │ │ │ └── makefile
│ │ │ ├── Pcm/
│ │ │ │ ├── Makefile
│ │ │ │ ├── PathDefs
│ │ │ │ ├── pcm.h
│ │ │ │ ├── pcm_com.c
│ │ │ │ ├── pcm_ent.c
│ │ │ │ ├── pcm_sound.c
│ │ │ │ └── pcmiop.h
│ │ │ ├── p_music.cpp
│ │ │ └── p_music.h
│ │ ├── Xbox/
│ │ │ ├── p_adpcmfilestream.cpp
│ │ │ ├── p_adpcmfilestream.h
│ │ │ ├── p_music.cpp
│ │ │ ├── p_music.h
│ │ │ ├── p_soundtrack.cpp
│ │ │ ├── p_soundtrack.h
│ │ │ ├── p_wmafilestream.cpp
│ │ │ └── p_wmafilestream.h
│ │ ├── music.cpp
│ │ ├── music.h
│ │ └── ngc/
│ │ ├── bgm/
│ │ │ ├── bgm_com.c
│ │ │ ├── bgm_entr.c
│ │ │ ├── bgm_i.h
│ │ │ ├── bgm_play.c
│ │ │ ├── bgm_r2s.s
│ │ │ └── bgm_r2sm.c
│ │ ├── divx/
│ │ │ ├── AUDSimpleAudio.cpp
│ │ │ ├── AUDSimpleAudio.h
│ │ │ ├── AUDSimplePlayer.cpp
│ │ │ └── AUDSimplePlayer.h
│ │ ├── p_music.cpp
│ │ ├── p_music.h
│ │ └── pcm/
│ │ ├── pcm.h
│ │ ├── pcm_com.c
│ │ ├── pcm_ent.c
│ │ └── pcmiop.h
│ ├── Net/
│ │ ├── App/
│ │ │ └── netapp.cpp
│ │ ├── Client/
│ │ │ ├── netclnt.cpp
│ │ │ └── netclnt.h
│ │ ├── Dispatch/
│ │ │ └── netdsptch.cpp
│ │ ├── Handler/
│ │ │ └── nethndlr.cpp
│ │ ├── Server/
│ │ │ ├── netserv.cpp
│ │ │ └── netserv.h
│ │ ├── net.cpp
│ │ ├── net.h
│ │ └── netconn.cpp
│ ├── ObjPtr.h
│ ├── Object/
│ │ ├── Event.cpp
│ │ ├── ObjPtr.cpp
│ │ ├── RefCounted.cpp
│ │ ├── basecomponent.cpp
│ │ ├── basecomponent.h
│ │ ├── compositeobject.cpp
│ │ ├── compositeobject.h
│ │ ├── compositeobjectmanager.cpp
│ │ ├── compositeobjectmanager.h
│ │ ├── object.cpp
│ │ ├── objman.cpp
│ │ ├── objsearch.cpp
│ │ └── objtrack.cpp
│ ├── Prefs/
│ │ ├── Prefs.cpp
│ │ └── Prefs.h
│ ├── RefCounted.h
│ ├── Scripting/
│ │ ├── array.cpp
│ │ ├── array.h
│ │ ├── checksum.cpp
│ │ ├── checksum.h
│ │ ├── component.cpp
│ │ ├── component.h
│ │ ├── debugger.cpp
│ │ ├── debugger.h
│ │ ├── eval.cpp
│ │ ├── eval.h
│ │ ├── file.cpp
│ │ ├── file.h
│ │ ├── init.cpp
│ │ ├── init.h
│ │ ├── parse.cpp
│ │ ├── parse.h
│ │ ├── script.cpp
│ │ ├── script.h
│ │ ├── scriptcache.cpp
│ │ ├── scriptcache.h
│ │ ├── scriptdefs.h
│ │ ├── skiptoken.cpp
│ │ ├── string.cpp
│ │ ├── string.h
│ │ ├── struct.cpp
│ │ ├── struct.h
│ │ ├── symboltable.cpp
│ │ ├── symboltable.h
│ │ ├── symboltype.cpp
│ │ ├── symboltype.h
│ │ ├── tokens.cpp
│ │ ├── tokens.h
│ │ ├── utils.cpp
│ │ ├── utils.h
│ │ ├── vecpair.cpp
│ │ ├── vecpair.h
│ │ └── win32functions.cpp
│ ├── SoundFX/
│ │ ├── NGPS/
│ │ │ ├── p_sfx.cpp
│ │ │ └── p_sfx.h
│ │ ├── Xbox/
│ │ │ ├── p_sfx.cpp
│ │ │ ├── p_sfx.h
│ │ │ └── skate5fx.h
│ │ ├── ngc/
│ │ │ ├── p_sfx.cpp
│ │ │ └── p_sfx.h
│ │ ├── soundfx.cpp
│ │ └── soundfx.h
│ ├── inpman.h
│ ├── mainloop.h
│ ├── modman.h
│ ├── module.h
│ ├── object.h
│ ├── objman.h
│ ├── objsearch.h
│ ├── objserv.h
│ └── objtrack.h
├── Gfx/
│ ├── 2D/
│ │ ├── BlurEffect.cpp
│ │ ├── BlurEffect.h
│ │ ├── Element3d.cpp
│ │ ├── Element3d.h
│ │ ├── Menu2.cpp
│ │ ├── Menu2.h
│ │ ├── ScreenElemMan.cpp
│ │ ├── ScreenElemMan.h
│ │ ├── ScreenElement2.cpp
│ │ ├── ScreenElement2.h
│ │ ├── ScrollingMenu.cpp
│ │ ├── ScrollingMenu.h
│ │ ├── SpriteElement.cpp
│ │ ├── SpriteElement.h
│ │ ├── TextElement.cpp
│ │ ├── TextElement.h
│ │ ├── Window.cpp
│ │ └── Window.h
│ ├── AnimController.cpp
│ ├── AnimController.h
│ ├── BonedAnim.cpp
│ ├── BonedAnim.h
│ ├── BonedAnimTypes.h
│ ├── CasUtils.cpp
│ ├── CasUtils.h
│ ├── CustomAnimKey.cpp
│ ├── CustomAnimKey.h
│ ├── FaceMassage.cpp
│ ├── FaceMassage.h
│ ├── FaceTexture.cpp
│ ├── FaceTexture.h
│ ├── Image/
│ │ └── ImageBasic.h
│ ├── ModelAppearance.cpp
│ ├── ModelAppearance.h
│ ├── ModelBuilder.cpp
│ ├── ModelBuilder.h
│ ├── NGC/
│ │ ├── NX/
│ │ │ ├── anim.cpp
│ │ │ ├── anim.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── geomnode.cpp
│ │ │ ├── geomnode.h
│ │ │ ├── grass.cpp
│ │ │ ├── grass.h
│ │ │ ├── import.cpp
│ │ │ ├── import.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── light.cpp
│ │ │ ├── light.h
│ │ │ ├── line.cpp
│ │ │ ├── line.h
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── particles.cpp
│ │ │ ├── particles.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ └── types.h
│ │ ├── blur.cpp
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_gfxman.cpp
│ │ ├── p_loadscreen.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxanimcache.cpp
│ │ ├── p_nxanimcache.h
│ │ ├── p_nxfont.cpp
│ │ ├── p_nxfont.h
│ │ ├── p_nxfontman.cpp
│ │ ├── p_nxlight.cpp
│ │ ├── p_nxlight.h
│ │ ├── p_nxloadscreen.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxmodel.cpp
│ │ ├── p_nxmodel.h
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticleribbontrail.cpp
│ │ ├── p_nxparticleribbontrail.h
│ │ ├── p_nxparticleshaded.cpp
│ │ ├── p_nxparticleshaded.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxparticlestar.cpp
│ │ ├── p_nxparticlestar.h
│ │ ├── p_nxscene.cpp
│ │ ├── p_nxscene.h
│ │ ├── p_nxsector.cpp
│ │ ├── p_nxsector.h
│ │ ├── p_nxtexman.cpp
│ │ ├── p_nxtexture.cpp
│ │ ├── p_nxtexture.h
│ │ ├── p_nxviewman.cpp
│ │ ├── p_nxweather.cpp
│ │ ├── p_nxweather.h
│ │ └── p_nxwin2D.h
│ ├── NGPS/
│ │ ├── NX/
│ │ │ ├── Makefile
│ │ │ ├── asmdma.dsm
│ │ │ ├── asmdma.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── dma.cpp
│ │ │ ├── dma.h
│ │ │ ├── dmacalls.cpp
│ │ │ ├── dmacalls.h
│ │ │ ├── fx.cpp
│ │ │ ├── fx.h
│ │ │ ├── geomnode.cpp
│ │ │ ├── geomnode.h
│ │ │ ├── gif.cpp
│ │ │ ├── gif.h
│ │ │ ├── group.cpp
│ │ │ ├── group.h
│ │ │ ├── gs.cpp
│ │ │ ├── gs.h
│ │ │ ├── immediate.cpp
│ │ │ ├── immediate.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── interrupts.cpp
│ │ │ ├── interrupts.h
│ │ │ ├── light.cpp
│ │ │ ├── light.h
│ │ │ ├── line.cpp
│ │ │ ├── line.h
│ │ │ ├── loadscreen.cpp
│ │ │ ├── loadscreen.h
│ │ │ ├── maintest.cpp
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── mikemath.cpp
│ │ │ ├── mikemath.h
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── pcrtc.cpp
│ │ │ ├── pcrtc.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── resource.cpp
│ │ │ ├── resource.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── switches.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── texturemem.cpp
│ │ │ ├── texturemem.h
│ │ │ ├── types.h
│ │ │ ├── vif.cpp
│ │ │ ├── vif.h
│ │ │ ├── vu0code.dsm
│ │ │ ├── vu0code.h
│ │ │ ├── vu1/
│ │ │ │ ├── defs.vsm
│ │ │ │ ├── jumptab.vsm
│ │ │ │ ├── main.vsm
│ │ │ │ ├── newvu1code.dsm
│ │ │ │ ├── newvu1code.h
│ │ │ │ └── particle.vsm
│ │ │ ├── vu1.cpp
│ │ │ ├── vu1.h
│ │ │ ├── vu1code.dsm
│ │ │ ├── vu1code.h
│ │ │ ├── vu1context.cpp
│ │ │ └── vu1context.h
│ │ ├── PaletteGen.cpp
│ │ ├── PaletteGen.h
│ │ ├── p_NxAnimCache.cpp
│ │ ├── p_NxAnimCache.h
│ │ ├── p_NxFont.cpp
│ │ ├── p_NxFont.h
│ │ ├── p_NxFontMan.cpp
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLight.cpp
│ │ ├── p_NxLight.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxLightMan.h
│ │ ├── p_NxLoadScreen.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxModel.cpp
│ │ ├── p_NxModel.h
│ │ ├── p_NxScene.cpp
│ │ ├── p_NxScene.h
│ │ ├── p_NxSector.cpp
│ │ ├── p_NxSector.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTexMan.cpp
│ │ ├── p_NxTexture.cpp
│ │ ├── p_NxTexture.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewMan.cpp
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_NxWin2D.h
│ │ ├── p_gfxman.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticlenewflat.cpp
│ │ ├── p_nxparticlenewflat.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticleribbontrail.cpp
│ │ ├── p_nxparticleribbontrail.h
│ │ ├── p_nxparticleshaded.cpp
│ │ ├── p_nxparticleshaded.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxparticlestar.cpp
│ │ ├── p_nxparticlestar.h
│ │ ├── p_nxweather.cpp
│ │ └── p_nxweather.h
│ ├── NxAnimCache.cpp
│ ├── NxAnimCache.h
│ ├── NxFont.cpp
│ ├── NxFont.h
│ ├── NxFontMan.cpp
│ ├── NxFontMan.h
│ ├── NxGeom.cpp
│ ├── NxGeom.h
│ ├── NxHierarchy.h
│ ├── NxImposter.cpp
│ ├── NxImposter.h
│ ├── NxLight.cpp
│ ├── NxLight.h
│ ├── NxLightMan.cpp
│ ├── NxLightMan.h
│ ├── NxLoadScreen.cpp
│ ├── NxLoadScreen.h
│ ├── NxMesh.cpp
│ ├── NxMesh.h
│ ├── NxMiscFX.cpp
│ ├── NxMiscFX.h
│ ├── NxModel.cpp
│ ├── NxModel.h
│ ├── NxNewParticle.cpp
│ ├── NxNewParticle.h
│ ├── NxNewParticleMgr.cpp
│ ├── NxNewParticleMgr.h
│ ├── NxQuickAnim.cpp
│ ├── NxQuickAnim.h
│ ├── NxScene.cpp
│ ├── NxScene.h
│ ├── NxSector.cpp
│ ├── NxSector.h
│ ├── NxSkinComponent.cpp
│ ├── NxSkinComponent.h
│ ├── NxSprite.cpp
│ ├── NxSprite.h
│ ├── NxTexMan.cpp
│ ├── NxTexMan.h
│ ├── NxTexture.cpp
│ ├── NxTexture.h
│ ├── NxTextured3dPoly.cpp
│ ├── NxTextured3dPoly.h
│ ├── NxViewMan.cpp
│ ├── NxViewMan.h
│ ├── NxViewport.cpp
│ ├── NxViewport.h
│ ├── NxWin2D.cpp
│ ├── NxWin2D.h
│ ├── Pose.h
│ ├── Skeleton.cpp
│ ├── Skeleton.h
│ ├── XBox/
│ │ ├── NX/
│ │ │ ├── BillboardScreenAlignedVS.vsh
│ │ │ ├── ParticleFlatVS.vsh
│ │ │ ├── ParticleNewFlatPointSpriteVS.vsh
│ │ │ ├── ParticleNewFlatVS.vsh
│ │ │ ├── PixelShader0.psh
│ │ │ ├── PixelShader0IVA.psh
│ │ │ ├── PixelShader1.psh
│ │ │ ├── PixelShader2.psh
│ │ │ ├── PixelShader3.psh
│ │ │ ├── PixelShader4.psh
│ │ │ ├── PixelShader5.psh
│ │ │ ├── PixelShaderBrighten.psh
│ │ │ ├── PixelShaderBrightenIVA.psh
│ │ │ ├── PixelShaderBumpWater.psh
│ │ │ ├── PixelShaderFocusBlur.psh
│ │ │ ├── PixelShaderFocusIntegrate.psh
│ │ │ ├── PixelShaderFocusLookupIntegrate.psh
│ │ │ ├── PixelShaderNULL.psh
│ │ │ ├── PixelShaderPointSprite.psh
│ │ │ ├── PixelShader_ShadowBuffer.psh
│ │ │ ├── ShadowBufferStaticGeomPS.psh
│ │ │ ├── ShadowBufferStaticGeomVS.vsh
│ │ │ ├── WeightedMeshVS_1Weight.vsh
│ │ │ ├── WeightedMeshVS_2Weight.vsh
│ │ │ ├── WeightedMeshVS_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_1Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_2Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_3Weight_UVTransform.vsh
│ │ │ ├── WeightedMeshVS_VXC_4Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_4Weight_SBPassThru.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_1Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_2Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_3Weight.vsh
│ │ │ ├── WeightedMeshVS_VXC_Specular_4Weight.vsh
│ │ │ ├── WeightedMeshVertexShader0.vsh
│ │ │ ├── WeightedMeshVertexShader1.vsh
│ │ │ ├── WeightedMeshVertexShader_SBWrite.vsh
│ │ │ ├── anim.cpp
│ │ │ ├── anim.h
│ │ │ ├── anim_vertdefs.h
│ │ │ ├── billboard.cpp
│ │ │ ├── billboard.h
│ │ │ ├── chars.cpp
│ │ │ ├── chars.h
│ │ │ ├── gamma.cpp
│ │ │ ├── gamma.h
│ │ │ ├── grass.cpp
│ │ │ ├── grass.h
│ │ │ ├── instance.cpp
│ │ │ ├── instance.h
│ │ │ ├── material.cpp
│ │ │ ├── material.h
│ │ │ ├── mesh.cpp
│ │ │ ├── mesh.h
│ │ │ ├── mipmap.inl
│ │ │ ├── nx_init.cpp
│ │ │ ├── nx_init.h
│ │ │ ├── occlude.cpp
│ │ │ ├── occlude.h
│ │ │ ├── particles.cpp
│ │ │ ├── particles.h
│ │ │ ├── render.cpp
│ │ │ ├── render.h
│ │ │ ├── scene.cpp
│ │ │ ├── scene.h
│ │ │ ├── screenfx.cpp
│ │ │ ├── screenfx.h
│ │ │ ├── sprite.cpp
│ │ │ ├── sprite.h
│ │ │ ├── swizzleformat.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── verlet.cpp
│ │ │ ├── verlet.h
│ │ │ └── xbmemfnt.h
│ │ ├── p_NxGeom.cpp
│ │ ├── p_NxGeom.h
│ │ ├── p_NxImposter.cpp
│ │ ├── p_NxImposter.h
│ │ ├── p_NxLight.cpp
│ │ ├── p_NxLight.h
│ │ ├── p_NxLightMan.cpp
│ │ ├── p_NxLoadScreen.cpp
│ │ ├── p_NxMesh.cpp
│ │ ├── p_NxMesh.h
│ │ ├── p_NxModel.cpp
│ │ ├── p_NxModel.h
│ │ ├── p_NxParticleRibbonTrail.cpp
│ │ ├── p_NxParticleRibbonTrail.h
│ │ ├── p_NxParticleShaded.cpp
│ │ ├── p_NxParticleShaded.h
│ │ ├── p_NxParticleStar.cpp
│ │ ├── p_NxParticleStar.h
│ │ ├── p_NxSprite.cpp
│ │ ├── p_NxSprite.h
│ │ ├── p_NxTextured3dPoly.cpp
│ │ ├── p_NxTextured3dPoly.h
│ │ ├── p_NxViewMan.cpp
│ │ ├── p_NxViewport.cpp
│ │ ├── p_NxViewport.h
│ │ ├── p_NxWin2D.cpp
│ │ ├── p_NxWin2D.h
│ │ ├── p_gfxman.cpp
│ │ ├── p_loadscreen.cpp
│ │ ├── p_memview.cpp
│ │ ├── p_memview.h
│ │ ├── p_nx.cpp
│ │ ├── p_nxfont.cpp
│ │ ├── p_nxfont.h
│ │ ├── p_nxfontman.cpp
│ │ ├── p_nxmiscfx.cpp
│ │ ├── p_nxnewparticle.cpp
│ │ ├── p_nxnewparticle.h
│ │ ├── p_nxnewparticlemgr.cpp
│ │ ├── p_nxnewparticlemgr.h
│ │ ├── p_nxparticle.cpp
│ │ ├── p_nxparticle.h
│ │ ├── p_nxparticleflat.cpp
│ │ ├── p_nxparticleflat.h
│ │ ├── p_nxparticleglow.cpp
│ │ ├── p_nxparticleglow.h
│ │ ├── p_nxparticleglowribbontrail.cpp
│ │ ├── p_nxparticleglowribbontrail.h
│ │ ├── p_nxparticleline.cpp
│ │ ├── p_nxparticleline.h
│ │ ├── p_nxparticleribbon.cpp
│ │ ├── p_nxparticleribbon.h
│ │ ├── p_nxparticlesmooth.cpp
│ │ ├── p_nxparticlesmooth.h
│ │ ├── p_nxparticlesmoothribbon.cpp
│ │ ├── p_nxparticlesmoothribbon.h
│ │ ├── p_nxparticlesmoothstar.cpp
│ │ ├── p_nxparticlesmoothstar.h
│ │ ├── p_nxscene.cpp
│ │ ├── p_nxscene.h
│ │ ├── p_nxsector.cpp
│ │ ├── p_nxsector.h
│ │ ├── p_nxtexman.cpp
│ │ ├── p_nxtexture.cpp
│ │ ├── p_nxtexture.h
│ │ ├── p_nxweather.cpp
│ │ └── p_nxweather.h
│ ├── baseanimcontroller.cpp
│ ├── baseanimcontroller.h
│ ├── bbox.cpp
│ ├── bbox.h
│ ├── blendchannel.cpp
│ ├── blendchannel.h
│ ├── camera.cpp
│ ├── camera.h
│ ├── debuggfx.cpp
│ ├── debuggfx.h
│ ├── gfxman.cpp
│ ├── gfxman.h
│ ├── gfxutils.cpp
│ ├── gfxutils.h
│ ├── nx.cpp
│ ├── nx.h
│ ├── nxflags.h
│ ├── nxparticle.cpp
│ ├── nxparticle.h
│ ├── nxparticlemgr.cpp
│ ├── nxparticlemgr.h
│ ├── nxweather.cpp
│ ├── nxweather.h
│ ├── shadow.cpp
│ ├── shadow.h
│ ├── stdafx.h
│ ├── subanimcontroller.cpp
│ ├── subanimcontroller.h
│ ├── vecfont.cpp
│ └── vecfont.h
├── Sk/
│ ├── Components/
│ │ ├── EditorCameraComponent.cpp
│ │ ├── EditorCameraComponent.h
│ │ ├── GoalEditorComponent.cpp
│ │ ├── GoalEditorComponent.h
│ │ ├── ProjectileCollisionComponent.cpp
│ │ ├── ProjectileCollisionComponent.h
│ │ ├── RailEditorComponent.cpp
│ │ ├── RailEditorComponent.h
│ │ ├── SkaterAdjustPhysicsComponent.cpp
│ │ ├── SkaterAdjustPhysicsComponent.h
│ │ ├── SkaterBalanceTrickComponent.cpp
│ │ ├── SkaterBalanceTrickComponent.h
│ │ ├── SkaterCleanupStateComponent.cpp
│ │ ├── SkaterCleanupStateComponent.h
│ │ ├── SkaterCorePhysicsComponent.cpp
│ │ ├── SkaterCorePhysicsComponent.h
│ │ ├── SkaterEndRunComponent.cpp
│ │ ├── SkaterEndRunComponent.h
│ │ ├── SkaterFinalizePhysicsComponent.cpp
│ │ ├── SkaterFinalizePhysicsComponent.h
│ │ ├── SkaterFlipAndRotateComponent.cpp
│ │ ├── SkaterFlipAndRotateComponent.h
│ │ ├── SkaterFloatingNameComponent.cpp
│ │ ├── SkaterFloatingNameComponent.h
│ │ ├── SkaterGapComponent.cpp
│ │ ├── SkaterGapComponent.h
│ │ ├── SkaterLocalNetLogicComponent.cpp
│ │ ├── SkaterLocalNetLogicComponent.h
│ │ ├── SkaterLoopingSoundComponent.cpp
│ │ ├── SkaterLoopingSoundComponent.h
│ │ ├── SkaterMatrixQueriesComponent.cpp
│ │ ├── SkaterMatrixQueriesComponent.h
│ │ ├── SkaterNonLocalNetLogicComponent.cpp
│ │ ├── SkaterNonLocalNetLogicComponent.h
│ │ ├── SkaterPhysicsControlComponent.cpp
│ │ ├── SkaterPhysicsControlComponent.h
│ │ ├── SkaterProximityComponent.cpp
│ │ ├── SkaterProximityComponent.h
│ │ ├── SkaterRotateComponent.cpp
│ │ ├── SkaterRotateComponent.h
│ │ ├── SkaterRunTimerComponent.cpp
│ │ ├── SkaterRunTimerComponent.h
│ │ ├── SkaterScoreComponent.cpp
│ │ ├── SkaterScoreComponent.h
│ │ ├── SkaterSoundComponent.cpp
│ │ ├── SkaterSoundComponent.h
│ │ ├── SkaterStancePanelComponent.cpp
│ │ ├── SkaterStancePanelComponent.h
│ │ ├── SkaterStateComponent.cpp
│ │ ├── SkaterStateComponent.h
│ │ ├── SkaterStateHistoryComponent.cpp
│ │ └── SkaterStateHistoryComponent.h
│ ├── Engine/
│ │ ├── RectFeeler.cpp
│ │ ├── RectFeeler.h
│ │ ├── SuperSector.cpp
│ │ ├── SuperSector.h
│ │ ├── contact.cpp
│ │ ├── contact.h
│ │ ├── feeler.cpp
│ │ ├── feeler.h
│ │ ├── sounds.cpp
│ │ └── sounds.h
│ ├── GameNet/
│ │ ├── ExportMsg.h
│ │ ├── GameHandler.cpp
│ │ ├── GameMsg.h
│ │ ├── GameNet.cpp
│ │ ├── GameNet.h
│ │ ├── Lobby.cpp
│ │ ├── Lobby.h
│ │ ├── Ngps/
│ │ │ ├── dnas.cpp
│ │ │ ├── p_buddy.cpp
│ │ │ ├── p_buddy.h
│ │ │ ├── p_content.cpp
│ │ │ ├── p_content.h
│ │ │ ├── p_ezcommon.h
│ │ │ ├── p_ezconfig.h
│ │ │ ├── p_ezmain.h
│ │ │ ├── p_libezcnf.cpp
│ │ │ ├── p_libezcnf.h
│ │ │ ├── p_netcnfif.h
│ │ │ ├── p_netconfig.cpp
│ │ │ ├── p_stats.cpp
│ │ │ ├── p_stats.h
│ │ │ └── snglue.cpp
│ │ ├── Player.cpp
│ │ ├── ServerList.cpp
│ │ ├── XBox/
│ │ │ ├── p_auth.cpp
│ │ │ ├── p_auth.h
│ │ │ ├── p_buddy.cpp
│ │ │ ├── p_buddy.h
│ │ │ ├── p_match.cpp
│ │ │ ├── p_match.h
│ │ │ ├── p_voice.cpp
│ │ │ └── p_voice.h
│ │ └── scriptdebugger.h
│ ├── Main.cpp
│ ├── Modules/
│ │ ├── FrontEnd/
│ │ │ ├── FrontEnd.cpp
│ │ │ └── FrontEnd.h
│ │ ├── Skate/
│ │ │ ├── BettingGuy.cpp
│ │ │ ├── BettingGuy.h
│ │ │ ├── CATGoal.cpp
│ │ │ ├── CATGoal.h
│ │ │ ├── CompetitionGoal.cpp
│ │ │ ├── CompetitionGoal.h
│ │ │ ├── CreateATrick.cpp
│ │ │ ├── CreateATrick.h
│ │ │ ├── FilmGoal.cpp
│ │ │ ├── FilmGoal.h
│ │ │ ├── FindGapsGoal.cpp
│ │ │ ├── FindGapsGoal.h
│ │ │ ├── GameFlow.cpp
│ │ │ ├── GameFlow.h
│ │ │ ├── GameMode.cpp
│ │ │ ├── GameMode.h
│ │ │ ├── Goal.cpp
│ │ │ ├── Goal.h
│ │ │ ├── GoalManager.cpp
│ │ │ ├── GoalManager.h
│ │ │ ├── GoalPed.cpp
│ │ │ ├── GoalPed.h
│ │ │ ├── HorseGoal.cpp
│ │ │ ├── HorseGoal.h
│ │ │ ├── Minigame.cpp
│ │ │ ├── Minigame.h
│ │ │ ├── NetGoal.cpp
│ │ │ ├── NetGoal.h
│ │ │ ├── RaceGoal.cpp
│ │ │ ├── RaceGoal.h
│ │ │ ├── SkatetrisGoal.cpp
│ │ │ ├── SkatetrisGoal.h
│ │ │ ├── VictoryCond.cpp
│ │ │ ├── VictoryCond.h
│ │ │ ├── competition.cpp
│ │ │ ├── competition.h
│ │ │ ├── horse.cpp
│ │ │ ├── horse.h
│ │ │ ├── score.cpp
│ │ │ ├── score.h
│ │ │ ├── skate.cpp
│ │ │ ├── skate.h
│ │ │ └── skatenet.cpp
│ │ └── Viewer/
│ │ ├── Viewer.cpp
│ │ └── Viewer.h
│ ├── Ngps/
│ │ └── crt0.s
│ ├── Objects/
│ │ ├── FollowOb.h
│ │ ├── GameObj.cpp
│ │ ├── GameObj.h
│ │ ├── MovingObject.cpp
│ │ ├── MovingObject.h
│ │ ├── PathMan.cpp
│ │ ├── PathMan.h
│ │ ├── PathOb.cpp
│ │ ├── PathOb.h
│ │ ├── PlayerProfileManager.cpp
│ │ ├── PlayerProfileManager.h
│ │ ├── SkaterButton.cpp
│ │ ├── SkaterButton.h
│ │ ├── SkaterPad.h
│ │ ├── SkaterProfile.cpp
│ │ ├── SkaterProfile.h
│ │ ├── SkaterTricks.cpp
│ │ ├── SkaterTricks.h
│ │ ├── TrickObject.cpp
│ │ ├── TrickObject.h
│ │ ├── ViewerObj.cpp
│ │ ├── ViewerObj.h
│ │ ├── car.cpp
│ │ ├── car.h
│ │ ├── crown.cpp
│ │ ├── crown.h
│ │ ├── cutscenedetails.cpp
│ │ ├── cutscenedetails.h
│ │ ├── emitter.cpp
│ │ ├── emitter.h
│ │ ├── followob.cpp
│ │ ├── gap.cpp
│ │ ├── gap.h
│ │ ├── manual.cpp
│ │ ├── manual.h
│ │ ├── moviecam.cpp
│ │ ├── moviecam.h
│ │ ├── moviedetails.cpp
│ │ ├── moviedetails.h
│ │ ├── navigation.cpp
│ │ ├── navigation.h
│ │ ├── objecthook.cpp
│ │ ├── objecthook.h
│ │ ├── ped.cpp
│ │ ├── ped.h
│ │ ├── proxim.cpp
│ │ ├── proxim.h
│ │ ├── rail.cpp
│ │ ├── rail.h
│ │ ├── records.cpp
│ │ ├── records.h
│ │ ├── restart.cpp
│ │ ├── restart.h
│ │ ├── skater.cpp
│ │ ├── skater.h
│ │ ├── skatercam.cpp
│ │ ├── skatercam.h
│ │ ├── skatercareer.cpp
│ │ ├── skatercareer.h
│ │ ├── skaterflags.h
│ │ └── skaterpad.cpp
│ ├── ParkEditor/
│ │ ├── EdRail.cpp
│ │ ├── EdRail.h
│ │ └── LoadPath.txt
│ ├── ParkEditor2/
│ │ ├── EdMap.cpp
│ │ ├── EdMap.h
│ │ ├── GapManager.cpp
│ │ ├── GapManager.h
│ │ ├── ParkEd.cpp
│ │ ├── ParkEd.h
│ │ ├── ParkGen.cpp
│ │ ├── ParkGen.h
│ │ ├── clipboard.cpp
│ │ └── clipboard.h
│ ├── Scripting/
│ │ ├── cfuncs.cpp
│ │ ├── cfuncs.h
│ │ ├── ftables.cpp
│ │ ├── ftables.h
│ │ ├── gs_file.cpp
│ │ ├── gs_file.h
│ │ ├── gs_init.cpp
│ │ ├── gs_init.h
│ │ ├── mcfuncs.cpp
│ │ ├── mcfuncs.h
│ │ ├── nodearray.cpp
│ │ ├── nodearray.h
│ │ ├── skfuncs.cpp
│ │ └── skfuncs.h
│ ├── heap_sizes.h
│ ├── language.h
│ ├── ngc/
│ │ ├── crt0.s
│ │ └── defs.s
│ ├── product_codes.h
│ └── template.h
├── Sys/
│ ├── Config/
│ │ ├── NGC/
│ │ │ └── p_config.cpp
│ │ ├── NGPS/
│ │ │ └── p_config.cpp
│ │ ├── Win32/
│ │ │ └── p_config.cpp
│ │ ├── XBox/
│ │ │ └── p_config.cpp
│ │ ├── config.cpp
│ │ └── config.h
│ ├── File/
│ │ ├── AsyncFilesys.cpp
│ │ ├── AsyncFilesys.h
│ │ ├── AsyncTypes.h
│ │ ├── FileLibrary.cpp
│ │ ├── FileLibrary.h
│ │ ├── PRE.cpp
│ │ ├── PRE.h
│ │ ├── XBox/
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_AsyncFilesys.h
│ │ │ ├── p_filesys.cpp
│ │ │ ├── p_pre.cpp
│ │ │ ├── p_streamer.cpp
│ │ │ └── p_streamer.h
│ │ ├── filesys.h
│ │ ├── memfile.h
│ │ ├── ngc/
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_asyncFilesys.h
│ │ │ ├── p_filesys.cpp
│ │ │ └── p_pre.cpp
│ │ ├── ngps/
│ │ │ ├── FileIO/
│ │ │ │ ├── FIleIO_IOP.h
│ │ │ │ ├── FileIO.h
│ │ │ │ ├── Makefile
│ │ │ │ ├── PathDefs
│ │ │ │ ├── command.c
│ │ │ │ └── start.c
│ │ │ ├── hed.cpp
│ │ │ ├── hed.h
│ │ │ ├── p_AsyncFilesys.cpp
│ │ │ ├── p_AsyncFilesys.h
│ │ │ └── p_filesys.cpp
│ │ ├── pip.cpp
│ │ └── pip.h
│ ├── McMan.h
│ ├── Mem/
│ │ ├── CompactPool.cpp
│ │ ├── CompactPool.h
│ │ ├── PoolManager.cpp
│ │ ├── PoolManager.h
│ │ ├── Poolable.cpp
│ │ ├── Poolable.h
│ │ ├── alloc.cpp
│ │ ├── alloc.h
│ │ ├── handle.h
│ │ ├── heap.cpp
│ │ ├── heap.h
│ │ ├── memdbg.h
│ │ ├── memman.cpp
│ │ ├── memman.h
│ │ ├── memptr.h
│ │ ├── memtest.cpp
│ │ ├── memtest.h
│ │ ├── pile.cpp
│ │ ├── pile.h
│ │ ├── pool.cpp
│ │ ├── pool.h
│ │ ├── region.cpp
│ │ └── region.h
│ ├── MemCard/
│ │ ├── NGPS/
│ │ │ └── p_McMan.cpp
│ │ ├── XBox/
│ │ │ └── p_McMan.cpp
│ │ └── ngc/
│ │ └── p_McMan.cpp
│ ├── Profiler.cpp
│ ├── Profiler.h
│ ├── Replay/
│ │ ├── NGC/
│ │ │ └── p_replay.cpp
│ │ ├── NGPS/
│ │ │ └── p_replay.cpp
│ │ ├── Win32/
│ │ │ └── p_replay.cpp
│ │ ├── XBox/
│ │ │ └── p_replay.cpp
│ │ ├── replay.cpp
│ │ └── replay.h
│ ├── SIO/
│ │ ├── NGPS/
│ │ │ └── p_keyboard.cpp
│ │ ├── XBox/
│ │ │ ├── p_keyboard.cpp
│ │ │ ├── p_siodev.cpp
│ │ │ └── p_sioman.cpp
│ │ ├── keyboard.h
│ │ ├── ngc/
│ │ │ ├── p_keyboard.cpp
│ │ │ ├── siodev.cpp
│ │ │ └── sioman.cpp
│ │ ├── siodev.cpp
│ │ └── sioman.cpp
│ ├── Win32/
│ │ └── p_timer.cpp
│ ├── XBox/
│ │ └── p_timer.cpp
│ ├── demo.cpp
│ ├── demo.h
│ ├── ngc/
│ │ ├── p_anim.cpp
│ │ ├── p_anim.h
│ │ ├── p_anim_core.s
│ │ ├── p_aram.cpp
│ │ ├── p_aram.h
│ │ ├── p_assert.h
│ │ ├── p_atomic.cpp
│ │ ├── p_atomic.h
│ │ ├── p_bbox.cpp
│ │ ├── p_bbox.h
│ │ ├── p_buffer.cpp
│ │ ├── p_buffer.h
│ │ ├── p_camera.cpp
│ │ ├── p_camera.h
│ │ ├── p_clump.cpp
│ │ ├── p_clump.h
│ │ ├── p_collision.cpp
│ │ ├── p_collision.h
│ │ ├── p_debugfont.cpp
│ │ ├── p_debugfont.h
│ │ ├── p_display.cpp
│ │ ├── p_display.h
│ │ ├── p_dl.cpp
│ │ ├── p_dl.h
│ │ ├── p_dlman.cpp
│ │ ├── p_dlman.h
│ │ ├── p_dma.cpp
│ │ ├── p_dma.h
│ │ ├── p_dvd.cpp
│ │ ├── p_dvd.h
│ │ ├── p_file.cpp
│ │ ├── p_file.h
│ │ ├── p_font.cpp
│ │ ├── p_frame.cpp
│ │ ├── p_frame.h
│ │ ├── p_gx.cpp
│ │ ├── p_gx.h
│ │ ├── p_hashid.cpp
│ │ ├── p_hashid.h
│ │ ├── p_hw.h
│ │ ├── p_hwinit.cpp
│ │ ├── p_hwpad.cpp
│ │ ├── p_hwpad.h
│ │ ├── p_light.cpp
│ │ ├── p_light.h
│ │ ├── p_material.cpp
│ │ ├── p_material.h
│ │ ├── p_matman.cpp
│ │ ├── p_matman.h
│ │ ├── p_matrix.cpp
│ │ ├── p_matrix.h
│ │ ├── p_model.cpp
│ │ ├── p_model.h
│ │ ├── p_particle.cpp
│ │ ├── p_particle.h
│ │ ├── p_ppcwgpipe.h
│ │ ├── p_prim.cpp
│ │ ├── p_prim.h
│ │ ├── p_profile.cpp
│ │ ├── p_profile.h
│ │ ├── p_quat.cpp
│ │ ├── p_quat.h
│ │ ├── p_reftypes.h
│ │ ├── p_render.cpp
│ │ ├── p_render.h
│ │ ├── p_scene.cpp
│ │ ├── p_scene.h
│ │ ├── p_screenshot.cpp
│ │ ├── p_screenshot.h
│ │ ├── p_slerp.cpp
│ │ ├── p_slerp.h
│ │ ├── p_tex.cpp
│ │ ├── p_tex.h
│ │ ├── p_texman.cpp
│ │ ├── p_texman.h
│ │ ├── p_timer.cpp
│ │ ├── p_triangle.cpp
│ │ ├── p_triangle.h
│ │ ├── p_vector.cpp
│ │ └── p_vector.h
│ ├── ngps/
│ │ └── p_timer.cpp
│ ├── siodev.h
│ ├── sioman.h
│ ├── sys.cpp
│ ├── sys.h
│ ├── timer.cpp
│ └── timer.h
├── standard.cpp
├── template.cpp
└── template.h
Showing preview only (526K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (5904 symbols across 1147 files)
FILE: Code/Core/Debug.h
function namespace (line 77) | namespace Dbg
FILE: Code/Core/Debug/Assert.cpp
type Dbg (line 56) | namespace Dbg
function set_trap (line 105) | void set_trap( AssertTrap* trap )
function screen_assert (line 115) | void screen_assert( bool on )
function Assert (line 128) | void Assert( char* file, uint line, char* reason )
function assert_vcc (line 287) | void assert_vcc( char* file, uint line, char* reason )
FILE: Code/Core/Debug/Checks.h
function namespace (line 38) | namespace Dbg
FILE: Code/Core/Debug/Debug.cpp
type Dbg (line 50) | namespace Dbg
function s_prefixed_output (line 121) | static void s_prefixed_output( Level level, char* text, va_list args )
function pad_printf (line 151) | void pad_printf( const char* text, ... )
function print (line 171) | void print( char* text )
function message (line 186) | void message ( char *text, ... )
function notify (line 209) | void notify( char *text, ... )
function warning (line 231) | void warning( char *text, ... )
function error (line 253) | void error( char *text, ... )
function set_output (line 275) | void set_output( OutputCode* handler )
function level_mask (line 289) | void level_mask( Flags< Mask > mask )
function SetUp (line 301) | void SetUp( void )
function CloseDown (line 317) | void CloseDown( void )
function OurPrintf (line 347) | int OurPrintf ( const char* fmt, ... )
function uint32 (line 414) | uint32 check_checksum(uint32 _i, const char *_s, const char *f, int line)
function uint32 (line 449) | uint32 quick_check_checksum(uint32 _i, const char *_s, const char *f, in...
FILE: Code/Core/Debug/Mem_stat.h
function class (line 38) | class Dbg_MEMORY_STATS
FILE: Code/Core/Debug/Messages.h
function namespace (line 37) | namespace Dbg
function Dbg_SetOutput (line 108) | inline void Dbg_SetOutput( const char* A ... ) {}
function Dbg_Printf (line 111) | inline void Dbg_Printf( const char* A ... ) {}
function Dbg_Message (line 112) | inline void Dbg_Message( const char* A ... ) {}
function Dbg_Notify (line 113) | inline void Dbg_Notify( const char* A ... ) {}
function Dbg_Warning (line 114) | inline void Dbg_Warning( const char* A ... ) {}
function Dbg_Error (line 115) | inline void Dbg_Error( const char* A ... ) {}
function Dbg_SetOutput (line 146) | inline void Dbg_SetOutput( const char* A ... ) {}
function Dbg_Printf (line 148) | inline void Dbg_Printf( const char* A ... ) {}
function Dbg_Message (line 149) | inline void Dbg_Message( const char* A ... ) {}
function Dbg_Notify (line 150) | inline void Dbg_Notify( const char* A ... ) {}
function Dbg_Warning (line 151) | inline void Dbg_Warning( const char* A ... ) {}
function Dbg_Error (line 152) | inline void Dbg_Error( const char* A ... ) {}
function Ryan (line 174) | inline void Ryan(const char* A ...) {}
function Ken (line 175) | inline void Ken(const char* A ...) {}
function Matt (line 176) | inline void Matt(const char* A ...) {}
FILE: Code/Core/Debug/Module.h
function namespace (line 46) | namespace Dbg
function namespace (line 108) | namespace Dbg
function SetNext (line 129) | inline void Module::SetNext( const Module* next )
function SetSibling (line 139) | inline void Module::SetSibling( const Module* sibling )
function Module (line 149) | inline const Module* Module::GetNext( void ) const
function Module (line 159) | inline const Module* Module::GetSibling( void ) const
FILE: Code/Core/Debug/NGPS/P_debug.cpp
type Dbg (line 44) | namespace Dbg
type FreeNode (line 68) | struct FreeNode
function set_up (line 111) | void set_up( void )
function close_down (line 157) | void close_down( void )
function DeleteClassNode (line 216) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 262) | void DeleteInstanceNode( void* pMem )
function set_up (line 286) | void set_up( void )
function close_down (line 296) | void close_down( void )
function default_print (line 323) | void default_print( char *text )
function default_trap (line 333) | void default_trap( char* mess )
type Dbg (line 315) | namespace Dbg
type FreeNode (line 68) | struct FreeNode
function set_up (line 111) | void set_up( void )
function close_down (line 157) | void close_down( void )
function DeleteClassNode (line 216) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 262) | void DeleteInstanceNode( void* pMem )
function set_up (line 286) | void set_up( void )
function close_down (line 296) | void close_down( void )
function default_print (line 323) | void default_print( char *text )
function default_trap (line 333) | void default_trap( char* mess )
FILE: Code/Core/Debug/Project.h
function namespace (line 41) | namespace Dbg
function namespace (line 106) | namespace Dbg
FILE: Code/Core/Debug/Signatrs.h
function namespace (line 33) | namespace Dbg
FILE: Code/Core/Debug/Wn32/P_debug.cpp
type Dbg (line 45) | namespace Dbg
function set_up (line 75) | void set_up ( void )
function close_down (line 85) | void close_down ( void )
function default_print (line 96) | void default_print ( char *text )
function default_trap (line 116) | void default_trap ( char* message )
FILE: Code/Core/Debug/XBox/p_debug.cpp
type Dbg (line 43) | namespace Dbg
type FreeNode (line 67) | struct FreeNode
function set_up (line 110) | void set_up( void )
function close_down (line 156) | void close_down( void )
function DeleteClassNode (line 215) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 261) | void DeleteInstanceNode( void* pMem )
function set_up (line 285) | void set_up( void )
function close_down (line 295) | void close_down( void )
function default_print (line 322) | void default_print( char *text )
function default_trap (line 332) | void default_trap( char* message )
type Dbg (line 314) | namespace Dbg
type FreeNode (line 67) | struct FreeNode
function set_up (line 110) | void set_up( void )
function close_down (line 156) | void close_down( void )
function DeleteClassNode (line 215) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 261) | void DeleteInstanceNode( void* pMem )
function set_up (line 285) | void set_up( void )
function close_down (line 295) | void close_down( void )
function default_print (line 322) | void default_print( char *text )
function default_trap (line 332) | void default_trap( char* message )
FILE: Code/Core/Debug/log.cpp
type Log (line 58) | namespace Log
type SLogEntry (line 74) | struct SLogEntry
type SLogBufferInfo (line 84) | struct SLogBufferInfo
function Init (line 121) | void Init()
function AddEntry (line 152) | void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, ...
function Init (line 194) | void Init()
function AddEntry (line 198) | void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, ...
type Log (line 192) | namespace Log
type SLogEntry (line 74) | struct SLogEntry
type SLogBufferInfo (line 84) | struct SLogBufferInfo
function Init (line 121) | void Init()
function AddEntry (line 152) | void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, ...
function Init (line 194) | void Init()
function AddEntry (line 198) | void AddEntry(char *p_fileName, int lineNumber, char *p_functionName, ...
FILE: Code/Core/Debug/ngc/P_debug.cpp
type Dbg (line 45) | namespace Dbg
type FreeNode (line 67) | struct FreeNode
function set_up (line 110) | void set_up( void )
function close_down (line 154) | void close_down( void )
function DeleteClassNode (line 209) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 251) | void DeleteInstanceNode( void* pMem )
function set_up (line 273) | void set_up( void )
function close_down (line 282) | void close_down( void )
function default_print (line 308) | void default_print( char *text )
function default_trap (line 318) | void default_trap( char* message )
type Dbg (line 300) | namespace Dbg
type FreeNode (line 67) | struct FreeNode
function set_up (line 110) | void set_up( void )
function close_down (line 154) | void close_down( void )
function DeleteClassNode (line 209) | void DeleteClassNode( void* pMem )
function DeleteInstanceNode (line 251) | void DeleteInstanceNode( void* pMem )
function set_up (line 273) | void set_up( void )
function close_down (line 282) | void close_down( void )
function default_print (line 308) | void default_print( char *text )
function default_trap (line 318) | void default_trap( char* message )
FILE: Code/Core/Defines.h
type int8 (line 130) | typedef char int8;
type int16 (line 131) | typedef short int16;
type uint (line 133) | typedef unsigned int uint;
type uint8 (line 134) | typedef unsigned char uint8;
type uint16 (line 135) | typedef unsigned short uint16;
type sint (line 137) | typedef signed int sint;
type sint8 (line 138) | typedef signed char sint8;
type sint16 (line 139) | typedef signed short sint16;
type int32 (line 146) | typedef long int32;
type uint32 (line 147) | typedef unsigned long uint32;
type sint32 (line 148) | typedef signed long sint32;
type __int64 (line 149) | typedef __int64 int64;
type uint64 (line 150) | typedef unsigned __int64 uint64;
type sint64 (line 151) | typedef signed __int64 sint64;
type int32 (line 156) | typedef int int32;
type uint32 (line 157) | typedef unsigned int uint32;
type sint32 (line 158) | typedef signed int sint32;
type int64 (line 159) | typedef long int64;
type uint64 (line 160) | typedef unsigned long uint64;
type sint64 (line 161) | typedef signed long sint64;
type long128 (line 162) | typedef long128 int128;
type u_long128 (line 163) | typedef u_long128 uint128;
type long128 (line 164) | typedef long128 sint128;
type int32 (line 169) | typedef long int32;
type uint32 (line 170) | typedef unsigned long uint32;
type sint32 (line 171) | typedef signed long sint32;
type __int64 (line 172) | typedef __int64 int64;
type uint64 (line 173) | typedef unsigned __int64 uint64;
type sint64 (line 174) | typedef signed __int64 sint64;
type int32 (line 179) | typedef int int32;
type uint32 (line 180) | typedef unsigned int uint32;
type sint32 (line 181) | typedef signed int sint32;
type int64 (line 182) | typedef long long int64;
type uint64 (line 183) | typedef unsigned long long uint64;
type sint64 (line 184) | typedef signed long long sint64;
type int128 (line 189) | typedef long long int128;
type uint128 (line 190) | typedef unsigned long long uint128;
type sint128 (line 191) | typedef signed long long sint128;
function class (line 197) | class ostream
type sint (line 250) | typedef sint nID;
type sint8 (line 251) | typedef sint8 nID8;
type sint16 (line 252) | typedef sint16 nID16;
type sint32 (line 253) | typedef sint32 nID32;
type sint64 (line 254) | typedef sint64 nID64;
function delete (line 499) | inline void operator delete( void* pAddr )
FILE: Code/Core/DynamicTable.cpp
type Lst (line 34) | namespace Lst
FILE: Code/Core/DynamicTable.h
function namespace (line 34) | namespace Lst
FILE: Code/Core/HashTable.h
function namespace (line 40) | namespace Lst
FILE: Code/Core/List/Head.h
function namespace (line 32) | namespace Lst
FILE: Code/Core/List/Node.h
function namespace (line 33) | namespace Lst
FILE: Code/Core/List/Search.h
function namespace (line 32) | namespace Lst
FILE: Code/Core/LookupTable.cpp
type Lst (line 35) | namespace Lst
FILE: Code/Core/LookupTable.h
function namespace (line 37) | namespace Lst
FILE: Code/Core/Math/Xbox/sse.h
function Ftoi_ASM (line 20) | __forceinline int Ftoi_ASM( const float f )
function ReciprocalEstimate_ASM (line 31) | __forceinline float ReciprocalEstimate_ASM( const float f )
function ReciprocalSqrtEstimate_ASM (line 45) | __forceinline float ReciprocalSqrtEstimate_ASM( const float f )
function SqrtEstimate_ASM (line 60) | __forceinline float SqrtEstimate_ASM( const float f )
function ReciprocalEstimateNR_ASM (line 81) | __forceinline float ReciprocalEstimateNR_ASM( const float f )
function ReciprocalSqrtEstimateNR_ASM (line 109) | __forceinline float ReciprocalSqrtEstimateNR_ASM( const float f )
function SqrtEstimateNR_ASM (line 136) | __forceinline float SqrtEstimateNR_ASM( const float f )
FILE: Code/Core/Math/geometry.cpp
type Mth (line 43) | namespace Mth
function LineLineIntersect (line 137) | bool LineLineIntersect( Line & l1, Line & l2, Vector *pa, Vector *pb, ...
FILE: Code/Core/Math/geometry.h
function class (line 114) | class CBBox
FILE: Code/Core/Math/math.cpp
type Mth (line 55) | namespace Mth
function InitialRand (line 105) | void InitialRand(int a)
function RndFuckedUp (line 119) | bool RndFuckedUp( void )
function Rnd_DbgVersion (line 126) | int Rnd_DbgVersion(int n, int line, char *file)
function SetRndTestMode (line 163) | void SetRndTestMode( int mode )
function Rnd (line 170) | int Rnd(int n)
function Rnd2 (line 179) | int Rnd2(int n)
function PlusOrMinus (line 188) | float PlusOrMinus(float n)
function InitSinLookupTable (line 201) | void InitSinLookupTable()
function Kensinf (line 212) | float Kensinf(float x)
function Kencosf (line 246) | float Kencosf(float x)
function Kenacosf (line 274) | float Kenacosf(float x)
function FRunFilter (line 308) | float FRunFilter( float target, float current, float delta )
function RunFilter (line 326) | int RunFilter( int target, int current, int delta )
FILE: Code/Core/Math/math.h
function namespace (line 55) | namespace Mth
function ClampMin (line 170) | inline float ClampMin ( float v, float min )
function ClampMax (line 187) | inline float ClampMax ( float v, float max )
function Clamp (line 204) | inline float Clamp ( float v, float min, float max )
function Lerp (line 214) | inline float Lerp ( float a, float b, float value )
function LinearMap (line 224) | inline float LinearMap ( float a, float b, float value, float value_min,...
function SmoothStep (line 234) | inline float SmoothStep ( float value )
function SmoothInterp (line 245) | inline float SmoothInterp ( float a, float b, float value )
function SmoothMap (line 255) | inline float SmoothMap ( float a, float b, float value, float value_min,...
function Max (line 265) | inline float Max ( float a, float b )
function Min (line 275) | inline float Min ( float a, float b )
function Sgn (line 285) | inline float Sgn ( float x )
function Sqr (line 302) | inline float Sqr ( float x )
function Swap (line 312) | inline void Swap ( float& a, float& b )
function Equal (line 324) | inline bool Equal ( const float a, const float b, const float perc )
function sint (line 334) | inline sint Max ( sint a, sint b )
function sint (line 344) | inline sint Min ( sint a, sint b )
function Max3 (line 355) | inline float Max3 ( float a, float b, float c )
function Min3 (line 365) | inline float Min3 ( float a, float b, float c )
function Determinant (line 376) | inline float Determinant ( float a, float b, float c, float d )
function Determinant3 (line 387) | inline float Determinant3 ( float a1, float a2, float a3, float b1, flo...
function WeightedRnd (line 399) | inline int WeightedRnd ( float min_val, float max_val )
function DegToRad (line 447) | inline float DegToRad ( float degrees )
function RadToDeg (line 457) | inline float RadToDeg ( float radians )
FILE: Code/Core/Math/matrix.cpp
type Mth (line 33) | namespace Mth
function xsceVu0MulMatrix (line 109) | void xsceVu0MulMatrix(Mth::Matrix* m0, Mth::Matrix* m1, const Mth::Mat...
function katan (line 142) | float katan(float y, float x)
function Matrix (line 426) | Matrix& CreateFromToMatrix( Matrix &mtx, Vector from, Vector to )
function Matrix (line 537) | Matrix& CreateRotateMatrix ( Matrix& mat, const Vector& axis, const f...
function Matrix (line 590) | Matrix& CreateRotateXMatrix( Matrix& rotX, float angle )
function Matrix (line 625) | Matrix& CreateRotateYMatrix( Matrix& rotY, float angle )
function Matrix (line 660) | Matrix& CreateRotateZMatrix( Matrix& rotZ, float angle )
function Matrix (line 695) | Matrix& CreateRotateMatrix( Matrix &rot, int axis, const float angle )
function Matrix (line 718) | Matrix& CreateMatrixLookAt( Matrix& mat, const Vector& pos, const Vect...
function Matrix (line 772) | Matrix& CreateMatrixOrtho( Matrix& mat, float width, float height, flo...
function Matrix (line 790) | Matrix& Matrix::OrthoNormalizeAbout(int r0)
FILE: Code/Core/Math/matrix.h
function class (line 56) | class Matrix
FILE: Code/Core/Math/quat.h
function namespace (line 35) | namespace Mth
FILE: Code/Core/Math/rect.h
function namespace (line 33) | namespace Mth
function _T (line 169) | const _T _Rect< _T >::GetOriginX ( void ) const
function _T (line 182) | const _T _Rect< _T >::GetOriginY ( void ) const
function _T (line 195) | const _T _Rect< _T >::GetWidth ( void ) const
function _T (line 208) | const _T _Rect< _T >::GetHeight ( void ) const
FILE: Code/Core/Math/rot90.cpp
type Mth (line 28) | namespace Mth
function RotateY90 (line 72) | void RotateY90( ERot90 angle, int32& x, int32& y, int32& z )
FILE: Code/Core/Math/rot90.h
function namespace (line 8) | namespace Mth
FILE: Code/Core/Math/slerp.cpp
type Mth (line 28) | namespace Mth
FILE: Code/Core/Math/slerp.h
function namespace (line 39) | namespace Mth
FILE: Code/Core/Math/vector.cpp
type Mth (line 42) | namespace Mth
function Vector (line 91) | Vector& Vector::RotateY90( ERot90 angle )
function Vector (line 129) | Vector& Vector::ProjectToPlane(const Vector& normal)
function Vector (line 141) | Vector& Vector::RotateToPlane(const Vector& normal)
function Vector (line 173) | Vector& Vector::RotateToNormal(const Vector& normal)
function Vector (line 181) | Vector& Vector::ProjectToNormal(const Vector& normal)
function GetAngle (line 257) | float GetAngle( const Matrix ¤tOrientation, const Vector &desire...
function GetAngle (line 301) | float GetAngle(Vector &v1, Vector &v2)
function AngleBetweenGreaterThan (line 314) | bool AngleBetweenGreaterThan(const Vector& a, const Vector& b, float A...
function GetAngleAbout (line 361) | float GetAngleAbout(Vector &v1, Vector &v2, Vector &Axis)
function Vector (line 406) | Vector& Vector::operator= ( const Vector& v )
FILE: Code/Core/Math/vector.h
function namespace (line 67) | namespace Mth
FILE: Code/Core/String/CString.cpp
type Str (line 35) | namespace Str
function String (line 173) | String & String::operator= (const char * string)
function String (line 201) | String & String::operator= (const String & string)
FILE: Code/Core/String/CString.h
function namespace (line 36) | namespace Str
FILE: Code/Core/String/stringutils.cpp
type Str (line 31) | namespace Str
function LowerCase (line 99) | void LowerCase(char *p)
function UpperCase (line 110) | void UpperCase(char *p)
function WhiteSpace (line 122) | int WhiteSpace(char *p)
function uint (line 181) | uint DehexifyDigit(const char *pLetter)
function Compare (line 204) | int Compare(const char *p_a, const char *p_b)
FILE: Code/Core/String/stringutils.h
function namespace (line 33) | namespace Str
FILE: Code/Core/StringHashTable.h
function namespace (line 30) | namespace Crc
function namespace (line 35) | namespace Script
function namespace (line 52) | namespace Lst
FILE: Code/Core/Support/Lock.h
function namespace (line 33) | namespace Spt
FILE: Code/Core/Support/Ref.h
function namespace (line 32) | namespace Spt
FILE: Code/Core/Support/class.cpp
function check_address (line 53) | static void check_address( void * p, int size )
type Spt (line 115) | namespace Spt
FILE: Code/Core/Support/class.h
function namespace (line 35) | namespace Mem
function namespace (line 40) | namespace Spt
FILE: Code/Core/Task/Hook.h
function namespace (line 30) | namespace Tsk
FILE: Code/Core/Task/List.h
function namespace (line 37) | namespace Tsk
FILE: Code/Core/Task/Stack.h
function namespace (line 33) | namespace Tsk
FILE: Code/Core/Task/Task.cpp
type Tsk (line 34) | namespace Tsk
FILE: Code/Core/Task/Task.h
function namespace (line 36) | namespace Tsk
function SetMask (line 184) | inline void BaseTask::SetMask( uint mask )
function uint (line 190) | inline uint BaseTask::GetMask( void )
FILE: Code/Core/Task/Tlist.cpp
type Tsk (line 35) | namespace Tsk
FILE: Code/Core/Task/Tstack.cpp
type Tsk (line 33) | namespace Tsk
class Stack::StackElement (line 52) | class Stack::StackElement : public List
FILE: Code/Core/Thread/ngc/t_thread.h
function namespace (line 20) | namespace Thread {
type PTS (line 57) | struct PTS{
FILE: Code/Core/Thread/ngps/t_thread.cpp
type Thread (line 47) | namespace Thread
function HTHREAD (line 52) | HTHREAD CreateThread( PerThreadStruct* pPTS )
FILE: Code/Core/Thread/ngps/t_thread.h
function namespace (line 20) | namespace Thread {
type PTS (line 54) | struct PTS{
FILE: Code/Core/TimestampedFlag.h
function class (line 48) | class CTimestampedFlag : public Spt::Class
function CTimestampedFlag (line 96) | inline void CTimestampedFlag::Set ( bool state )
function CTimestampedFlag (line 112) | inline void CTimestampedFlag::SetTrue ( )
function CTimestampedFlag (line 122) | inline void CTimestampedFlag::SetFalse ( )
function CTimestampedFlag (line 132) | inline void CTimestampedFlag::Toggle ( )
function CTimestampedFlag (line 142) | inline bool CTimestampedFlag::Get ( )
FILE: Code/Core/compress.cpp
function InitTree (line 30) | void InitTree(void) /* initialize trees */
function DeInitTree (line 55) | void DeInitTree(void) /* free up the memory */
function InsertNode (line 64) | void InsertNode(int r)
function DeleteNode (line 129) | void DeleteNode(int p) /* deletes node p from tree */
function Encode (line 156) | int Encode(char *pIn, char *pOut, int bytes_to_read, bool print_progress)
FILE: Code/Core/crc.cpp
type Crc (line 33) | namespace Crc
function uint32 (line 149) | uint32 GenerateCRCCaseSensitive( const char *stream, int size )
function uint32 (line 178) | uint32 UpdateCRC( const char *p_stream, int size, uint32 rc )
function uint32 (line 196) | uint32 GenerateCRC( const char *stream, int size )
function uint32 (line 237) | uint32 GenerateCRCFromString( const char *pName )
function uint32 (line 282) | uint32 ExtendCRCWithString( uint32 rc, const char *pName )
function uint32 (line 323) | uint32 GetCRCTableEntry( int entry )
FILE: Code/Core/crc.h
function namespace (line 36) | namespace Crc
FILE: Code/Core/flags.h
function flag (line 117) | flag ( val )
FILE: Code/Core/log.h
function namespace (line 4) | namespace Log
FILE: Code/Core/math.h
function acos (line 35) | inline float acos( float x ) {return acosf( x );}
function asin (line 36) | inline float asin( float x ) {return asinf( x );}
function atan (line 37) | inline float atan( float x ) {return atanf( x );}
function atan2 (line 38) | inline float atan2( float x, float y){return atan2f( x , y );}
function cos (line 39) | inline float cos( float x ) {return cosf( x );}
function sin (line 40) | inline float sin( float x ) {return sinf( x );}
function tan (line 41) | inline float tan( float x ) {return tanf( x );}
function fabs (line 42) | inline float fabs( float x ) {return fabsf( x );}
FILE: Code/Core/singleton.h
function namespace (line 113) | namespace Spt
function _T (line 282) | inline static _T* Instance(void) {return sp_sgltn_instance;}
function Initilized (line 283) | inline bool Initilized(void) {return (sp_sgltn_instance!=NULL);}
FILE: Code/Gel/AssMan/AssMan.cpp
type Ass (line 56) | namespace Ass
type SAssetLookup (line 61) | struct SAssetLookup
function EAssetType (line 123) | EAssetType CAssMan::FindAssetType( const char *p_assetName )
function CAsset (line 529) | CAsset* CAssMan::GetAssetNode( uint32 assetID, bool assertOnFail )
function uint32 (line 868) | uint32 CAssMan::GetReferenceChecksum() const
FILE: Code/Gel/AssMan/AssMan.h
function namespace (line 25) | namespace Lst
function namespace (line 30) | namespace Script
function namespace (line 35) | namespace Ass
FILE: Code/Gel/AssMan/NodeArrayAsset.cpp
type Ass (line 17) | namespace Ass
function EAssetType (line 100) | EAssetType CNodeArrayAsset::GetType()
FILE: Code/Gel/AssMan/NodeArrayAsset.h
function namespace (line 13) | namespace Ass
FILE: Code/Gel/AssMan/animasset.cpp
type Ass (line 20) | namespace Ass
function EAssetType (line 157) | EAssetType CAnimAsset::GetType()
FILE: Code/Gel/AssMan/animasset.h
function namespace (line 15) | namespace Ass
FILE: Code/Gel/AssMan/asset.cpp
type Ass (line 14) | namespace Ass
function uint32 (line 92) | uint32 CAsset::GetID()
function uint32 (line 102) | uint32 CAsset::GetGroup()
function EAssetType (line 108) | EAssetType CAsset::GetType() // type is hard wired into asset ...
FILE: Code/Gel/AssMan/asset.h
function namespace (line 14) | namespace Script
function namespace (line 20) | namespace Ass
FILE: Code/Gel/AssMan/assettypes.h
function namespace (line 6) | namespace Ass
FILE: Code/Gel/AssMan/cutsceneasset.cpp
type Ass (line 14) | namespace Ass
function EAssetType (line 107) | EAssetType CCutsceneAsset::GetType()
FILE: Code/Gel/AssMan/cutsceneasset.h
function namespace (line 18) | namespace Ass
FILE: Code/Gel/AssMan/refasset.cpp
type Ass (line 14) | namespace Ass
function uint32 (line 124) | uint32 CRefAsset::GetGroup()
function EAssetType (line 131) | EAssetType CRefAsset::GetType() // type is hard wired in...
FILE: Code/Gel/AssMan/refasset.h
function namespace (line 13) | namespace Ass
FILE: Code/Gel/AssMan/skeletonasset.cpp
type Ass (line 15) | namespace Ass
function EAssetType (line 127) | EAssetType CSkeletonAsset::GetType() // type is hard wired int...
FILE: Code/Gel/AssMan/skeletonasset.h
function namespace (line 19) | namespace Ass
FILE: Code/Gel/AssMan/skinasset.cpp
type Ass (line 19) | namespace Ass
function EAssetType (line 156) | EAssetType CSkinAsset::GetType() // type is hard wired into as...
FILE: Code/Gel/AssMan/skinasset.h
function namespace (line 15) | namespace Ass
FILE: Code/Gel/Collision/BatchTriColl.cpp
function vu0RayTriangleCollision (line 68) | bool vu0RayTriangleCollision(const Mth::Vector *rayStart, const Mth::Vec...
FILE: Code/Gel/Collision/BatchTriColl.h
function namespace (line 42) | namespace Nx
FILE: Code/Gel/Collision/CollCache.cpp
type Nx (line 41) | namespace Nx
function CCollCache (line 268) | CCollCache * CCollCacheManager::sCreateCollCache()
FILE: Code/Gel/Collision/CollCache.h
type SCollCacheNode (line 47) | struct SCollCacheNode
function class (line 55) | class CCollCache
FILE: Code/Gel/Collision/CollEnums.h
function namespace (line 22) | namespace Nx
FILE: Code/Gel/Collision/CollTriData.cpp
type NxPs2 (line 46) | namespace NxPs2
type Nx (line 66) | namespace Nx
function CCollBSPNode (line 250) | CCollBSPNode * CCollBSPNode::clone(bool instance)
function FaceIndex (line 345) | FaceIndex * CCollBSPNode::find_bsp_face_index_array_start()
function CCollBSPLeaf (line 667) | CCollBSPLeaf * CCollObjTriData::create_bsp_leaf(FaceIndex *p_face_inde...
function CCollBSPNode (line 690) | CCollBSPNode * CCollObjTriData::create_bsp_tree(const Mth::CBBox & bbo...
function FaceIndex (line 835) | FaceIndex * CCollObjTriData::FindIntersectingFaces(const Mth::CBBox ...
function CCollObjTriData (line 886) | CCollObjTriData * CCollObjTriData::Clone(bool instance, bool skip_no_v...
function rot (line 1914) | inline void rot(Mth::Vector &v)
function _debug_change_2d_scale (line 1928) | void _debug_change_2d_scale(float x)
function OverheadLine (line 1936) | void OverheadLine(Mth::Vector v0, Mth::Vector v1)
function CheckEdgeAt (line 2115) | bool CheckEdgeAt(Mth::Vector& mid, Mth::Vector& left, float dist, CFeele...
function CheckEdgeForHoles (line 2147) | void CheckEdgeForHoles(Mth::Vector v0, Mth::Vector v1)
FILE: Code/Gel/Collision/CollTriData.h
function namespace (line 51) | namespace Nx
function class (line 190) | class CCollObjTriData
function SetChecksum (line 420) | inline void CCollObjTriData::SetChecksum(uint32 checksum)
function uint (line 470) | inline uint CCollObjTriData::GetVertElemSize()
function uint (line 488) | inline uint CCollObjTriData::GetVertSmallElemSize()
function uint (line 498) | inline uint CCollObjTriData::GetFaceElemSize()
function uint (line 508) | inline uint CCollObjTriData::GetFaceSmallElemSize()
function uint16 (line 518) | inline uint16 CCollObjTriData::GetFaceTerrainType(int face_idx) const
function uint32 (line 528) | inline uint32 CCollObjTriData::GetFaceFlags(int face_idx) const
function uint16 (line 538) | inline uint16 CCollObjTriData::GetFaceVertIndex(int face_idx, int ver...
function GetRawVertexPos (line 605) | inline void CCollObjTriData::GetRawVertexPos(int vert_idx, Mth::Vect...
function GetVertexIntensity (line 653) | inline const unsigned char CCollObjTriData::GetVertexIntensity(int face_...
function GetVertexIntensity (line 658) | inline const unsigned char CCollObjTriData::GetVertexIntensity(int vert_...
function SetVertexIntensity (line 684) | inline void CCollObjTriData::SetVertexIntensity(int face_idx, int ve...
function SetVertexIntensity (line 689) | inline void CCollObjTriData::SetVertexIntensity(int vert_idx, unsign...
function CCollObjTriData (line 714) | inline CCollObjTriData::SFaceInfo * CCollObjTriData::get_face_info(int f...
FILE: Code/Gel/Collision/Collision.cpp
type Nx (line 44) | namespace Nx
function CollType (line 1391) | CollType CCollObj::sConvertTypeChecksum(uint32 checksum)
function CCollObj (line 1421) | CCollObj * CCollObj::sCreateMovableCollision(CollType type, Nx::CCollO...
function CCollObj (line 1606) | CCollObj * CCollMulti::Clone(bool instance)
function uint32 (line 1767) | uint32 CCollMulti::GetFaceFlags(int face_idx) const
function uint16 (line 1773) | uint16 CCollMulti::GetFaceTerrainType(int face_idx) const
function uint32 (line 1952) | uint32 CCollMovBBox::GetFaceFlags(int face_idx) const
function uint16 (line 1957) | uint16 CCollMovBBox::GetFaceTerrainType(int face_idx) const
function CCollObj (line 1967) | CCollObj * CCollMovBBox::Clone(bool instance)
function uint32 (line 2099) | uint32 CCollStaticTri::GetFaceFlags(int face_idx) const
function uint16 (line 2105) | uint16 CCollStaticTri::GetFaceTerrainType(int face_idx) const
function CCollObj (line 2141) | CCollObj * CCollStaticTri::Clone(bool instance)
function uint32 (line 2494) | uint32 CCollMovTri::GetFaceFlags(int face_idx) const
function uint16 (line 2500) | uint16 CCollMovTri::GetFaceTerrainType(int face_idx) const
function CCollObj (line 2536) | CCollObj * CCollMovTri::Clone(bool instance)
FILE: Code/Gel/Collision/Collision.h
function namespace (line 42) | namespace Obj
type CollData (line 57) | struct CollData
type SCollSurface (line 61) | struct SCollSurface
type S2DCollSurface (line 70) | struct S2DCollSurface
type CollData (line 87) | struct CollData
type S2DCollData (line 108) | struct S2DCollData
type ETriangleEdgeType (line 117) | enum ETriangleEdgeType
function uint32 (line 134) | uint32 GetChecksum() const;
function virtual (line 331) | virtual const Mth::Vector & GetWorldPosition() const;
function class (line 390) | class CCollStaticTri : public CCollStatic
FILE: Code/Gel/Collision/MovCollMan.cpp
type Nx (line 36) | namespace Nx
FILE: Code/Gel/Collision/MovCollMan.h
function namespace (line 38) | namespace Nx
FILE: Code/Gel/Components/BouncyComponent.h
function namespace (line 20) | namespace Mth
function namespace (line 29) | namespace Obj
FILE: Code/Gel/Components/CameraComponent.cpp
type Obj (line 16) | namespace Obj
function CBaseComponent (line 23) | CBaseComponent* CCameraComponent::s_create()
FILE: Code/Gel/Components/CameraComponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/CameraLookAroundComponent.cpp
type Obj (line 25) | namespace Obj
function CBaseComponent (line 33) | CBaseComponent* CCameraLookAroundComponent::s_create()
function MapInput (line 268) | void MapInput ( )
function DrawMap (line 295) | void DrawMap ( )
FILE: Code/Gel/Components/CameraLookAroundComponent.h
function namespace (line 22) | namespace Script
function namespace (line 28) | namespace Obj
FILE: Code/Gel/Components/CameraUtil.cpp
type Obj (line 16) | namespace Obj
function GetTimeAdjustedSlerp (line 60) | float GetTimeAdjustedSlerp( float slerp, float delta )
function ApplyCameraCollisionDetection (line 77) | void ApplyCameraCollisionDetection ( Mth::Vector& camera_pos, Mth::Mat...
FILE: Code/Gel/Components/CameraUtil.h
function namespace (line 38) | namespace Obj
FILE: Code/Gel/Components/CollideAndDieComponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 57) | CBaseComponent* CCollideAndDieComponent::s_create()
FILE: Code/Gel/Components/CollideAndDieComponent.h
function namespace (line 25) | namespace Script
function namespace (line 31) | namespace Obj
FILE: Code/Gel/Components/FloatingLabelComponent.cpp
type Obj (line 20) | namespace Obj
function CBaseComponent (line 28) | CBaseComponent* CFloatingLabelComponent::s_create()
FILE: Code/Gel/Components/FloatingLabelComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/GunslingerCameraLookAroundComponent.cpp
type Obj (line 35) | namespace Obj
function CBaseComponent (line 43) | CBaseComponent* CCameraLookAroundComponent::s_create()
function MapInput (line 400) | void MapInput ( )
function DrawMap (line 427) | void DrawMap ( )
FILE: Code/Gel/Components/GunslingerWalkCameraComponent.cpp
type Obj (line 35) | namespace Obj
function s_get_gunslinger_param (line 43) | static float s_get_gunslinger_param( uint32 checksum )
function CBaseComponent (line 62) | CBaseComponent* CWalkCameraComponent::s_create()
FILE: Code/Gel/Components/GunslingerWalkComponent.cpp
type Obj (line 100) | namespace Obj
function s_get_gunslinger_param (line 107) | static float s_get_gunslinger_param( uint32 checksum )
function CBaseComponent (line 126) | CBaseComponent* CWalkComponent::s_create()
FILE: Code/Gel/Components/HorseCameraComponent.cpp
type Obj (line 47) | namespace Obj
function CBaseComponent (line 55) | CBaseComponent* CHorseCameraComponent::s_create()
FILE: Code/Gel/Components/HorseCameraComponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Obj
FILE: Code/Gel/Components/HorseComponent.cpp
type Obj (line 72) | namespace Obj
function CBaseComponent (line 82) | CBaseComponent* CHorseComponent::s_create()
function uint32 (line 520) | uint32 CHorseComponent::GetAnimation( void )
function get_collision (line 1904) | bool get_collision( Mth::Vector& start, Mth::Vector& direction, float ...
FILE: Code/Gel/Components/HorseComponent.h
function namespace (line 31) | namespace Script
function namespace (line 37) | namespace Obj
FILE: Code/Gel/Components/InputComponent.cpp
type Obj (line 24) | namespace Obj
function CBaseComponent (line 33) | CBaseComponent* CInputComponent::s_create()
FILE: Code/Gel/Components/InputComponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/ModelLightUpdateComponent.cpp
type Obj (line 28) | namespace Obj
function CBaseComponent (line 36) | CBaseComponent* CModelLightUpdateComponent::s_create()
FILE: Code/Gel/Components/ModelLightUpdateComponent.h
function namespace (line 20) | namespace Script
function namespace (line 26) | namespace Obj
FILE: Code/Gel/Components/MovableContactComponent.cpp
type Obj (line 17) | namespace Obj
function CBaseComponent (line 25) | CBaseComponent* CMovableContactComponent::s_create()
function CCompositeObject (line 158) | CCompositeObject* CMovableContactComponent::CheckInsideObjectsToTop ( ...
function CCompositeObject (line 174) | CCompositeObject* CMovableContactComponent::CheckInsideObjects ( Mth::...
function CCompositeObject (line 225) | CCompositeObject* CMovableContactComponent::find_inside_object ( const...
FILE: Code/Gel/Components/MovableContactComponent.h
function namespace (line 25) | namespace Script
function namespace (line 31) | namespace Obj
FILE: Code/Gel/Components/NearComponent.cpp
type Obj (line 17) | namespace Obj
function CBaseComponent (line 27) | CBaseComponent* CNearComponent::s_create()
function CNearComponent (line 356) | CNearComponent** CNearComponent::GetIntersectingNearComponents( Mth::V...
function CNearComponent (line 419) | CNearComponent** CNearComponent::GetIntersectingNearComponents( int *p...
FILE: Code/Gel/Components/NearComponent.h
function namespace (line 28) | namespace Script
function namespace (line 34) | namespace Obj
type sSweepPruneArray (line 59) | struct sSweepPruneArray
function class (line 87) | class CNearComponent : public CBaseComponent
FILE: Code/Gel/Components/NodeArrayComponent.cpp
type Obj (line 31) | namespace Obj
function CBaseComponent (line 47) | CBaseComponent* CNodeArrayComponent::s_create()
FILE: Code/Gel/Components/NodeArrayComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/ObjectHookManagerComponent.cpp
type Obj (line 32) | namespace Obj
function CBaseComponent (line 48) | CBaseComponent* CObjectHookManagerComponent::s_create()
FILE: Code/Gel/Components/ObjectHookManagerComponent.h
function namespace (line 22) | namespace Script
function namespace (line 28) | namespace Obj
FILE: Code/Gel/Components/ParticleComponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 57) | CBaseComponent* CParticleComponent::s_create()
FILE: Code/Gel/Components/ParticleComponent.h
function namespace (line 26) | namespace Script
function namespace (line 32) | namespace Obj
FILE: Code/Gel/Components/PedLogicComponent.cpp
type Obj (line 43) | namespace Obj
function CBaseComponent (line 54) | CBaseComponent* CPedLogicComponent::s_create()
FILE: Code/Gel/Components/PedLogicComponent.h
function namespace (line 28) | namespace Script
function namespace (line 34) | namespace Obj
FILE: Code/Gel/Components/ProximTriggerComponent.cpp
type Obj (line 19) | namespace Obj
function CBaseComponent (line 27) | CBaseComponent* CProximTriggerComponent::s_create()
FILE: Code/Gel/Components/ProximTriggerComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/RailManagerComponent.cpp
type Obj (line 32) | namespace Obj
function CBaseComponent (line 48) | CBaseComponent* CRailManagerComponent::s_create()
FILE: Code/Gel/Components/RailManagerComponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Obj
FILE: Code/Gel/Components/RibbonComponent.cpp
type Obj (line 33) | namespace Obj
function CBaseComponent (line 41) | CBaseComponent* CRibbonComponent::s_create()
FILE: Code/Gel/Components/RibbonComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/RiderComponent.cpp
type Obj (line 29) | namespace Obj
function CBaseComponent (line 36) | CBaseComponent* CRiderComponent::s_create()
FILE: Code/Gel/Components/RiderComponent.h
function namespace (line 32) | namespace Script
function namespace (line 38) | namespace Nx
function namespace (line 43) | namespace Obj
FILE: Code/Gel/Components/SetDisplayMatrixComponent.cpp
type Obj (line 15) | namespace Obj
function CBaseComponent (line 23) | CBaseComponent* CSetDisplayMatrixComponent::s_create()
FILE: Code/Gel/Components/SetDisplayMatrixComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/SkaterCameraComponent.cpp
type Obj (line 31) | namespace Obj
function _xrotlocal (line 52) | static void _xrotlocal ( Mth::Matrix& m, float a )
function CBaseComponent (line 63) | CBaseComponent* CSkaterCameraComponent::s_create()
function CSkater (line 1524) | CSkater* CSkaterCameraComponent::GetSkater( void )
FILE: Code/Gel/Components/SkaterCameraComponent.h
function namespace (line 28) | namespace Script
function namespace (line 34) | namespace Obj
FILE: Code/Gel/Components/SkitchComponent.cpp
type Obj (line 15) | namespace Obj
function CBaseComponent (line 22) | CBaseComponent* CSkitchComponent::s_create()
FILE: Code/Gel/Components/SkitchComponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/StaticVehicleComponent.cpp
type Obj (line 21) | namespace Obj
function CBaseComponent (line 29) | CBaseComponent* CStaticVehicleComponent::s_create()
FILE: Code/Gel/Components/StaticVehicleComponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Obj
FILE: Code/Gel/Components/StatsManagerComponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 57) | CBaseComponent* CStatsManagerComponent::s_create()
FILE: Code/Gel/Components/StatsManagerComponent.h
function namespace (line 28) | namespace Script
function namespace (line 34) | namespace Obj
FILE: Code/Gel/Components/StreamComponent.cpp
type Obj (line 42) | namespace Obj
function CBaseComponent (line 59) | CBaseComponent* CStreamComponent::s_create()
FILE: Code/Gel/Components/StreamComponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Gfx
function namespace (line 34) | namespace Obj
FILE: Code/Gel/Components/SuspendComponent.cpp
type Obj (line 29) | namespace Obj
function CBaseComponent (line 39) | CBaseComponent* CSuspendComponent::s_create()
type SuspendManager (line 473) | namespace SuspendManager
FILE: Code/Gel/Components/SuspendComponent.h
function namespace (line 22) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/TriggerComponent.cpp
type Obj (line 22) | namespace Obj
function CBaseComponent (line 30) | CBaseComponent* CTriggerComponent::s_create()
FILE: Code/Gel/Components/TriggerComponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/VehicleSoundComponent.cpp
type Obj (line 83) | namespace Obj
function CBaseComponent (line 91) | CBaseComponent* CVehicleSoundComponent::s_create()
FILE: Code/Gel/Components/VehicleSoundComponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/VelocityComponent.cpp
type Obj (line 35) | namespace Obj
function CBaseComponent (line 52) | CBaseComponent* CVelocityComponent::s_create()
FILE: Code/Gel/Components/VelocityComponent.h
function namespace (line 25) | namespace Script
function namespace (line 31) | namespace Obj
FILE: Code/Gel/Components/VibrationComponent.cpp
type Obj (line 19) | namespace Obj
function CBaseComponent (line 31) | CBaseComponent* CVibrationComponent::s_create()
FILE: Code/Gel/Components/VibrationComponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Obj
FILE: Code/Gel/Components/WalkCameraComponent.cpp
type Obj (line 30) | namespace Obj
function CBaseComponent (line 38) | CBaseComponent* CWalkCameraComponent::s_create()
FILE: Code/Gel/Components/WalkCameraComponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/WalkComponent.cpp
type Obj (line 70) | namespace Obj
function CBaseComponent (line 86) | CBaseComponent* CWalkComponent::s_create()
FILE: Code/Gel/Components/WalkComponent.h
function namespace (line 38) | namespace Script
function namespace (line 44) | namespace Nx
function namespace (line 49) | namespace Obj
FILE: Code/Gel/Components/WalkHangUtil.cpp
type Obj (line 36) | namespace Obj
FILE: Code/Gel/Components/WalkLadderUtil.cpp
type Obj (line 24) | namespace Obj
FILE: Code/Gel/Components/animationcomponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 65) | CBaseComponent* CAnimationComponent::s_create()
function uint32 (line 1018) | uint32 CAnimationComponent::GetCurrentSequence( void )
function s_get_wobble_mask (line 1276) | static int s_get_wobble_mask( int variable, float value )
function uint32 (line 1617) | uint32 CAnimationComponent::PlayAnim(Script::CStruct *pParams, Script:...
function blend (line 1855) | void blend( Gfx::CPose* pPoseList, float* blendVal, int numBones, Gfx:...
FILE: Code/Gel/Components/animationcomponent.h
function namespace (line 25) | namespace Gfx
function namespace (line 32) | namespace Script
function namespace (line 38) | namespace Obj
FILE: Code/Gel/Components/avoidcomponent.cpp
type Obj (line 30) | namespace Obj
function ped_debug_on (line 38) | inline bool ped_debug_on()
function get_jump_direction (line 48) | static int get_jump_direction( float rotAng )
function get_jump_distance (line 69) | static float get_jump_distance( Script::CStruct* pParams, float rotAng )
function collides_with (line 106) | static bool collides_with( Mth::Vector& vec0, Mth::Vector& vec1 )
function CBaseComponent (line 297) | CBaseComponent* CAvoidComponent::s_create()
FILE: Code/Gel/Components/avoidcomponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/bouncycomponent.cpp
type Obj (line 31) | namespace Obj
function CBaseComponent (line 41) | CBaseComponent * CBouncyComponent::s_create()
function get_closest_allowable_angle (line 342) | float get_closest_allowable_angle( float current, float allowableAngle )
FILE: Code/Gel/Components/carphysicscomponent.cpp
type Obj (line 23) | namespace Obj
function CBaseComponent (line 39) | CBaseComponent* CCarPhysicsComponent::s_create()
FILE: Code/Gel/Components/carphysicscomponent.h
function namespace (line 20) | namespace Script
function namespace (line 26) | namespace Obj
FILE: Code/Gel/Components/collisioncomponent.cpp
type Obj (line 25) | namespace Obj
function CBaseComponent (line 35) | CBaseComponent* CCollisionComponent::s_create()
FILE: Code/Gel/Components/collisioncomponent.h
function namespace (line 23) | namespace Nx
function namespace (line 29) | namespace Script
function namespace (line 35) | namespace Obj
FILE: Code/Gel/Components/emptycomponent.cpp
type Obj (line 33) | namespace Obj
function CBaseComponent (line 50) | CBaseComponent* CEmptyComponent::s_create()
FILE: Code/Gel/Components/emptycomponent.h
function namespace (line 24) | namespace Script
function namespace (line 30) | namespace Obj
FILE: Code/Gel/Components/lockobjcomponent.cpp
type Obj (line 32) | namespace Obj
function CBaseComponent (line 42) | CBaseComponent* CLockObjComponent::s_create()
function CCompositeObject (line 231) | CCompositeObject* CLockObjComponent::get_locked_to_object()
type LockOb (line 419) | namespace LockOb
FILE: Code/Gel/Components/lockobjcomponent.h
function namespace (line 23) | namespace Script
function namespace (line 29) | namespace Obj
function namespace (line 77) | namespace LockOb
FILE: Code/Gel/Components/modelcomponent.cpp
type Obj (line 42) | namespace Obj
function CBaseComponent (line 81) | CBaseComponent * CModelComponent::s_create()
function uint32 (line 1748) | uint32 CModelComponent::GetRefObjectName()
function apply_cheat_scale (line 1805) | bool apply_cheat_scale( Gfx::CSkeleton* pSkeleton, Nx::CModel* pModel, u...
FILE: Code/Gel/Components/modelcomponent.h
function namespace (line 26) | namespace Gfx
function namespace (line 31) | namespace Nx
function namespace (line 36) | namespace Script
function namespace (line 42) | namespace Obj
FILE: Code/Gel/Components/motioncomponent.cpp
type Obj (line 34) | namespace Obj
function CBaseComponent (line 56) | CBaseComponent* CMotionComponent::s_create()
function s_get_velocity (line 251) | static void s_get_velocity( Script::CStruct* pParams, float* pVel )
function s_get_acceleration (line 273) | static void s_get_acceleration( Script::CStruct* pParams, float* pAccel )
function CPathOb (line 1046) | CPathOb* CMotionComponent::GetPathOb()
function CCompositeObject (line 1755) | CCompositeObject* CMotionComponent::GetNextObjectOnPath( float range )
function s_do_collision_check (line 2304) | static bool s_do_collision_check(const Mth::Vector *p_v0, const Mth::V...
function CCompositeObject (line 2546) | CCompositeObject* CMotionComponent::GetNextObjectOnPath( float range )
FILE: Code/Gel/Components/motioncomponent.h
function namespace (line 22) | namespace Mth
function namespace (line 27) | namespace Script
function namespace (line 33) | namespace Obj
FILE: Code/Gel/Components/rigidbodycomponent.cpp
type Obj (line 32) | namespace Obj
function CBaseComponent (line 51) | CBaseComponent* CRigidBodyComponent::s_create()
FILE: Code/Gel/Components/rigidbodycomponent.h
function namespace (line 41) | namespace Script
function namespace (line 47) | namespace Obj
FILE: Code/Gel/Components/shadowcomponent.cpp
type Obj (line 27) | namespace Obj
function CBaseComponent (line 37) | CBaseComponent* CShadowComponent::s_create()
FILE: Code/Gel/Components/shadowcomponent.h
function namespace (line 26) | namespace Gfx
function namespace (line 31) | namespace Script
function namespace (line 37) | namespace Obj
FILE: Code/Gel/Components/skeletoncomponent.cpp
type Obj (line 37) | namespace Obj
function CBaseComponent (line 47) | CBaseComponent* CSkeletonComponent::s_create()
FILE: Code/Gel/Components/skeletoncomponent.h
function namespace (line 31) | namespace Gfx
function namespace (line 36) | namespace Script
function namespace (line 42) | namespace Obj
FILE: Code/Gel/Components/soundcomponent.cpp
type Obj (line 35) | namespace Obj
function CBaseComponent (line 44) | CBaseComponent * CSoundComponent::s_create()
function ObjectSoundInfo (line 415) | ObjectSoundInfo *CSoundComponent::GetLoopingSoundInfo( uint32 soundChe...
FILE: Code/Gel/Components/soundcomponent.h
function namespace (line 28) | namespace Script
function namespace (line 34) | namespace Obj
FILE: Code/Gel/Components/specialitemcomponent.cpp
type Obj (line 27) | namespace Obj
function CBaseComponent (line 44) | CBaseComponent* CSpecialItemComponent::s_create()
FILE: Code/Gel/Components/specialitemcomponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Components/trickcomponent.cpp
type Obj (line 37) | namespace Obj
function s_is_direction_button (line 51) | static bool s_is_direction_button(uint32 buttonName)
function s_add_array_of_names (line 74) | static void s_add_array_of_names(Script::CStruct *p_info, int size, ui...
function CBaseComponent (line 99) | CBaseComponent* CTrickComponent::s_create()
function SButtonEvent (line 330) | SButtonEvent *CTrickComponent::AddEvent(EEventType EventType)
function uint32 (line 491) | uint32 CTrickComponent::get_buttons_and_duration(Script::CComponent *p...
function uint32 (line 2899) | uint32 CTrickComponent::CalculateIgnoreMask(uint32 ArrayChecksum, cons...
function uint32 (line 4020) | uint32 CTrickComponent::WritePendingTricks( uint32* p_buffer, uint32 m...
function ScriptDoNextTrick (line 4042) | bool ScriptDoNextTrick( Script::CStruct *pParams, Script::CScript *pSc...
FILE: Code/Gel/Components/trickcomponent.h
function namespace (line 30) | namespace Script
function namespace (line 37) | namespace Mdl
function namespace (line 42) | namespace Obj
FILE: Code/Gel/Components/vehiclecameracomponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 48) | CBaseComponent* CVehicleCameraComponent::s_create()
FILE: Code/Gel/Components/vehiclecameracomponent.h
function namespace (line 22) | namespace Script
function namespace (line 28) | namespace Obj
FILE: Code/Gel/Components/vehiclecomponent.cpp
type Obj (line 78) | namespace Obj
function CBaseComponent (line 88) | CBaseComponent* CVehicleComponent::s_create()
type EDepthDirection (line 2301) | enum EDepthDirection
FILE: Code/Gel/Components/vehiclecomponent.h
function namespace (line 26) | namespace Script
function namespace (line 32) | namespace Obj
FILE: Code/Gel/Components/weaponcomponent.cpp
type Obj (line 40) | namespace Obj
function CBaseComponent (line 47) | CBaseComponent* CWeaponComponent::s_create()
function CCompositeObject (line 378) | CCompositeObject* CWeaponComponent::GetCurrentTarget( Mth::Vector& sta...
FILE: Code/Gel/Components/weaponcomponent.h
function namespace (line 21) | namespace Script
function namespace (line 27) | namespace Obj
FILE: Code/Gel/Environment/terrain.cpp
type Env (line 31) | namespace Env
function __NOPT_ASSERT__ (line 36) | __NOPT_ASSERT__
function ETerrainActionType (line 240) | ETerrainActionType CTerrainManager::sGetActionFromChecksum(uint32 che...
function uint32 (line 288) | uint32 CTerrainManager::s_get_action_checksum(ETerrainActionType a...
function __NOPT_ASSERT__ (line 662) | __NOPT_ASSERT__
FILE: Code/Gel/Environment/terrain.h
function namespace (line 33) | namespace Script
function namespace (line 40) | namespace Env
FILE: Code/Gel/Event.h
function namespace (line 8) | namespace Script
function namespace (line 16) | namespace Obj
FILE: Code/Gel/Input/InpMan.cpp
type Inp (line 47) | namespace Inp
function uint32 (line 175) | uint32 GetButtonChecksum( int whichButton )
function GetButtonIndex (line 182) | int GetButtonIndex(uint32 Checksum)
FILE: Code/Gel/Input/inpserv.cpp
type Inp (line 63) | namespace Inp
FILE: Code/Gel/MainLoop/Mainloop.cpp
type NxPs2 (line 44) | namespace NxPs2
type Mdl (line 57) | namespace Mdl
type Mlp (line 62) | namespace Mlp
FILE: Code/Gel/Module/modman.cpp
type Mdl (line 39) | namespace Mdl
FILE: Code/Gel/Module/module.cpp
type Mdl (line 36) | namespace Mdl
FILE: Code/Gel/Movies/Movies.cpp
type Flx (line 47) | namespace Flx
function PlayMovie (line 52) | void PlayMovie( const char *pMovieName )
FILE: Code/Gel/Movies/Movies.h
function namespace (line 34) | namespace Flx
FILE: Code/Gel/Movies/Ngps/audiodec.cpp
type Flx (line 19) | namespace Flx
function SetMovieVolume (line 34) | void SetMovieVolume( void )
function audioDecCreate (line 52) | int audioDecCreate(
function audioDecDelete (line 115) | int audioDecDelete(AudioDec *ad)
function audioDecPause (line 134) | void audioDecPause(AudioDec *ad)
function audioDecResume (line 166) | void audioDecResume(AudioDec *ad)
function audioDecStart (line 181) | void audioDecStart(AudioDec *ad)
function audioDecReset (line 191) | void audioDecReset(AudioDec *ad)
function audioDecBeginPut (line 213) | void audioDecBeginPut(AudioDec *ad,
function audioDecEndPut (line 254) | void audioDecEndPut(AudioDec *ad, int size)
function audioDecIsPreset (line 306) | int audioDecIsPreset(AudioDec *ad)
function audioDecSendToIOP (line 315) | int audioDecSendToIOP(AudioDec *ad)
function iopGetArea (line 372) | static void iopGetArea(int *pd0, int *d0, int *pd1, int *d1,
function sendToIOP2area (line 399) | static int sendToIOP2area(int pd0, int d0, int pd1, int d1,
function sendToIOP (line 436) | static int sendToIOP(int dst, u_char *src, int size)
function changeInputVolume (line 477) | static void changeInputVolume(u_int val)
FILE: Code/Gel/Movies/Ngps/audiodec.h
type SpuStreamHeader (line 28) | struct SpuStreamHeader{
type SpuStreamBody (line 45) | struct SpuStreamBody{
type AudioDec (line 54) | struct AudioDec{
function namespace (line 80) | namespace Flx
FILE: Code/Gel/Movies/Ngps/defs.h
function namespace (line 42) | namespace Flx
FILE: Code/Gel/Movies/Ngps/disp.cpp
type Flx (line 28) | namespace Flx
function clearGsMem (line 37) | void clearGsMem(int r, int g, int b, int disp_width, int disp_height)
function setImageTag (line 104) | void setImageTag(u_int *tags, void *image, int index, int image_w, int...
function vblankHandler (line 232) | int vblankHandler(int val)
function handler_endimage (line 292) | int handler_endimage(int val)
function startDisplay (line 307) | void startDisplay(int waitEven)
function endDisplay (line 322) | void endDisplay()
FILE: Code/Gel/Movies/Ngps/disp.h
function namespace (line 12) | namespace Flx
FILE: Code/Gel/Movies/Ngps/p_movies.cpp
type Flx (line 56) | namespace Flx
function GetThreadPriority (line 84) | int GetThreadPriority( )
function PMovies_PlayMovie (line 105) | void PMovies_PlayMovie( const char *pName )
function u_int (line 335) | static u_int movie( const char *name )
function readMpeg (line 361) | static int readMpeg(VideoDec *vd, ReadBuf *rb, StrFile *file)
function switchThread (line 508) | void switchThread()
function isAudioOK (line 517) | static int isAudioOK()
function initAll (line 528) | static bool initAll( const char *bsfilename )
function termAll (line 689) | static void termAll()
function defMain (line 731) | static void defMain(void * dummy)
function ErrMessage (line 742) | void ErrMessage(char *message)
function proceedAudio (line 751) | void proceedAudio()
FILE: Code/Gel/Movies/Ngps/p_movies.h
function namespace (line 43) | namespace Flx
FILE: Code/Gel/Movies/Ngps/read.cpp
type Flx (line 11) | namespace Flx
function videoCallback (line 23) | int videoCallback(sceMpeg *mp, sceMpegCbDataStr *str, void *data)
function pcmCallback (line 67) | int pcmCallback(sceMpeg *mp, sceMpegCbDataStr *str, void *data)
function copy2area (line 108) | static int copy2area(u_char *pd0, int d0, u_char *pd1, int d1,
FILE: Code/Gel/Movies/Ngps/readbuf.cpp
type Flx (line 6) | namespace Flx
function readBufCreate (line 15) | void readBufCreate(ReadBuf *b)
function readBufDelete (line 25) | void readBufDelete(ReadBuf *b)
function readBufBeginPut (line 33) | int readBufBeginPut(ReadBuf *b, u_char **ptr)
function readBufEndPut (line 46) | int readBufEndPut(ReadBuf *b, int size)
function readBufBeginGet (line 60) | int readBufBeginGet(ReadBuf *b, u_char **ptr)
function readBufEndGet (line 72) | int readBufEndGet(ReadBuf *b, int size)
FILE: Code/Gel/Movies/Ngps/readbuf.h
type ReadBuf (line 20) | struct ReadBuf{
function namespace (line 27) | namespace Flx
FILE: Code/Gel/Movies/Ngps/strfile.cpp
type Flx (line 10) | namespace Flx
function strFileOpen (line 31) | int strFileOpen(StrFile *file, char *filename, int pIopBuff )
function strFileClose (line 150) | int strFileClose(StrFile *file)
function strFileRead (line 165) | int strFileRead(StrFile *file, void *buff, int size)
FILE: Code/Gel/Movies/Ngps/strfile.h
type StrFile (line 17) | struct StrFile{
function namespace (line 27) | namespace Flx
FILE: Code/Gel/Movies/Ngps/vibuf.cpp
type Flx (line 29) | namespace Flx
function IsPtsInRegion (line 47) | extern inline int IsPtsInRegion(int tgt, int pos, int len, int size)
function getFIFOindex (line 53) | int getFIFOindex(ViBuf *f, void *addr)
function setD3_CHCR (line 62) | void setD3_CHCR(u_int val)
function setD4_CHCR (line 71) | void setD4_CHCR(u_int val)
function scTag2 (line 80) | void scTag2(
function viBufCreate (line 97) | int viBufCreate(ViBuf *f,
function viBufReset (line 134) | int viBufReset(ViBuf *f)
function viBufBeginPut (line 183) | void viBufBeginPut(ViBuf *f,
function viBufEndPut (line 219) | void viBufEndPut(ViBuf *f, int size)
function viBufAddDMA (line 233) | int viBufAddDMA(ViBuf *f)
function viBufStopDMA (line 330) | int viBufStopDMA(ViBuf *f)
function viBufRestartDMA (line 365) | int viBufRestartDMA(ViBuf *f)
function viBufDelete (line 452) | int viBufDelete(ViBuf *f)
function viBufIsActive (line 467) | int viBufIsActive(ViBuf *f)
function viBufCount (line 484) | int viBufCount(ViBuf *f)
function viBufFlush (line 501) | void viBufFlush(ViBuf *f)
function viBufModifyPts (line 514) | int viBufModifyPts(ViBuf *f, TimeStamp *new_ts)
function viBufPutTs (line 560) | int viBufPutTs(ViBuf *f, TimeStamp *ts)
function viBufGetTs (line 591) | int viBufGetTs(ViBuf *f, TimeStamp *ts)
FILE: Code/Gel/Movies/Ngps/vibuf.h
function namespace (line 18) | namespace Flx
FILE: Code/Gel/Movies/Ngps/videodec.cpp
type Flx (line 9) | namespace Flx
function videoDecCreate (line 30) | int videoDecCreate(VideoDec *vd,
function videoDecSetDecodeMode (line 62) | void videoDecSetDecodeMode(VideoDec *vd, int ni, int np, int nb)
function videoDecSetStream (line 71) | int videoDecSetStream(VideoDec *vd, int strType, int ch,
function videoDecBeginPut (line 82) | void videoDecBeginPut(VideoDec *vd,
function videoDecEndPut (line 92) | void videoDecEndPut(VideoDec *vd, int size)
function videoDecReset (line 101) | void videoDecReset(VideoDec *vd)
function videoDecDelete (line 110) | int videoDecDelete(VideoDec *vd)
function videoDecAbort (line 122) | void videoDecAbort(VideoDec *vd)
function u_int (line 131) | u_int videoDecGetState(VideoDec *vd)
function u_int (line 140) | u_int videoDecSetState(VideoDec *vd, u_int state)
function videoDecPutTs (line 153) | int videoDecPutTs(VideoDec *vd, long pts_val,
function videoDecInputCount (line 170) | int videoDecInputCount(VideoDec *vd)
function videoDecInputSpaceCount (line 179) | int videoDecInputSpaceCount(VideoDec *vd)
function videoDecFlush (line 194) | int videoDecFlush(VideoDec *vd)
function videoDecIsFlushed (line 231) | int videoDecIsFlushed(VideoDec *vd)
function videoDecMain (line 241) | void videoDecMain( void * dummy)
function decBs0 (line 268) | int decBs0(VideoDec *vd)
function mpegError (line 349) | int mpegError(sceMpeg *mp, sceMpegCbDataError *cberror, void *anyData)
function mpegNodata (line 359) | int mpegNodata(sceMpeg *mp, sceMpegCbData *cbdata, void *anyData)
function mpegStopDMA (line 370) | int mpegStopDMA(sceMpeg *mp, sceMpegCbData *cbdata, void *anyData)
function mpegRestartDMA (line 381) | int mpegRestartDMA(sceMpeg *mp, sceMpegCbData *cbdata, void *anyData)
function mpegTS (line 393) | int mpegTS(sceMpeg *mp, sceMpegCbDataTimeStamp *cbts, void *anyData)
function cpy2area (line 407) | static int cpy2area(u_char *pd0, int d0, u_char *pd1, int d1,
FILE: Code/Gel/Movies/Ngps/videodec.h
function namespace (line 23) | namespace Flx
FILE: Code/Gel/Movies/Ngps/vobuf.cpp
type Flx (line 5) | namespace Flx
function voBufCreate (line 15) | void voBufCreate(
function voBufDelete (line 35) | void voBufDelete(VoBuf *f)
function voBufReset (line 39) | void voBufReset(VoBuf *f)
function voBufIsFull (line 45) | int voBufIsFull(VoBuf *f)
function voBufIncCount (line 50) | void voBufIncCount(VoBuf *f)
function VoData (line 63) | VoData *voBufGetData(VoBuf *f)
function voBufIsEmpty (line 72) | int voBufIsEmpty(VoBuf *f)
function VoTag (line 77) | VoTag *voBufGetTag(VoBuf *f)
function voBufDecCount (line 83) | void voBufDecCount(VoBuf *f)
FILE: Code/Gel/Movies/Ngps/vobuf.h
function namespace (line 23) | namespace Flx
FILE: Code/Gel/Movies/Xbox/p_movies.cpp
type Flx (line 44) | namespace Flx
function LPDIRECT3DTEXTURE8 (line 104) | LPDIRECT3DTEXTURE8 openPlaybackImage( uint32 width, uint32 height )
function closePlaybackImage (line 140) | void closePlaybackImage( LPDIRECT3DTEXTURE8 p_image )
function decompressFrame (line 162) | static void decompressFrame( HBINK bink, LPDIRECT3DTEXTURE8 p_image, b...
function blitImage (line 191) | void blitImage( LPDIRECT3DTEXTURE8 p_image, float x_offset, float y_of...
function showFrame (line 243) | static void showFrame( HBINK bink, LPDIRECT3DTEXTURE8 p_image )
function sDebounceCheck (line 267) | static bool sDebounceCheck(uint16 *p_debounceFlags, uint8 *p_data, uin...
function PMovies_PlayMovie (line 296) | void PMovies_PlayMovie( const char* pName )
FILE: Code/Gel/Movies/Xbox/p_movies.h
function namespace (line 33) | namespace Flx
FILE: Code/Gel/Movies/ngc/p_movies.cpp
function VIDSimpleInit (line 120) | void VIDSimpleInit(VIDAllocator _cbAlloc, VIDDeallocator _cbFree, VIDAll...
function ReadFrameAsync (line 138) | static void ReadFrameAsync(void)
function dvdDoneCallback (line 186) | static void dvdDoneCallback(s32 result, DVDFileInfo * _UNUSED(videoInfo))
function BOOL (line 246) | BOOL VIDSimpleAllocDVDBuffers(void)
function VIDSimpleFreeDVDBuffers (line 286) | void VIDSimpleFreeDVDBuffers(void)
function BOOL (line 309) | BOOL VIDSimpleCreateDecoder(BOOL supportBFrames)
function VIDSimpleDestroyDecoder (line 353) | void VIDSimpleDestroyDecoder(void)
function BOOL (line 374) | BOOL VIDSimpleLoadStart(BOOL loopMode)
function BOOL (line 453) | BOOL VIDSimpleLoadStop(void)
function BOOL (line 501) | BOOL VIDSimpleOpen(char* fileName, BOOL suppressAudio)
function BOOL (line 730) | BOOL VIDSimpleClose(void)
function BOOL (line 762) | BOOL VIDSimpleDecode(void)
function VIDSimpleDraw (line 855) | void VIDSimpleDraw(GXRenderModeObj *rmode, u32 x, u32 y, u32 width, u32 ...
function VIDSimpleDrawXFB (line 873) | void VIDSimpleDrawXFB(GXRenderModeObj *rmode, void* lcMem)
function VIDSimpleGetVideoSize (line 885) | void VIDSimpleGetVideoSize(u32* width, u32* height)
function f32 (line 901) | f32 VIDSimpleGetFPS(void)
function BOOL (line 912) | BOOL VIDSimpleIsInterlace(void)
function u32 (line 924) | u32 VIDSimpleGetFrameCount(void)
function u32 (line 936) | u32 VIDSimpleGetAudioSampleRate(void)
function BOOL (line 947) | BOOL VIDSimpleCheckDVDError(void)
function myFree (line 1023) | static void myFree(void* ptr)
function VIDDrawGXRestore (line 1084) | void VIDDrawGXRestore(void)
function VIDDrawGXYuv2RgbSetup (line 1119) | void VIDDrawGXYuv2RgbSetup(GXRenderModeObj *rmode)
function VIDDrawGXYuv2RgbDraw (line 1202) | void VIDDrawGXYuv2RgbDraw(s16 x, s16 y, s16 polygonWidth, s16 polygonHei...
type VID_AXPHASE (line 1310) | enum VID_AXPHASE {
function BOOL (line 1350) | BOOL VIDSimpleInitAudioDecoder(void)
function VIDSimpleExitAudioDecoder (line 1527) | void VIDSimpleExitAudioDecoder(void)
function VIDSimpleAudioReset (line 1562) | void VIDSimpleAudioReset(void)
function VIDSimpleAudioGetInfo (line 1598) | void VIDSimpleAudioGetInfo(VidAUDH* audioHeader)
function VIDSimpleDoAudioDecodePCM16 (line 1614) | static void VIDSimpleDoAudioDecodePCM16(s16* dest, u32 channels, const s...
function u32 (line 1666) | static u32 VIDSimpleAudioBytesFromSamplesPCM16(u32 samples)
function u32 (line 1671) | static u32 VIDSimpleAudioSamplesFromBytesPCM16(u32 bytes)
function VIDSimpleDoAudioDecodeVAUD (line 1686) | static void VIDSimpleDoAudioDecodeVAUD(s16* dest, u32 channels, const s1...
function u32 (line 1718) | static u32 VIDSimpleAudioBytesFromSamplesVAUD(u32 samples)
function u32 (line 1723) | static u32 VIDSimpleAudioSamplesFromBytesVAUD(u32 bytes)
function BOOL (line 1754) | static BOOL audioDecode(u32 numChannels, const s16 **samples, u32 sample...
function BOOL (line 1860) | BOOL VIDSimpleAudioDecode(const u8* bitstream, u32 bitstreamLen)
function VIDSimpleAudioStartPlayback (line 1898) | void VIDSimpleAudioStartPlayback(const u32 *playMaskArray,u32 numMasks)
function VIDSimpleAudioChangePlayback (line 1920) | void VIDSimpleAudioChangePlayback(const u32 *playMaskArray,u32 numMasks)
function audioCopy (line 1969) | static void audioCopy(u32 smpOffset,u32 numSamples)
function AXCallback (line 2023) | static void AXCallback(void)
type Flx (line 2201) | namespace Flx
function PMovies_PlayMovie (line 2204) | void PMovies_PlayMovie( const char *pName )
function Movie_Render (line 2808) | bool Movie_Render ( void )
FILE: Code/Gel/Movies/ngc/p_movies.h
function namespace (line 31) | namespace Flx
FILE: Code/Gel/Music/Ngps/Bgm/bgm_com.c
function sce_bgm_loop (line 42) | int sce_bgm_loop()
FILE: Code/Gel/Music/Ngps/Bgm/bgm_entr.c
function start (line 16) | int start ()
FILE: Code/Gel/Music/Ngps/Bgm/bgm_play.c
type DATAHeader (line 18) | typedef struct {
type FMTHeader (line 24) | typedef struct {
type RIFFHeader (line 35) | typedef struct {
type BGM_WAVE (line 44) | typedef struct {
function IntFunc0 (line 96) | static int IntFunc0( void* common )
function IntFunc1 (line 103) | static int IntFunc1( void* common )
function makeMyThread (line 111) | static int makeMyThread( void )
function makeMySem (line 128) | static int makeMySem( void )
function BgmRaw2Spu (line 141) | int BgmRaw2Spu( int ch, int which )
function BgmSetVolumeDirect (line 159) | int BgmSetVolumeDirect( int ch, unsigned int vol )
function BgmSdInit (line 168) | void BgmSdInit(int ch, int status )
function BgmInit (line 176) | int BgmInit( int ch, int useCD )
function BgmQuit (line 210) | void BgmQuit(int ch, int status )
function BgmOpen (line 239) | int BgmOpen( int data, char* filename )
function _BgmClose (line 380) | void _BgmClose(int ch, int status)
function BgmStart (line 402) | void BgmStart(int ch, int status )
function BgmCloseNoWait (line 432) | void BgmCloseNoWait( int ch, int status )
function BgmClose (line 458) | void BgmClose( int ch, int status )
function BgmPreLoad (line 472) | int BgmPreLoad( int ch, int status )
function _BgmPause (line 538) | void _BgmPause(int ch, int status)
function _BgmStopAndUnload (line 547) | void _BgmStopAndUnload(int ch, int status)
function BgmStop (line 558) | void BgmStop( int ch, unsigned int vol )
function BgmSetVolume (line 588) | int BgmSetVolume( int ch, unsigned int vol )
function BgmGetMode (line 596) | unsigned int BgmGetMode( int ch, int status )
function BgmSeek (line 601) | void BgmSeek( int ch, unsigned int value )
function SetStereoOn (line 609) | void SetStereoOn( int ch, int stereo )
function PreloadFile (line 623) | void PreloadFile( int which, int ch )
function _BgmPlay (line 680) | int _BgmPlay( int status )
FILE: Code/Gel/Music/Ngps/Bgm/bgm_r2sm.c
function _BgmRaw2SpuMono (line 7) | void _BgmRaw2SpuMono( unsigned int *src, unsigned int *dst, unsigned int...
FILE: Code/Gel/Music/Ngps/Pcm/pcm.h
type VagHeader (line 17) | struct VagHeader
type SStreamRequest (line 200) | typedef struct
type SSoundRequest (line 207) | typedef struct
type SSifCmdStreamRequestPacket (line 223) | typedef struct
type SSifCmdStreamResultPacket (line 231) | typedef struct
type SSifCmdStreamStatusPacket (line 241) | typedef struct
type SSifCmdStreamLoadStatusPacket (line 250) | typedef struct
type SSifCmdSoundRequestPacket (line 261) | typedef struct
type SSifCmdSoundResultPacket (line 269) | typedef struct
type SStreamRequestPacket (line 281) | typedef struct
FILE: Code/Gel/Music/Ngps/Pcm/pcm_com.c
function DoNothing (line 58) | void DoNothing( char* text, ... ) { }
type StreamInfo (line 114) | struct StreamInfo
type StreamInfo (line 115) | struct StreamInfo
type TimerCtx (line 150) | typedef struct TimerCtx {
function TimerFunc (line 163) | int TimerFunc( void *common)
function SetTimer (line 174) | int SetTimer( TimerCtx* timer )
function StartTimer (line 206) | int StartTimer( TimerCtx* timer )
function AdpcmSdInit (line 217) | void AdpcmSdInit( void )
function AdpcmSetUpVoice (line 230) | void AdpcmSetUpVoice( int core, int vnum, int pSpuBuf )
function AdpcmInit (line 242) | int AdpcmInit( int pIopBuf )
function AdpcmQuit (line 294) | void AdpcmQuit( void )
function AdpcmPlayMusic (line 307) | int AdpcmPlayMusic( int size, int preload_only )
function AdpcmPlayStream (line 348) | int AdpcmPlayStream( int size, int whichStream, unsigned int vol, unsign...
function AdpcmPlayPreloadedMusic (line 385) | int AdpcmPlayPreloadedMusic()
function AdpcmPlayPreloadedStream (line 397) | int AdpcmPlayPreloadedStream(int whichStream, unsigned int vol, unsigned...
function _AdpcmSetMusicVoiceMute (line 412) | void _AdpcmSetMusicVoiceMute( void )
function _AdpcmSetStreamVoiceMute (line 422) | void _AdpcmSetStreamVoiceMute( int whichVoice )
function StopMusic (line 429) | void StopMusic( void )
function StopStream (line 444) | void StopStream( int whichStream )
function AdpcmStopMusic (line 462) | int AdpcmStopMusic( void )
function AdpcmStopStream (line 490) | int AdpcmStopStream( int whichStream )
function AdpcmSetMusicVolume (line 520) | void AdpcmSetMusicVolume( unsigned int vol )
function AdpcmSetMusicVolumeDirect (line 528) | void AdpcmSetMusicVolumeDirect( unsigned int vol )
function AdpcmSetStreamVolume (line 548) | void AdpcmSetStreamVolume( unsigned int vol, int whichStream )
function AdpcmSetStreamVolumeDirect (line 556) | void AdpcmSetStreamVolumeDirect( unsigned int vol, int whichStream )
function AdpcmGetMusicStatus (line 569) | unsigned int AdpcmGetMusicStatus( void )
function AdpcmGetStatus (line 583) | unsigned int AdpcmGetStatus( void )
function AdpcmHasStatusChanged (line 604) | int AdpcmHasStatusChanged( void )
function _AdpcmDmaIntMusic (line 660) | static int _AdpcmDmaIntMusic(int ch, void *common) // DMA Interrupt -- w...
function _AdpcmDmaIntStream (line 672) | static int _AdpcmDmaIntStream(int ch, void *common) // DMA Interrupt -- ...
function UpdateMusic (line 697) | void UpdateMusic( void )
function UpdateStream (line 918) | void UpdateStream( int whichStream )
function LockDMA (line 1094) | int LockDMA( int whichStream )
function u_int (line 1122) | u_int GetNAX(int core,int ch)
function CheckTransfer (line 1141) | void CheckTransfer( int dmaCh )
function OutsideMusicSPULoadBuffer (line 1159) | int OutsideMusicSPULoadBuffer()
function OutsideStreamSPULoadBuffer (line 1191) | int OutsideStreamSPULoadBuffer(int whichStream)
function DownloadMusic (line 1221) | int DownloadMusic(int whichChannel)
function DownloadStream (line 1281) | int DownloadStream(int whichStream)
function IncMusicBuffer (line 1332) | void IncMusicBuffer()
function IncStreamBuffer (line 1375) | void IncStreamBuffer(int whichStream)
function StartMusic (line 1419) | void StartMusic()
function StartStream (line 1426) | void StartStream(int whichStream)
function RefreshStreams (line 1440) | int RefreshStreams( int status )
function _ShowStreamInfo (line 1474) | void _ShowStreamInfo( struct StreamInfo *pInfo )
function PauseStream (line 1493) | void PauseStream( int whichStream, int pause )
function sce_adpcm_loop (line 1676) | int sce_adpcm_loop( void )
function request_callback (line 1752) | void request_callback(void *p, void *q)
function load_status_callback (line 1775) | void load_status_callback(void *p, void *q)
function SendStatus (line 1792) | void SendStatus()
FILE: Code/Gel/Music/Ngps/Pcm/pcm_ent.c
function start (line 18) | int start ( void )
FILE: Code/Gel/Music/Ngps/Pcm/pcm_sound.c
function uint32 (line 55) | uint32 switch_set_callback(void *p_nothing)
function queue_set_switch (line 92) | void queue_set_switch(unsigned short entry, unsigned int value)
function execute_sound_request (line 151) | int execute_sound_request(unsigned short function, unsigned short entry,...
function sce_sound_loop (line 298) | int sce_sound_loop( void )
function sound_request_callback (line 394) | void sound_request_callback(void *p, void *q)
FILE: Code/Gel/Music/Ngps/Pcm/pcmiop.h
type int8 (line 14) | typedef char int8;
type int16 (line 15) | typedef short int16;
type int32 (line 16) | typedef int int32;
type uint8 (line 18) | typedef unsigned char uint8;
type uint16 (line 19) | typedef unsigned short uint16;
type uint32 (line 20) | typedef unsigned int uint32;
type ESendSoundResult (line 23) | typedef enum
type StreamInfo (line 49) | struct StreamInfo{
FILE: Code/Gel/Music/Ngps/p_music.cpp
type Pcm (line 40) | namespace Pcm
function result_callback (line 103) | void result_callback(void *p, void *q)
function status_callback (line 126) | void status_callback(void *p, void *q)
function get_status (line 144) | bool get_status(int & status)
function EzPcm (line 163) | void EzPcm( int command, int data, int data2, int data3 )
function send_load_done (line 201) | void send_load_done(EFileStreamType streamType, int buffer_num, int by...
function InitCDPlease (line 225) | void InitCDPlease( void )
function CheckForCDErrors (line 248) | static bool CheckForCDErrors( void )
function ELoadState (line 353) | ELoadState CFileStreamInfo::check_for_load_requests()
function PCMAudio_UpdateStatus (line 690) | void PCMAudio_UpdateStatus()
function PCMAudio_Update (line 706) | int PCMAudio_Update( void )
function PCMAudio_Init (line 797) | void PCMAudio_Init( void )
function PCMAudio_GetIopMemory (line 836) | int PCMAudio_GetIopMemory( void )
function PCMAudio_SetStreamGlobalVolume (line 854) | void PCMAudio_SetStreamGlobalVolume( unsigned int volume )
function PCMAudio_SetMusicVolume (line 863) | bool PCMAudio_SetMusicVolume( float volume )
function PCMAudio_SetStreamVolume (line 883) | bool PCMAudio_SetStreamVolume( float volumeL, float volumeR, int which...
function PCMAudio_SetStreamPitch (line 928) | bool PCMAudio_SetStreamPitch( float fPitch, int whichStream )
function PCMAudio_PlayMusicTrack (line 954) | bool PCMAudio_PlayMusicTrack( const char *filename )
function PCMAudio_PlayMusicStream (line 993) | bool PCMAudio_PlayMusicStream( uint32 checksum )
function PCMAudio_PlayStream (line 1031) | bool PCMAudio_PlayStream( uint32 checksum, int whichStream, float volu...
function PCMAudio_StopMusic (line 1074) | void PCMAudio_StopMusic( bool waitPlease )
function PCMAudio_StopStream (line 1079) | void PCMAudio_StopStream( int whichStream, bool waitPlease )
function PCMAudio_StopStreams (line 1084) | void PCMAudio_StopStreams( void )
function PCMAudio_PreLoadStream (line 1094) | bool PCMAudio_PreLoadStream( uint32 checksum, int whichStream )
function PCMAudio_PreLoadStreamDone (line 1132) | bool PCMAudio_PreLoadStreamDone( int whichStream )
function PCMAudio_StartPreLoadedStream (line 1150) | bool PCMAudio_StartPreLoadedStream( int whichStream, float volumeL, fl...
function PCMAudio_PreLoadMusicStream (line 1162) | bool PCMAudio_PreLoadMusicStream( uint32 checksum )
function PCMAudio_PreLoadMusicStreamDone (line 1197) | bool PCMAudio_PreLoadMusicStreamDone( void )
function PCMAudio_StartPreLoadedMusicStream (line 1206) | bool PCMAudio_StartPreLoadedMusicStream( void )
function PCMAudio_GetMusicStatus (line 1212) | int PCMAudio_GetMusicStatus( void )
function PCMAudio_GetStreamStatus (line 1241) | int PCMAudio_GetStreamStatus( int whichStream )
function PCMAudio_Pause (line 1273) | void PCMAudio_Pause( bool pause, int ch )
function PCMAudio_PauseStream (line 1285) | void PCMAudio_PauseStream( bool pause, int whichStream )
function GetCDLocation (line 1290) | unsigned int GetCDLocation( const char *pWadName )
function PCMAudio_TrackExists (line 1319) | bool PCMAudio_TrackExists( const char *pTrackName, int ch )
function PCMAudio_LoadMusicHeader (line 1334) | bool PCMAudio_LoadMusicHeader( const char *nameOfFile )
function PCMAudio_LoadStreamHeader (line 1346) | bool PCMAudio_LoadStreamHeader( const char *nameOfFile )
function uint32 (line 1365) | uint32 PCMAudio_FindNameFromChecksum( uint32 checksum, int ch )
FILE: Code/Gel/Music/Ngps/p_music.h
function namespace (line 8) | namespace File
type EFileStreamType (line 19) | enum EFileStreamType
type ELoadState (line 29) | enum ELoadState
type EPlayState (line 38) | enum EPlayState
function class (line 57) | class CFileStreamInfo
FILE: Code/Gel/Music/Xbox/p_adpcmfilestream.cpp
type Pcm (line 46) | namespace Pcm
function HRESULT (line 251) | HRESULT CADPCMFileStream::Initialize( HANDLE h_file, unsigned int offs...
function HRESULT (line 275) | HRESULT CADPCMFileStream::PostInitialize( void )
function HRESULT (line 319) | HRESULT CADPCMFileStream::InitializeFormatBlock( uint32 *p_header_data )
function HRESULT (line 404) | HRESULT CADPCMFileStream::Process( void )
function BOOL (line 612) | BOOL CADPCMFileStream::FindFreePacket( DWORD* pdwPacketIndex )
function HRESULT (line 635) | HRESULT CADPCMFileStream::ProcessSource( DWORD dwPacketIndex )
function HRESULT (line 699) | HRESULT CADPCMFileStream::ProcessRenderer( DWORD dwPacketIndex )
FILE: Code/Gel/Music/Xbox/p_adpcmfilestream.h
function namespace (line 36) | namespace Pcm
FILE: Code/Gel/Music/Xbox/p_music.cpp
type Pcm (line 48) | namespace Pcm
type sFileStreamInfo (line 65) | struct sFileStreamInfo
type FileStreamType (line 67) | enum FileStreamType
method HasFileStream (line 90) | bool HasFileStream( void ) { return (( p_wma_filestream != NULL )...
function HRESULT (line 152) | HRESULT sFileStreamInfo::Initialize( HANDLE h_file, void* fileBuffer )
function HRESULT (line 171) | HRESULT sFileStreamInfo::Initialize( HANDLE h_file, unsigned int offse...
function HRESULT (line 190) | HRESULT sFileStreamInfo::Process( void )
function OVERLAPPED (line 488) | OVERLAPPED *PCMAudio_GetNextOverlapped( void )
function uint32 (line 506) | uint32 PCMAudio_GetFilestreamBufferSize( void )
function PCMAudio_Init (line 517) | void PCMAudio_Init( void )
FILE: Code/Gel/Music/Xbox/p_music.h
function namespace (line 10) | namespace Pcm
FILE: Code/Gel/Music/Xbox/p_soundtrack.cpp
type Pcm (line 44) | namespace Pcm
function GetNumSoundtracks (line 88) | int GetNumSoundtracks( void )
function WCHAR (line 128) | const WCHAR* GetSoundtrackName( int soundtrack )
function GetSoundtrackNumSongs (line 143) | unsigned int GetSoundtrackNumSongs( int soundtrack )
function WCHAR (line 158) | const WCHAR* GetSongName( int soundtrack, int track )
function HANDLE (line 191) | HANDLE GetSoundtrackWMAHandle( int soundtrack, int track )
FILE: Code/Gel/Music/Xbox/p_soundtrack.h
function namespace (line 34) | namespace Pcm
FILE: Code/Gel/Music/Xbox/p_wmafilestream.cpp
type Pcm (line 45) | namespace Pcm
function uint32 (line 86) | uint32 CALLBACK WMAXMediaObjectDataCallback( LPVOID pContext, uint32 o...
function HRESULT (line 282) | HRESULT CWMAFileStream::Initialize( HANDLE h_file, unsigned int offset...
function HRESULT (line 308) | HRESULT CWMAFileStream::Initialize( HANDLE h_song, void* fileBuffer )
function HRESULT (line 338) | HRESULT CWMAFileStream::PostInitialize( void )
function HRESULT (line 416) | HRESULT CWMAFileStream::Process( void )
function HRESULT (line 707) | HRESULT CWMAFileStream::ProcessSource( uint32 dwPacketIndex )
function HRESULT (line 757) | HRESULT CWMAFileStream::ProcessRenderer( uint32 dwPacketIndex )
function uint32 (line 1189) | uint32 WINAPI WMAFileStreamThreadProc( LPVOID lpParameter )
FILE: Code/Gel/Music/Xbox/p_wmafilestream.h
function namespace (line 33) | namespace Pcm
FILE: Code/Gel/Music/music.cpp
type Pcm (line 68) | namespace Pcm
function NoMusicPlease (line 75) | bool NoMusicPlease()
function StreamsDisabled (line 91) | bool StreamsDisabled()
function IDAvailable (line 159) | bool IDAvailable(uint32 id)
function GetChannelFromID (line 172) | int GetChannelFromID(uint32 id, bool assert_if_duplicate = true)
function uint32 (line 196) | uint32 GenerateUniqueID(uint32 id)
function StopMusic (line 205) | void StopMusic( void )
function StopStreams (line 219) | void StopStreams( int channel )
function StopStreamFromID (line 236) | void StopStreamFromID( uint32 streamID )
function SetStreamVolumeFromID (line 270) | bool SetStreamVolumeFromID( uint32 streamID, Sfx::sVolume *p_volume )
function SetStreamPitchFromID (line 297) | bool SetStreamPitchFromID( uint32 streamID, float pitch )
function sGenerateRandomSongOrder (line 320) | static void sGenerateRandomSongOrder( void )
function UseUserSoundtrack (line 392) | void UseUserSoundtrack( int soundtrack )
function UseStandardSoundtrack (line 419) | void UseStandardSoundtrack( void )
function UsingUserSoundtrack (line 432) | bool UsingUserSoundtrack( void )
function SaveSoundtrackToStructure (line 447) | void SaveSoundtrackToStructure( Script::CStruct *pStuff)
function GetSoundtrackFromStructure (line 478) | void GetSoundtrackFromStructure( Script::CStruct *pStuff)
function _PlayMusicTrack (line 520) | bool _PlayMusicTrack( const char *filename, float volume )
function _PlayMusicStream (line 590) | bool _PlayMusicStream( uint32 checksum, float volume )
function _PlayStream (line 617) | int _PlayStream( uint32 checksum, Sfx::sVolume *p_volume, float pitch,...
function _PreLoadMusicStream (line 725) | bool _PreLoadMusicStream( uint32 checksum )
function _StartPreLoadedMusicStream (line 739) | bool _StartPreLoadedMusicStream( float volume )
function uint32 (line 760) | uint32 PlayStreamFromObject( Obj::CStreamComponent *pComponent, uint32...
function uint32 (line 879) | uint32 PlayStream( uint32 checksum, Sfx::sVolume *p_volume, float pitc...
function uint32 (line 919) | uint32 PreLoadStream( uint32 checksum, int priority )
function PreLoadStreamDone (line 952) | bool PreLoadStreamDone( uint32 streamID )
function StartPreLoadedStream (line 979) | bool StartPreLoadedStream( uint32 streamID, Sfx::sVolume *p_volume, fl...
function PreLoadMusicStream (line 1008) | bool PreLoadMusicStream( uint32 checksum )
function PreLoadMusicStreamDone (line 1038) | bool PreLoadMusicStreamDone( void )
function StartPreLoadedMusicStream (line 1051) | bool StartPreLoadedMusicStream( float volume )
function SetStreamVolume (line 1070) | bool SetStreamVolume( int objStreamIndex )
function Init (line 1137) | void Init( void )
function UsingCD (line 1184) | bool UsingCD( void )
function PlayTrack (line 1213) | void PlayTrack( const char *filename, bool loop )
function PlayMusicStream (line 1273) | void PlayMusicStream( uint32 checksum, float volume )
function PauseMusic (line 1300) | void PauseMusic( int pause )
function MusicIsPaused (line 1335) | bool MusicIsPaused()
function PauseStream (line 1340) | void PauseStream( int pause )
function SetVolume (line 1376) | void SetVolume( float volume )
function GetVolume (line 1407) | float GetVolume( void )
function SetMusicStreamVolume (line 1413) | void SetMusicStreamVolume( float volume )
function GetMusicStreamVolume (line 1434) | float GetMusicStreamVolume( void )
function AddTrackToPlaylist (line 1439) | void AddTrackToPlaylist( const char *trackName, int whichList, const c...
function ClearPlaylist (line 1501) | void ClearPlaylist( int whichList )
function SkipMusicTrack (line 1518) | void SkipMusicTrack( void )
function SetRandomMode (line 1537) | void SetRandomMode( int randomModeOn )
function GetRandomMode (line 1560) | int GetRandomMode( void )
function SetLoopingMode (line 1565) | void SetLoopingMode( bool loop )
function _StartMusicStream (line 1571) | static void _StartMusicStream()
function sSetCorrectMusicVolume (line 1593) | static void sSetCorrectMusicVolume()
function RandomTrackUpdate (line 1622) | void RandomTrackUpdate( void )
function TrackUpdate (line 1797) | void TrackUpdate( void )
function Update (line 1890) | void Update( void )
function GetPlaylist (line 1996) | void GetPlaylist( uint64* flags1, uint64* flags2 )
function SetPlaylist (line 2002) | void SetPlaylist( uint64 flags1, uint64 flags2 )
function SetAmbientVolume (line 2009) | void SetAmbientVolume( float volPercent )
function SetTrackForbiddenStatus (line 2023) | void SetTrackForbiddenStatus( int trackNum, bool forbidden, int whichL...
function TrackIsPlaying (line 2081) | bool TrackIsPlaying( int whichList, int whichTrack )
function GetNumTracks (line 2098) | int GetNumTracks( int whichList )
function GetTrackForbiddenStatus (line 2110) | int GetTrackForbiddenStatus( int trackNum, int whichList )
function SetActiveTrackList (line 2175) | void SetActiveTrackList( int whichList )
function GetActiveTrackList (line 2194) | int GetActiveTrackList( void )
function LoadMusicHeader (line 2201) | bool LoadMusicHeader( const char *nameOfFile )
function LoadStreamHeader (line 2211) | bool LoadStreamHeader( const char *nameOfFile )
function GetNumStreamsAvailable (line 2220) | int GetNumStreamsAvailable( void )
function StreamAvailable (line 2225) | bool StreamAvailable( int whichStream )
function StreamAvailable (line 2236) | bool StreamAvailable( void )
function StreamExists (line 2264) | bool StreamExists( uint32 streamChecksum )
function StreamLoading (line 2271) | bool StreamLoading( uint32 streamID )
function StreamPlaying (line 2295) | bool StreamPlaying( uint32 streamID )
function GetCurrentTrack (line 2309) | int GetCurrentTrack()
function SetCurrentTrack (line 2314) | void SetCurrentTrack( int value )
function uint8 (line 2357) | uint8 CStreamFrameAmp::GetSample(int frame) const
function uint8 (line 2370) | const uint8 * CStreamFrameAmp::GetSamples() const
function uint8 (line 2382) | const uint8 * CStreamFrameAmp::GetSamples(int frame) const
function CStreamFrameAmp (line 2467) | CStreamFrameAmp * CStreamFrameAmpManager::sLoadFrameAmp(uint32 stream_...
function CStreamFrameAmp (line 2496) | CStreamFrameAmp * CStreamFrameAmpManager::sGetFrameAmp(uint32 stream_c...
FILE: Code/Gel/Music/music.h
function namespace (line 20) | namespace Obj
type EMusicStreamType (line 46) | enum EMusicStreamType
type CurrentStreamInfo (line 54) | struct CurrentStreamInfo
type TrackInfo (line 68) | struct TrackInfo
type TrackTitle (line 73) | struct TrackTitle
type TrackList (line 78) | struct TrackList
function class (line 200) | class CStreamFrameAmp
FILE: Code/Gel/Music/ngc/bgm/bgm_com.c
function sce_bgm_loop (line 42) | int sce_bgm_loop()
FILE: Code/Gel/Music/ngc/bgm/bgm_entr.c
function start (line 16) | int start ()
FILE: Code/Gel/Music/ngc/bgm/bgm_play.c
type DATAHeader (line 18) | typedef struct {
type FMTHeader (line 24) | typedef struct {
type RIFFHeader (line 35) | typedef struct {
type BGM_WAVE (line 44) | typedef struct {
function IntFunc0 (line 96) | static int IntFunc0( void* common )
function IntFunc1 (line 103) | static int IntFunc1( void* common )
function makeMyThread (line 111) | static int makeMyThread( void )
function makeMySem (line 128) | static int makeMySem( void )
function BgmRaw2Spu (line 141) | int BgmRaw2Spu( int ch, int which )
function BgmSetVolumeDirect (line 159) | int BgmSetVolumeDirect( int ch, unsigned int vol )
function BgmSdInit (line 168) | void BgmSdInit(int ch, int status )
function BgmInit (line 176) | int BgmInit( int ch, int useCD )
function BgmQuit (line 210) | void BgmQuit(int ch, int status )
function BgmOpen (line 239) | int BgmOpen( int data, char* filename )
function _BgmClose (line 380) | void _BgmClose(int ch, int status)
function BgmStart (line 402) | void BgmStart(int ch, int status )
function BgmCloseNoWait (line 432) | void BgmCloseNoWait( int ch, int status )
function BgmClose (line 458) | void BgmClose( int ch, int status )
function BgmPreLoad (line 472) | int BgmPreLoad( int ch, int status )
function _BgmPause (line 538) | void _BgmPause(int ch, int status)
function _BgmStopAndUnload (line 547) | void _BgmStopAndUnload(int ch, int status)
function BgmStop (line 558) | void BgmStop( int ch, unsigned int vol )
function BgmSetVolume (line 588) | int BgmSetVolume( int ch, unsigned int vol )
function BgmGetMode (line 596) | unsigned int BgmGetMode( int ch, int status )
function BgmSeek (line 601) | void BgmSeek( int ch, unsigned int value )
function SetStereoOn (line 609) | void SetStereoOn( int ch, int stereo )
function PreloadFile (line 623) | void PreloadFile( int which, int ch )
function _BgmPlay (line 680) | int _BgmPlay( int status )
FILE: Code/Gel/Music/ngc/bgm/bgm_r2sm.c
function _BgmRaw2SpuMono (line 7) | void _BgmRaw2SpuMono( unsigned int *src, unsigned int *dst, unsigned int...
FILE: Code/Gel/Music/ngc/divx/AUDSimpleAudio.cpp
type VID_AXPHASE (line 100) | enum VID_AXPHASE {
function BOOL (line 130) | BOOL AUDSimpleInitAudioDecoder(void)
function AUDSimpleExitAudioDecoder (line 251) | void AUDSimpleExitAudioDecoder(void)
function AUDSimpleAudioReset (line 280) | void AUDSimpleAudioReset(void)
function AUDSimpleAudioGetInfo (line 301) | void AUDSimpleAudioGetInfo(VidAUDH* audioHeader)
function AUDSimpleAudioSetVolume (line 309) | void AUDSimpleAudioSetVolume( u16 vl, u16 vr )
function writeChannelData (line 329) | static void writeChannelData(s16* dest, u32 channels, const s16** sample...
function u32 (line 355) | u32 AUDSimpleAudioGetFreeReadBufferSamples( void )
function BOOL (line 400) | static BOOL audioDecode(u32 numChannels, const s16 **samples, u32 sample...
function BOOL (line 507) | BOOL AUDSimpleAudioDecode(const u8* bitstream, u32 bitstreamLen)
function AUDSimpleAudioChangePlayback (line 530) | void AUDSimpleAudioChangePlayback(const u32 *playMaskArray,u32 numMasks)
function AUDSimplePause (line 562) | void AUDSimplePause( bool pause )
function audioCopy (line 586) | static void audioCopy(u32 smpOffset,u32 numSamples)
function AXCallback (line 640) | static void AXCallback(void)
FILE: Code/Gel/Music/ngc/divx/AUDSimplePlayer.cpp
function AUDSimpleInit (line 55) | void AUDSimpleInit(VAUDAllocator _cbAlloc, VAUDDeallocator _cbFree)
function ReadFrameAsync (line 72) | static void ReadFrameAsync(void)
function dvdDoneCallback (line 120) | static void dvdDoneCallback(s32 result, DVDFileInfo * _UNUSED(videoInfo))
function BOOL (line 177) | BOOL AUDSimpleAllocDVDBuffers(void)
function AUDSimpleFreeDVDBuffers (line 217) | void AUDSimpleFreeDVDBuffers(void)
function BOOL (line 234) | BOOL AUDSimpleCreateDecoder(void)
function AUDSimpleDestroyDecoder (line 266) | void AUDSimpleDestroyDecoder(void)
function AUDSimpleLoadStartDVDCallback (line 283) | static void AUDSimpleLoadStartDVDCallback( s32 result, DVDFileInfo* file...
function BOOL (line 349) | BOOL AUDSimpleLoadStart(BOOL loopMode)
function BOOL (line 426) | BOOL AUDSimpleLoadStop(void)
function AUDSimpleOpenDVDCallback (line 464) | static void AUDSimpleOpenDVDCallback( s32 result, DVDFileInfo* fileInfo )
function BOOL (line 719) | BOOL AUDSimpleOpen( char* fileName )
function BOOL (line 956) | BOOL AUDSimpleClose(void)
function BOOL (line 990) | BOOL AUDSimpleDecode(void)
function AUDSimplePlayMaskChange (line 1064) | void AUDSimplePlayMaskChange(void)
function u32 (line 1086) | u32 AUDSimpleGetAudioSampleRate(void)
function u32 (line 1098) | extern u32 AUDSimpleGetFrameTime(void)
function BOOL (line 1110) | BOOL AUDSimpleCheckDVDError(void)
FILE: Code/Gel/Music/ngc/divx/AUDSimplePlayer.h
type AudReadBuffer (line 46) | typedef struct {
type AudSimplePlayer (line 54) | typedef struct {
FILE: Code/Gel/Music/ngc/p_music.cpp
type Pcm (line 74) | namespace Pcm
type FileStreamInfo (line 101) | struct FileStreamInfo
type sDSPADPCM (line 122) | struct sDSPADPCM
function BOOL (line 194) | BOOL _DVDReadAsync( DVDFileInfo* fileInfo, void* addr, s32 length, s32...
function setDolby (line 259) | void setDolby( AXPB * p_pb, AXVPB * p_vpb, float volL, float volR, uns...
function ax_voice_reacquisition_callback (line 468) | static void ax_voice_reacquisition_callback( void* p )
function s_start_voice_callback (line 509) | static void s_start_voice_callback( u32 pointerToARQRequest )
function s_dvd_callback (line 569) | static void s_dvd_callback( s32 result, DVDFileInfo* fileInfo )
function PCMAudio_Init (line 865) | void PCMAudio_Init( void )
function PCMAudio_SetMusicVolume (line 891) | int PCMAudio_SetMusicVolume( float volume )
function PCMAudio_LoadMusicHeader (line 933) | bool PCMAudio_LoadMusicHeader( const char *nameOfFile )
function PCMAudio_TrackExists (line 945) | bool PCMAudio_TrackExists( const char *pTrackName, int ch )
function myFree (line 1074) | static void myFree(void* ptr)
function PCMAudio_DecodeLoop (line 1088) | void PCMAudio_DecodeLoop( void )
function PCMAudio_PlayMusicTrack (line 1196) | bool PCMAudio_PlayMusicTrack( const char *filename, bool preload )
function PCMAudio_StopMusic (line 1304) | void PCMAudio_StopMusic( bool waitPlease )
function PCMAudio_GetMusicStatus (line 1367) | int PCMAudio_GetMusicStatus( void )
function PCMAudio_Pause (line 1415) | void PCMAudio_Pause( bool pause, int ch )
function PCMAudio_Update (line 1490) | int PCMAudio_Update( void )
function uint32 (line 1570) | uint32 PCMAudio_FindNameFromChecksum( uint32 checksum, int ch )
function PCMAudio_PlayStream (line 1603) | bool PCMAudio_PlayStream( uint32 checksum, int whichStream, float volu...
function PCMAudio_SetStreamGlobalVolume (line 1712) | void PCMAudio_SetStreamGlobalVolume( unsigned int volume )
function PCMAudio_SetStreamVolume (line 1723) | bool PCMAudio_SetStreamVolume( float volumeL, float volumeR, int which...
function PCMAudio_SetStreamPitch (line 1762) | bool PCMAudio_SetStreamPitch( float fPitch, int whichStream )
function PCMAudio_StopStream (line 1771) | void PCMAudio_StopStream( int whichStream, bool waitPlease )
function PCMAudio_StopStreams (line 1796) | void PCMAudio_StopStreams( void )
function PCMAudio_PreLoadStream (line 1815) | bool PCMAudio_PreLoadStream( uint32 checksum, int whichStream )
function PCMAudio_PreLoadStreamDone (line 1834) | bool PCMAudio_PreLoadStreamDone( int whichStream )
function PCMAudio_StartPreLoadedStream (line 1857) | bool PCMAudio_StartPreLoadedStream( int whichStream, float volumeL, fl...
function PCMAudio_PreLoadMusicStream (line 1887) | bool PCMAudio_PreLoadMusicStream( uint32 checksum )
function PCMAudio_PreLoadMusicStreamDone (line 2010) | bool PCMAudio_PreLoadMusicStreamDone( void )
function PCMAudio_StartPreLoadedMusicStream (line 2028) | bool PCMAudio_StartPreLoadedMusicStream( void )
function PCMAudio_GetStreamStatus (line 2050) | int PCMAudio_GetStreamStatus( int whichStream )
function PCMAudio_PauseStream (line 2085) | void PCMAudio_PauseStream( bool pause, int whichStream )
function PCMAudio_LoadStreamHeader (line 2096) | bool PCMAudio_LoadStreamHeader( const char *nameOfFile )
FILE: Code/Gel/Music/ngc/p_music.h
function namespace (line 11) | namespace Pcm
FILE: Code/Gel/Music/ngc/pcm/pcm.h
type VagHeader (line 11) | typedef struct
FILE: Code/Gel/Music/ngc/pcm/pcm_com.c
function DoNothing (line 44) | void DoNothing( char* text, ... ) { }
function GetTime (line 185) | unsigned int GetTime( void )
function AdpcmSdInit (line 196) | void AdpcmSdInit( void )
function AdpcmSetUpVoice (line 209) | void AdpcmSetUpVoice( int core, int vnum, int pSpuBuf )
function AdpcmInit (line 233) | int AdpcmInit( int pIopBuf )
function AdpcmQuit (line 292) | void AdpcmQuit( void )
function AdpcmPlayMusic (line 304) | int AdpcmPlayMusic( int size )
function AdpcmPlayStream (line 333) | int AdpcmPlayStream( int size )
function _AdpcmSetMusicVoiceMute (line 362) | void _AdpcmSetMusicVoiceMute( void )
function _AdpcmSetStreamVoiceMute (line 372) | void _AdpcmSetStreamVoiceMute( void )
function StopMusic (line 379) | void StopMusic( void )
function StopStream (line 391) | void StopStream( void )
function AdpcmStopMusic (line 405) | int AdpcmStopMusic( void )
function AdpcmStopStream (line 463) | int AdpcmStopStream( void )
function AdpcmSetMusicVolume (line 516) | void AdpcmSetMusicVolume( unsigned int vol )
function AdpcmSetMusicVolumeDirect (line 524) | void AdpcmSetMusicVolumeDirect( unsigned int vol )
function AdpcmSetStreamVolume (line 535) | void AdpcmSetStreamVolume( unsigned int vol )
function AdpcmSetStreamVolumeDirect (line 543) | void AdpcmSetStreamVolumeDirect( unsigned int vol )
function AdpcmGetMusicStatus (line 555) | unsigned int AdpcmGetMusicStatus( void )
function AdpcmGetStreamStatus (line 561) | unsigned int AdpcmGetStreamStatus( void )
function SafeForStreamToGo (line 572) | int SafeForStreamToGo( unsigned int time )
function SafeForMusicToGo (line 640) | int SafeForMusicToGo( unsigned int time )
function AdpcmGetStatus (line 709) | unsigned int AdpcmGetStatus( void )
function _AdpcmDmaIntCommon (line 816) | static int _AdpcmDmaIntCommon(int ch, void *common) // DMA Interrupt -- ...
function _AdpcmDmaIntMusic (line 842) | static int _AdpcmDmaIntMusic(int ch, void *common) // DMA Interrupt -- w...
function _AdpcmDmaIntStream (line 854) | static int _AdpcmDmaIntStream(int ch, void *common) // DMA Interrupt -- ...
function _AdpcmSpu2Int (line 868) | static int _AdpcmSpu2Int( int core, void *common ) // SPU2 Voice Interrupt
function UpdateMusic (line 905) | void UpdateMusic( void )
function UpdateStream (line 1204) | void UpdateStream( void )
function _AdpcmPlay (line 1436) | int _AdpcmPlay( int status )
function sce_adpcm_loop (line 1637) | int sce_adpcm_loop( void )
FILE: Code/Gel/Music/ngc/pcm/pcm_ent.c
function start (line 17) | int start ( void )
FILE: Code/Gel/Net/App/netapp.cpp
type Net (line 61) | namespace Net
type SemaParam (line 201) | struct SemaParam
type sockaddr_in (line 252) | struct sockaddr_in
type sockaddr (line 281) | struct sockaddr
type sockaddr (line 301) | struct sockaddr
function Conn (line 991) | Conn *App::GetConnectionByAddress( int ip, unsigned short port )
function Conn (line 1013) | Conn *App::GetConnectionByHandle( int handle )
function Conn (line 1095) | Conn *App::NewConnection( int ip, unsigned short port, int flags )
function QueuedMsgSeq (line 1126) | QueuedMsgSeq* App::AllocateNewSeqMessage( unsigned char msg_id, unsigned...
type sockaddr_in (line 2242) | struct sockaddr_in
type sockaddr (line 2267) | struct sockaddr
type sockaddr (line 2271) | struct sockaddr
function Conn (line 2351) | Conn *App::FirstConnection( Lst::Search< Conn > *sh )
function Conn (line 2365) | Conn *App::NextConnection( Lst::Search< Conn > *sh )
type in_addr (line 2385) | struct in_addr
function Manager (line 2421) | Manager* App::GetManager( void )
function SOCKET (line 2682) | SOCKET App::GetSocket( void )
FILE: Code/Gel/Net/Client/netclnt.cpp
type Net (line 48) | namespace Net
type sockaddr (line 140) | struct sockaddr
type sockaddr (line 343) | struct sockaddr
type sockaddr_in (line 349) | struct sockaddr_in
type sockaddr_in (line 452) | struct sockaddr_in
FILE: Code/Gel/Net/Client/netclnt.h
function namespace (line 32) | namespace Net
FILE: Code/Gel/Net/Dispatch/netdsptch.cpp
type Net (line 42) | namespace Net
function MsgHandler (line 92) | MsgHandler* Dispatcher::AddHandler( unsigned char net_msg_id, MsgHandl...
FILE: Code/Gel/Net/Handler/nethndlr.cpp
type Net (line 50) | namespace Net
function handle_ack (line 82) | int handle_ack( MsgHandlerContext *context )
function handle_latency_test (line 591) | int handle_latency_test( MsgHandlerContext *context )
function handle_latency_response (line 619) | int handle_latency_response( MsgHandlerContext *context )
FILE: Code/Gel/Net/Server/netserv.cpp
type Net (line 47) | namespace Net
type sockaddr (line 318) | struct sockaddr
type sockaddr_in (line 319) | struct sockaddr_in
type sockaddr_in (line 376) | struct sockaddr_in
FILE: Code/Gel/Net/Server/netserv.h
function namespace (line 32) | namespace Net
FILE: Code/Gel/Net/net.cpp
type Net (line 78) | namespace Net
function s_power_off_thread (line 149) | static void s_power_off_thread(void *arg)
function s_power_off_handler (line 169) | static void s_power_off_handler(void *arg)
function s_prepare_power_off (line 180) | static void s_prepare_power_off(void)
function sn_int32 (line 207) | static sn_int32 set_host_name( sn_char* host_name )
type hostent (line 385) | struct hostent
type in_addr (line 387) | struct in_addr
type in_addr (line 444) | struct in_addr
type in_addr (line 446) | struct in_addr
type in_addr (line 447) | struct in_addr
function sn_int32 (line 681) | static sn_int32 custom_construct_script( sn_int32 isp_type, sn_char* u...
function sn_int32 (line 722) | sn_int32 custom_connect_modem( sn_char* phone_no,
function Server (line 1143) | Server* Manager::CreateNewAppServer( int id, char* appName, int max_cl...
function Client (line 1207) | Client *Manager::CreateNewAppClient( int id, char* appName, unsigned ...
function Server (line 1419) | Server *Manager::FirstServer( Lst::Search< App > *sh )
function Client (line 1433) | Client *Manager::FirstClient( Lst::Search< App > *sh )
function App (line 1447) | App *Manager::NextApp( Lst::Search< App > *sh )
function s_so_free (line 1483) | static void s_so_free( u32 name, void* ptr, s32 size )
type in_addr (line 1512) | struct in_addr
type in_addr (line 1513) | struct in_addr
type in_addr (line 1514) | struct in_addr
type in_addr (line 1515) | struct in_addr
type in_addr (line 1516) | struct in_addr
type SemaParam (line 2133) | struct SemaParam
type hostent (line 2643) | struct hostent
type in_addr (line 2644) | struct in_addr
function ConnType (line 2675) | ConnType Manager::GetConnectionType( void )
function DeviceType (line 2685) | DeviceType Manager::GetDeviceType( void )
FILE: Code/Gel/Net/net.h
type SOCKET (line 206) | typedef int SOCKET;
function namespace (line 211) | namespace Net
type in_addr (line 1364) | struct in_addr
FILE: Code/Gel/Net/netconn.cpp
type Net (line 47) | namespace Net
FILE: Code/Gel/ObjPtr.h
function namespace (line 4) | namespace Obj
FILE: Code/Gel/Object/Event.cpp
type Obj (line 20) | namespace Obj
FILE: Code/Gel/Object/ObjPtr.cpp
type Obj (line 5) | namespace Obj
FILE: Code/Gel/Object/RefCounted.cpp
type Obj (line 5) | namespace Obj
FILE: Code/Gel/Object/basecomponent.cpp
type Obj (line 11) | namespace Obj
FILE: Code/Gel/Object/basecomponent.h
function namespace (line 16) | namespace Script
function namespace (line 22) | namespace Obj
FILE: Code/Gel/Object/compositeobject.cpp
type Obj (line 68) | namespace Obj
function CBaseComponent (line 534) | CBaseComponent* CCompositeObject::GetComponent( uint32 id ) const
FILE: Code/Gel/Object/compositeobject.h
function namespace (line 18) | namespace Obj
FILE: Code/Gel/Object/compositeobjectmanager.cpp
type Obj (line 99) | namespace Obj
function CCompositeObject (line 223) | CCompositeObject* CCompositeObjectManager::CreateCompositeObject()
function CCompositeObject (line 249) | CCompositeObject* CCompositeObjectManager::CreateCompositeObjectFromNo...
function CBaseComponent (line 295) | CBaseComponent* CCompositeObjectManager::CreateComponent(uint32 id)
function CBaseComponent (line 430) | CBaseComponent* CCompositeObjectManager::GetFirstComponentByType( uint...
FILE: Code/Gel/Object/compositeobjectmanager.h
function namespace (line 18) | namespace Obj
FILE: Code/Gel/Object/object.cpp
type Script (line 61) | namespace Script
type Obj (line 66) | namespace Obj
function uint32 (line 465) | uint32 CObject::GetOnExceptionScriptChecksum() const
function uint32 (line 873) | uint32 CObject::GetFlags( Script::CScriptStructure *pParams, Script::C...
function DestroyIfUnlocked (line 1107) | void DestroyIfUnlocked( Obj::CObject* obj, void* data )
function SetLockOff (line 1117) | void SetLockOff( CObject* obj, void* data )
function CObject (line 1182) | CObject *ResolveToObject(uint32 id)
FILE: Code/Gel/Object/objman.cpp
type Obj (line 51) | namespace Obj
function sint (line 343) | sint CGeneralManager::CountObjectsOfType( sint type )
function uint32 (line 436) | uint32 CGeneralManager::NewObjectID( void )
function CObject (line 447) | CObject* CGeneralManager::GetObjectByID( uint32 id )
FILE: Code/Gel/Object/objsearch.cpp
type Obj (line 47) | namespace Obj
function CObject (line 76) | CObject* Search::FindFirstObjectOfType( Lst::Head< CObject >& head, ...
function CObject (line 106) | CObject* Search::FindNextObjectOfType( void )
FILE: Code/Gel/Object/objtrack.cpp
type Obj (line 26) | namespace Obj
function CObject (line 412) | CObject *CTracker::GetObject(uint32 id)
function CObject (line 425) | CObject *CTracker::GetObjectByAlias(uint32 aliasId)
function uint32 (line 457) | uint32 CTracker::GetFreshId()
function ScriptLaunchEvent (line 1040) | bool ScriptLaunchEvent(Script::CStruct *pParams, Script::CScript *pScr...
function ScriptWaitForEvent (line 1123) | bool ScriptWaitForEvent(Script::CStruct *pParams, Script::CScript *pSc...
function ScriptObjectExists (line 1138) | bool ScriptObjectExists(Script::CStruct *pParams, Script::CScript *pSc...
function ScriptTerminateObjectsScripts (line 1153) | bool ScriptTerminateObjectsScripts(Script::CStruct *pParams, Script::C...
function ScriptAssignAlias (line 1196) | bool ScriptAssignAlias(Script::CStruct *pParams, Script::CScript *pScr...
function ScriptSetObjectProperties (line 1216) | bool ScriptSetObjectProperties(Script::CStruct *pParams, Script::CScri...
function ScriptPrintEventLog (line 1233) | bool ScriptPrintEventLog(Script::CStruct *pParams, Script::CScript *pS...
FILE: Code/Gel/Prefs/Prefs.cpp
type Prefs (line 40) | namespace Prefs
function uint32 (line 100) | uint32 Preferences::WriteToBuffer(uint8 *pBuffer, uint32 BufferSize)
function uint32 (line 203) | uint32 Preferences::GetPreferenceChecksum( uint32 field_id, uint32 sub...
FILE: Code/Gel/Prefs/Prefs.h
function namespace (line 39) | namespace Prefs
FILE: Code/Gel/RefCounted.h
function namespace (line 4) | namespace Obj
FILE: Code/Gel/Scripting/array.cpp
type Script (line 13) | namespace Script
function uint32 (line 242) | uint32 *CArray::GetArrayPointer() const
function uint32 (line 483) | uint32 CArray::GetChecksum(uint32 index) const
function CVector (line 498) | CVector *CArray::GetVector(uint32 index) const
function CPair (line 513) | CPair *CArray::GetPair(uint32 index) const
function CStruct (line 528) | CStruct *CArray::GetStructure(uint32 index) const
function CArray (line 543) | CArray *CArray::GetArray(uint32 index) const
FILE: Code/Gel/Scripting/array.h
function namespace (line 16) | namespace Script
FILE: Code/Gel/Scripting/checksum.cpp
type Script (line 30) | namespace Script
type SChecksumName (line 41) | struct SChecksumName
function AllocateChecksumNameLookupTables (line 55) | void AllocateChecksumNameLookupTables()
function DeallocateChecksumNameLookupTables (line 112) | void DeallocateChecksumNameLookupTables()
function GetChecksumNamesBuffer (line 136) | void GetChecksumNamesBuffer(char **pp_start, char **pp_end)
function AddChecksumName (line 152) | void AddChecksumName(uint32 checksum, const char *p_name)
FILE: Code/Gel/Scripting/checksum.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/component.cpp
type Script (line 22) | namespace Script
function uint32 (line 26) | uint32 GetNumUsedComponents()
FILE: Code/Gel/Scripting/component.h
function namespace (line 16) | namespace Script
FILE: Code/Gel/Scripting/debugger.cpp
type Dbg (line 25) | namespace Dbg
function s_change_render_mode (line 88) | static Nx::ERenderMode s_change_render_mode(Obj::CCompositeObject *p_o...
function SWatchedScript (line 456) | SWatchedScript *CScriptDebugger::find_watched_script(uint32 checksum)
function SWatchedScript (line 1253) | SWatchedScript *CScriptDebugger::GetScriptWatchInfo(uint32 checksum)
FILE: Code/Gel/Scripting/debugger.h
function namespace (line 30) | namespace Obj
function namespace (line 37) | namespace Dbg
function namespace (line 125) | namespace Net
function namespace (line 130) | namespace Dbg
FILE: Code/Gel/Scripting/eval.cpp
type Script (line 9) | namespace Script
function sSameOrLowerPrecedence (line 90) | static bool sSameOrLowerPrecedence(EScriptToken a, EScriptToken b)
function GetBool (line 170) | static int GetBool(CComponent *p_comp)
FILE: Code/Gel/Scripting/eval.h
function namespace (line 16) | namespace Script
FILE: Code/Gel/Scripting/file.cpp
type Script (line 19) | namespace Script
function restart_dirty_scripts (line 26) | void restart_dirty_scripts()
function LoadQB (line 57) | void LoadQB(const char *p_fileName, EBoolAssertIfDuplicateSymbols asse...
function LoadQBFromMemory (line 79) | void LoadQBFromMemory(const char* p_fileName, uint8* p_qb, EBoolAssert...
function UnloadQB (line 106) | void UnloadQB(uint32 fileNameChecksum)
FILE: Code/Gel/Scripting/file.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/init.cpp
type Script (line 23) | namespace Script
function AllocatePools (line 27) | void AllocatePools()
function DeallocatePools (line 113) | void DeallocatePools()
function RegisterCFunctions (line 132) | void RegisterCFunctions(SCFunction *p_cFunctions, uint32 numFunctions)
function RegisterMemberFunctions (line 163) | void RegisterMemberFunctions(const char **pp_memberFunctions, uint32 n...
FILE: Code/Gel/Scripting/init.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/parse.cpp
type Script (line 33) | namespace Script
class CScript (line 36) | class CScript
function CheckForPossibleInfiniteLoops (line 63) | void CheckForPossibleInfiniteLoops(uint32 scriptName, uint8 *p_token, ...
function uint8 (line 176) | static uint8 *sCalculateRandomRange(uint8 *p_token, CComponent *p_comp...
function uint8 (line 262) | static uint8 *sSkipType(uint8 *p_token)
function sIsEndOfLine (line 326) | static bool sIsEndOfLine(const uint8 *p_token)
function uint8 (line 335) | static uint8 *sInitArrayFromQB(CArray *p_dest, uint8 *p_token, CStruct...
function uint8 (line 893) | static uint8 *sAddComponentFromQB(CStruct *p_dest, uint32 nameChecksum...
function uint8 (line 1130) | static uint8 *sAddComponentsWithinCurlyBraces(CStruct *p_dest, uint8 *...
function CSymbolTableEntry (line 1245) | static CSymbolTableEntry *sCreateScriptSymbol(uint32 nameChecksum, uin...
function uint8 (line 1346) | static uint8 *sCreateSymbolOfTheFormNameEqualsValue(uint8 *p_token, co...
function PreProcessScript (line 1443) | void PreProcessScript(uint8 *p_token)
function CStoredRandom (line 1493) | static CStoredRandom *sFindStoredRandom(const uint8 *p_token, EScriptT...
function CStoredRandom (line 1515) | static CStoredRandom *sCreateNewStoredRandom()
function S4Bytes (line 1549) | S4Bytes Read4Bytes(const uint8 *p_long)
function S2Bytes (line 1570) | S2Bytes Read2Bytes(const uint8 *p_short)
function uint8 (line 1579) | uint8 *Write4Bytes(uint8 *p_buffer, uint32 val)
function uint8 (line 1588) | uint8 *Write4Bytes(uint8 *p_buffer, float floatVal)
function uint8 (line 1598) | uint8 *Write2Bytes(uint8 *p_buffer, uint16 val)
function uint8 (line 1606) | uint8 *SkipEndOfLines(uint8 *p_token)
function ReleaseStoredRandoms (line 1643) | void ReleaseStoredRandoms(CScript *p_script)
function uint8 (line 1695) | uint8 *DoAnyRandomsOrJumps(uint8 *p_token)
function uint8 (line 1854) | uint8 *SkipOverScript(uint8 *p_token)
function uint32 (line 1880) | uint32 CalculateScriptContentsChecksum(uint8 *p_token)
function GetLineNumber (line 1910) | int GetLineNumber(uint8 *p_token)
function PointsIntoScript (line 2030) | bool PointsIntoScript(uint8 *p_token, uint8 *p_script)
function CalcSpaceUsedByLineNumberInfo (line 2101) | void CalcSpaceUsedByLineNumberInfo()
function uint8 (line 2132) | uint8 *FillInComponentUsingQB(uint8 *p_token, CStruct *p_args, CCompon...
function EnableExpressionEvaluatorErrorChecking (line 2323) | void EnableExpressionEvaluatorErrorChecking()
function DisableExpressionEvaluatorErrorChecking (line 2328) | void DisableExpressionEvaluatorErrorChecking()
function uint8 (line 2334) | uint8 *Evaluate(uint8 *p_token, CStruct *p_args, CComponent *p_result)
function uint8 (line 2729) | uint8 *AddComponentsUntilEndOfLine(CStruct *p_dest, uint8 *p_token, CS...
function CleanUpAndRemoveSymbol (line 2864) | void CleanUpAndRemoveSymbol(CSymbolTableEntry *p_sym)
function CleanUpAndRemoveSymbol (line 2920) | void CleanUpAndRemoveSymbol(uint32 checksum)
function CleanUpAndRemoveSymbol (line 2929) | void CleanUpAndRemoveSymbol(const char *p_symbolName)
type SChecksum (line 2935) | struct SChecksum
function RemoveChecksumNameLookupHashTable (line 2961) | void RemoveChecksumNameLookupHashTable()
function uint8 (line 2991) | uint8 *SkipToStartOfNextLine(uint8 *p_token)
function ParseQB (line 3033) | void ParseQB(const char *p_fileName, uint8 *p_qb, EBoolAssertIfDuplica...
function ScriptContainsName (line 3326) | bool ScriptContainsName(uint8 *p_script, uint32 searchName)
function ScriptContainsAnyOfTheNames (line 3384) | bool ScriptContainsAnyOfTheNames(uint32 scriptName, uint32 *p_names, i...
FILE: Code/Gel/Scripting/parse.h
function namespace (line 26) | namespace Script
FILE: Code/Gel/Scripting/script.cpp
type Obj (line 41) | namespace Obj
type Script (line 49) | namespace Script
function CScript (line 57) | CScript *GetCurrentScript()
function s_send_script_name (line 79) | static void s_send_script_name(uint32 script_name, int numReturnAddres...
function uint32 (line 158) | uint32 GetNumCScripts()
function CScript (line 167) | CScript *GetNextScript(CScript *p_script)
function uint32 (line 322) | uint32 *CScript::write_callstack_entry( uint32 *p_buf, int bufferSize,
function CStruct (line 782) | CStruct *CScript::MakeParamsSafeFromDeletionByClearScript(CStruct *p_p...
function EScriptReturnVal (line 1215) | EScriptReturnVal CScript::Interrupt(uint32 newScriptChecksum, CStruct ...
function sExcludeFromSkaterDebug (line 1233) | static bool sExcludeFromSkaterDebug(uint32 name)
function uint32 (line 1533) | uint32 CScript::get_name()
function EScriptReturnVal (line 2460) | EScriptReturnVal CScript::Update()
function uint32 (line 2930) | uint32 CScript::GetBaseScript()
function SendScript (line 2944) | void SendScript( uint32 scriptChecksum, CStruct *p_params, Obj::CObjec...
function RunScript (line 2995) | void RunScript(uint32 scriptChecksum, CStruct *p_params, Obj::CObject ...
function RunScript (line 3079) | void RunScript(const char *p_scriptName, CStruct *p_params, Obj::CObje...
function DeleteSpawnedScripts (line 3097) | void DeleteSpawnedScripts()
function PauseSpawnedScripts (line 3122) | void PauseSpawnedScripts(bool status)
function UnpauseSpawnedScript (line 3135) | void UnpauseSpawnedScript(CScript* p_script)
function uint32 (line 3144) | uint32 NumSpawnedScriptsRunning()
function UpdateSpawnedScripts (line 3162) | void UpdateSpawnedScripts()
function SendSpawnScript (line 3233) | void SendSpawnScript( uint32 scriptChecksum, Obj::CObject *p_object, i...
function CScript (line 3269) | CScript *GetScriptWithUniqueId(uint32 id)
function CScript (line 3288) | CScript* SpawnScript(uint32 scriptChecksum, CStruct *p_scriptParams, u...
function ScriptExists (line 3358) | bool ScriptExists(uint32 scriptNameChecksum)
function CScript (line 3368) | CScript* SpawnScript(const char *p_scriptName, CStruct *p_scriptParams...
function KillSpawnedScript (line 3376) | void KillSpawnedScript(CScript *p_script)
function KillSpawnedScriptsThatReferTo (line 3387) | void KillSpawnedScriptsThatReferTo(uint32 checksum)
function KillSpawnedScriptsWithId (line 3404) | void KillSpawnedScriptsWithId(uint32 id)
function KillSpawnedScriptsWithObject (line 3427) | void KillSpawnedScriptsWithObject(Obj::CObject *p_object)
function KillSpawnedScriptsWithObjectAndId (line 3445) | void KillSpawnedScriptsWithObjectAndId(Obj::CObject *p_object, uint32 ...
function KillSpawnedScriptsWithObjectAndName (line 3466) | void KillSpawnedScriptsWithObjectAndName(Obj::CObject *p_object, uint3...
function uint32 (line 3487) | uint32 FindSpawnedScriptID(CScript *p_script)
function CScript (line 3502) | CScript* FindSpawnedScriptWithID(uint32 id)
function uint32 (line 3521) | uint32 GenerateCRC(const char *p_string)
function StopAllScripts (line 3529) | void StopAllScripts()
function StopAllScriptsUsingThisObject (line 3545) | void StopAllScriptsUsingThisObject(Obj::CObject *p_object)
function StopScriptsUsingThisObject (line 3551) | void StopScriptsUsingThisObject(Obj::CObject *p_object, uint32 scriptCrc)
function StopScriptsUsingThisObject_Proper (line 3568) | void StopScriptsUsingThisObject_Proper(Obj::CObject *p_object, uint32 ...
function KillStoppedScripts (line 3585) | void KillStoppedScripts()
function DumpScripts (line 3619) | void DumpScripts()
function uint32 (line 3814) | uint32 CScript::GetOnExceptionScriptChecksum() const
function uint32 (line 3824) | uint32 CScript::GetOnExitScriptChecksum() const
FILE: Code/Gel/Scripting/script.h
function namespace (line 29) | namespace Obj
type SStructScript (line 46) | struct SStructScript
type EScriptReturnVal (line 59) | enum EScriptReturnVal
type EWaitType (line 70) | enum EWaitType
type ESingleStepMode (line 85) | enum ESingleStepMode
type SLoop (line 99) | struct SLoop
type SReturnAddress (line 114) | struct SReturnAddress
function uint32 (line 259) | uint32 *write_callstack_entry(uint32 *p_buf, int bufferSize, uint32 scri...
function check_if_needs_to_be_watched_in_debugger (line 260) | void check_if_needs_to_be_watched_in_debugger() {}
function advance_pc_to_next_line_and_halt (line 261) | void advance_pc_to_next_line_and_halt() {}
function SetCommentString (line 287) | void SetCommentString(const char *p_comment) {}
function SetOriginatingScriptInfo (line 288) | void SetOriginatingScriptInfo(int lineNumber, uint32 scriptName) {}
function TransmitBasicInfoToDebugger (line 290) | void TransmitBasicInfoToDebugger() {}
function WatchInDebugger (line 291) | void WatchInDebugger(bool stopScriptImmediately) {}
function BeingWatchedInDebugger (line 292) | bool BeingWatchedInDebugger() {return false;}
function StopWatchingInDebugger (line 293) | void StopWatchingInDebugger() {}
function DebugStop (line 294) | void DebugStop() {}
function DebugStepInto (line 295) | void DebugStepInto() {}
function DebugStepOver (line 296) | void DebugStepOver() {}
function DebugGo (line 297) | void DebugGo() {}
function BeingWatchedInDebugger (line 306) | bool BeingWatchedInDebugger() {return m_being_watched_in_debugger;}
function GetNumReturnAddresses (line 313) | int GetNumReturnAddresses() {return m_num_return_addresses;}
function uint32 (line 326) | uint32 GetOnExceptionScriptChecksum() const;
function EWaitType (line 347) | EWaitType GetWaitType() {return m_wait_type;}
function uint32 (line 394) | uint32 GetUniqueId() {return m_unique_id;}
FILE: Code/Gel/Scripting/scriptcache.cpp
type Script (line 29) | namespace Script
function uint8 (line 51) | uint8 *CScriptCache::GetScript(uint32 scriptName)
function uint8 (line 294) | uint8 *CScriptCache::GetScript(uint32 scriptName)
FILE: Code/Gel/Scripting/scriptcache.h
function namespace (line 47) | namespace Script
FILE: Code/Gel/Scripting/scriptdefs.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/skiptoken.cpp
function uint8 (line 17) | uint8 *SkipToken(uint8 *p_token)
FILE: Code/Gel/Scripting/string.cpp
type Script (line 30) | namespace Script
type SSpecialStringChecksum (line 46) | struct SSpecialStringChecksum
function AllocatePermanentStringHeap (line 57) | void AllocatePermanentStringHeap(uint32 maxSize, uint32 maxStrings)
function DeallocatePermanentStringHeap (line 75) | void DeallocatePermanentStringHeap()
function UsePermanentStringHeap (line 143) | void UsePermanentStringHeap()
function UseRegularStringHeap (line 148) | void UseRegularStringHeap()
function DeleteString (line 189) | void DeleteString(char *p_string)
function SetScriptString (line 232) | void SetScriptString(uint32 n, const char *p_string)
FILE: Code/Gel/Scripting/string.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/struct.cpp
type Script (line 30) | namespace Script
function DumpLastStructs (line 40) | void DumpLastStructs()
function CleanUpComponent (line 56) | void CleanUpComponent(CComponent *p_comp)
function CopyComponent (line 112) | void CopyComponent(CComponent *p_dest, const CComponent *p_source)
function CleanUpArray (line 205) | void CleanUpArray(CArray *p_array)
function CopyArray (line 314) | void CopyArray(CArray *p_dest, const CArray *p_source)
function CStruct (line 531) | CStruct& CStruct::operator=( const CStruct& rhs )
function CStruct (line 547) | CStruct& CStruct::operator+=( const CStruct& rhs )
function CComponent (line 791) | CComponent *CStruct::FindNamedComponentRecurse(uint32 nameChecksum) const
function CComponent (line 824) | CComponent *CStruct::GetNextComponent(CComponent *p_comp) const
function CScript (line 1000) | CScript *CStruct::GetParentScript() const
type SWhatever (line 1320) | struct SWhatever
function DumpStructs (line 2059) | void DumpStructs()
FILE: Code/Gel/Scripting/struct.h
function namespace (line 20) | namespace Mth
type SWhatever (line 33) | struct SWhatever
type SStructScript (line 38) | struct SStructScript
function class (line 54) | class CStruct : public Mem::CPoolable<CStruct>
FILE: Code/Gel/Scripting/symboltable.cpp
type Script (line 17) | namespace Script
function CreateSymbolHashTable (line 52) | void CreateSymbolHashTable()
function DestroySymbolHashTable (line 58) | void DestroySymbolHashTable()
function CSymbolTableEntry (line 79) | CSymbolTableEntry *LookUpSymbol(uint32 checksum)
function CSymbolTableEntry (line 203) | CSymbolTableEntry *LookUpSymbol(const char *p_name)
function CSymbolTableEntry (line 211) | CSymbolTableEntry *Resolve(uint32 checksum)
function CSymbolTableEntry (line 252) | CSymbolTableEntry *Resolve(const char *p_name)
function RemoveSymbol (line 263) | void RemoveSymbol(CSymbolTableEntry *p_sym)
function CSymbolTableEntry (line 335) | CSymbolTableEntry *CreateNewSymbolEntry(uint32 checksum)
function CSymbolTableEntry (line 405) | CSymbolTableEntry *GetNextSymbolTableEntry(CSymbolTableEntry *p_sym)
function GetFloat (line 483) | float GetFloat(uint32 checksum, EAssertType assert)
function GetFloat (line 509) | float GetFloat(const char *p_name, EAssertType assert)
function GetInteger (line 514) | int GetInteger(uint32 checksum, EAssertType assert)
function GetInteger (line 540) | int GetInteger(const char *p_name, EAssertType assert)
function uint32 (line 545) | uint32 GetChecksum(uint32 checksum, EAssertType assert)
function uint32 (line 558) | uint32 GetChecksum(const char *p_name, EAssertType assert)
function CVector (line 601) | CVector *GetVector(uint32 checksum, EAssertType assert)
function CVector (line 615) | CVector *GetVector(const char *p_name, EAssertType assert)
function CPair (line 620) | CPair *GetPair(uint32 checksum, EAssertType assert)
function CPair (line 634) | CPair *GetPair(const char *p_name, EAssertType assert)
function CStruct (line 639) | CStruct *GetStructure(uint32 checksum, EAssertType assert)
function CStruct (line 666) | CStruct *GetStructure(const char *p_name, EAssertType assert)
function CArray (line 671) | CArray *GetArray(uint32 checksum, EAssertType assert)
function CArray (line 698) | CArray *GetArray(const char *p_name, EAssertType assert)
function GetInt (line 740) | int GetInt(uint32 checksum, bool assert)
function GetInt (line 745) | int GetInt(const char *p_name, bool assert)
FILE: Code/Gel/Scripting/symboltable.h
function namespace (line 20) | namespace Script
FILE: Code/Gel/Scripting/symboltype.cpp
type Script (line 12) | namespace Script
FILE: Code/Gel/Scripting/symboltype.h
function namespace (line 4) | namespace Script
FILE: Code/Gel/Scripting/tokens.cpp
type Script (line 14) | namespace Script
FILE: Code/Gel/Scripting/tokens.h
function namespace (line 13) | namespace Script
FILE: Code/Gel/Scripting/utils.cpp
type Script (line 31) | namespace Script
function sDoIndent (line 48) | static void sDoIndent(int indent)
function PrintContents (line 57) | void PrintContents(const CArray *p_array, int indent)
function PrintContents (line 202) | void PrintContents(const CStruct *p_structure, int indent)
function uint8 (line 294) | static uint8 *sWriteCompressedName(uint8 *p_buffer, uint8 symbolType, ...
function uint32 (line 339) | static uint32 sIntegerWriteToBuffer(uint32 name, int val, uint8 *p_buf...
function uint32 (line 421) | static uint32 sFloatWriteToBuffer(uint32 name, float val, uint8 *p_buf...
function uint32 (line 456) | static uint32 sChecksumWriteToBuffer(uint32 name, uint32 checksum, uin...
function uint32 (line 472) | static uint32 sStringWriteToBuffer(uint32 name, const char *p_string, ...
function uint32 (line 496) | static uint32 sLocalStringWriteToBuffer(uint32 name, const char *p_str...
function uint32 (line 520) | static uint32 sPairWriteToBuffer(uint32 name, CPair *p_pair, uint8 *p_...
function uint32 (line 539) | static uint32 sVectorWriteToBuffer(uint32 name, CVector *p_vector, uin...
function uint32 (line 559) | static uint32 sStructureWriteToBuffer(uint32 name, CStruct *p_structur...
function uint32 (line 587) | static uint32 sArrayWriteToBuffer(uint32 name, CArray *p_array, uint8 ...
function uint32 (line 625) | uint32 WriteToBuffer(CStruct *p_structure, uint8 *p_buffer, uint32 buf...
function uint32 (line 722) | uint32 CalculateBufferSize(CStruct *p_structure, uint32 tempBufferSize)
function uint8 (line 743) | uint8 *ReadFromBuffer(CStruct *p_structure, uint8 *p_buffer)
function uint32 (line 903) | uint32 WriteToBuffer(CArray *p_array, uint8 *p_buffer, uint32 bufferSi...
function uint32 (line 1122) | uint32 CalculateBufferSize(CArray *p_array)
function uint8 (line 1217) | uint8 *ReadFromBuffer(CArray *p_array, uint8 *p_buffer)
function Resolve (line 1360) | static void Resolve(const CComponent& comp, ESymbolType &type, UValue ...
function CopyArrayElementIntoComponent (line 1665) | void CopyArrayElementIntoComponent(CArray *p_array, uint32 index, CCom...
function ResolveNameComponent (line 1720) | void ResolveNameComponent(CComponent *p_comp)
FILE: Code/Gel/Scripting/utils.h
function namespace (line 8) | namespace Script
FILE: Code/Gel/Scripting/vecpair.cpp
type Script (line 14) | namespace Script
FILE: Code/Gel/Scripting/vecpair.h
function class (line 20) | class CVector : public Mem::CPoolable<CVector>
FILE: Code/Gel/Scripting/win32functions.cpp
type Tmr (line 7) | namespace Tmr
function uint64 (line 9) | uint64 GetRenderFrame( void )
function uint64 (line 14) | uint64 GetTimeInCPUCycles( void )
type Obj (line 20) | namespace Obj
class CObject (line 25) | class CObject
function CObject (line 27) | CObject *ResolveToObject(uint32 id, bool ignoreScreenElements)
type Pip (line 33) | namespace Pip
function Unload (line 40) | void Unload(const char *p_fileName)
type Mem (line 45) | namespace Mem
function Heap (line 89) | Heap* Manager::GetHeap( uint32 whichHeap )
function SetThreadSafe (line 99) | void SetThreadSafe(bool safe)
function Free (line 108) | void Free( void *p_mem )
function PopMemProfile (line 113) | void PopMemProfile()
function PushMemProfile (line 117) | void PushMemProfile(char *p_type)
FILE: Code/Gel/SoundFX/NGPS/p_sfx.cpp
type Pcm (line 29) | namespace Pcm
type Sfx (line 34) | namespace Sfx
function GetMemAvailable (line 147) | int GetMemAvailable( void )
function PS2Sfx_LoadVAG (line 162) | bool PS2Sfx_LoadVAG( PlatformWaveInfo *pInfo, const char *filename, bo...
function GetPitchValue (line 377) | float GetPitchValue( VagHeader *VagHdr )
function PrintVAGDetails (line 408) | void PrintVAGDetails(char *buffer)
function convertEnd (line 488) | int convertEnd(int inp)
function SetVolumePlease (line 496) | void SetVolumePlease( float volumeLevel )
function ReverbOff (line 525) | void ReverbOff( void )
function DoReverbFade (line 562) | void DoReverbFade( void )
function InitReverbAddr (line 603) | void InitReverbAddr( void )
function SetReverbPlease (line 630) | void SetReverbPlease( float reverbLevel, int reverbType, bool instant )
function PS2Sfx_StopSound (line 699) | void PS2Sfx_StopSound(int voiceNumber)
function LoadSoundPlease (line 730) | bool LoadSoundPlease( const char *sfxName, uint32 checksum, PlatformWa...
function GetCore (line 737) | int GetCore( int voiceNumber )
function SetVoiceParameters (line 752) | void SetVoiceParameters( int voiceNumber, sVolume *p_vol, float fPitch )
function PlaySoundPlease (line 806) | int PlaySoundPlease( PlatformWaveInfo *pInfo, sVolume *p_vol, float pi...
function StopSoundPlease (line 860) | void StopSoundPlease( int whichVoice )
function PauseSoundsPlease (line 870) | void PauseSoundsPlease( void )
function StopAllSoundFX (line 893) | void StopAllSoundFX( void )
function PS2Sfx_PlaySound (line 923) | int PS2Sfx_PlaySound( PlatformWaveInfo *pInfo, int voiceNumber, float ...
function CleanUpSoundFX (line 967) | void CleanUpSoundFX( void )
function InitSoundFX (line 985) | void InitSoundFX( CSfxManager *p_sfx_manager )
function PS2Sfx_InitCold (line 1028) | void PS2Sfx_InitCold( void )
function PS2Sfx_GetVoiceStatus (line 1050) | int PS2Sfx_GetVoiceStatus( int core )
function VoiceIsOn (line 1077) | bool VoiceIsOn( int whichVoice )
function PerFrameUpdate (line 1102) | void PerFrameUpdate( void )
function uint32 (line 1221) | uint32 CSpuManager::sGetVoiceStatus(int core)
function uint32 (line 1347) | uint32 CSpuManager::s_get_switch_value(uint16 entry, uint32 value)
FILE: Code/Gel/SoundFX/NGPS/p_sfx.h
function namespace (line 13) | namespace Sfx
FILE: Code/Gel/SoundFX/Xbox/p_sfx.cpp
type Sfx (line 43) | namespace Sfx
type VoiceEntry (line 67) | struct VoiceEntry
type RIFFHEADER (line 85) | struct RIFFHEADER
type SAMPLERCHUNK (line 92) | struct SAMPLERCHUNK
class CRiffChunk (line 112) | class CRiffChunk
method IsValid (line 128) | bool IsValid( void ) { return !!( m_dwFlags & RIFFCHUNK_FLAGS_VA...
method FOURCC (line 134) | FOURCC GetChunkId() { return m_fccChunkId; }
method DWORD (line 135) | DWORD GetDataSize() { return m_dwDataSize; }
class CWaveFile (line 147) | class CWaveFile
method GetDuration (line 173) | void GetDuration( DWORD* pdwDuration ) { *pdwDuration = m_DataChu...
class CXBSound (line 188) | class CXBSound
function VOID (line 288) | VOID CRiffChunk::Initialize( FOURCC fccChunkId, const CRiffChunk* pPar...
function VOID (line 703) | VOID CXBSound::Destroy()
function DWORD (line 717) | DWORD CXBSound::GetSampleRate( void ) const
function getFreeVoice (line 728) | static int getFreeVoice( void )
function InitSoundFX (line 750) | void InitSoundFX( CSfxManager *p_sfx_manager )
function CleanUpSoundFX (line 819) | void CleanUpSoundFX( void )
function StopAllSoundFX (line 840) | void StopAllSoundFX( void )
function GetMemAvailable (line 857) | int GetMemAvailable( void )
function LoadSoundPlease (line 868) | bool LoadSoundPlease( const char *sfxName, uint32 checksum, PlatformWa...
function PlaySoundPlease (line 912) | int PlaySoundPlease( PlatformWaveInfo *pInfo, sVolume *p_vol, float pi...
function StopSoundPlease (line 990) | void StopSoundPlease( int voice )
function SetVolumePlease (line 1005) | void SetVolumePlease( float volumeLevel )
function PauseSoundsPlease (line 1016) | void PauseSoundsPlease( void )
function SetReverbPlease (line 1038) | void SetReverbPlease( float reverbLevel, int reverbMode, bool instant )
function VoiceIsOn (line 1057) | bool VoiceIsOn( int voice )
function SetVoiceParameters (line 1069) | void SetVoiceParameters( int voice, sVolume *p_vol, float pitch )
function PerFrameUpdate (line 1325) | void PerFrameUpdate( void )
FILE: Code/Gel/SoundFX/Xbox/p_sfx.h
function namespace (line 34) | namespace Sfx
FILE: Code/Gel/SoundFX/Xbox/skate5fx.h
type DSP_IMAGE_skate5fx_FX_INDICES (line 4) | typedef enum _DSP_IMAGE_skate5fx_FX_INDICES {
type UserStereoEcho_FX0_StereoEcho_STATE (line 15) | typedef struct _UserStereoEcho_FX0_StereoEcho_STATE {
type UserStereoEcho_FX0_StereoEcho_STATE (line 25) | typedef const UserStereoEcho_FX0_StereoEcho_STATE *LPCUserStereoEcho_FX0...
type UserI3DL224KReverb_FX0_I3DL224KReverb_STATE (line 27) | typedef struct _UserI3DL224KReverb_FX0_I3DL224KReverb_STATE {
type UserI3DL224KReverb_FX0_I3DL224KReverb_STATE (line 37) | typedef const UserI3DL224KReverb_FX0_I3DL224KReverb_STATE *LPCUserI3DL22...
type GraphI3DL2_FX0_I3DL2Reverb_STATE (line 39) | typedef struct _GraphI3DL2_FX0_I3DL2Reverb_STATE {
type GraphI3DL2_FX0_I3DL2Reverb_STATE (line 49) | typedef const GraphI3DL2_FX0_I3DL2Reverb_STATE *LPCGraphI3DL2_FX0_I3DL2R...
type GraphXTalk_FX0_XTalk_STATE (line 51) | typedef struct _GraphXTalk_FX0_XTalk_STATE {
type GraphXTalk_FX0_XTalk_STATE (line 61) | typedef const GraphXTalk_FX0_XTalk_STATE *LPCGraphXTalk_FX0_XTalk_STATE;
FILE: Code/Gel/SoundFX/ngc/p_sfx.cpp
type Sfx (line 45) | namespace Sfx
type sDSPADPCM (line 69) | struct sDSPADPCM
type VoiceEntry (line 99) | struct VoiceEntry
type sDSPADPCM (line 102) | struct sDSPADPCM
function AXUserCBack (line 147) | void AXUserCBack( void )
function ax_voice_reacquisition_callback (line 170) | static void ax_voice_reacquisition_callback( void* p )
function getFreeVoice (line 193) | static int getFreeVoice( void )
function loadGamecubeDSP (line 211) | static bool loadGamecubeDSP( PlatformWaveInfo *pInfo, const char *file...
function GetStreamBufferInfo (line 347) | void GetStreamBufferInfo( int* stream0_base, int* stream1_base, int* s...
function PerFrameUpdate (line 364) | void PerFrameUpdate( void )
function InitSoundFX (line 374) | void InitSoundFX( CSfxManager *p_manager )
function ReInitSoundFX (line 417) | void ReInitSoundFX( void )
function VoiceIsOn (line 455) | bool VoiceIsOn( int whichVoice )
function SetVoiceParameters (line 475) | void SetVoiceParameters( int whichVoice, sVolume *p_vol, float pitch )
function LoadSoundPlease (line 511) | bool LoadSoundPlease( const char *sfxName, uint32 checksum, PlatformWa...
function PlaySoundPlease (line 540) | int PlaySoundPlease( PlatformWaveInfo *pInfo, sVolume *p_vol, float pi...
function StopSoundPlease (line 657) | void StopSoundPlease( int whichVoice )
function StopAllSoundFX (line 671) | void StopAllSoundFX( void )
function SetVolumePlease (line 688) | void SetVolumePlease( float volumeLevel )
function PauseSoundsPlease (line 702) | void PauseSoundsPlease( void )
function CleanUpSoundFX (line 725) | void CleanUpSoundFX( void )
function GetMemAvailable (line 838) | int GetMemAvailable( void )
function SetReverbPlease (line 863) | void SetReverbPlease( float reverbLevel, int reverbMode, bool instant ...
FILE: Code/Gel/SoundFX/ngc/p_sfx.h
function namespace (line 14) | namespace Sfx
FILE: Code/Gel/SoundFX/soundfx.cpp
type Sfx (line 73) | namespace Sfx
function NoSoundPlease (line 80) | bool NoSoundPlease( void )
function EDropoffFunc (line 100) | EDropoffFunc GetDropoffFunctionFromChecksum(uint32 checksum)
type PositionalSoundEntry (line 136) | struct PositionalSoundEntry
type PositionalSoundEntry (line 142) | struct PositionalSoundEntry
type PositionalSoundEntry (line 143) | struct PositionalSoundEntry
function uint32 (line 429) | uint32 CSfxManager::GenerateUniqueID(uint32 id)
function WaveTableEntry (line 495) | WaveTableEntry * CSfxManager::GetWaveTableIndex( uint32 checksum )
function uint32 (line 989) | uint32 CSfxManager::PlaySound( uint32 checksum, sVolume *p_vol, float ...
function ObjectSoundInfo (line 1718) | ObjectSoundInfo *CSfxManager::GetObjectSoundProperties( Obj::CSoundCom...
function uint32 (line 1745) | uint32 CSfxManager::PlaySoundWithPos( uint32 soundChecksum, SoundUpdat...
FILE: Code/Gel/SoundFX/soundfx.h
function namespace (line 81) | namespace Script
function namespace (line 86) | namespace Gfx
function namespace (line 91) | namespace Obj
type EDropoffFunc (line 107) | enum EDropoffFunc
type ObjectSoundInfo (line 116) | struct ObjectSoundInfo
type PlatformWaveInfo (line 141) | struct PlatformWaveInfo
function namespace (line 147) | namespace Sfx
type PositionalSoundEntry (line 211) | struct PositionalSoundEntry
type SoundUpdateInfo (line 213) | struct SoundUpdateInfo
function class (line 223) | class CSfxManager : public Spt::Class
FILE: Code/Gel/inpman.h
function namespace (line 65) | namespace Inp
function class (line 309) | class Server
function class (line 340) | class Manager : public Spt::Class
function Tsk (line 404) | inline Tsk::BaseTask& Manager::GetProcessHandlersTask ( void ) const
function AddHandler (line 418) | inline void Manager::AddHandler ( BaseHandler &handler )
function ReassignHandler (line 434) | inline void Manager::ReassignHandler( BaseHandler &handler, int new_index )
function AddPushHandler (line 449) | inline void Manager::AddPushHandler ( BaseHandler &handler )
FILE: Code/Gel/mainloop.h
function namespace (line 33) | namespace Mlp
FILE: Code/Gel/modman.h
function namespace (line 36) | namespace Mdl
FILE: Code/Gel/module.h
function namespace (line 33) | namespace Mdl
FILE: Code/Gel/object.h
function namespace (line 47) | namespace Script
type SBBox (line 53) | struct SBBox{
function namespace (line 66) | namespace Front
function namespace (line 71) | namespace Script
type EReplaceEventHandlers (line 76) | enum EReplaceEventHandlers
function namespace (line 83) | namespace Obj
FILE: Code/Gel/objman.h
function namespace (line 36) | namespace Lst
function namespace (line 43) | namespace Obj
FILE: Code/Gel/objsearch.h
function namespace (line 35) | namespace Obj
FILE: Code/Gel/objserv.h
function namespace (line 37) | namespace ObjServ
FILE: Code/Gel/objtrack.h
function namespace (line 6) | namespace Script
function namespace (line 13) | namespace Front
function namespace (line 19) | namespace Lst
function namespace (line 25) | namespace Obj
FILE: Code/Gfx/2D/BlurEffect.cpp
type Front (line 7) | namespace Front
FILE: Code/Gfx/2D/BlurEffect.h
function namespace (line 7) | namespace Script
function namespace (line 12) | namespace Front
FILE: Code/Gfx/2D/Element3d.cpp
type Front (line 27) | namespace Front
function sGetScaleFromScreenDimensions (line 32) | static float sGetScaleFromScreenDimensions(float screenW, float screen...
function sGetWorldMatrixFromScreenPosition (line 49) | static void sGetWorldMatrixFromScreenPosition(int camera_num, Mth::Mat...
FILE: Code/Gfx/2D/Element3d.h
function namespace (line 9) | namespace Gfx
function namespace (line 14) | namespace Nx
function namespace (line 19) | namespace Script
function namespace (line 25) | namespace Front
FILE: Code/Gfx/2D/Menu2.cpp
type Front (line 11) | namespace Front
FILE: Code/Gfx/2D/Menu2.h
function namespace (line 6) | namespace Front
FILE: Code/Gfx/2D/ScreenElemMan.cpp
type Front (line 30) | namespace Front
function CScreenElementPtr (line 78) | CScreenElementPtr CScreenElementManager::CreateElement(uint32 type, ui...
function CScreenElementPtr (line 260) | CScreenElementPtr CScreenElementManager::GetElement(uint32 id, EAssert...
function CScreenElementPtr (line 280) | CScreenElementPtr CScreenElementManager::GetElement(Script::CStruct *p...
function CScreenElementPtr (line 299) | CScreenElementPtr CScreenElementManager::GetElement(Script::CStruct *p...
function uint32 (line 570) | uint32 CScreenElementManager::ResolveComplexID(Script::CStruct *pStruc...
function uint32 (line 674) | uint32 CScreenElementManager::ResolveComplexID(Script::CStruct *pStruc...
function CScreenElementPtr (line 780) | CScreenElementPtr CScreenElementManager::get_element_by_local_id(const...
function ScriptCreateScreenElement (line 986) | bool ScriptCreateScreenElement(Script::CScriptStructure *pParams, Scri...
function ScriptDestroyScreenElement (line 1009) | bool ScriptDestroyScreenElement(Script::CScriptStructure *pParams, Scr...
function ScriptRunScriptOnScreenElement (line 1037) | bool ScriptRunScriptOnScreenElement(Script::CScriptStructure *pParams,...
function ScriptSetScreenElementProps (line 1087) | bool ScriptSetScreenElementProps(Script::CScriptStructure *pParams, Sc...
function ScriptDoScreenElementMorph (line 1107) | bool ScriptDoScreenElementMorph(Script::CScriptStructure *pParams, Scr...
function ScriptSetScreenElementLock (line 1125) | bool ScriptSetScreenElementLock(Script::CStruct *pParams, Script::CScr...
function ScriptScreenElementSystemInit (line 1142) | bool ScriptScreenElementSystemInit(Script::CScriptStructure *pParams, ...
function SetScoreTHPS4 (line 1161) | void SetScoreTHPS4(char* score_text, int skater_num)
function ScriptGetScreenElementDims (line 1174) | bool ScriptGetScreenElementDims(Script::CScriptStructure *pParams, Scr...
function ScriptTextElementConcatenate (line 1195) | bool ScriptTextElementConcatenate(Script::CScriptStructure *pParams, S...
function ScriptTextElementBackspace (line 1224) | bool ScriptTextElementBackspace(Script::CScriptStructure *pParams, Scr...
function ScriptGetTextElementString (line 1254) | bool ScriptGetTextElementString(Script::CScriptStructure *pParams, Scr...
function ScriptGetTextElementLength (line 1294) | bool ScriptGetTextElementLength(Script::CScriptStructure *pParams, Scr...
function ScriptGetScreenElementPosition (line 1324) | bool ScriptGetScreenElementPosition(Script::CScriptStructure *pParams,...
function ScriptMenuSelectedIndexIs (line 1343) | bool ScriptMenuSelectedIndexIs(Script::CScriptStructure *pParams, Scri...
function ScriptScreenElementExists (line 1373) | bool ScriptScreenElementExists(Script::CScriptStructure *pParams, Scri...
function ScriptGetScreenElementProps (line 1386) | bool ScriptGetScreenElementProps( Script::CScriptStructure *pParams, S...
function ScriptSetRootScreenElement (line 1410) | bool ScriptSetRootScreenElement( Script::CStruct* pParams, Script::CSc...
function SetTimeTHPS4 (line 1422) | void SetTimeTHPS4(int minutes, int seconds)
function HideTimeTHPS4 (line 1439) | void HideTimeTHPS4()
FILE: Code/Gfx/2D/ScreenElemMan.h
function namespace (line 10) | namespace Script
function namespace (line 16) | namespace Front
FILE: Code/Gfx/2D/ScreenElement2.cpp
type Front (line 31) | namespace Front
function CScreenElement (line 463) | CScreenElement* CScreenElement::GetLastChild()
function CScreenElement (line 483) | CScreenElement* CScreenElement::GetChildById(uint32 id, int *pIndex)
function CScreenElement (line 497) | CScreenElement* CScreenElement::GetChildByIndex(int index)
function CScreenElementPtr (line 1001) | CScreenElementPtr CScreenElement::get_child_by_id_or_index(uint32 id, ...
function CScreenElementPtr (line 1030) | CScreenElementPtr CScreenElement::get_parent()
function CWindowElement (line 1036) | CWindowElement * CScreenElement::get_window()
FILE: Code/Gfx/2D/ScreenElement2.h
function namespace (line 13) | namespace Front
FILE: Code/Gfx/2D/ScrollingMenu.cpp
type Front (line 10) | namespace Front
FILE: Code/Gfx/2D/ScrollingMenu.h
function namespace (line 6) | namespace Front
function class (line 56) | class CVScrollingMenu : public CBaseScrollingMenu
function class (line 66) | class CHScrollingMenu : public CBaseScrollingMenu
FILE: Code/Gfx/2D/SpriteElement.cpp
type Front (line 13) | namespace Front
FILE: Code/Gfx/2D/SpriteElement.h
function namespace (line 9) | namespace Nx
function namespace (line 14) | namespace Front
FILE: Code/Gfx/2D/TextElement.cpp
type Front (line 17) | namespace Front
FILE: Code/Gfx/2D/TextElement.h
function namespace (line 11) | namespace Nx
function namespace (line 17) | namespace Front
FILE: Code/Gfx/2D/Window.cpp
type Front (line 9) | namespace Front
FILE: Code/Gfx/2D/Window.h
function namespace (line 6) | namespace Nx
function namespace (line 11) | namespace Front
FILE: Code/Gfx/AnimController.cpp
type Gfx (line 28) | namespace Gfx
function uint32 (line 231) | uint32 CAnimChannel::GetCurrentAnim( void )
FILE: Code/Gfx/AnimController.h
function namespace (line 30) | namespace Script
function namespace (line 35) | namespace Gfx
FILE: Code/Gfx/BonedAnim.cpp
type Gfx (line 48) | namespace Gfx
type SBonedAnimFileHeader (line 75) | struct SBonedAnimFileHeader
type SPlatformFileHeader (line 82) | struct SPlatformFileHeader
type SStandardAnimFramePointers (line 90) | struct SStandardAnimFramePointers
type SHiResAnimFramePointers (line 96) | struct SHiResAnimFramePointers
type CBonedAnimCompressEntry (line 145) | struct CBonedAnimCompressEntry
function init_48_table (line 170) | bool init_48_table( void* pStream, CBonedAnimCompressEntry* pEntry )
function arqCallback (line 213) | static void arqCallback( u32 pointerToARQRequest )
function dma_count (line 223) | void dma_count( uint32 p_source_base, int size )
function InitQ48Table (line 264) | bool InitQ48Table( const char* pFileName, bool assertOnFail )
function InitT48Table (line 291) | bool InitT48Table( const char* pFileName, bool assertOnFail )
function timeDown (line 320) | inline float timeDown(short theSource)
function timeUp (line 330) | inline short timeUp(float theSource)
function transUp (line 342) | inline short transUp(float theSource, float scaleFactor)
function transDown (line 352) | inline float transDown(short theSource, float scaleFactor)
function quatUp (line 362) | inline short quatUp(float theSource)
function quatDown (line 372) | inline float quatDown(short theSource)
function get_rotation_from_key (line 382) | inline void get_rotation_from_key( CAnimQKey* p_in, Mth::Quat* pQuat, ...
function set_key_from_rotation (line 419) | inline void set_key_from_rotation( CAnimQKey* p_in, float x, float y, ...
function get_translation_from_key (line 444) | inline void get_translation_from_key( CAnimTKey* p_in, Mth::Vector* pV...
function get_rotation_from_standard_key (line 468) | inline void get_rotation_from_standard_key( CStandardAnimQKey* p_in, M...
function get_translation_from_standard_key (line 509) | inline void get_translation_from_standard_key( CStandardAnimTKey* p_in...
function set_key_from_translation (line 522) | inline void set_key_from_translation( CAnimTKey* p_in, float x, float ...
function interpolate_q_frame (line 543) | inline void interpolate_q_frame(Mth::Quat* p_out, CAnimQKey* p_in1, CA...
function interpolate_t_frame (line 578) | inline void interpolate_t_frame(Mth::Vector* p_out, CAnimTKey* p_in1, ...
function interpolate_standard_q_frame (line 612) | inline void interpolate_standard_q_frame(Mth::Quat* p_out, CStandardAn...
function interpolate_standard_t_frame (line 643) | inline void interpolate_standard_t_frame(Mth::Vector* p_out, CStandard...
function get_alpha (line 1651) | inline float get_alpha( float timeStamp1, float timeStamp2, float time )
function uint32 (line 2531) | uint32 CBonedAnimFrameData::GetBoneName( int index )
function CCustomAnimKey (line 2575) | CCustomAnimKey* CBonedAnimFrameData::get_custom_key( int index )
FILE: Code/Gfx/BonedAnim.h
function namespace (line 33) | namespace Nx
function namespace (line 38) | namespace Obj
function namespace (line 43) | namespace File
function namespace (line 48) | namespace Gfx
FILE: Code/Gfx/BonedAnimTypes.h
function namespace (line 22) | namespace Gfx
FILE: Code/Gfx/CasUtils.cpp
type Cas (line 31) | namespace Cas
function uint32 (line 63) | uint32 get_desc_id_from_structure( Script::CStruct* pStructure )
function IsValidOption (line 81) | bool IsValidOption( uint32 partChecksum, uint32 lookFor )
function BuildRandomSetList (line 142) | void BuildRandomSetList( uint32 partChecksum, uint32 random_set, Scrip...
FILE: Code/Gfx/CasUtils.h
function namespace (line 22) | namespace Script
function namespace (line 27) | namespace Cas
FILE: Code/Gfx/CustomAnimKey.cpp
type Gfx (line 29) | namespace Gfx
type SIntermediateCustomAnimKeyHeader (line 47) | struct SIntermediateCustomAnimKeyHeader
class CChangeFOVKey (line 67) | class CChangeFOVKey : public CCustomAnimKey
class CRunScriptKey (line 80) | class CRunScriptKey : public CCustomAnimKey
class CChangeCameraRTKey (line 93) | class CChangeCameraRTKey : public CCustomAnimKey
class CEmptyKey (line 109) | class CEmptyKey : public CCustomAnimKey
class CCreateObjectFromStructKey (line 119) | class CCreateObjectFromStructKey : public CCustomAnimKey
class CKillObjectFromStructKey (line 132) | class CKillObjectFromStructKey : public CCustomAnimKey
function CCustomAnimKey (line 591) | CCustomAnimKey* ReadCustomAnimKey( uint8** pData )
FILE: Code/Gfx/CustomAnimKey.h
function namespace (line 24) | namespace Obj
function namespace (line 29) | namespace Script
function namespace (line 34) | namespace Gfx
FILE: Code/Gfx/FaceMassage.cpp
type Nx (line 17) | namespace Nx
function SetDefaultFacePoints (line 62) | void SetDefaultFacePoints(SFacePoints* pFacePoints)
function SetFacePointsStruct (line 331) | bool SetFacePointsStruct(const SFacePoints& face_points, Script::CStru...
function GetFacePointsStruct (line 378) | bool GetFacePointsStruct(SFacePoints &face_points, Script::CStruct *p_...
function ScriptSetModelFaceTexturePoints (line 462) | bool ScriptSetModelFaceTexturePoints(Script::CStruct *pParams, Script:...
function ScriptSetFaceMassageTextureOverlay (line 489) | bool ScriptSetFaceMassageTextureOverlay(Script::CStruct *pParams, Scri...
function ScriptMassageFaceTexture (line 510) | bool ScriptMassageFaceTexture(Script::CStruct *pParams, Script::CScrip...
function ScriptAdjustFaceTextureToModel (line 552) | bool ScriptAdjustFaceTextureToModel(Script::CStruct *pParams, Script::...
function ScriptAdjustFaceTextureColors (line 588) | bool ScriptAdjustFaceTextureColors(Script::CStruct *pParams, Script::C...
function ScriptCombineFaceTextureWithOverlay (line 623) | bool ScriptCombineFaceTextureWithOverlay(Script::CStruct *pParams, Scr...
FILE: Code/Gfx/FaceMassage.h
function namespace (line 12) | namespace Script
function namespace (line 18) | namespace Nx
FILE: Code/Gfx/FaceTexture.cpp
type Gfx (line 17) | namespace Gfx
function uint8 (line 73) | uint8* CFaceTexture::ReadTextureDataFromBuffer(uint8* pBuffer, int buf...
function uint8 (line 125) | uint8* CFaceTexture::ReadFromBuffer( uint8* pBuffer, int bufferSize )
function uint8 (line 259) | uint8* CFaceTexture::GetTextureData()
FILE: Code/Gfx/FaceTexture.h
function namespace (line 17) | namespace Gfx
FILE: Code/Gfx/Image/ImageBasic.h
function namespace (line 37) | namespace Image
FILE: Code/Gfx/ModelAppearance.cpp
type Gfx (line 28) | namespace Gfx
function uint32 (line 116) | uint32 get_desc_id_from_structure( Script::CStruct* pStructure )
function CModelAppearance (line 289) | CModelAppearance& CModelAppearance::operator=( const CModelAppearance&...
function compress_model_appearance (line 415) | void compress_model_appearance( Script::CStruct* pStruct )
function uint32 (line 443) | uint32 CModelAppearance::WriteToBuffer(uint8 *pBuffer, uint32 BufferSi...
function uint8 (line 502) | uint8* CModelAppearance::ReadFromBuffer(uint8 *pBuffer)
function CFaceTexture (line 756) | CFaceTexture* CModelAppearance::GetFaceTexture()
FILE: Code/Gfx/ModelAppearance.h
function namespace (line 26) | namespace Gfx
FILE: Code/Gfx/ModelBuilder.cpp
type Gfx (line 34) | namespace Gfx
FILE: Code/Gfx/ModelBuilder.h
function namespace (line 29) | namespace Nx
function namespace (line 34) | namespace Gfx
FILE: Code/Gfx/NGC/NX/anim.cpp
type NxNgc (line 16) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/anim.h
function namespace (line 4) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/chars.cpp
type NxNgc (line 64) | namespace NxNgc
function SFont (line 80) | SFont *LoadFont( const char *Filename )
function UnloadFont (line 249) | void UnloadFont(SFont *pFont)
function uint32 (line 280) | uint32 SFont::GetDefaultHeight() const
function uint32 (line 285) | uint32 SFont::GetDefaultBase() const
function SetTextWindow (line 672) | void SetTextWindow( uint16 x0, uint16 x1, uint16 y0, uint16 y1 )
FILE: Code/Gfx/NGC/NX/chars.h
function namespace (line 6) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/grass.cpp
function AddGrass (line 1292) | bool AddGrass( Nx::CNgcGeom *p_geom, NxNgc::sMesh *p_mesh )
FILE: Code/Gfx/NGC/NX/import.cpp
type NxNgc (line 12) | namespace NxNgc
function LoadTextureFile (line 21) | void LoadTextureFile( const char* Filename, Lst::HashTable<Nx::CTextur...
FILE: Code/Gfx/NGC/NX/import.h
function namespace (line 8) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/instance.cpp
type NxNgc (line 65) | namespace NxNgc
function InitialiseInstanceTable (line 82) | void InitialiseInstanceTable( void )
function debug_render_sphere (line 114) | static void debug_render_sphere( Mth::Vector sphere, GXColor color )
function DEBUG_SPHERES (line 175) | DEBUG_SPHERES
function render_instance (line 244) | void render_instance( CInstance *p_instance, uint32 flags )
function render_instances (line 278) | void render_instances( uint32 flags )
function process_instances (line 1043) | void process_instances( void )
function s16 (line 1105) | s16 *CInstance::GetPosNormalBuffer( int buffer )
FILE: Code/Gfx/NGC/NX/instance.h
function namespace (line 9) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/light.cpp
type NxNgc (line 4) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/line.cpp
type NxPs2 (line 5) | namespace NxPs2
function BeginLines2D (line 9) | void BeginLines2D(uint32 rgba)
function DrawLine2D (line 32) | void DrawLine2D(float x0, float y0, float z0, float x1, float y1, floa...
function EndLines2D (line 50) | void EndLines2D(void)
function BeginLines3D (line 60) | void BeginLines3D(uint32 rgba)
function DrawLine3D (line 95) | void DrawLine3D(float x0, float y0, float z0, float x1, float y1, floa...
function EndLines3D (line 115) | void EndLines3D(void)
FILE: Code/Gfx/NGC/NX/line.h
function namespace (line 6) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/material.cpp
type NxNgc (line 29) | namespace NxNgc
function sMaterial (line 1098) | sMaterial* GetMaterial( uint32 checksum, sScene *p_scene )
function InitializeMaterial (line 1110) | void InitializeMaterial( sMaterial* p_material )
function sMaterial (line 1126) | sMaterial * LoadMaterialsFromMemory( void **pp_mem, Lst::HashTable< Nx...
function sMaterial (line 1373) | sMaterial *LoadMaterials( void *p_FH, Lst::HashTable< Nx::CTexture > *...
FILE: Code/Gfx/NGC/NX/material.h
function namespace (line 10) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/mesh.cpp
type NxNgc (line 18) | namespace NxNgc
function SetMeshScalingParameters (line 40) | void SetMeshScalingParameters( Nx::SMeshScalingParameters* pParams )
function DisableMeshScaling (line 58) | void DisableMeshScaling( void )
function get_bone_scale (line 74) | static inline Mth::Vector get_bone_scale( int bone_index )
function get_bone_pos (line 110) | static inline Mth::Vector get_bone_pos( int bone_index )
function ApplyMeshScaling (line 143) | void ApplyMeshScaling( NxNgc::sObjectHeader * p_object )
function sMesh (line 521) | sMesh *sMesh::Clone( bool instance )
FILE: Code/Gfx/NGC/NX/mesh.h
function namespace (line 13) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/nx_init.cpp
type NxNgc (line 7) | namespace NxNgc
function InitialiseRenderstates (line 15) | void InitialiseRenderstates( void )
function InitialiseEngine (line 60) | void InitialiseEngine( void )
FILE: Code/Gfx/NGC/NX/nx_init.h
function namespace (line 7) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/occlude.cpp
type NxNgc (line 45) | namespace NxNgc
type sOcclusionPoly (line 60) | struct sOcclusionPoly
type sOccluder (line 72) | struct sOccluder
function cmp (line 137) | static int cmp( const void *p1, const void *p2 )
function AddOcclusionPoly (line 223) | void AddOcclusionPoly( Mth::Vector &v0, Mth::Vector &v1, Mth::Vector &...
function EnableOcclusionPoly (line 247) | void EnableOcclusionPoly( uint32 checksum, bool available )
function RemoveAllOcclusionPolys (line 265) | void RemoveAllOcclusionPolys( void )
function CheckForOptimalOccluders (line 280) | void CheckForOptimalOccluders( Mth::Vector &cam_pos, Mth::Vector &view...
function BuildOccluders (line 322) | void BuildOccluders( Mth::Vector *p_cam_pos, int view )
function TestSphereAgainstOccluders (line 450) | bool TestSphereAgainstOccluders( Mth::Vector *p_sphere, uint32 meshes )
FILE: Code/Gfx/NGC/NX/occlude.h
function namespace (line 4) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/particles.h
function namespace (line 8) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/render.cpp
type NxNgc (line 78) | namespace NxNgc
function cam_offset (line 86) | static void cam_offset( float x, float y, float z )
function init_render_system (line 261) | void init_render_system( void )
function set_blend_mode (line 271) | void set_blend_mode( uint64 mode )
function set_render_state (line 312) | void set_render_state( uint32 type, uint32 state )
function frustum_sort_mid (line 387) | float frustum_sort_mid( Mth::Vector& p_sphere )
type sSortedMeshEntry (line 423) | struct sSortedMeshEntry
function cmp (line 437) | static int cmp( const void *p1, const void *p2 )
function create_texture_projection_details (line 446) | void create_texture_projection_details( sTexture *p_texture, Nx::CNgcM...
function destroy_texture_projection_details (line 466) | void destroy_texture_projection_details( sTexture *p_texture )
function set_texture_projection_camera (line 480) | void set_texture_projection_camera( sTexture *p_texture, NsVector * p_...
function set_camera (line 535) | void set_camera( Mth::Matrix *p_matrix, Mth::Vector *p_position, float...
function frustum_check_box (line 610) | bool frustum_check_box( Mtx m, Mth::CBBox& box )
function frustum_check_sphere (line 670) | bool frustum_check_sphere( Mtx m, Mth::Vector& p_sphere )
function frustum_check_box (line 731) | bool frustum_check_box( Mth::CBBox& box )
function IsVisible (line 881) | bool IsVisible( Mth::Vector &sphere )
function frustum_check_sphere (line 925) | bool frustum_check_sphere( Mth::Vector& p_sphere )
function frustum_check_sphere (line 984) | bool frustum_check_sphere( Mth::Vector& p_sphere, float * p_z )
function calculate_tex_proj_matrix (line 1013) | void calculate_tex_proj_matrix( NsMatrix * p_tex_view_matrix, NsMatrix...
function render_shadow_targets (line 1111) | void render_shadow_targets( void )
function render_shadow_meshes (line 1255) | void render_shadow_meshes( sScene *p_scene, int *p_mesh_indices, int n...
function figure_wibble_vc (line 1260) | void figure_wibble_vc( sScene *p_scene )
function _reset (line 1322) | static void _reset( void )
function _set_pos (line 1333) | static void _set_pos( float * p_pos )
function _set_col0 (line 1342) | static void _set_col0( char * p_col0 )
function _set_mat0 (line 1360) | static void _set_mat0( GXColor col )
function submit_mesh (line 1378) | static void submit_mesh( sScene *p_scene, sMesh * p_mesh, s16* p_posNo...
function render_scene (line 1813) | void render_scene( sScene *p_scene, s16* p_posNormBuffer, uint32 flags...
function cull_scene (line 2740) | int cull_scene( sScene *p_scene, uint32 flags )
function make_scene_visible (line 2803) | void make_scene_visible( sScene *p_scene )
function render_begin (line 2817) | void render_begin( void )
function render_end (line 2822) | void render_end( void )
FILE: Code/Gfx/NGC/NX/render.h
function namespace (line 20) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/scene.cpp
type NxNgc (line 22) | namespace NxNgc
function do_audio_update (line 31) | static void do_audio_update( void )
function sort_by_material_draw_order (line 45) | static int sort_by_material_draw_order( const void *p1, const void *p2 )
function hide_mesh (line 112) | static void hide_mesh( uint32 mask, sCASData *p_cas_data, uint32 num_e...
function sMaterial (line 731) | sMaterial *sScene::GetMaterial( uint32 checksum )
function sScene (line 772) | sScene *LoadScene( const char *Filename, sScene *pScene )
function DeleteScene (line 779) | void DeleteScene( sScene *pScene )
function MaterialBuild (line 812) | void MaterialBuild( sMesh * p_mesh, sScene * p_scene, bool bl, bool tx )
function ResetMaterialChange (line 863) | void ResetMaterialChange( void )
function MaterialSubmit (line 919) | void MaterialSubmit( sMesh * p_mesh, sScene *pScene = NULL )
FILE: Code/Gfx/NGC/NX/scene.h
function namespace (line 16) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/sprite.cpp
type NxNgc (line 21) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/sprite.h
function namespace (line 6) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/texture.cpp
type NxNgc (line 11) | namespace NxNgc
function sTexture (line 68) | sTexture *LoadTexture( const char *p_filename )
function sTexture (line 164) | sTexture* GetTexture( uint32 checksum )
function GXTexMapID (line 204) | GXTexMapID sTexture::Upload( GXTexMapID id, uint8 flags, float k )
FILE: Code/Gfx/NGC/NX/texture.h
function namespace (line 7) | namespace NxNgc
FILE: Code/Gfx/NGC/NX/types.h
type uint (line 4) | typedef unsigned int uint;
type uint64 (line 5) | typedef unsigned long long uint64;
type uint32 (line 6) | typedef unsigned int uint32;
type uint16 (line 7) | typedef unsigned short uint16;
type uint8 (line 8) | typedef unsigned char uint8;
type sint (line 10) | typedef signed int sint;
type sint64 (line 11) | typedef signed long long sint64;
type sint32 (line 12) | typedef signed int sint32;
type sint16 (line 13) | typedef signed short sint16;
type sint8 (line 14) | typedef signed char sint8;
FILE: Code/Gfx/NGC/p_NxGeom.cpp
type Nx (line 21) | namespace Nx
function do_audio_update (line 34) | static void do_audio_update( void )
function uint32 (line 598) | uint32 CNgcGeom::plat_get_visibility( void ) const
function CNgcGeom (line 893) | CNgcGeom *CNgcGeom::plat_clone( bool instance, CScene *p_dest_scene )
function CNgcGeom (line 1026) | CNgcGeom *CNgcGeom::plat_clone( bool instance, CModel* pDestModel )
FILE: Code/Gfx/NGC/p_NxGeom.h
function namespace (line 15) | namespace Mth
function namespace (line 20) | namespace NxNgc
function namespace (line 25) | namespace Nx
FILE: Code/Gfx/NGC/p_NxImposter.cpp
type Nx (line 7) | namespace Nx
function CImposterGroup (line 15) | CImposterGroup* CImposterManager::plat_create_imposter_group( void )
FILE: Code/Gfx/NGC/p_NxImposter.h
function namespace (line 9) | namespace Nx
FILE: Code/Gfx/NGC/p_NxLightMan.cpp
type Nx (line 10) | namespace Nx
function CModelLights (line 226) | CModelLights *CLightManager::s_plat_create_model_lights()
FILE: Code/Gfx/NGC/p_NxMesh.cpp
type Nx (line 20) | namespace Nx
function cmp (line 31) | static int cmp( const void *p1, const void *p2 )
FILE: Code/Gfx/NGC/p_NxMesh.h
function namespace (line 14) | namespace NxNgc
function namespace (line 19) | namespace Nx
FILE: Code/Gfx/NGC/p_NxSprite.cpp
type Nx (line 7) | namespace Nx
FILE: Code/Gfx/NGC/p_NxSprite.h
function namespace (line 11) | namespace Nx
FILE: Code/Gfx/NGC/p_NxTextured3dPoly.cpp
type NxNgc (line 3) | namespace NxNgc
FILE: Code/Gfx/NGC/p_NxTextured3dPoly.h
function namespace (line 6) | namespace NxNgc
FILE: Code/Gfx/NGC/p_NxViewport.cpp
type Nx (line 6) | namespace Nx
FILE: Code/Gfx/NGC/p_NxViewport.h
function namespace (line 9) | namespace Nx
FILE: Code/Gfx/NGC/p_NxWin2D.cpp
type Nx (line 6) | namespace Nx
FILE: Code/Gfx/NGC/p_gfxman.cpp
type Gfx (line 37) | namespace Gfx
function gammaSetValue (line 104) | void gammaSetValue( float gr, float gg, float gb )
FILE: Code/Gfx/NGC/p_memview.cpp
class CCallStack (line 72) | class CCallStack
function DumpUnwindStack (line 277) | int DumpUnwindStack( int iMaxDepth, int *pDest )
function MemViewToggle (line 379) | void MemViewToggle()
function MemView_Alloc (line 387) | void MemView_Alloc( void *v)
function MemView_Free (line 399) | void MemView_Free( void *v)
function MemView_DumpBlockInfo (line 491) | void MemView_DumpBlockInfo(int cursor)
function MemView_Display (line 566) | void MemView_Display()
function MemView_CountBlocks (line 778) | int MemView_CountBlocks(Mem::Allocator::BlockHeader *p_header)
function blockCompFunc (line 798) | int blockCompFunc( const void *arg1, const void *arg2 )
function MemView_FindLeaks (line 828) | void MemView_FindLeaks()
function MemView_DumpRefs (line 941) | void MemView_DumpRefs(int addr)
function MemView_DumpFragments (line 1000) | void MemView_DumpFragments(Mem::Heap *pHeap)
function MemView_DumpHeap (line 1048) | void MemView_DumpHeap(Mem::Heap *pHeap, uint32 mask)
function MemView_DumpBottomFragments (line 1073) | void MemView_DumpBottomFragments()
function MemView_DumpTopFragments (line 1079) | void MemView_DumpTopFragments()
type SBlockType (line 1103) | struct SBlockType
function MemView_DumpAnalysis (line 1126) | void MemView_DumpAnalysis( SBlockType* blocks, int numBlocksToPrint )
function MemView_AnalyzeCallStack (line 1165) | void MemView_AnalyzeCallStack( CCallStack* pCallStack, SBlockType* pBloc...
function MemView_AnalyzeBlocks (line 1287) | void MemView_AnalyzeBlocks(uint32 mask)
function MemView_MarkBlocks (line 1326) | void MemView_MarkBlocks(uint32 mask)
function MemView_Input (line 1342) | void MemView_Input(uint buttons, uint makes, uint breaks)
function MemView_AnalyzeHeap (line 1458) | void MemView_AnalyzeHeap(Mem::Heap *pHeap)
FILE: Code/Gfx/NGC/p_nx.cpp
type NxNgc (line 1420) | namespace NxNgc
type Nx (line 1429) | namespace Nx
function CScene (line 3555) | CScene * CEngine::s_plat_create_scene(const char *p_name, CTexDict *p_...
function s_plat_scene_size (line 3577) | static int s_plat_scene_size( void *p_mem, CTexDict *p_tex_dict, bool ...
function CScene (line 3694) | static CScene * s_plat_load_scene_guts( void *p_mem, CTexDict *p_tex_d...
function CScene (line 4137) | CScene *CEngine::s_plat_load_scene_from_memory( void *p_mem, CTexDict ...
function CScene (line 4196) | CScene* CEngine::s_plat_load_scene( const char *p_name, CTexDict *p_te...
function CModel (line 4266) | CModel* CEngine::s_plat_init_model( void )
function CMesh (line 4292) | CMesh* CEngine::s_plat_load_mesh( const char* pMeshFileName, Nx::CTexD...
function CMesh (line 4316) | CMesh* CEngine::s_plat_load_mesh( uint32 id, uint32 *p_model_data, int...
function CSprite (line 4391) | CSprite * CEngine::s_plat_create_sprite(CWindow2D *p_window)
function CTextured3dPoly (line 4411) | CTextured3dPoly * CEngine::s_plat_create_textured_3d_poly()
function CGeom (line 4568) | CGeom* CEngine::s_plat_init_geom( void )
function CQuickAnim (line 4594) | CQuickAnim* CEngine::s_plat_init_quick_anim()
function s_plat_get_num_soundtracks (line 4645) | int s_plat_get_num_soundtracks()
FILE: Code/Gfx/NGC/p_nxanimcache.cpp
type Nx (line 10) | namespace Nx
FILE: Code/Gfx/NGC/p_nxanimcache.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxfont.cpp
type Nx (line 6) | namespace Nx
function uint32 (line 94) | uint32 CNgcFont::plat_get_default_height() const
function uint32 (line 105) | uint32 CNgcFont::plat_get_default_base() const
FILE: Code/Gfx/NGC/p_nxfont.h
function class (line 17) | class CNgcFont : public CFont
FILE: Code/Gfx/NGC/p_nxfontman.cpp
type Nx (line 79) | namespace Nx
function CFont (line 86) | CFont* CFontManager::s_plat_load_font( const char* pName )
FILE: Code/Gfx/NGC/p_nxlight.cpp
type Nx (line 11) | namespace Nx
FILE: Code/Gfx/NGC/p_nxlight.h
function namespace (line 15) | namespace Nx
FILE: Code/Gfx/NGC/p_nxloadscreen.cpp
type Nx (line 53) | namespace Nx
function s_thread_loading_icon_alarm_handler (line 63) | void s_thread_loading_icon_alarm_handler( OSAlarm* alarm, OSContext* c...
FILE: Code/Gfx/NGC/p_nxmiscfx.cpp
type Nx (line 25) | namespace Nx
type sNgcScreenFlashVert (line 49) | struct sNgcScreenFlashVert
type sNgcVert (line 62) | struct sNgcVert
type sNgcSplatInstanceDetails (line 76) | struct sNgcSplatInstanceDetails : public sSplatInstanceDetails
type sNgcShatterInstanceDetails (line 92) | struct sNgcShatterInstanceDetails : public sShatterInstanceDetails
function sNgcSplatInstanceDetails (line 141) | sNgcSplatInstanceDetails * getDetailsForTextureSplat( NxNgc::sTexture ...
function subdivide_tri_stack (line 189) | bool subdivide_tri_stack( sNgcVert **p_write, NxNgc::sMesh *p_mesh )
function same_side (line 304) | static bool same_side( Mth::Vector &p1, Mth::Vector &p2, Mth::Vector &...
function point_in_triangle (line 318) | static bool point_in_triangle( Mth::Vector &p, Mth::Vector &a, Mth::Ve...
function line_segment_intersection (line 330) | static inline bool line_segment_intersection( float x1, float y1, floa...
function tri_texture_intersect (line 356) | static inline bool tri_texture_intersect( float u0, float v0, float u1...
function plat_screen_flash_render (line 419) | void plat_screen_flash_render( sScreenFlashDetails *p_details )
function plat_texture_splat_initialize (line 516) | void plat_texture_splat_initialize( void )
function plat_texture_splat_cleanup (line 526) | void plat_texture_splat_cleanup( void )
function plat_texture_splat_reset_poly (line 555) | void plat_texture_splat_reset_poly( sSplatInstanceDetails *p_details, ...
function plat_texture_splat (line 573) | bool plat_texture_splat( Nx::CSector **pp_sectors, Nx::CCollStatic **p...
function plat_texture_splat_render (line 996) | void plat_texture_splat_render( void )
function plat_shatter_initialize (line 1185) | void plat_shatter_initialize( void )
function plat_shatter_cleanup (line 1195) | void plat_shatter_cleanup( void )
function plat_shatter (line 1220) | void plat_shatter( CGeom *p_geom )
function plat_shatter_update (line 1492) | void plat_shatter_update( sShatterInstanceDetails *p_details, float fr...
function plat_shatter_render (line 1538) | void plat_shatter_render( sShatterInstanceDetails *p_details )
FILE: Code/Gfx/NGC/p_nxmodel.cpp
type Nx (line 29) | namespace Nx
FILE: Code/Gfx/NGC/p_nxmodel.h
function namespace (line 14) | namespace Nx
FILE: Code/Gfx/NGC/p_nxnewparticle.cpp
type Nx (line 49) | namespace Nx
FILE: Code/Gfx/NGC/p_nxnewparticle.h
function namespace (line 36) | namespace Nx
FILE: Code/Gfx/NGC/p_nxnewparticlemgr.cpp
type Nx (line 34) | namespace Nx
function CNewParticle (line 65) | CNewParticle* CNgcNewParticleManager::plat_create_particle( void )
FILE: Code/Gfx/NGC/p_nxnewparticlemgr.h
function namespace (line 35) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticle.cpp
type Nx (line 26) | namespace Nx
function get_texture_blend (line 29) | NxNgc::BlendModes get_texture_blend( uint32 blend_checksum )
function CParticle (line 77) | CParticle* plat_create_particle( uint32 checksum, uint32 type_checksum...
FILE: Code/Gfx/NGC/p_nxparticle.h
function namespace (line 14) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleflat.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleflat.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleglow.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleglow.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleglowribbontrail.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleglowribbontrail.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleline.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleline.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleribbon.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleribbon.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleribbontrail.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleribbontrail.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleshaded.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticleshaded.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmooth.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmooth.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmoothribbon.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmoothribbon.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmoothstar.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlesmoothstar.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlestar.cpp
type Nx (line 18) | namespace Nx
FILE: Code/Gfx/NGC/p_nxparticlestar.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxscene.cpp
type Nx (line 8) | namespace Nx
function CSector (line 127) | CSector * CNgcScene::plat_create_sector()
FILE: Code/Gfx/NGC/p_nxscene.h
function namespace (line 10) | namespace Nx
FILE: Code/Gfx/NGC/p_nxsector.cpp
type Nx (line 20) | namespace Nx
function round_float (line 25) | static int round_float( float f, int shift, float off, float cen )
function CSector (line 905) | CSector * CNgcSector::plat_clone(bool instance, CScene *p_dest_scene)
FILE: Code/Gfx/NGC/p_nxsector.h
function namespace (line 15) | namespace NxNgc
function namespace (line 20) | namespace Nx
FILE: Code/Gfx/NGC/p_nxtexman.cpp
type Nx (line 11) | namespace Nx
function CTexDict (line 24) | CTexDict* CTexDictManager::s_plat_load_texture_dictionary( const char ...
function CTexDict (line 36) | CTexDict* CTexDictManager::s_plat_load_texture_dictionary( uint32 chec...
function CTexDict (line 49) | CTexDict* CTexDictManager::s_plat_create_texture_dictionary( uint32 ch...
FILE: Code/Gfx/NGC/p_nxtexture.cpp
type Nx (line 10) | namespace Nx
function uint16 (line 193) | uint16 CNgcTexture::plat_get_width() const
function uint16 (line 210) | uint16 CNgcTexture::plat_get_height() const
function uint8 (line 227) | uint8 CNgcTexture::plat_get_bitdepth() const
function uint8 (line 263) | uint8 CNgcTexture::plat_get_num_mipmaps() const
function CTexture (line 345) | CTexture *CNgcTexDict::plat_load_texture(const char *p_texture_name, b...
function CTexture (line 361) | CTexture *CNgcTexDict::plat_reload_texture( const char *p_texture_name )
function LoadTextureFileFromMemory (line 409) | void LoadTextureFileFromMemory( void **pp_mem, Lst::HashTable<Nx::CTex...
FILE: Code/Gfx/NGC/p_nxtexture.h
function class (line 18) | class CNgcTexture : public CTexture
FILE: Code/Gfx/NGC/p_nxviewman.cpp
type Nx (line 11) | namespace Nx
function CViewport (line 25) | CViewport * CViewportManager::s_plat_create_viewport(const Mth::Rect*...
FILE: Code/Gfx/NGC/p_nxweather.cpp
type Nx (line 80) | namespace Nx
FILE: Code/Gfx/NGC/p_nxweather.h
function namespace (line 13) | namespace Nx
FILE: Code/Gfx/NGC/p_nxwin2D.h
function namespace (line 10) | namespace Nx
FILE: Code/Gfx/NGPS/NX/chars.cpp
type NxPs2 (line 96) | namespace NxPs2
function SFont (line 142) | SFont * LoadFont(const char *Filename)
function UnloadFont (line 355) | void UnloadFont(SFont *pFont)
function uint32 (line 426) | uint32 SFont::GetDefaultHeight() const
function uint32 (line 431) | uint32 SFont::GetDefaultBase() const
FILE: Code/Gfx/NGPS/NX/chars.h
function namespace (line 6) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/dma.cpp
type NxPs2 (line 93) | namespace NxPs2
function uint64 (line 111) | uint64 dma::EndSub(void)
function uint8 (line 173) | uint8 *dma::EndSub3D(void)
function uint8 (line 195) | uint8 *dma::NextTag(uint8 *pTag, bool stepInto)
function uint8 (line 251) | uint8 *dma::SortGroup(uint8 *pList)
function uint8 (line 329) | uint8 *dma::SortGroup(uint8 *pList)
FILE: Code/Gfx/NGPS/NX/dma.h
function namespace (line 7) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/dmacalls.cpp
type NxPs2 (line 16) | namespace NxPs2
function uint8 (line 34) | uint8 *BeginDmaSubroutine(void)
function EndDmaSubroutine (line 45) | void EndDmaSubroutine(void)
function Gosub1 (line 54) | void Gosub1(uint Num)
function Gosub2 (line 66) | void Gosub2(uint Num)
function BuildDmaSubroutines (line 83) | void BuildDmaSubroutines(void)
FILE: Code/Gfx/NGPS/NX/dmacalls.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/fx.cpp
type NxPs2 (line 7) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/fx.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/geomnode.cpp
type NxPs2 (line 74) | namespace NxPs2
function TestSphereAgainstOccluders (line 1734) | bool TestSphereAgainstOccluders( Mth::Vector *p_center, float radius, ...
function uint32 (line 2442) | uint32 CGeomNode::GetChecksum()
function uint8 (line 2471) | uint8 *CGeomNode::GetDma()
function CGeomNode (line 2492) | CGeomNode *CGeomNode::GetChild()
function CGeomNode (line 2525) | CGeomNode *CGeomNode::GetSibling()
function sGroup (line 2564) | sGroup *CGeomNode::GetGroup()
function uint32 (line 2620) | uint32 CGeomNode::GetColor()
function CLightGroup (line 2640) | CLightGroup * CGeomNode::GetLightGroup()
function uint8 (line 2658) | uint8 CGeomNode::GetVisibility()
function sint8 (line 2670) | sint8 CGeomNode::GetBoneIndex()
function CGeomNode (line 2910) | CGeomNode* CGeomNode::GetObject(int num, bool root)
function StripNiceLeaves (line 3091) | void StripNiceLeaves(CGeomNode *p_parent)
function CGeomNode (line 3159) | CGeomNode* CGeomNode::sProcessInPlace(uint8* pPipData, uint32 loadFlags)
function CGeomNode (line 3240) | CGeomNode* CGeomNode::CreateInstance(Mth::Matrix *pMat, CGeomNode *p_p...
function CGeomNode (line 3270) | CGeomNode* CGeomNode::CreateInstance(Mth::Matrix *pMat, int numBones, ...
function CGeomNode (line 3315) | CGeomNode* CGeomNode::CreateCopy(CGeomNode *p_parent, bool root)
FILE: Code/Gfx/NGPS/NX/geomnode.h
function namespace (line 36) | namespace Mth
type sGroup (line 44) | struct sGroup
type sTexture (line 45) | struct sTexture
function class (line 117) | class CGeomMetrics : public Spt::Class
function class (line 128) | class CGeomNode
FILE: Code/Gfx/NGPS/NX/gif.cpp
type NxPs2 (line 8) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/gif.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/group.cpp
type NxPs2 (line 32) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/group.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/gs.cpp
type NxPs2 (line 10) | namespace NxPs2
function uint32 (line 48) | uint32 *gs::Reg2_pData(eReg Reg, uint64 Data)
FILE: Code/Gfx/NGPS/NX/gs.h
function namespace (line 538) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/immediate.cpp
type NxPs2 (line 24) | namespace NxPs2
function uint64 (line 27) | uint64 CImmediateMode::sGetTextureBlend( uint32 blend_checksum, int fix )
FILE: Code/Gfx/NGPS/NX/immediate.h
function namespace (line 16) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/instance.cpp
type NxPs2 (line 7) | namespace NxPs2
function uint32 (line 167) | uint32 CInstance::GetColor()
function uint32 (line 199) | uint32 CInstance::GetMaterialColor(uint32 material_name, int pass)
function uint32 (line 218) | uint32 CInstance::GetMaterialColorByIndex(int mesh_idx)
FILE: Code/Gfx/NGPS/NX/instance.h
function namespace (line 12) | namespace Script
function namespace (line 17) | namespace NxPs2
function IsActive (line 83) | inline bool CInstance::IsActive(void) const
function CastsShadow (line 88) | inline bool CInstance::CastsShadow(void) const
function IsWireframe (line 93) | inline bool CInstance::IsWireframe(void) const
function HasColorPerMaterial (line 104) | inline bool CInstance::HasColorPerMaterial(void) const
function SetLightGroup (line 109) | inline void CInstance::SetLightGroup(CLightGroup *p_light_group)
function CLightGroup (line 114) | inline CLightGroup * CInstance::GetLightGroup()
FILE: Code/Gfx/NGPS/NX/interrupts.cpp
type NxPs2 (line 51) | namespace NxPs2
function GifHandler (line 100) | int GifHandler(int Cause)
function GsHandler (line 180) | int GsHandler(int Cause)
function Vif1Handler (line 281) | int Vif1Handler(int Cause)
FILE: Code/Gfx/NGPS/NX/light.cpp
type NxPs2 (line 4) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/light.h
function namespace (line 7) | namespace NxPs2
function Mth (line 191) | inline const Mth::Vector & CLightGroup::GetDiffuseColor(int idx) const
function SetDirection (line 208) | inline void CLightGroup::SetDirection(int idx, const Mth::Vector & d...
function SetBaseAmbientColor (line 222) | inline void CLightGroup::SetBaseAmbientColor(const Mth::Vector & color)
function SetBaseDiffuseColor (line 241) | inline void CLightGroup::SetBaseDiffuseColor(int idx, const Mth::Vec...
function EnableAmbientLight (line 261) | inline void CLightGroup::EnableAmbientLight(bool enable)
function EnableDiffuseLight (line 276) | inline void CLightGroup::EnableDiffuseLight(int idx, bool enable)
function IsDiffuseLightEnabled (line 303) | inline bool CLightGroup::IsDiffuseLightEnabled(int idx) const
function SetAmbientBrightness (line 315) | inline bool CLightGroup::SetAmbientBrightness(float brightness)
function SetDiffuseBrightness (line 329) | inline bool CLightGroup::SetDiffuseBrightness(int idx, float brightn...
function Mth (line 345) | inline const Mth::Vector & CLightGroup::sGetDefaultDirection(int idx)
function Mth (line 357) | inline const Mth::Vector & CLightGroup::sGetDefaultAmbientColor()
function Mth (line 367) | inline const Mth::Vector & CLightGroup::sGetDefaultDiffuseColor(int idx)
function sSetDefaultDirection (line 379) | inline void CLightGroup::sSetDefaultDirection(int idx, const Mth::Ve...
function sSetDefaultAmbientColor (line 391) | inline void CLightGroup::sSetDefaultAmbientColor(const Mth::Vector &...
function sSetDefaultDiffuseColor (line 401) | inline void CLightGroup::sSetDefaultDiffuseColor(int idx, const Mth:...
FILE: Code/Gfx/NGPS/NX/line.cpp
type NxPs2 (line 14) | namespace NxPs2
function BeginLines2D (line 18) | void BeginLines2D(uint32 rgba)
function DrawLine2D (line 41) | void DrawLine2D(float x0, float y0, float z0, float x1, float y1, floa...
function EndLines2D (line 61) | void EndLines2D(void)
function BeginLines3D (line 71) | void BeginLines3D(uint32 rgba)
function ChangeLineColor (line 123) | void ChangeLineColor(uint32 rgba)
function DrawLine3D (line 147) | void DrawLine3D(float x0, float y0, float z0, float x1, float y1, floa...
function EndLines3D (line 167) | void EndLines3D(void)
FILE: Code/Gfx/NGPS/NX/line.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/loadscreen.cpp
type NxPs2 (line 18) | namespace NxPs2
function s_loading_bar_handler (line 43) | static int s_loading_bar_handler(int ca)
function StartLoadingBar (line 194) | void StartLoadingBar(int frames)
function RemoveLoadingBar (line 208) | void RemoveLoadingBar()
FILE: Code/Gfx/NGPS/NX/loadscreen.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/maintest.cpp
type Sys (line 22) | namespace Sys
type Gfx (line 28) | namespace Gfx
type Tmr (line 33) | namespace Tmr
type NxPs2 (line 38) | namespace NxPs2
function maintest (line 50) | int maintest(int argc, char *argv[])
function test_init (line 58) | void test_init()
function test_render_start_frame (line 69) | void test_render_start_frame()
function WaitForRendering (line 97) | void WaitForRendering()
function StuffAfterGSFinished (line 107) | void StuffAfterGSFinished()
function sGroup (line 123) | volatile sGroup *get_render_group()
function test_render (line 130) | void test_render(Mth::Matrix* camera_orient, Mth::Vector* camera_pos, ...
function test_render_end_frame (line 140) | void test_render_end_frame()
function LineTest (line 162) | void LineTest(void)
function CharTest (line 229) | void CharTest(void)
FILE: Code/Gfx/NGPS/NX/material.cpp
type NxPs2 (line 18) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/material.h
function namespace (line 5) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/mesh.cpp
type NxPs2 (line 23) | namespace NxPs2
function sMesh (line 39) | sMesh *sGroup::GetMeshArray()
function sGroup (line 45) | sGroup* NewMeshGroup(uint32 group_ID, uint32 num_meshes)
function SetMeshScalingParameters (line 89) | void SetMeshScalingParameters( Nx::SMeshScalingParameters* pParams )
function DisableMeshScaling (line 101) | void DisableMeshScaling()
function BeginModelPrim (line 566) | void BeginModelPrim(uint32 Regs, uint NReg, uint Prim, uint Pre, uint ...
function EndModelPrim (line 575) | void EndModelPrim(uint Eop)
function BeginModelPrimImmediate (line 582) | void BeginModelPrimImmediate(uint32 Regs, uint NReg, uint Prim, uint P...
function EndModelPrimImmediate (line 591) | void EndModelPrimImmediate(uint Eop)
function BeginModelMultiPrim (line 598) | void BeginModelMultiPrim(uint32 Regs, uint NReg, uint Prim, uint NLoop...
function EndModelMultiPrim (line 618) | void EndModelMultiPrim(void)
function BeginVertex (line 628) | void BeginVertex(sMesh *pMesh, sMaterial *pMat)
function VertexST16 (line 677) | void VertexST16(uint8 *pData)
function VertexSTFloat (line 704) | void VertexSTFloat(uint8 *pData)
function VertexUV (line 732) | void VertexUV(uint8 *pData, int textureWidth16, int textureHeight16)
function VertexNormal (line 759) | void VertexNormal(uint8 *pData)
function VertexWeights (line 799) | void VertexWeights(uint8 *pData)
function VertexWeights (line 831) | void VertexWeights(uint8 *pData)
function VertexSkinNormal (line 872) | void VertexSkinNormal(uint8 *pNormData, uint8 *pTOData)
function VertexRGBA (line 913) | void VertexRGBA(uint8 *pData)
function get_bone_scale (line 935) | Mth::Vector get_bone_scale( int bone_index )
function get_bone_pos (line 966) | Mth::Vector get_bone_pos( int bone_index )
function VertexXYZ (line 996) | void VertexXYZ(uint8 *pData, bool IsSkin, int& skinnedVertexCount)
function EndVertex (line 1106) | void EndVertex(void)
function CreateCASDataLookupTable (line 1161) | void CreateCASDataLookupTable()
function DestroyCASDataLookupTable (line 1177) | void DestroyCASDataLookupTable()
function SetCASDataLookupData (line 1186) | void SetCASDataLookupData( int index, sCASData* pData )
function AddCASFlag (line 1197) | void AddCASFlag( int skinnedVertexIndex, uint16* pADCBit )
FILE: Code/Gfx/NGPS/NX/mesh.h
function namespace (line 7) | namespace Nx
function namespace (line 12) | namespace NxPs2
type sScene (line 82) | struct sScene
type sScene (line 83) | struct sScene
type sMaterial (line 84) | struct sMaterial
type sMaterial (line 91) | struct sMaterial
FILE: Code/Gfx/NGPS/NX/mikemath.cpp
type NxPs2 (line 12) | namespace NxPs2
function VecCopy (line 18) | void VecCopy(Vec vd, Vec vs)
function VecSet (line 26) | void VecSet(Vec v, float x, float y, float z, float w)
function VecSum (line 34) | void VecSum(Vec vd, Vec v0, Vec v1)
function VecAdd (line 44) | void VecAdd(Vec vd, Vec vs)
function VecDifference (line 54) | void VecDifference(Vec vd, Vec v0, Vec v1)
function VecSubtract (line 64) | void VecSubtract(Vec vd, Vec vs)
function VecNegate (line 74) | void VecNegate(Vec v)
function VecTransform (line 84) | void VecTransform(Vec v, Mat M)
function VecTransformed (line 102) | void VecTransformed(Vec vd, Vec vs, Mat M)
function VecRotate (line 117) | void VecRotate(Vec v, float Angle, char Axis)
function VecNormalise (line 127) | void VecNormalise(Vec v)
function VecScale (line 138) | void VecScale(Vec v, float k)
function VecScaled (line 148) | void VecScaled(Vec vd, float k, Vec vs)
function VecAddScaled (line 158) | void VecAddScaled(Vec vd, float k, Vec vs)
function VecWeightedMean2 (line 168) | void VecWeightedMean2(Vec v, float k0, Vec v0, float k1, Vec v1)
function VecWeightedMean3 (line 180) | void VecWeightedMean3(Vec v, float k0, Vec v0, float k1, Vec v1, float...
function CrossProduct (line 193) | void CrossProduct(Vec vd, Vec v0, Vec v1)
function DotProduct3 (line 202) | float DotProduct3(Vec v0, Vec v1)
function DotProduct4 (line 209) | float DotProduct4(Vec v0, Vec v1)
function VecLength3 (line 216) | float VecLength3(Vec v)
function MatSet (line 236) | void MatSet(Mat M, float m00, float m01, float m02, float m03,
function MatZero (line 252) | void MatZero(Mat M)
function MatIdentity (line 263) | void MatIdentity(Mat M)
function MatTranspose (line 274) | void MatTranspose(Mat M)
function MatTransposed (line 286) | void MatTransposed(Mat Md, Mat Ms)
function MatDiagonal (line 296) | void MatDiagonal(Mat M, Vec v)
function MatScale (line 306) | void MatScale(Mat M, float k)
function MatRotation (line 316) | void MatRotation(Mat M, float Angle, char Axis)
function MatTranslation (line 328) | void MatTranslation(Mat M, Vec v)
function MatProduct (line 337) | void MatProduct(Mat AB, Mat A, Mat B)
function MatPremultiply (line 361) | void MatPremultiply(Mat A, Mat B)
function MatPostmultiply (line 371) | void MatPostmultiply(Mat A, Mat B)
function MatInverse (line 382) | void MatInverse(Mat Md, Mat Ms)
function MatEuler (line 403) | void MatEuler(Mat M, Vec Angles)
FILE: Code/Gfx/NGPS/NX/mikemath.h
function namespace (line 7) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/nx_init.cpp
type NxPs2 (line 34) | namespace NxPs2
function InitialiseEngine (line 74) | void InitialiseEngine(void)
function AllocateExtraDMA (line 247) | void AllocateExtraDMA(bool allocate)
function ResetEngine (line 287) | void ResetEngine(void)
function SuspendEngine (line 331) | void SuspendEngine(void)
function StartInterrupts (line 346) | static void StartInterrupts(void)
function StopInterrupts (line 396) | static void StopInterrupts(void)
FILE: Code/Gfx/NGPS/NX/nx_init.h
function namespace (line 4) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/occlude.cpp
type NxPs2 (line 44) | namespace NxPs2
function cmp (line 101) | static int cmp( const void *p1, const void *p2 )
function AddOcclusionPoly (line 179) | void AddOcclusionPoly( Mth::Vector &v0, Mth::Vector &v1, Mth::Vector &...
function EnableOcclusionPoly (line 206) | void EnableOcclusionPoly( uint32 checksum, bool available )
function RemoveAllOcclusionPolys (line 224) | void RemoveAllOcclusionPolys( void )
function CheckForOptimalOccluders (line 241) | void CheckForOptimalOccluders( Mth::Vector &cam_pos, Mth::Vector &view...
function BuildOccluders (line 283) | void BuildOccluders( Mth::Vector *p_cam_pos )
function OccludeUseVU0 (line 520) | bool OccludeUseVU0()
function OccludeDisableVU0 (line 530) | void OccludeDisableVU0()
function OccludeUseScratchPad (line 544) | bool OccludeUseScratchPad()
function OccludeDisableScratchPad (line 554) | void OccludeDisableScratchPad()
FILE: Code/Gfx/NGPS/NX/occlude.h
function namespace (line 8) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/pcrtc.cpp
type NxPs2 (line 9) | namespace NxPs2
function SetupPCRTC (line 20) | void SetupPCRTC(int Enable, int FFMode, int HRes, int VRes) // HRes a...
FILE: Code/Gfx/NGPS/NX/pcrtc.h
function namespace (line 4) | namespace NxPs2
FILE: Code/Gfx/NGPS/NX/render.cpp
type Inp (line 55) | namespace Inp
type NxPs2 (line 62) | namespace NxPs2
function EnableFlipCopy (line 121) | void EnableFlipCopy(bool flip)
function FlipCopyEnabled (line 126) | bool FlipCopyEnabled()
function RenderPrologue (line 144) | void RenderPrologue(void)
function RenderWorld (line 254) | void RenderWorld(Mth::Matrix* camera_orient, Mth::Vector* camera_pos, ...
function RenderInitImmediateMode (line 269) | void RenderInitImmediateMode()
function RenderSwitchImmediateMode (line
Copy disabled (too large)
Download .json
Condensed preview — 1308 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (21,681K chars).
[
{
"path": "Code/Core/Debug/Assert.cpp",
"chars": 10223,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/Checks.h",
"chars": 10248,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/Debug.cpp",
"chars": 11804,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/Mem_stat.h",
"chars": 3669,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/Messages.h",
"chars": 6357,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/Module.h",
"chars": 6119,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/NGPS/P_debug.cpp",
"chars": 10847,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/Project.h",
"chars": 5052,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/Signatrs.h",
"chars": 4046,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Debug/Wn32/P_debug.cpp",
"chars": 4651,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/XBox/p_debug.cpp",
"chars": 11037,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/log.cpp",
"chars": 6330,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug/ngc/P_debug.cpp",
"chars": 10852,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Debug.h",
"chars": 4158,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Defines.h",
"chars": 17688,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/DynamicTable.cpp",
"chars": 3205,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/DynamicTable.h",
"chars": 6637,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/HashTable.h",
"chars": 13461,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/List/Head.h",
"chars": 12311,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/List/Node.h",
"chars": 13403,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/List/Search.h",
"chars": 5494,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/List/list.cpp",
"chars": 2831,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/List.h",
"chars": 2493,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/LookupTable.cpp",
"chars": 3279,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/LookupTable.h",
"chars": 10515,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Math/Xbox/sse.h",
"chars": 6893,
"preview": "//-----------------------------------------------------------------------------\r\n// File: SSE.h\r\n//\r\n// Desc: P3 SSE con"
},
{
"path": "Code/Core/Math/geometry.cpp",
"chars": 17322,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Math/geometry.h",
"chars": 10135,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/math.cpp",
"chars": 9980,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Math/math.h",
"chars": 15745,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/matrix.cpp",
"chars": 30601,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Math/matrix.h",
"chars": 7019,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/matrix.inl",
"chars": 34071,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/quat.h",
"chars": 5118,
"preview": "/*****************************************************************************\r\n/***************************************"
},
{
"path": "Code/Core/Math/quat.inl",
"chars": 23452,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/rect.h",
"chars": 7679,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/rot90.cpp",
"chars": 3558,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/rot90.h",
"chars": 433,
"preview": "///////////////////////////////////////////////////////////////////////////////////////\r\n// rot90.h\r\n//\r\n\r\n#ifndef\t__COR"
},
{
"path": "Code/Core/Math/slerp.cpp",
"chars": 9244,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/slerp.h",
"chars": 3516,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/vector.cpp",
"chars": 12171,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Math/vector.h",
"chars": 8934,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Math/vector.inl",
"chars": 35475,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/String/CString.cpp",
"chars": 9535,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/String/CString.h",
"chars": 4091,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/String/stringutils.cpp",
"chars": 6523,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/String/stringutils.h",
"chars": 3144,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/StringHashTable.h",
"chars": 4019,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Support/Lock.h",
"chars": 4436,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Support/Ref.h",
"chars": 4497,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Support/class.cpp",
"chars": 8336,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Support/class.h",
"chars": 2023,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Support/support.h",
"chars": 2551,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Task/Hook.h",
"chars": 4639,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Task/List.h",
"chars": 3128,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Task/Stack.h",
"chars": 3489,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Task/Task.cpp",
"chars": 5070,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Task/Task.h",
"chars": 6031,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Task/Tlist.cpp",
"chars": 8291,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Task/Tstack.cpp",
"chars": 10365,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/Task.h",
"chars": 2525,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/Thread/ngc/t_thread.cpp",
"chars": 1725,
"preview": "///******************************************************************\r\n//*\r\n//* DESCRIPTION: thread/ngps/t_thread.cpp"
},
{
"path": "Code/Core/Thread/ngc/t_thread.h",
"chars": 2433,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: thread/ngc/t_thread.h\r\n*\r\n* "
},
{
"path": "Code/Core/Thread/ngps/t_thread.cpp",
"chars": 1551,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: thread/ngps/t_thread.cpp\r\n*\r\n"
},
{
"path": "Code/Core/Thread/ngps/t_thread.h",
"chars": 2089,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: thread/ngps/t_thread.h\r\n*\r\n* "
},
{
"path": "Code/Core/Thread/wn32/t_thread.cpp",
"chars": 596,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: t_target.h\r\n*\r\n* AUTHOR:\tJ"
},
{
"path": "Code/Core/Thread/wn32/t_thread.h",
"chars": 596,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: t_target.h\r\n*\r\n* AUTHOR:\tJ"
},
{
"path": "Code/Core/TimestampedFlag.h",
"chars": 5881,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/compress.cpp",
"chars": 11850,
"preview": "#include <core/compress.h>\r\n\r\n#define N\t\t 4096\t/* size of ring buffer */\r\n#define F\t\t 18\t/* upper limit for match_leng"
},
{
"path": "Code/Core/compress.h",
"chars": 285,
"preview": "#ifndef __CORE_COMPRESS_H\r\n#define __CORE_COMPRESS_H\r\n\r\n#ifndef __CORE_DEFINES_H\r\n#include <core/defines.h>\r\n#endif\r\n\r\ni"
},
{
"path": "Code/Core/crc.cpp",
"chars": 12191,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Core/crc.h",
"chars": 2914,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/flags.h",
"chars": 11254,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/glue.h",
"chars": 67,
"preview": "#ifndef __GLUE_H__\r\n#define __GLUE_H__\r\n\r\n\r\n#endif\t\t// __GLUE_H__\r\n"
},
{
"path": "Code/Core/log.h",
"chars": 229,
"preview": "#ifndef __CORE_DEBUG_LOG_H\r\n#define __CORE_DEBUG_LOG_H\r\n\r\nnamespace Log\r\n{\r\nvoid Init();\r\nvoid AddEntry(char *p_fileName"
},
{
"path": "Code/Core/macros.h",
"chars": 2739,
"preview": "/*\tUseful little macros...\r\n\t\r\n\tAdd any macros you want into this:\r\n*/\r\n\r\n#ifndef __USEFUL_LITTLE_MACROS_H__\r\n#define __"
},
{
"path": "Code/Core/math.h",
"chars": 2596,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/singleton.h",
"chars": 12227,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/support.h",
"chars": 1345,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Core/thread.h",
"chars": 592,
"preview": "/*******************************************************************\r\n*\r\n* DESCRIPTION: thread.h\r\n*\r\n* AUTHOR:\tJAB"
},
{
"path": "Code/GameFlow.txt",
"chars": 4110,
"preview": "Flow of control\r\n=====================================\r\n\r\n\"autolaunch level=Load_Sch game=career\"\r\n\r\nscript autolaunch\r\n"
},
{
"path": "Code/Gel/AssMan/AssMan.cpp",
"chars": 30289,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/AssMan\r\n//* FILE"
},
{
"path": "Code/Gel/AssMan/AssMan.h",
"chars": 4517,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/AssMan\r\n//* FILE"
},
{
"path": "Code/Gel/AssMan/NodeArrayAsset.cpp",
"chars": 3848,
"preview": "///////////////////////////////////////////////////////////////////////////\r\n// NodeArrayAsset.cpp\r\n//\r\n// Asset depende"
},
{
"path": "Code/Gel/AssMan/NodeArrayAsset.h",
"chars": 1051,
"preview": "////////////////////////////////////////////////////////////////////////////\r\n// animasset.h - interface between asset m"
},
{
"path": "Code/Gel/AssMan/animasset.cpp",
"chars": 4871,
"preview": "///////////////////////////////////////////////////////////////////////////\r\n// AnimAsset.cpp\r\n//\r\n// Asset depended cod"
},
{
"path": "Code/Gel/AssMan/animasset.h",
"chars": 1133,
"preview": "////////////////////////////////////////////////////////////////////////////\r\n// animasset.h - interface between asset m"
},
{
"path": "Code/Gel/AssMan/asset.cpp",
"chars": 2088,
"preview": "///////////////////////////////////////////////////////////////////////////\r\n// Asset.cpp\r\n//\r\n// Mick\r\n//\r\n// Base clas"
},
{
"path": "Code/Gel/AssMan/asset.h",
"chars": 2919,
"preview": "///////////////////////////////////////////////////////////\r\n// asset.h - base class for managed assets\r\n\r\n#ifndef\t__GEL"
},
{
"path": "Code/Gel/AssMan/assettypes.h",
"chars": 603,
"preview": "// asset types for the asset manager\r\n\r\n#ifndef __GEL_ASSETTYPES_H\r\n#define __GEL_ASSETTYPES_H\r\n\r\nnamespace Ass\r\n{\r\n\r\nen"
},
{
"path": "Code/Gel/AssMan/cutsceneasset.cpp",
"chars": 4059,
"preview": "//****************************************************************************\r\n//* MODULE: Ass\r\n//* FILENAME: "
},
{
"path": "Code/Gel/AssMan/cutsceneasset.h",
"chars": 1728,
"preview": "//****************************************************************************\r\n//* MODULE: Ass\r\n//* FILENAME: "
},
{
"path": "Code/Gel/AssMan/refasset.cpp",
"chars": 3427,
"preview": "///////////////////////////////////////////////////////////////////////////\r\n// RefAsset.cpp\r\n//\r\n// Mick\r\n//\r\n// Type o"
},
{
"path": "Code/Gel/AssMan/refasset.h",
"chars": 1580,
"preview": "///////////////////////////////////////////////////////////\r\n// asset.h - base class for managed assets\r\n\r\n#ifndef\t__GEL"
},
{
"path": "Code/Gel/AssMan/skeletonasset.cpp",
"chars": 4824,
"preview": "//****************************************************************************\r\n//* MODULE: Ass\r\n//* FILENAME: "
},
{
"path": "Code/Gel/AssMan/skeletonasset.h",
"chars": 1884,
"preview": "//****************************************************************************\r\n//* MODULE: Ass\r\n//* FILENAME: "
},
{
"path": "Code/Gel/AssMan/skinasset.cpp",
"chars": 4328,
"preview": "///////////////////////////////////////////////////////////////////////////\r\n// SkinAsset.cpp\r\n//\r\n// Asset depended cod"
},
{
"path": "Code/Gel/AssMan/skinasset.h",
"chars": 1526,
"preview": "////////////////////////////////////////////////////////////////////////////\r\n// skinasset.h - interface between asset m"
},
{
"path": "Code/Gel/Collision/BatchTriColl.cpp",
"chars": 15785,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Gel/Collision/BatchTriColl.h",
"chars": 4816,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Collision/CollCache.cpp",
"chars": 10875,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Gel/Collision/CollCache.h",
"chars": 7238,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Collision/CollEnums.h",
"chars": 1321,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Collision/CollTriData.cpp",
"chars": 66646,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Gel/Collision/CollTriData.h",
"chars": 24626,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Collision/Collision.cpp",
"chars": 89415,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Gel/Collision/Collision.h",
"chars": 26879,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Collision/MovCollMan.cpp",
"chars": 2726,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t "
},
{
"path": "Code/Gel/Collision/MovCollMan.h",
"chars": 2968,
"preview": "/*****************************************************************************\r\n**\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t**\r\n**\t\t\t\t\t \t Ne"
},
{
"path": "Code/Gel/Components/BouncyComponent.h",
"chars": 3511,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraComponent.cpp",
"chars": 7959,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraComponent.h",
"chars": 2001,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraLookAroundComponent.cpp",
"chars": 9721,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraLookAroundComponent.h",
"chars": 4400,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraUtil.cpp",
"chars": 5447,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CameraUtil.h",
"chars": 1549,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CollideAndDieComponent.cpp",
"chars": 10890,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/CollideAndDieComponent.h",
"chars": 2168,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/FloatingLabelComponent.cpp",
"chars": 5745,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/FloatingLabelComponent.h",
"chars": 1774,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/GunslingerCameraLookAroundComponent.cpp",
"chars": 14651,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/GunslingerWalkCameraComponent.cpp",
"chars": 20113,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/GunslingerWalkComponent.cpp",
"chars": 81125,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/HorseCameraComponent.cpp",
"chars": 20207,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/HorseCameraComponent.h",
"chars": 3011,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/HorseComponent.cpp",
"chars": 78216,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/HorseComponent.h",
"chars": 13550,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/InputComponent.cpp",
"chars": 18067,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/InputComponent.h",
"chars": 3376,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ModelLightUpdateComponent.cpp",
"chars": 6969,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ModelLightUpdateComponent.h",
"chars": 1655,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/MovableContactComponent.cpp",
"chars": 9069,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/MovableContactComponent.h",
"chars": 4259,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/NearComponent.cpp",
"chars": 21101,
"preview": "#if 0\r\n\r\n//****************************************************************************\r\n//* MODULE: Gel/Compone"
},
{
"path": "Code/Gel/Components/NearComponent.h",
"chars": 4040,
"preview": "#if 0\r\n//****************************************************************************\r\n//* MODULE: Gel/Component"
},
{
"path": "Code/Gel/Components/NodeArrayComponent.cpp",
"chars": 8714,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/NodeArrayComponent.h",
"chars": 1666,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ObjectHookManagerComponent.cpp",
"chars": 8500,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ObjectHookManagerComponent.h",
"chars": 1872,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ParticleComponent.cpp",
"chars": 23968,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ParticleComponent.h",
"chars": 1935,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/PedLogicComponent.cpp",
"chars": 90941,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/PedLogicComponent.h",
"chars": 6063,
"preview": "\r\n//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//"
},
{
"path": "Code/Gel/Components/ProximTriggerComponent.cpp",
"chars": 5781,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/ProximTriggerComponent.h",
"chars": 2471,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RailManagerComponent.cpp",
"chars": 8602,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RailManagerComponent.h",
"chars": 1784,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RibbonComponent.cpp",
"chars": 9604,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RibbonComponent.h",
"chars": 1816,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RiderComponent.cpp",
"chars": 24947,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/RiderComponent.h",
"chars": 17080,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SetDisplayMatrixComponent.cpp",
"chars": 3941,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SetDisplayMatrixComponent.h",
"chars": 1510,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SkaterCameraComponent.cpp",
"chars": 52734,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SkaterCameraComponent.h",
"chars": 6619,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SkitchComponent.cpp",
"chars": 9354,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SkitchComponent.h",
"chars": 2040,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StaticVehicleComponent.cpp",
"chars": 6280,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StaticVehicleComponent.h",
"chars": 1654,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StatsManagerComponent.cpp",
"chars": 44550,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StatsManagerComponent.h",
"chars": 4753,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StreamComponent.cpp",
"chars": 11759,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/StreamComponent.h",
"chars": 2441,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SuspendComponent.cpp",
"chars": 20720,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/SuspendComponent.h",
"chars": 2777,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/TriggerComponent.cpp",
"chars": 10223,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/TriggerComponent.h",
"chars": 2468,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VehicleSoundComponent.cpp",
"chars": 21808,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VehicleSoundComponent.h",
"chars": 2789,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VelocityComponent.cpp",
"chars": 8539,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VelocityComponent.h",
"chars": 1782,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VibrationComponent.cpp",
"chars": 11312,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/VibrationComponent.h",
"chars": 2095,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkCameraComponent.cpp",
"chars": 19463,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkCameraComponent.h",
"chars": 4874,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkComponent.cpp",
"chars": 111854,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkComponent.h",
"chars": 24524,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkHangUtil.cpp",
"chars": 52278,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/WalkLadderUtil.cpp",
"chars": 20841,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/animationcomponent.cpp",
"chars": 79132,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/animationcomponent.h",
"chars": 6904,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/avoidcomponent.cpp",
"chars": 22375,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/avoidcomponent.h",
"chars": 2075,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/bouncycomponent.cpp",
"chars": 22010,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/carphysicscomponent.cpp",
"chars": 6737,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/carphysicscomponent.h",
"chars": 1825,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/collisioncomponent.cpp",
"chars": 8385,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/collisioncomponent.h",
"chars": 1733,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/emptycomponent.cpp",
"chars": 8968,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/emptycomponent.h",
"chars": 1596,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/lockobjcomponent.cpp",
"chars": 17973,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/lockobjcomponent.h",
"chars": 3004,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/modelcomponent.cpp",
"chars": 64320,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/modelcomponent.h",
"chars": 5840,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/motioncomponent.cpp",
"chars": 96108,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/motioncomponent.h",
"chars": 9821,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/rigidbodycomponent.cpp",
"chars": 58252,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/rigidbodycomponent.h",
"chars": 10239,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/shadowcomponent.cpp",
"chars": 17212,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
},
{
"path": "Code/Gel/Components/shadowcomponent.h",
"chars": 2211,
"preview": "//****************************************************************************\r\n//* MODULE: Gel/Components\r\n//* "
}
]
// ... and 1108 more files (download for full content)
About this extraction
This page contains the full source code of the thug1src/thug GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1308 files (18.4 MB), approximately 4.9M tokens, and a symbol index with 5904 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.