5 * Created by Bryan Donlan on Sun 21 May 2006
6 * Copyright (c) 2006 Bryan Donlan. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
24 #include "ser/s_physics.h"
25 #include "ser/s_metaroom.h"
26 #include "serialization.h"
27 #include <boost/serialization/set.hpp>
32 ar
& obj
.first
& obj
.second
& obj
.perm
;
36 ar
& obj
.doors
& obj
.nearby
;
37 ar
& obj
.x_left
& obj
.x_right
;
38 ar
& obj
.y_left_ceiling
& obj
.y_right_ceiling
;
39 ar
& obj
.y_left_floor
& obj
.y_right_floor
;
41 ar
& obj
.left
& obj
.right
& obj
.top
& obj
.bot
;
43 ar
& obj
.type
& obj
.id
;
45 std::string
t("CA PREMARK");
47 assert(t
== "CA PREMARK");
49 std::vector
<float> hack
;
50 hack
.resize(CA_COUNT
);
51 for (int i
= 0; i
< CA_COUNT
; i
++) {
52 /* std::cerr << "CA loop, i=" << i << " pre=" << obj.ca[i] << std::endl;
54 std::cerr << "Post=" << obj.ca[i] << std::endl;*/
58 std::string
t2("CA POSTMARK");
60 assert(t2
== "CA POSTMARK");