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,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 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. |
… | |
… | |
138 | /* Do this so we don't send a face command for the client for |
138 | /* Do this so we don't send a face command for the client for |
139 | * this face. Face 0 is sent to the client to set meta data |
139 | * this face. Face 0 is sent to the client to set meta data |
140 | * for following faces in fx. |
140 | * for following faces in fx. |
141 | */ |
141 | */ |
142 | faces_sent[0] = true; |
142 | faces_sent[0] = true; |
143 | fx_want [FT_FACE] = true; // all clients must support image faces |
143 | fx_want [FT_IMAGE] = true; // all clients must support image faces |
144 | |
144 | |
145 | socket_ev.set (fd, EV_READ); |
145 | socket_ev.set (fd, EV_READ); |
146 | socket_ev.prio (2); // one higher than the ticker priority |
146 | socket_ev.prio (2); // one higher than the ticker priority |
147 | socket_ev.start (); |
147 | socket_ev.start (); |
148 | |
148 | |