RingRacers/libs/ACSVM/include/ACSVM/Jump.hpp
Sally Coolatta 26477941ed Attempt using ACSVM to implement
It's having trouble linking the dll on Windows currently
2022-10-03 01:23:58 -04:00

49 lines
909 B
C++

//-----------------------------------------------------------------------------
//
// Copyright (C) 2015 David Hill
//
// See COPYING for license information.
//
//-----------------------------------------------------------------------------
//
// Jump class.
//
//-----------------------------------------------------------------------------
#ifndef ACSVM__Jump_H__
#define ACSVM__Jump_H__
#include "HashMapFixed.hpp"
//----------------------------------------------------------------------------|
// Types |
//
namespace ACSVM
{
//
// Jump
//
// Dynamic jump target.
//
class Jump
{
public:
Word codeIdx;
};
//
// JumpMap
//
class JumpMap
{
public:
void loadJumps(Byte const *data, std::size_t count);
HashMapFixed<Word, Word> table;
};
}
#endif//ACSVM__Jump_H__