Forum

> > Stranded II > General > source code
Forums overviewStranded II overviewGeneral overviewLog in to reply

English source code

3 replies
To the start Previous 1 Next To the start

old source code

popeye654
User Off Offline

Quote
help !
i have some problem with stranded II source code
i use Biltz 3d to edit source code
when i finish i want to run this but...
it's said that Function 'openclipboard' not found
what i can do with that
thankyou

old Re: source code

Geez
GAME BANNED Off Offline

Quote
you have to select main source file and then run

old Re: source code

popeye654
User Off Offline

Quote
i run in main source file
i think it error about Functions.bb
in this line
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;### New Trim (because of error with "Umlaute" ?.?.? in normal trim functions)
Function ntrim$(txt$)
	While Right(txt$,1)="Clipboard"
		txt$=Left(txt$,Len(txt$)-1)
	Wend
	Return txt$
End Function

;### Copy
Function copy(txt$)
	Local cb_TEXT=1
	If txt$="" Then Return 
	If OpenClipboard(0)
		EmptyClipboard
		SetClipboard cb_TEXT,txt$
		CloseClipboard
	EndIf
End Function

;### Paste
Function paste$()
	Local cb_TEXT=1
	Local txt$=""
	If OpenClipboard(0)
		If ExamineClipboard(cb_TEXT)
		txt$=GetClipboardData$(cb_TEXT)
		EndIf
		CloseClipboard
	EndIf
;	For i=1 To Len(txt)
;		DebugLog Mid(txt,i,1)+" "+Asc(Mid(txt,i,1))
;	Next
	Return txt$
End Function

old Re: source code

DC
Admin On Online

Quote
you did not read the included readme. there is a readme with instructions included in the source code download.

you have to do what it says otherwise you will not be able to compile the source code!

README.txt has written
===============================================================
WTH is that?!
===============================================================

This is the full source code of Stranded II 1.0.0.1*
for the programming language Blitz 3D (www.blitzbasic.com)

*) with some minor changes after the release of 1.0.0.1

Also see:
www.strandedonline.de
www.unrealsoftware.de

===============================================================
How to use
===============================================================

NOTE:
YOU NEED BLITZ3D TO USE THIS (VERSION 1.98 OR HIGHER)!
YOU CAN'T RUN IT WITH THE DEMO VERSION!

- put "source/StrandedII.bb" in your Stranded II dir
- put "source/includes"-dir in your Stranded II dir
- put "userlibs/user32.decls" in the userlibs dir of Blitz 3D
- add the text "-inbb" to the Blitz 3D Program Command Line
- recommended: also add "-win" to the Command Line
- Open and compile "StrandedII.bb"!


===============================================================
License
===============================================================

This code is released under the
Creative Commons
Attribution-Noncommercial-Share Alike 3.0 Germany
License

See the following links for license details:
http://creativecommons.org/licenses/by-nc-sa/3.0/de/deed.en

You are allowed to modify this code as you like!
You are NOT allowed to use this code for commercial projects
without the permission of Peter Schauß / Unreal Software!

Please always link www.unrealsoftware.de in projects
which are using this code!

Please always add notes which say that you used the code of
Stranded II.

Thank you.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview