On Wed, 18 Jul 2018 21:26:05 -0400
Ben Grasset wrote:
> This is a massive oversimplification. Many *modern* game engines do not
> even have the kind of loop you're thinking of.
Please tell me where I can read up about those engines without cyclic executive?
Are those engines interrupt driven or h
On Wed, 18 Jul 2018 16:12:41 -0600
Ryan Joseph wrote:
> Personally for my taste I would like to just add a little keyword to the end
> of the variable so I don’t have to worry about it later.
1) little, innocent deallocation feature A
2) other user comes along: "We already have A, can it be imp
On Wed, 18 Jul 2018 15:39:58 -0600
Ryan Joseph wrote:
> 1) For high performance situations it really does matter... I was
> doing a game engine recently and doing the create/free thing when I knew I
> didn’t have to was painful.
For high performance in a game engine you should not allocate/de
On Wed, 18 Jul 2018 14:33:51 -0600
Ryan Joseph wrote:
> They probably wanted something like this:
>
> n := if x <> 0 then 10 else 20;
>
> Not too crazy in my opinion.
Only if you think that changing a statement to an expression is not 'too crazy'.
Btw in Kotlin if is an expression:
val n = if
On Tue, 17 Jul 2018 13:56:39 +0200
Giuliano Colla wrote:
> The syntax is quite simple: "please:", followed by the explanation in
> plain English (or whatever locale is selected) of what you want the
> compiler to do, makes the compiler generate the appropriate code.
Not against you but that's
On Tue, 17 Jul 2018 12:04:19 +0200
Martin wrote:
> But more troubling:
> You do no longer have a complete list of all local vars. That means, if
> I want to add a (current style) local var "i", i may have to scan the
> entire procedure (maybe hundreds of lines) to find if there already is a
>
On Wed, 25 Apr 2018 16:43:30 +0200 (CEST)
Michael Van Canneyt wrote:
> Ah, webgl...
>
> I had a look at this some time ago, and got depressed.
Can you elaborate?
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.o
On Wed, 25 Apr 2018 22:14:17 +0700
Ryan Joseph wrote:
> ... and Android is all Java right?
AFAICR it's now Kotlin, Java, C++ and FPC in order of support and ease of use.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freep
On Sun, 8 Apr 2018 21:58:55 -0400
Ben Grasset wrote:
> I'm not at all getting why people think it's "kitten-like." Have you guys
> ever actually seen a kitten?
Sure, they look like this: https://tinyurl.com/y9hod4gg
> And a much better/more tasteful cheetah than that
> ancient, annoying "running
On Fri, 6 Apr 2018 09:53:19 +0700
Mr Bee via fpc-pascal wrote:
> Lock-in strategy is just a term in business, but it never really locks
> anybody into anything. You won't be punished if you don't use Swift on
> Apple's platform or C# on Microsoft's platform. You're still free to use
> anything on
On Thu, 21 Dec 2017 15:49:01 +0100
Michael Schnell wrote:
> Rather obviously this
> would needed to be provided by the library (e.g. Lazarus or mse).
LOL, no.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
On Fri, 22 Dec 2017 08:53:03 +0100 (CET)
Michael Van Canneyt wrote:
> That is one of the points of pas2js. To allow you to program the browser [in
> pascal].
Fixed that for you.
And yes, that's what most transpilers to javascript are meant for.
> There is no need for a server. You can make e.g.
On Wed, 20 Dec 2017 15:14:50 +0100
Ingemar Ragnemalm wrote:
> Although I would like to make some improvements - who doesn't? To be
> precise, I want to figure out a way to play sounds, and I want image
> loading directly in the code and not dependent on the HTML. Any ideas
> about that?
First
On Fri, 14 Jul 2017 17:58:16 +0200
Mattias Gaertner wrote:
> longint is type. longint() is a typecast.
Thx, now you ruined my amazingly funny response which would have delighted the
list members for the whole weekend perhaps even up to the middle of next week.
It was so hilarious that every rand
On Wed, 31 May 2017 10:47:40 -0400
"James Richters" wrote:
> It's a word with:
> 5bits red, 6bits green, and 5bits blue like this:
>
> RGGB
>
> I'm not sure what that's called
RGB565, maybe?
R.
___
fpc-pascal maillist - fpc-pascal@lists
On Mon, 29 May 2017 14:07:40 -0400
Anthony Walter wrote:
> By the way, what's stopping you guys from using OpenGL ES 2.0?
It's ten years old, the current ES version is 3.2.
It has less functionality than "standard GL" as it's meant for embedded systems
(hence ES).
R.
___
On Sat, 27 May 2017 16:52:21 +0700
Ryan Joseph wrote:
> Not having glm::perspective or glm::lookAt is enough to really stop you in
> your tracks and running off to Google for hours.
Then perhaps you have to improve your google skills. ^^
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/x
On Fri, 19 May 2017 12:16:28 +0100
Graeme Geldenhuys wrote:
> Again, what does that say about FPC generated binary performance.
That we get a performance boost when we can compile FPC to JS?
You should try to compile graemecraft with FPC for the JVM, perhaps it boosts
performance. ^^
R.
___
On Fri, 19 May 2017 12:32:17 +0100
Graeme Geldenhuys wrote:
> And no, I don’t agree that this is a “special case”.
Doing lots of calculations in a tight loop is more or less a special case.
On the other hand I have written quite some code that doesn't do much else than
computing lots of stuff th
On Thu, 18 May 2017 17:07:47 +0200 (CEST)
Michael Van Canneyt wrote:
> Giving people advice that they should use perl instead of FPC for math is
> simply insulting.
But Python is ok?
Btw. everyone knows that you do your math in C if you do Python or Perl.
R.
___
On Thu, 18 May 2017 08:40:43 -0700
Jon Foster wrote:
> I limited run time to 10secs, and used "time" to verify actual run time.
> Here are the results, time output listed first and the first section of the
> gprof output without comments:
A little of topic but did gprof just work like it used t
On Thu, 18 May 2017 17:06:39 +0200 (CEST)
Michael Van Canneyt wrote:
> And here I was thinking that math is what computers are for... :/
Back in the day, yes.
But nowadays computers do strings.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
On Thu, 18 May 2017 22:04:19 +0700
Ryan Joseph wrote:
> > On May 18, 2017, at 9:58 PM, Reimar Grabowski wrote:
> >
> > No, they should not.
> > It's no real world problem, just a test program. A real game would be done
> > differently and then FPC is fast.
On Thu, 18 May 2017 21:00:48 +0700
Ryan Joseph wrote:
> That’s right. I’d really like to know what the hell FPC is doing to make it
> so slow (besides the call to Floor()). The compiler team should be worried
> about this also I would think.
No, they should not.
It's no real world problem, jus
On Thu, 18 May 2017 15:53:46 +0200 (CEST)
Michael Van Canneyt wrote:
> Yes, it was.
Don't tell me which mail I replied to, that's just rude.
> The complaint of Graeme was that a FPC ray tracer is much slower slower than
> an
> equivalent raytracer in Java. All the rest are diversions from the
On Thu, 18 May 2017 08:45:59 -0500
nore...@z505.com wrote:
> On 2017-05-18 07:42, Reimar Grabowski wrote:
> > Camera position?
> > OpenGL has no concept of a camera.
>
> When I toyed around with Andorra3D it had some concept/code for a
> Camera, but he may have added i
On Thu, 18 May 2017 20:38:44 +0700
Ryan Joseph wrote:
> I only have some game experience but it’s common to need to perform some sort
> of viewport culling/sorting before you can send the data to OpenGL.
In general there is no sorting needed and culling is better done on mesh level
than vertex
On Thu, 18 May 2017 20:32:57 +0700
Ryan Joseph wrote:
> > On May 18, 2017, at 8:23 PM, Graeme Geldenhuys
> > wrote:
> The compiler must be doing something really stupid for it mess up like that
> but how can we know?
By getting the source of Graemes test, using a profiler on it and having a lo
On Thu, 18 May 2017 14:26:18 +0100
Graeme Geldenhuys wrote:
> On 2017-05-18 14:21, Reimar Grabowski wrote:
> > Yes, I get that, but the interesting point is what does the profiler say?
> > Where are the bottlenecks?
>
> The full source code was posted in the Lazarus Fo
On Thu, 18 May 2017 14:23:41 +0100
Graeme Geldenhuys wrote:
> This thread is getting a bit ridiculous - just like the Lazarus Forum
> thread did. Bottom line is, the exact same code (identical, just the
> language syntax that differed) produced acceptable results with GCC and
> Java. It didn't
On Thu, 18 May 2017 09:59:03 +0100
Graeme Geldenhuys wrote:
> The difference: As explained by somebody after I did a quick google
> search to save time:
>
> "
> wolfenstein3d used raycasting. Raycasting is based on sending out a
> "ray" along each line of sight from the viewer, and incremental
On Thu, 18 May 2017 14:52:25 +0200 (CEST)
Michael Van Canneyt wrote:
> > Why do you have to *calculate* *all*?
>
> Because you want to create an image ? That's what a ray-tracer does AFAIK.
But raytracing isn't the subject here and never was.
Graemes raycasting isn't the subject here either.
On Thu, 18 May 2017 09:23:02 +0100
Graeme Geldenhuys wrote:
> All this was done using
> the software raycaster, and Java gives me 40 FPS very consistently in
> 800x600 resolution (actually 320x200 upscaled to 800x600 - giving the
> nice pixelated effect).
I don't doubt that Java is fast (actua
On Thu, 18 May 2017 09:02:45 +0100
Graeme Geldenhuys wrote:
> On 2017-05-17 14:28, Reimar Grabowski wrote:
> > But I don't get why you have to *calculate* *all*.
>
> The CPU (your program) calculates all the 3D vertex points, as objects
> (made out of vertex points)
On Wed, 17 May 2017 10:57:58 +0100
Graeme Geldenhuys wrote:
> On 2017-05-17 06:12, nore...@z505.com wrote:
> > But any game ends up using opengl anyway, doesnt' it?
>
> They shouldn't have too. I love the retro style low-fidelity games. They
> are perfectly possible to implement without OpenG
On Wed, 17 May 2017 09:57:11 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
> You still need to calculate all the vertices that you send to the graphics
> card, even if the GPU renders then.
Can you elaborate?
I know you have to *transfer* *most* vertices to the GPU (not the ones that a
On Wed, 12 Apr 2017 08:49:08 -0500
nore...@z505.com wrote:
> Why run webgl through javascript if you could just make something like a
> flash plugin object (like youtube videos) that plays opengl scenes using
> some native format similar to how flash uses SWF files, or whatever?
First of all you
On Thu, 16 Mar 2017 11:14:17 +
Graeme Geldenhuys wrote:
> And I am pleasantly surprised! :) That demo worked perfectly on my
> system. Sound, animation, graphics all silky smooth. Impressive indeed.
If running a 3 year old iOS Demo in a browser when we have seen Unreal
Tournament 3 being p
On Tue, 22 Nov 2016 12:41:37 +
Graeme Geldenhuys wrote:
> hahaha... I love how a con is “fundamentally different concept”. How is
> that a con?
Fundamentally different to the way current IDEs/editors process their text ->
too much work for a feature no one gives a flying f**k about.
Got it?
On Wed, 19 Oct 2016 14:36:05 +0200
Jonas Maebe wrote:
> On Linux, kcallgrind or oprofile, I guess (make sure to compile your
> code with -gv for both).
Thanks, will give them a try.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
On Wed, 19 Oct 2016 07:39:30 +0200
Jonas Maebe wrote:
> Reimar Grabowski wrote:
> > are there any known problems with gprof?
>
> No, but on the other hand it's not something that many people use
What do people use to profile their programs?
> On which platform?
Sor
Hi,
are there any known problems with gprof?
Mantis says no but when enabling gprof support in my Lazarus project I get a
segfault in gmon.c when running it.
Any compiler switches I should check for that may interfere or other hints?
R.
___
fpc-pascal
Hi,
here is the code (FPC 3.0.0):
var
Server: TMyServer;
procedure HandleSig(sig : cint); cdecl;
begin
writeln('SIGTERM received');
if (Assigned(Server)) then begin
Server.Active:=False;
end;
end;
begin
FpSignal(SIGTERM, signalhandler(@HandleSig));
Server:=TMyServer.Create(nil)
On Mon, 19 Sep 2016 20:00:54 +0200 (CEST)
Michael Van Canneyt wrote:
> Maybe you can share your code, so we can improve the base class ?
It's just a trivial change to the Draw function and IMO there is little gain
implementing it like this for TFPCustomCanvas, but here you go:
-add variables: N
On Fri, 16 Sep 2016 20:31:30 +0200 (CEST)
Michael Van Canneyt wrote:
> I would say it is a bug.
Then StretchDraw is bugged, too.
Or it's no bug at all and TCustomCanvas is just missing alpha blending
functionality.
I ended up deriving my own canvas class and implementing the desired
functional
On Fri, 16 Sep 2016 17:48:33 +0200 (CEST)
Michael Van Canneyt wrote:
> > Can FCL Image do this and if not what are my alternatives?
>
> It should be able to do this, yes.
Ok, but what am I missing since it's not working here.
R.
___
fpc-pascal mai
Hi,
I want to put watermarks on images in a command line application.
This doesn't do the trick:
ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);
Canvas:=TFPImageCanvas.Create(ScaledImage); // TFPImageCanvas
Canvas.StretchDraw(0,0,Width,Height,Image); // Image is TFPCompactImgRGB8Bit
Ca
On Thu, 17 Mar 2016 11:08:01 +0100 (CET)
Michael Van Canneyt wrote:
> - Use the Android SDK, using the JVM compiler.
> I have written several articles on how to use the latter approach;
> I wrote a real-world app with it.
But you don't own a smart phone and have never heard of 'long click'
like
On Thu, 17 Mar 2016 17:29:23 +0100 (CET)
Michael Van Canneyt wrote:
> Obviously they are not so essential as you seem to think ?
You are right, they are not.
They are only useful to access strange chars like "0"-"9" or "!@#$%&*?/ etc."
which are not often used in passwords or user names. But of
On Thu, 17 Mar 2016 15:49:50 +0100 (CET)
Michael Van Canneyt wrote:
> But, I do have an emulator, and plenty of people in the building do have a
> smartpone :-)
>
> Amazing, eh ? :)
Not really.
But it's amazing that you wrote articles and a real-world application and in
the process never stumbl
On Fri, 5 Feb 2016 12:08:57 +0100
LacaK wrote:
> Why not just reuse C:
>x := condition ? truevalue : falsevalue ;
> As stated before.
> May be only for {$COPERATORS ON}
> (So it will not influence Pascal language, but for those who want use
> it, can enable this syntax using switch)
Are you
On Fri, 29 Jan 2016 11:30:25 +0700
Ryan Joseph wrote:
> Is it available in any version before 2.0 do you know?
No.
> I don’t know much about OpenGL but there is a 1.5 version also which maybe
> has it.
Of course it has it but it is OpenGL 1.5 not OpenGL ES 1.5.
> I found this page also which
On Sun, 11 Oct 2015 16:36:56 +0700
Ryan Joseph wrote:
> is there any more complete examples I could look at?
http://sourceforge.net/p/asmoday/code/HEAD/tree/trunk/asmtypes.pas#l203
Not an example but a straightforward texture class implementation based on
TFPCustomImage. Should work as is for
On Wed, 28 May 2014 10:35:47 +0200
Michael Schnell wrote:
> But how to decently provide a fully released version of EpikTimer to not
> Lazarus enabled users of fpc ?
https://github.com/graemeg/epiktimer/releases
Download. Extract. Copy needed file(s). Profit.
Where is the f** problem?
R.
On Mon, 05 May 2014 23:21:46 +0200
Michalis Kamburelis wrote:
> Contributions are very, very welcome here of course :)
Thought so, but I am looking for a solution not for more work. :)
> However, current exporter from Blender->X3D does not export Blender
> animations in any way to X3D... As a
On Sat, 03 May 2014 21:35:17 +0200
Michalis Kamburelis wrote:
> Hi everyone,
>
> The main engine site, with
> detailed list of features, links to downloads and documentation, is on
>
>http://castle-engine.sourceforge.net/engine.php
Hi,
I am evaluating your engine for a little project.
Fi
On Sat, 3 May 2014 20:48:02 +0200
YuGiOhJCJ Mailing-List wrote:
> I am not looking for learning OpenGL, I just want a minimal example to be
> sure that my OpenGL unit is working correctly.
> Do you have something like that?
There should be some in fpcsrcdir/packages/opengl/examples/.
hih
R.
__
On Tue, 5 Nov 2013 07:10:21 -0800 (PST)
leledumbo wrote:
> > The packages are defined using directories. Is Java a mess too?
>
> Yes, exactly, that's what makes Java package system messy. It makes
> refactoring (or restructurization) extremely difficult for deep package
> hierarchy.
Java has
On Tue, 29 Oct 2013 13:22:47 -0200
Marcos Douglas wrote:
> Do you (all) use prefix in Procedures and/or Functions too? ;-)
Nope, we use classes and methods instead of global procedures and functions. ;)
R.
___
fpc-pascal maillist - fpc-pascal@lists.
On Mon, 28 Oct 2013 21:48:33 -0400
Dmitry Boyarintsev wrote:
> Is it much different than just extending the prefix "M" to "MFP"?
Of course it is not, actually it's about the same, as you know. IMHO it's not
even a feature just another horrible idea of the Delphi guys used to get their
VCL and F
On Thu, 12 Sep 2013 07:10:19 +0200
Jürgen Hestermann wrote:
> Ahh, that's the reason:
> It's (another) sloppiness in Unix systems and has creeped into Windows from
> there.
Unfortunately M$ hasn't implemented it correctly (like always) and enriched the
experience with their common inconsistenci
On Wed, 11 Sep 2013 17:37:36 +0200
Jürgen Hestermann wrote:
> And double delimiters *are* ambiguous:
> Has a (one letter) file name been forgotten or was an additional
> delimiter typed (or appended by bad programmed routines)?
Ambiguity is not defined by how the symbol came into being. You just
On Tue, 03 Sep 2013 00:24:50 +0200
Michalis Kamburelis wrote:
> And I really, really wish this would be changed in FPC too... That is,
> AllowDirectorySeparators should be ['/'] on Unix, not ['/','\'].
> Backslash is a completely normal character in Unix filenames. The
> default value of Allow
On Fri, 30 Aug 2013 19:23:18 +0800
Dennis Poon wrote:
> Frankly, I was unhappy and I replied:
>
> "It is a FREE App without advertisement or anything. I don't get any
> reward from this app. I am mere contributing my time and effort and bore
> the Developer License fee of USD100 and yet it see
On Fri, 12 Jul 2013 07:07:05 +0100
"vfclists ." wrote:
> This attitude which exists in the Pascal community needs to end.
Not really.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Is it just me or is this Fedora stuff hijacking the Android Galaxy S4 thread?
If it is not a problem of my mail client, PLEASE stop this sh!t.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
Same problem here but much funnier FPC message:
Makefile:2704: *** The only supported starting compiler version is
2.7.1. You are trying to build with 2.6.2. If you are absolutely sure
that the current compiler is built from the exact same
version/revision, you can try to use OVERRIDEVERSIONCHECK=
On Fri, 19 Apr 2013 14:06:44 +0200
Sven Barth wrote:
> > If you would have read the discussion about LLVM you would know that
> > emscripten was the reason that it was brought up the last time... ;)
> Sorry, it should be "Since you have read ... you should know ..."
It should be "If I had read
On Fri, 19 Apr 2013 15:06:38 +0300
Nikolay Nikolov wrote:
> Actually, I think you can write an asm.js code generator for FPC. Going
> through LLVM isn't necessary.
Will look into it ASAP. This would be great.
R.
___
fpc-pascal maillist - fpc-pascal@
Hi,
I have read the discussions about FPC using LLVM and the reasons against it
(which I fully understand and support). But a friend of mine
called my attention to this: https://github.com/kripken/emscripten/wiki
From what I have seen this is quite an amazing project. And being in the
process o
On Sun, 14 Apr 2013 11:55:14 -0400
waldo kitty wrote:
> 2.7.1? that's trunk, right?
Yes.
> maybe this commit??
>
> Commit: 23892
> Author: florian
> Date: Sun Mar 17 14:51:19 2013 UTC (4 weeks ago)
> Changed paths:4
> Log Message:+ warn if one of the linux
Hi,
I just updated my FPC 2.7.1 from revision 23807 to 24236 and for every project
I compile I now get warnings that crti.o and crtn.o are not found.
Does anyone know why I suddenly get the warnings?
How do I get rid of the warnings?
This is on Ubuntu 12.10 AMD64.
R.
___
On Thu, 14 Mar 2013 10:48:58 +0200
Juha Manninen wrote:
> You consider it "magnificent" because you have not written anything
> complex with it.
> Please try it yourself. After haunting all the bugs causing crashes
> and memory leaks it may not feel so magnificent any more.
No C++ bashing, please
On Thu, 28 Feb 2013 19:46:07 +0100
Sven Barth wrote:
> Yes, sorry, I did indeed mean Spring4D. And staying with the real thing
> does only help if you use Java...
Which was implicit. Choosing the right tool for the job (in this case Spring).
If this means using a different language so be it.
>
On Thu, 28 Feb 2013 10:56:42 +0100
Sven Barth wrote:
> As others already said: There are components or frameworks out there
> that use modern Delphi features or frameworks of other languages that
> make use of such features. Example: DSpring, which is a Delphi
> dependency injection framework.
On Tue, 26 Feb 2013 08:58:58 +0100
Mattias Gaertner wrote:
> Please submit a bug report.
Done.
http://mantis.freepascal.org/view.php?id=23962
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/f
On Tue, 26 Feb 2013 00:02:33 +0100
Reimar Grabowski wrote:
> But from command line it works. So it is not a FPC problem.
I am really sorry for communicating with myself but I have spoken too early.
Now I can reproduce the problem using just FPC, no Lazarus involved.
It gets triggered w
> On Mon, 25 Feb 2013 22:59:26 +0100
> Mattias Gaertner wrote:
>
> > And it works under 2.7.1 rev 23661:
Even with 23662 it does not work for me compiling from Lazarus. But from
command line it works. So it is not a FPC problem.
Sorry for the noise.
Investigating further.
R.
__
On Mon, 25 Feb 2013 22:59:26 +0100
Mattias Gaertner wrote:
> And it works under 2.7.1 rev 23661:
> TClassB: 0.0E+00, 0.0E+00, 3.0E+00
Thanks for the info. Updating now.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
Hi,
see the following little program:
program argumentbug;
{$MODE ObjFpc}
uses classes;
type
TVector3 = packed record
X, Y, Z: Single;
end;
TClassA = class
protected
fVector: TVector3;
public
procedure SetVector(AVector: TVector3); virtual; abstract;
end;
{ TClassB }
TClassB = class(
On Sat, 23 Feb 2013 15:20:12 +0100
Sven Barth wrote:
Just a little addition:
> In unit GLext you have functions like Load_GL_version_1_3 which will
> load all core functions provided in OpenGL 1.3
and lower. So Load_GL_version_2_0 will call Load_GL_version_1_5 which will call
Load_GL_Version_
Hi,
I have a relatively simple JSON object consisting of some integer and string
fields and a large (500-50 entries) float array.
Following the parsedemo.pp I extract the values from JSON and put them in my
pascal class. All works as expected only that I do not seem to find a method to
copy
On Thu, 09 Feb 2012 19:34:06 -0500
Thomas Young wrote:
> Howard are you saying FPC has dynamic arrays? Is it documented?
http://wiki.freepascal.org/DYNAMIC_ARRAY
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
On Fri, 9 Dec 2011 10:47:15 +0200
Graeme Geldenhuys wrote:
> Like I said, I didn't write that code, and I don't specialise in
> encryption algorithms.
That's not your fault. Your fault was to not identify the problem correctly but
blame FPCs implementation and later rant about "double standards"
On Fri, 09 Dec 2011 07:27:46 +0100
Jürgen Hestermann wrote:
>
>
> Reimar Grabowski schrieb:
> > The parameter should default to FALSE to not break existing code relying on
> > FPCs random function
> And what about existing code coming from Delphi/Turbo Pascal? This
On Thu, 08 Dec 2011 12:51:18 -0500
waldo kitty wrote:
> i wouldn't say specifically place it in the maths unit but what's wrong with
> having both available via a "fastrandom" boolean parameter that is passed? if
> the parameter is not passed, it is defaulted to TRUE... if one wants the MT
> r
On Sat, 26 Nov 2011 21:32:45 +0100
Felipe Monteiro de Carvalho wrote:
>LOGW('[engine_draw_frame]'); // <<<--- I see this tons of times
I hope it is printed every 16ms, else you won't reach 60 fps. ;)
R.
___
fpc-pascal maillist - fpc-pascal@list
On Sat, 26 Nov 2011 16:30:31 +0100
Felipe Monteiro de Carvalho wrote:
> What is lit geometry? Google didn't help me here.
Geometry is anything you draw in OpenGL (in CG the term mesh is preferred) and
lit just means that you use lighting and must therefor provide normals, take
care of setting t
On Fri, 25 Nov 2011 17:53:13 +0100
Felipe Monteiro de Carvalho wrote:
> So far I managed to get this:
>
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/interfaces/customdrawn/customdrawnobject_android.inc?view=markup&root=lazarus
After a quick look I have some questions:
It looks like
On Fri, 18 Mar 2011 20:16:08 +0100
Mattias Gaertner wrote:
> Maybe Reimar can give an example when it does not work.
I am to lazy to attach the code, so here it is (you should know how to get it
into Lazarus without too much hassle :) ):
program xmlattributes;
{$mode objfpc}{$H+}
uses
{$IFD
On Fri, 18 Mar 2011 17:08:49 +0100 (CET)
michael.vancann...@wisa.be wrote:
> Probably determined by hashvalue or the AVL tree order.
That makes sense, thank you for the info.
R.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: To
On Fri, 18 Mar 2011 16:02:10 +0100
Mattias Gaertner wrote:
> Why do you need to order them?
I don't need to, I just want to and the reason is simply aesthetics. So no big
deal that it is not possible.
Btw is there any comprehensible reason behind the order which SetAttribute
uses? It is not alp
Hi all,
I want to create a node with multiple attributes. It works by using
SetAttribute multiple times but it looks like I cannot specify the order in
which the attributes appear in the xml. The order of my SetAttribute calls has
no influence on the order in the node. So my question is if ther
On Fri, 31 Dec 2010 14:03:27 +0100
Darius Blaszyk wrote:
> Unfortunately I need a platform independent method to handle this. So
> assembler is not really the way I want to go, unless it proves to be the only
> way.
Now you know why I called glut a major PITA and using platform dependent
asse
On Mon, 20 Dec 2010 15:50:52 +0100
wrote:
> > But why is it not possible to integrate this with the regular fpGUI ?
> > Can you explain in a couple of sentences ?
>
> Thats not all however, there are minusses. By using glut, you limit
> yourself to the supported platforms/targets. So if new p
On Fri, 10 Dec 2010 00:47:41 +0100
Jeppe Johansen wrote:
> A quick search seems to indicate that that one has a persisting
> problem with glLineStipple
Works as expected with the NVIDIA driver here, so the driver may really be the
problem.
R.
--
A: Because it messes up the order in which peop
On Sat, 6 Nov 2010 23:43:58 +0100
Felipe Monteiro de Carvalho wrote:
> Here is a tutorial:
>
> http://gimite.net/en/index.php?Run%20native%20executable%20in%20Android%20App
>
> It just uses standard Android Java API calls AFAIK
Thanks for the tutorial, but as you surely have read (see comments)
On Sat, 6 Nov 2010 18:39:53 +0100
Felipe Monteiro de Carvalho wrote:
> Did you try making executables for Android? It is possible to run
> native executables from Java.
It is not my code but I know a bit about Android.
I don't know of any way running native executables from Java on this platform.
On Tue, 19 Oct 2010 21:18:03 +0100
Vannus wrote:
> your example is at the start of a "for loop" block, which is much the same
> as having it at the start of a procedure block
So much the same that you can do it in pascal?
What about variables declared inside this for loop or inside the else block
On Mon, 18 Oct 2010 19:21:57 +0100
Vannus wrote:
> Since then, i would say "If you need vars throughout your code, then
> something is wrong with your code"
for (int i = 0;...)
Can't see anything wrong. I use declaration of variables inside blocks quite
often in Java and C++ but have never misse
1 - 100 of 122 matches
Mail list logo