2009-09-07 21:16:12 +00:00
|
|
|
-------------------------------------------------
|
|
|
|
include/wx folder -- PCSX2 Common Includes
|
|
|
|
-------------------------------------------------
|
|
|
|
|
|
|
|
This folder contains various classes borrowed from wxWidgets 2.9.x / 3.0.
|
|
|
|
|
|
|
|
/Common/include is a PCSX2 project default include search path, and with the /wx
|
|
|
|
folder prefix, these files can be included the same way as other wxWidgets includes:
|
|
|
|
|
|
|
|
#include <wx/scopedptr.h>
|
|
|
|
|
|
|
|
If/when PCSX2 upgrades to wx2.9/3.0 these files will be removed and the wxWidgets
|
|
|
|
distribution files will automatically be used instead.
|
Lots of new code maintenance stuffs:
* Completely new assertion macros: pxAssert, pxAssertMsg, and pxFail, pxAssertDev (both which default to using a message). These replace *all* wxASSERT, DevAssert, and jASSUME varieties of macros. New macros borrow the best of all assertion worlds: MSVCRT, wxASSERT, and AtlAssume. :)
* Rewrote the Console namespace as a structure called IConsoleWriter, and created several varieties of ConsoleWriters for handling different states of log and console availability (should help reduce overhead of console logging nicely).
* More improvements to the PersistentThread model, using safely interlocked "Do*" style callbacks for starting and cleaning up threads.
* Fixed console logs so that they're readable in Win32 notepad again (the log writer adds CRs to naked LFs).
* Added AppInit.cpp -- contains constructor, destructor, OnInit, and command line parsing mess.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1950 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-04 08:27:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
NOTE: Removed wxScopedPtr in favor of our own implementation, which uses a more
|
|
|
|
sensible API naming convention and also features better operator assignment.
|