1#include <game/cLib/c_line.hpp>
7 if (prevNode ==
nullptr)
10 if (node !=
nullptr) {
17 if (node->
mpNext !=
nullptr) {
31 if (node !=
nullptr) {
35 if (node->
mpPrev !=
nullptr) {
43 if (node->
mpNext !=
nullptr) {
45 }
else if (node ==
mpLast) {
61 if (node !=
nullptr) {
81 if (node !=
nullptr) {
bool insertLineNode(cLineNd_c *node, cLineNd_c *prevNode)
Inserts a node after the given previous node.
bool removeLineNode(cLineNd_c *node)
Removes a node from the list.
bool addLastLineNode(cLineNd_c *node)
Adds a node to the end of the list.
bool addTopLineNode(cLineNd_c *node)
Adds a node to the beginning of the list.
cLineNd_c * mpLast
The last node in the list.
cLineNd_c * mpFirst
The first node in the list.
A doubly-linked list node. See cLineMg_c.
cLineNd_c * mpPrev
The previous node.
cLineNd_c * mpNext
The next node.