1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
Commit graph

223 commits

Author SHA1 Message Date
Galleondragon 17f86ad513 (Automated push) Update internal/source/* from qb64.bas 2017-10-02 05:11:10 -07:00
Galleondragon 181ebeb68c (Automated push) Update internal/source/* from qb64.bas 2017-09-28 05:16:33 -07:00
Galleondragon 6e929a9985 (Automated push) Update internal/source/* from qb64.bas 2017-09-26 05:15:54 -07:00
Luke Ceddia 0f293b9c5e Remove user_mods 2017-09-25 23:05:53 +10:00
Luke Ceddia 54574c1ca6 Add declaration for sub__keyclear() 2017-09-25 23:03:38 +10:00
Galleondragon f309ab7855 (Automated push) Update internal/source/* from qb64.bas 2017-09-25 05:18:26 -07:00
Luke Ceddia bdc3250b89 Resolved the issue of user mods not working for $console:only programs 2017-09-25 21:56:24 +10:00
FellippeHeitor 7998aa89cd Detect focus using GetForegroundWindow instead of GetActiveWindow. 2017-09-25 02:25:53 -03:00
SteveMcNeill 4f23fd9b7b Add function _AUTODISPLAY so user can get display/autodisplay staus 2017-09-24 18:41:00 -04:00
Galleondragon 034027553c (Automated push) Update internal/source/* from qb64.bas 2017-09-24 05:15:44 -07:00
FellippeHeitor 3488bd916b Fix to MessageBox call. 2017-09-24 08:20:18 -03:00
FellippeHeitor 5922d112bf Adds _WINDOWHANDLE, _WINDOWHASFOCUS and _TITLE$ (function).
- _WINDOWHANDLE exposes the current window's handle (Windows-only).
- _WINDOWHASFOCUS returns true (-1) when the program is the foremost window (Windows-only). Always returns -1 in other OSes.
- _TITLE$ (function) returns the last title set using the _TITLE statement.
2017-09-24 08:12:13 -03:00
SteveMcNeill d3a2424b73 Added right and middle button support for _SCREENCLICK with Windows 2017-09-24 01:08:29 -04:00
SteveMcNeill b89ade1c5c Patch to previous patch for Linux/Mac compatability 2017-09-23 20:33:58 -04:00
SteveMcNeill e264458841 Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS
Change so that modifer keypresses will only register when the window has
focus in Windows.  This corrects the issue with SLEEP, KEYHIT, and
INP(&H60) registering SHIFT, CTRL, and ALT keypresses even when the
program is not in focus or is running as a background app.

Also changed _SCREENEXISTS (and a few other window user commands) so
that they require windows to have actually registered a windows handle
for the function to return -1, and not just for glut to have finished
initializing the screen itself.
2017-09-23 20:24:19 -04:00
Galleondragon cc6a5fb40a (Automated push) Update internal/source/* from qb64.bas 2017-09-22 05:15:55 -07:00
FellippeHeitor 13fa2ca4d5 Unnecessary repeated inline functions removed from _loadimage. 2017-09-22 00:29:41 -03:00
FellippeHeitor 5368b9d5d7 Initial attempt to restore _LOADIMAGE's ability to load in 8bit mode.
- When mode = 256, _LOADIMAGE will return an 8bit image with the loaded file's colors matching the default palette.
- Slower for bigger images, because of the call to matchcol();
2017-09-21 23:55:01 -03:00
Galleondragon 11bca56e8d (Automated push) Update internal/source/* from qb64.bas 2017-09-12 05:17:39 -07:00
FellippeHeitor 8fe5804fa2 Sets the proper dependency (DEPENDENCY_SCREENIMAGE) for clipboard features.
Using $CONSOLE:ONLY without the above causes compilation fails.
2017-09-11 10:29:45 -03:00
Galleondragon 532badd4d2 (Automated push) Update internal/source/* from qb64.bas 2017-09-10 05:16:16 -07:00
FellippeHeitor 7d3f1f9833 Temporary hack to reenable _SNDRAWLEN.
_SNDRAWLEN currently gets stuck at .3715192763764172; this reenables it by returning zero when < .375.
2017-09-09 13:17:03 -03:00
Galleondragon 66cb39f036 (Automated push) Update internal/source/* from qb64.bas 2017-09-07 05:17:15 -07:00
FellippeHeitor 90e0b0df16 Minor fix to _SCREENIMAGE (function).
_SETALPHA needs to be called on the resulting image, as some images com with alpha = 0 from the clipboard.
2017-09-06 21:03:41 -03:00
FellippeHeitor e3bb55da1a Add _CLIPBOARDIMAGE (statement and function)
- Fetch an image from the clipboard with handle& = _CLIPBOARDIMAGE
    - If there isn't an image in the clipboard, handle& will be -1.

- Copy a valid image to the clipboard (All screen modes, except 0) with _CLIPBOARDIMAGE = handle&
2017-09-06 11:19:54 -03:00
Galleondragon cb4d8f7c21 (Automated push) Update internal/source/* from qb64.bas 2017-08-22 05:16:03 -07:00
Galleondragon a992d0d2fe (Automated push) Update internal/source/* from qb64.bas 2017-08-18 05:16:42 -07:00
Luke Ceddia 2d651bfa76 Merge branch 'no_teapot' 2017-08-18 22:07:49 +10:00
Luke Ceddia a7a4783650 Remove teapot from setup build files 2017-08-18 21:52:23 +10:00
Luke Ceddia 995f563d0c Remove teapot, decrease executable by 18K 2017-08-18 20:20:42 +10:00
FellippeHeitor b5e2b06ecd Modifies _MOUSEX/_MOUSEY to return an integer value in SCREEN 0. 2017-08-17 23:11:30 -03:00
Galleondragon 58bae219cb (Automated push) Update internal/source/* from qb64.bas 2017-08-16 05:18:11 -07:00
FellippeHeitor 2f217fce6b Function _BLINK returns -1 if blinking is enabled; 0 if disabled. 2017-08-16 00:40:37 -03:00
FellippeHeitor de75b0aa29 Emulates port &H3C0 to disable/enable blinking using OUT.
Again, thanks to _vince for contributing this bit.
2017-08-16 00:24:33 -03:00
FellippeHeitor 2c153b3db0 Adds _BLINK {ON|OFF} to disable blinking in SCREEN 0 for colors 16-31.
Thanks to _vince for finding the right spots where blinking was set. Or flashing, you choose the naming.
2017-08-16 00:11:31 -03:00
Galleondragon b284e36597 (Automated push) Update internal/source/* from qb64.bas 2017-08-11 05:14:29 -07:00
Luke Ceddia 8238feba75 Squash annoying message from openal on quit 2017-08-11 21:47:05 +10:00
Luke Ceddia 8c9390173e Reenable _SNDRAW and _SNDPLAYFILE 2017-08-11 21:19:52 +10:00
Luke Ceddia 237f42799b Fix initial positioning of sound 2017-08-10 22:06:20 +10:00
Luke Ceddia 2089a95b8b Separate left/right audio channels for stereo audio files.
No _SNDRAW or PLAY yet. Also removed need for sound capability strings.
2017-08-10 22:05:16 +10:00
Luke Ceddia 79ffcc50b3 Cosmetic changes to audio source files 2017-08-06 15:06:26 +10:00
Galleondragon b17655fbb7 (Automated push) Update internal/source/* from qb64.bas 2017-08-05 05:15:10 -07:00
Galleondragon 7e4dd01ad1 (Automated push) Update internal/source/* from qb64.bas 2017-08-04 05:15:07 -07:00
Galleondragon e39ee80f4a (Automated push) Update internal/source/* from qb64.bas 2017-08-03 05:20:45 -07:00
Galleondragon dc1fca8e1c (Automated push) Update internal/source/* from qb64.bas 2017-08-02 05:15:02 -07:00
SteveMcNeill 78d4b607bd Minor change to mem structure
Change to mem.TYPE from LONG variable type to OFFSET.  This prevents
4-bytes padding from throwing off values for mem.ELEMENTSIZE and
mem.IMAGE on 64-bit systems.

Patch should work on Mac, Linux, and Windows; both 32-bit and 64-bit
versions, giving the correct results for mem.ELEMENTSIZE and mem.IMAGE
from now on.
2017-08-02 01:00:01 -04:00
Galleondragon f289da3a5a (Automated push) Update internal/source/* from qb64.bas 2017-07-29 05:14:24 -07:00
Galleondragon 4269bbea91 (Automated push) Update internal/source/* from qb64.bas 2017-07-28 05:41:27 -07:00
SteveMcNeill b75eed2784 Patch to Windows LOADFONT
Fix to bug in Loadfont when using the Windows default font folder,
without specifying a drect route to a font.
2017-07-21 11:20:07 -04:00
Galleondragon 237f95989a (Automated push) Update internal/source/* from qb64.bas 2017-05-23 05:18:10 -07:00