Rev 9151 | Rev 9745 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9151 | Rev 9458 | ||
---|---|---|---|
Line 2003... | Line 2003... | ||
2003 | is calculated as (x+y*xsize)*3. |
2003 | is calculated as (x+y*xsize)*3. |
2004 | * There is a pair function to set pixel on the background image - |
2004 | * There is a pair function to set pixel on the background image - |
2005 | subfunction 2 of function 15. |
2005 | subfunction 2 of function 15. |
Line 2006... | Line 2006... | ||
2006 | 2006 | ||
- | 2007 | ---------------------- Constants for registers: ---------------------- |
|
- | 2008 | eax - SF_BACKGROUND_GET_RECT (39) |
|
- | 2009 | ====================================================================== |
|
- | 2010 | == Function 39, subfunction 3 - get rect from the background image. = |
|
- | 2011 | ====================================================================== |
|
- | 2012 | Parameters: |
|
- | 2013 | * eax = 39 - function number |
|
- | 2014 | * ebx = 3 - subfunction number |
|
- | 2015 | * ecx = [x]*65536 + [y] |
|
- | 2016 | * edx = [width]*65536 + [height] |
|
- | 2017 | * esi = buffer address |
|
- | 2018 | Returned value: |
|
- | 2019 | * eax = 0 - success |
|
- | 2020 | * eax = -1 - error |
|
- | 2021 | Remarks: |
|
- | 2022 | * Function copies specified rectangle of background image to buffer |
|
- | 2023 | in 0x00RRGGBB format |
|
- | 2024 | ||
2007 | ---------------------- Constants for registers: ---------------------- |
2025 | ---------------------- Constants for registers: ---------------------- |
2008 | eax - SF_BACKGROUND_GET (39) |
2026 | eax - SF_BACKGROUND_GET (39) |
2009 | ====================================================================== |
2027 | ====================================================================== |
2010 | == Function 39, subfunction 4 - get drawing mode for the background. = |
2028 | == Function 39, subfunction 4 - get drawing mode for the background. = |
2011 | ====================================================================== |
2029 | ====================================================================== |