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 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 | * Copyright (©) 2001 Mark Wedel |
5 | * Copyright (©) 2001 Mark Wedel |
6 | * Copyright (©) 1992 Frank Tore Johansen |
6 | * Copyright (©) 1992 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
9 | * the terms of the Affero GNU General Public License as published by the |
9 | * the terms of the Affero GNU General Public License as published by the |
… | |
… | |
230 | send_packet (sl); |
230 | send_packet (sl); |
231 | |
231 | |
232 | anims_sent[anim_num] = 1; |
232 | anims_sent[anim_num] = 1; |
233 | } |
233 | } |
234 | |
234 | |
|
|
235 | void |
|
|
236 | client::invalidate_face (faceidx idx) |
|
|
237 | { |
|
|
238 | faces_sent [idx] = false; |
|
|
239 | force_newmap = true; |
|
|
240 | } |
|
|
241 | |
|
|
242 | void |
|
|
243 | client::invalidate_all_faces () |
|
|
244 | { |
|
|
245 | faces_sent.reset (); |
|
|
246 | force_newmap = true; |
|
|
247 | } |
|
|
248 | |