From 306a76cb444102bc207ee16e8a65aa9e90bbd37a Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 5 Mar 2023 12:32:38 -0400 Subject: global: Start work on making the codebase match without inlining It seems more, and more obvious that the codebase was originally compiled without inlining. --- include/pso/TObject.h | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'include/pso/TObject.h') diff --git a/include/pso/TObject.h b/include/pso/TObject.h index ef2cf66..1478871 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -110,9 +110,8 @@ private: }; -protected: +public: const char *m_name; -private: union { object_flags m_flags; u16 m_flags_u16; @@ -141,24 +140,6 @@ public: void *operator new (size_t size) { return alloc(size); }; void operator delete(void *ptr) { free(ptr); }; - const char *name() { return m_name; }; - object_flags flags() { return m_flags; }; - u16 flags_u16() { return m_flags_u16; }; - u16 id() { return m_id; }; - TObject *prev() { return m_prev; }; - TObject *next() { return m_next; }; - TObject *up() { return m_up; }; - TObject *down() { return m_down; }; - - void set_name(const char *name) { m_name = name; }; - void set_obj_flags(object_flags flags) { m_flags = flags; }; - void set_flags_u16(u16 flags) { m_flags_u16 = flags; }; - void set_id(u16 id) { m_id = id; }; - void set_prev(TObject *node) { m_prev = node; }; - void set_next(TObject *node) { m_next = node; }; - void set_up(TObject *node) { m_up = node; }; - void set_down(TObject *node) { m_down = node; }; - void delete_children(); void queue_destruction_for_each_node(); void run_tasks(); -- cgit v1.2.3-13-gbd6f