Changeset 459
- Timestamp:
- Aug 24, 2009, 1:32:06 PM (15 years ago)
- Location:
- Daodan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/Flatline/src/Flatline.h
r457 r459 31 31 32 32 bool Net_Listen(uint16_t port, bool (*packet_callback)(char* data, int datalen, int from)); 33 int Net_CreateSocket(uint16_t port); 34 bool Net_Send(int socket, int ip, uint16_t port, char* data, int datalen); 35 void Net_CloseSocket(int sock); 33 34 int NetUDPSocket_Create(uint16_t port); 35 bool NetUDPSocket_Send(int socket, int ip, uint16_t port, char* data, int datalen); 36 void NetUDPSocket_Close(int sock); 37 36 38 bool FLrListen_PacketCallback(char* data, int datalen, int from); 37 39 bool FLrListen_Run(); -
Daodan/src/Daodan.c
r455 r459 39 39 bool patch_cheattable = true; 40 40 bool patch_argb8888 = true; 41 bool patch_killvtune = true; 41 42 42 43 bool patch_safeprintf = true; … … 162 163 } 163 164 165 // ARGB8888 textures 164 166 if (patch_argb8888) 165 167 { … … 167 169 DDrPatch_Byte (OniExe + 0x00135af4, 0x0B); 168 170 } 171 172 // Disable loading the vtuneapi.dll 173 if (patch_killvtune) 174 DDrPatch_Byte (OniExe + 0x00026340, 0xC3); 169 175 170 176 return true; … … 229 235 else if (!stricmp(name, "argb8888")) 230 236 patch_argb8888 = !stricmp(inifile_cleanstr(value), "true"); 237 else if (!stricmp(name, "killvtune")) 238 patch_killvtune = !stricmp(inifile_cleanstr(value), "true"); 231 239 else if (!stricmp(name, "safeprintf")) 232 240 patch_safeprintf = !stricmp(inifile_cleanstr(value), "true");
Note:
See TracChangeset
for help on using the changeset viewer.