Author: greatlrd
Date: Fri Jun 22 19:11:59 2007
New Revision: 27262
URL: http://svn.reactos.org/svn/reactos?rev=27262&view=rev
Log:
Fixing smaller bugs, like save the internal surface list, document up some members what they do
Modified:
trunk/reactos/dll/directx/ddraw/Surface/createsurface.c
trunk/reactos/dll/directx/ddraw/ddraw_structures.txt
Modified: trunk/reactos/dll/directx/ddraw/Surface/createsurface.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Surface/…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Surface/createsurface.c (original)
+++ trunk/reactos/dll/directx/ddraw/Surface/createsurface.c Fri Jun 22 19:11:59 2007
@@ -187,10 +187,11 @@
ThisSurfLcl->dwProcessId = GetCurrentProcessId();
/* FIXME the lpLnk */
- /* FIXME the ref counter */
Main_DDrawSurface_AddRef((LPDIRECTDRAWSURFACE7)ThisSurfInt);
}
+
+ pDDraw->lpLcl->lpGbl->dsList = (LPDDRAWI_DDRAWSURFACE_INT) slist_int;
/* Fixme call on DdCanCreate then on DdCreateSurface createsurface data here */
@@ -231,7 +232,7 @@
return mDdCreateSurface.ddRVal;
}
- *ppSurf = &slist_int[0]->lpVtbl;
+ *ppSurf = (LPDIRECTDRAWSURFACE7) &slist_int[0]->lpVtbl;
return DD_OK;
}
Modified: trunk/reactos/dll/directx/ddraw/ddraw_structures.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/ddraw_st…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/ddraw_structures.txt (original)
+++ trunk/reactos/dll/directx/ddraw/ddraw_structures.txt Fri Jun 22 19:11:59 2007
@@ -37,7 +37,7 @@
ULONG_PTR hWnd;
ULONG_PTR hDC; // create HDC and save it to this pointer
DWORD dwErrorMode;
- LPDDRAWI_DDRAWSURFACE_INT lpPrimary;
+ LPDDRAWI_DDRAWSURFACE_INT lpPrimary; // The primary surface
LPDDRAWI_DDRAWSURFACE_INT lpCB;
DWORD dwPreferredMode;
HINSTANCE hD3DInstance;
@@ -49,7 +49,7 @@
DWORD dwHotTracking;
DWORD dwIMEState;
ULONG_PTR hWndPopup;
- ULONG_PTR hDD;
+ ULONG_PTR hDD; // from Gdientry1 copy the _DDRAWI_DIRECTDRAW_GBL hDD after startup then copy this back each time we need hDD
ULONG_PTR hGammaCalibrator;
LPDDGAMMACALIBRATORPROC lpGammaCalibrator;
} DDRAWI_DIRECTDRAW_LCL;
@@ -62,20 +62,20 @@
DWORD dwInternal1;
DWORD dwUnused1[9];
LPDDHAL_CALLBACKS lpDDCBtmp;
- LPDDRAWI_DDRAWSURFACE_INT dsList;
+ LPDDRAWI_DDRAWSURFACE_INT dsList; // list of all created directdraw surface, it is a pointer list
LPDDRAWI_DDRAWPALETTE_INT palList;
LPDDRAWI_DDRAWCLIPPER_INT clipperList;
LPDDRAWI_DIRECTDRAW_GBL lp16DD; // pointer to it self (DDRAWI_DIRECTDRAW_GBL)
DWORD dwMaxOverlays;
DWORD dwCurrOverlays;
- DWORD dwMonitorFrequency;
+ DWORD dwMonitorFrequency; // current mointor freq, (nivida always set this to 0, it is a bug in nvida drv)
DDCORECAPS ddHELCaps;
DWORD dwUnused2[50];
DDCOLORKEY ddckCKDestOverlay;
DDCOLORKEY ddckCKSrcOverlay;
VIDMEMINFO vmiData;
LPVOID lpDriverHandle;
- LPDDRAWI_DIRECTDRAW_LCL lpExclusiveOwner;
+ LPDDRAWI_DIRECTDRAW_LCL lpExclusiveOwner; // which local directdraw comobject is in Exclusive mode and own this
DWORD dwModeIndex;
DWORD dwModeIndexOrig;
DWORD dwNumFourCC;
@@ -118,7 +118,7 @@
ULONG_PTR lpD3DExtendedCaps;
DWORD dwDOSBoxEvent;
RECT rectDesktop;
- char cDriverName[MAX_DRIVER_NAME];
+ char cDriverName[MAX_DRIVER_NAME]; // driver name, if we send in CreateDirectDraw(NULL, ...) this will be fill in the name "display"
ULONG_PTR lpD3DHALCallbacks3;
DWORD dwNumZPixelFormats;
LPDDPIXELFORMAT lpZPixelFormats;
Author: cfinck
Date: Thu Jun 21 23:03:55 2007
New Revision: 27255
URL: http://svn.reactos.org/svn/reactos?rev=27255&view=rev
Log:
Add the links to the RosCMS v2 Interfaces until RosCMS v3 is fully ready
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/home.php
Modified: trunk/web/reactos.org/htdocs/roscms/inc/home.php
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
==============================================================================
--- trunk/web/reactos.org/htdocs/roscms/inc/home.php (original)
+++ trunk/web/reactos.org/htdocs/roscms/inc/home.php Thu Jun 21 23:03:55 2007
@@ -27,6 +27,21 @@
}
else {
?>
+ <h4>RosCMS v3 Information</h4>
+ <p>
+ We are currently testing a new version 3 of our Content Management System RosCMS on the ReactOS-Website.<br><br>
+
+ If you want to edit something, please use the old interfaces until RosCMS v3 is fully ready:
+ <ul>
+ <?php
+ if ($roscms_intern_usrgrp_trans == true) { ?><li><a href="?page=trans">Translator Interface</a></li><?php }
+ if ($roscms_intern_usrgrp_team == true) { ?><li><a href="?page=team">Team Interface</a></li><?php }
+ if ($roscms_intern_usrgrp_dev == true) { ?><li><a href="?page=dev">Developer Interface</a></li><?php }
+ if ($roscms_intern_usrgrp_admin == true) { ?><li><a href="?page=admin">Admin Interface</a></li><?php }
+ ?>
+ </ul>
+ </p>
+
<h4>Translator Information</h4>
<p>Language maintainer contact information [...]</p>
<?php