> Such issues has usually nothing to do with good/bad code generation.
I meant bad code by the author/creator... not the compiler :)
Sometimes delphi has been known to clean up bad loops that people create, and
speed
them up..
___
fpc-pascal maillis
> >
> > Keyboard handling is not something which is cpu-bound in any way, so
> > I doubt that is caused by a code generation issue.
> >
>
>
> Only think I could think of is if maybe there are some non-standard loops
> running
> waiting for the keyboard, that are sucking up CPU, it is weird ..
>
>
> Keyboard handling is not something which is cpu-bound in any way, so
> I doubt that is caused by a code generation issue.
>
Only think I could think of is if maybe there are some non-standard loops
running
waiting for the keyboard, that are sucking up CPU, it is weird ..
__
L505 wrote:
> I'm not an expert in game programming.. so I don't know much about BSP. But
> the
> keyboard runs at least 4 times as slow, and I still don't see why the game
> would be
> any different on the same code base. The keyboard running 4 times as slow
> shouldn't
> be related to BSP, so
On 05 Dec 2005, at 18:51, L505 wrote:
The FPC team always requested a real world example of the same code
in freepascal
running several times slower than in delphi. Now optimally, I hope
it is simply a
"bad code" issue in which delphi cleans up more than FPC.
Keyboard handling is not som
I'm not an expert in game programming.. so I don't know much about BSP. But the
keyboard runs at least 4 times as slow, and I still don't see why the game
would be
any different on the same code base. The keyboard running 4 times as slow
shouldn't
be related to BSP, so there are other issues too,
On Sunday 04 December 2005 02:19, Kornel Kisielewicz wrote:
> No, I think that the error is in the BSP building algorithm.
The BSP-trees are built beforehand. I don't see how this would affect
game performance unless the built BSP-tree is heavily unoptimized.
> Original
> C-source probably used
L505 wrote:
Anyway, I took a peek, and by the look of it I have two suspicions for
that graphics mess:
1. Floating Point operations.
2. Floating point comparition.
I'm not much of a gamer, but a Doom fan :-P. I even made a freepascal
Doom Roguelike game :-P.
So you think Delphi optimizes
> Anyway, I took a peek, and by the look of it I have two suspicions for
> that graphics mess:
>
> 1. Floating Point operations.
> 2. Floating point comparition.
>
> I'm not much of a gamer, but a Doom fan :-P. I even made a freepascal
> Doom Roguelike game :-P.
So you think Delphi optimizes t
> Hello,
> You manually converted c code from doom to pascal and made it compile?
Jimmy did the work, I just ported it to run on freepascal. It's all in the
ReadMe.txt
file :-). Jimmy ported all the C code to Delphi, and I saw his post on Pascal
Game
Development website. I'm not exactly a g
L505 wrote:
I got Doom to compile with freepascal and run. But I'm not exactly a gamer.
Someone else maybe want to take on the source code and improve it?
This is amazing!
Anyway, I took a peek, and by the look of it I have two suspicions for
that graphics mess:
1. Floating Point operation
El Sáb 03 Dic 2005 04:13, Felipe Monteiro de Carvalho escribió:
>
> Hello,
>
> You manually converted c code from doom to pascal and made it compile?
>
> Where can one find the source code?
>
> In what licence Doom is? If you need hosting space and doom is free
> software maybe you could use Source
On 12/3/05, L505 <[EMAIL PROTECTED]> wrote:
> I got Doom to compile with freepascal and run. But I'm not exactly a gamer.
>
> Someone else maybe want to take on the source code and improve it?
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.or
> I got Doom to compile with freepascal and run. But I'm not exactly a gamer.
>
> Someone else maybe want to take on the source code and improve it?
Here is the
Information link:
http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Doom-To-Freepascal
Direct Download link:
http://z505.com/pascal/game
I got Doom to compile with freepascal and run. But I'm not exactly a gamer.
Someone else maybe want to take on the source code and improve it?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-p
15 matches
Mail list logo