Chaosforge Forum

  • September 22, 2019, 04:44
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: I want a lua tutorial  (Read 3530 times)

konijn

  • Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 17
    • View Profile
I want a lua tutorial
« on: March 14, 2007, 13:51 »

The compilation speed of fp is driving me nuts!

Its 1992 all over again !

So an alternative I want to look into is lua script plugging ;)

He Who Sheds Light,
T.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4465
    • View Profile
    • http://chaosforge.org/
Re: I want a lua tutorial
« Reply #1 on: March 14, 2007, 14:27 »

Compilation of fp is slow?? At least on my machine it's damn faster than C/C++... Either you have a old computer or you're doing something wrong (like using absurdly high optimization level :|).

As for a lua plug tutorial there will be one, along with the valkyrie tools to autogenerate code for classes.
Logged
at your service,
Kornel Kisielewicz

konijn

  • Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 17
    • View Profile
Re: I want a lua tutorial
« Reply #2 on: March 15, 2007, 05:49 »

E:\Maze>fpc maze -S2 -OG -vnhwi
Hint: Start of reading config file E:\wesnoth\fp\bin\i386-Win32\fpc.cfg
Hint: End of reading config file E:\wesnoth\fp\bin\i386-Win32\fpc.cfg
Free Pascal Compiler version 2.0.4 [2006/08/21] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling maze.pas
Compiling mazemap.pas
Compiling mazemap.pas
mazemap.pas(91,37) Hint: Type size mismatch, possible loss of data / range check error
mazemap.pas(92,30) Hint: Type size mismatch, possible loss of data / range check error
Linking maze.exe
162 Lines compiled, 28.2 sec <- Half a minute !!!

996 Mhz, 512 Mb RAM

He Who Sheds Light,
T.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4465
    • View Profile
    • http://chaosforge.org/
Re: I want a lua tutorial
« Reply #3 on: March 15, 2007, 07:24 »

Wierd. DoomRL + Valkyrie vuilds up from scratch in 16 seconds ... and it is huge :/
Logged
at your service,
Kornel Kisielewicz
Pages: [1]