1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * |
5 | * |
6 | * Deliantra is free software: you can redistribute it and/or modify it under |
6 | * Deliantra is free software: you can redistribute it and/or modify it under |
7 | * the terms of the Affero GNU General Public License as published by the |
7 | * the terms of the Affero GNU General Public License as published by the |
8 | * Free Software Foundation, either version 3 of the License, or (at your |
8 | * Free Software Foundation, either version 3 of the License, or (at your |
9 | * option) any later version. |
9 | * option) any later version. |
… | |
… | |
220 | std::vector<ixsend, slice_allocator<ixsend> > ixface; // which faces to send to the client using ix |
220 | std::vector<ixsend, slice_allocator<ixsend> > ixface; // which faces to send to the client using ix |
221 | |
221 | |
222 | std::vector<faceidx, slice_allocator<faceidx> > fxface; // which faces to send using fx |
222 | std::vector<faceidx, slice_allocator<faceidx> > fxface; // which faces to send using fx |
223 | MTH void flush_fx (); // send fx if required |
223 | MTH void flush_fx (); // send fx if required |
224 | |
224 | |
|
|
225 | MTH void invalidate_face (faceidx idx); |
|
|
226 | MTH void invalidate_all_faces (); |
|
|
227 | |
225 | void do_destroy (); |
228 | void do_destroy (); |
226 | void gather_callbacks (AV *&callbacks, event_type event) const; |
229 | void gather_callbacks (AV *&callbacks, event_type event) const; |
227 | |
230 | |
228 | iow socket_ev; void socket_cb (iow &w, int revents); |
231 | iow socket_ev; void socket_cb (iow &w, int revents); |
229 | |
232 | |