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
887aff63dd
Build number update.
2017-09-21 23:55:59 -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
70ec5930a3
Build number update.
2017-09-11 10:30:49 -03: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
f337403cd5
Build number update.
2017-09-09 13:18:34 -03: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
8af68290e9
$EXEICON now automatically sets the window's _ICON.
...
Previously you'd have to call _ICON right after $EXEICON.
Old code that call _ICON after $EXEICON doesn't need to be adapted.
2017-09-06 11:21:39 -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
FellippeHeitor
862aacdeac
Fix TAB + ELSE bug for command line compilation.
...
A line starting with a TAB character and an ELSE clause would be incorrectly regarded as having a syntax error when compiling via command line interface. This fixes that issue.
2017-08-22 00:30:44 -03: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
34d6b239bf
Build number update.
2017-08-17 23:15:30 -03: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
FellippeHeitor
b3afefe0dc
Adds the ability to show contextual help (syntax) for SUB/FUNCTIONs.
2017-08-04 10:59:11 -03: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
SteveMcNeill
dc22c6e5a8
Print Output Simplification
...
Minor change to simplify and clean up the output which QB64 creates with
PRINT statements with multiple print segments such as PRINT "A"; "B";
"C".
2017-08-02 21:40:32 -04: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
FellippeHeitor
47437d28d0
Update version.bas
...
Build number update following commit b75eed2
2017-07-24 15:54:21 -03: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
FellippeHeitor
f01d7252c2
Build number update (following changes introduced in cf99f38
).
2017-06-28 22:48:47 -03:00