ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan.c
(Generate patch)

Comparing Daodan/src/Daodan.c (file contents):
Revision 691 by alloc, Wed Mar 6 18:33:15 2013 UTC vs.
Revision 692 by alloc, Thu Mar 7 17:26:13 2013 UTC

# Line 1 | Line 1
1 + #include <windows.h>
2   #include <string.h>
3  
4   #include "Daodan.h"
# Line 11 | Line 12
12   #include "Daodan_WindowHack.h"
13  
14   #include "Oni.h"
14 #include "Oni_Persistence.h"
15  
16 < #include "BFW_Utility.h"
16 > #include "Oni_GL.h"
17 > #include "Daodan_GL.h"
18  
19 < #include "oni_gl.h"
19 < #include "daodan_gl.h"
20 <
21 < #include "inifile.h"
19 > #include "Inifile_Reader.h"
20  
21   HMODULE DDrDLLModule;
22   HMODULE DDrONiModule;
# Line 328 | Line 326 | bool DDrIniCallback(char* section, bool
326                                  opt_sound = !_stricmp(inifile_cleanstr(value), "true");
327                          else if (!_stricmp(name, "switch"))
328                                  M3gResolutionSwitch = !_stricmp(inifile_cleanstr(value), "true");
331                        //else if (!_stricmp(name, "devmode"))
332                                //turn_dev_mode_on = !_stricmp(inifile_cleanstr(value), "true");
329                          else
330                                  DDrStartupMessage("unrecognised option \"%s\"", name);
331                          break;
# Line 680 | Line 676 | void __cdecl DDrMain(int argc, char* arg
676                  DDrPatch_MakeJump((void*)(OniExe + 0x0010f021), (void*)DDrCheater_LevelLoad);
677          }
678  
683        //DDrPatch_MakeJump((void*)(OniExe + 0x000378c0, (void*)DDrException);
679          DDrPatch_MakeJump((void*)(OniExe + 0x000245A0), (void*)DDrPrintWarning);
685        //init_daodan_gl();
680          
681          ONiMain(argc, argv);
682   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)