- swr -> Rubidium - LIFont (TTF Font Renderer) - Implement shbin as c++ array - Larger Mesaage Box - Add Texture Loader - Update Image/Error and other sytems to Lithium - Optimize Render2 for Lithium
11 lines
372 B
C++
11 lines
372 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#define PD_SMART_CTOR(type) \
|
|
using Ref = std::shared_ptr<type>; \
|
|
template <typename... args> \
|
|
static Ref New(args&&... cargs) { \
|
|
return std::make_shared<type>(std::forward<args>(cargs)...); \
|
|
}
|