#include <lisp_writer.hxx>
Public Member Functions | |
LispWriter (const char *name) | |
void | write_vector (const char *name, const Vector2d &pos) |
void | write_float (const char *name, float f) |
void | write_int (const char *name, int i) |
void | write_boolean (const char *name, bool b) |
void | write_string (const char *name, const char *str) |
void | write_symbol (const char *name, const char *symname) |
void | write_lisp_obj (const char *name, lisp_object_t *lst) |
lisp_object_t * | create_lisp () |
|
Definition at line 22 of file lisp_writer.cxx. |
|
caller is responible to free the returned lisp_object_t Definition at line 96 of file lisp_writer.cxx. References lisp_make_cons(), and lisp_nil. Referenced by Spring::serialize(), RectCollider::serialize(), and Particle::serialize(). |
|
Definition at line 89 of file lisp_writer.cxx. References lisp_make_boolean(). Referenced by Particle::serialize(). |
|
Definition at line 54 of file lisp_writer.cxx. References lisp_make_real(). Referenced by Spring::serialize(), and Particle::serialize(). |
|
Definition at line 61 of file lisp_writer.cxx. References lisp_make_integer(). Referenced by Spring::serialize(), and Particle::serialize(). |
|
Definition at line 82 of file lisp_writer.cxx. |
|
Definition at line 68 of file lisp_writer.cxx. References lisp_make_string(). |
|
Definition at line 75 of file lisp_writer.cxx. References lisp_make_symbol(). |
|
Definition at line 46 of file lisp_writer.cxx. References lisp_make_real(), Vector2d::x, and Vector2d::y. Referenced by RectCollider::serialize(), and Particle::serialize(). |