Re: [fpc-pascal] DOOM game for FPC

2005-12-06 Thread L505
> 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

Re: [fpc-pascal] DOOM game for FPC

2005-12-06 Thread L505
> > > > 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 .. >

Re: [fpc-pascal] DOOM game for FPC

2005-12-06 Thread L505
> > 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 .. __

Re: [fpc-pascal] DOOM game for FPC

2005-12-05 Thread Florian Klaempfl
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-05 Thread Jonas Maebe
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-05 Thread L505
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,

Re: [fpc-pascal] DOOM game for FPC

2005-12-05 Thread Vinzent Hoefler
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread Kornel Kisielewicz
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread L505
> 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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread L505
> 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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread Kornel Kisielewicz
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread Elio Cuevas Gómez
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread Felipe Monteiro de Carvalho
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

Re: [fpc-pascal] DOOM game for FPC

2005-12-03 Thread L505
> 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

[fpc-pascal] DOOM game for FPC

2005-12-03 Thread L505
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