Skip to content

Instantly share code, notes, and snippets.

View camden-smallwood-zz's full-sized avatar

Camden Smallwood camden-smallwood-zz

  • St. Augustine, FL
View GitHub Profile
datum_handle __cdecl object_new(s_object_placement_data *placement_data)
{
s_object_placement_data *_data; // edi
string_id v2; // ST3C_4
s_object_type_definition *object_type; // eax
__int32 model_tag_index; // ecx
s_object_type_definition *_object_type; // esi
datum_handle object_index; // ebx
s_tls_data *tls; // eax
s_object_definition *_definition; // ecx
import ../cseries/cseries
const
DATA_SIGNATURE = Tag(0x40744064)
DATA_ITERATOR_SIGNATURE = Tag(0x72657469)
type
DatumIndex* = distinct uint32
proc `index`*(self: DatumIndex): uint16 =
using TagTool.Cache;
using TagTool.Common;
using TagTool.Serialization;
using System;
using System.Collections.Generic;
namespace TagTool.Tags.Definitions
{
[TagStructure(Name = "game_engine_settings_definition", Tag = "wezr", Size = 0x88, MaxVersion = CacheVersion.Halo3ODST)]
[TagStructure(Name = "game_engine_settings_definition", Tag = "wezr", Size = 0x8C, MinVersion = CacheVersion.HaloOnline106708)]
#include "..\Blam\BlamTypes.hpp"
#include "..\Modules\ModuleTime.hpp"
#include "..\ElDorito.hpp"
#include "..\Patch.hpp"
#include "LoadingScreen.hpp"
using namespace Patches::LoadingScreen;
namespace
{
#pragma once
#include "Blam\Math\Bounds.hpp"
#include "Blam\Math\RealColorRGB.hpp"
#include "Blam\Math\RealEulerAngles3D.hpp"
#include "Blam\Math\RealPoint3D.hpp"
#include "Blam\Tags\TagBlock.hpp"
#include "Blam\Tags\TagData.hpp"
#include "Blam\Tags\TagReference.hpp"
#include "Blam\Text\StringID.hpp"
#include "FieldDefinition.hpp"
namespace Definitions
{
FieldDefinition::FieldDefinition(const FieldType &type) :
FieldDefinition(type, "")
{
}
FieldDefinition::FieldDefinition(const FieldType &type, const long length) :
NameTag 0x0000 global_tags
NameTag 0x0001 sound\levels\mainmenu\pelicans_loop\pelicans_loop
NameTag 0x0002 sound\levels\mainmenu\vehicles_loop\vehicles_loop
NameTag 0x0003 sound\music\main_menu_new\prologue\main_menu_prologue
NameTag 0x0004 sound\music\main_menu_new\main_menu\main_menu
NameTag 0x0005 sound\music\main_menu_new\lobby\main_menu_lobby
NameTag 0x0006 sound\music\postmatch_new\headhunters\postmatch_headhunters
NameTag 0x0007 sound\music\postmatch_new\spartan_engage\postmatch_spartan_engage
NameTag 0x0008 sound\music\postmatch_new\spartan_hero\postmatch_spartan_hero
NameTag 0x0009 sound\levels\mainmenu\pa_voice
This file has been truncated, but you can view the full file.
Tag Tool [1.0.6230.30701]
Please report any bugs and feature requests at
<https://github.com/TheGuardians/TagTool/issues>.
Reading tags...11914 tags loaded.
- Detected target engine version 1.106708 cert_ms23.
- This cache file was built on 3/20/2015 at 10:40 AM.
Reading stringIDs...31837 strings loaded.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TagTool.Cache.HaloOnline;
using TagTool.Tags;
using TagTool.Tags.Definitions;
namespace Test