Getting shaders working with lua.
This commit is contained in:
25
src/duskrpg/story/storyflag.h
Normal file
25
src/duskrpg/story/storyflag.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "story/storyflagvalue.h"
|
||||
|
||||
/**
|
||||
* Gets the value of a story flag.
|
||||
*
|
||||
* @param flag The story flag to get.
|
||||
* @return The value of the story flag.
|
||||
*/
|
||||
#define storyFlagGet(flag) (STORY_FLAG_VALUES[(flag)])
|
||||
|
||||
/**
|
||||
* Sets the value of a story flag.
|
||||
*
|
||||
* @param flag The story flag to set.
|
||||
* @param value The value to set the story flag to.
|
||||
*/
|
||||
void storyFlagSet(const storyflag_t flag, const storyflagvalue_t value);
|
||||
Reference in New Issue
Block a user