Author Topic: .p, Battle Files 'n Milkshape 3D  (Read 75856 times)

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
.p, Battle Files 'n Milkshape 3D
« Reply #75 on: 2001-06-05 17:35:00 »
Alhexx: Cool. No problems then  :)

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #76 on: 2001-06-05 17:51:00 »
Hey Guys, it's me again!
Could anybody give me a feedback of my RAW->.p Converter? Any Errors, Crashes or sth?

Fice: 'im going to learn C++, but it'll take quite a lot of time until I'll be able to program such apps like in VB, so don't expect me to program in C++ the next weeks...

- Alhexx


halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
.p, Battle Files 'n Milkshape 3D
« Reply #77 on: 2001-06-05 18:53:00 »
Learn C, it's a smaller subset of c++ you can dump all that OO garbage ^_^

/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
}


The SaiNt

  • *
  • Posts: 1300
    • View Profile
.p, Battle Files 'n Milkshape 3D
« Reply #78 on: 2001-06-05 20:00:00 »
 
Quote
/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
}

Hehe, halkun your program won't compile :P
Your main function did not return a value.

It should be like this?
/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
return 0;
}

or this?

/*easy hello world program */
#include
void main ()
{
printf("Hello Worldn");
}


halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
.p, Battle Files 'n Milkshape 3D
« Reply #79 on: 2001-06-05 20:45:00 »
AUUGG! I forgot to void main! Man, I'm retarded! That gets me every time.


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
.p, Battle Files 'n Milkshape 3D
« Reply #80 on: 2001-06-06 02:06:00 »
Halkun: So, you're saying don't use C++ because that gives you the *option* of using objects? C++ (and Delphi) don't *force* you to write OO code, the option's just there if you want. There's no way I'd ever use C; it just limits my options far too much.

Your C program would be just as simple under C++ since it'd be the same program? C has *no* advantages over C++.

Plus OO code speeds up development on complex problems soooooo much...


Anonymous

  • Guest
.p, Battle Files 'n Milkshape 3D
« Reply #81 on: 2001-06-06 16:47:00 »
alhexx - whered you get the sources? i cant find a 3d veiwer type thing.

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
.p, Battle Files 'n Milkshape 3D
« Reply #82 on: 2001-06-06 07:25:00 »
I'm sorry for my bias against C++, it's just at the tender age of 19 I was scarred by Microsoft with that language as thier weapon. I saw a non-mfc "hello world" written for win95 that was *I swear to god* 11 pages long in a textbook. That's when I gave up programming from 1995-97 and learned to play the bass. I came back to america wondeing what this "Internet" thing was and wanted to know how to compile a web page. Man, MS screwed me up. If it wan't for Linux, I'd probably be in some '80s cover band...

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #83 on: 2001-06-06 13:16:00 »
darkness: Do u mean the raw->p sources? I've deleted it from my page.
Ah, u mean the VB 3D Sources? Go Here:
 http://acky.net/vb/vbgraph/" TARGET=_blank>http://acky.net/vb/vbgraph/

- Alhexx

P.S. Oh my god, what have I done? Since i started talking 'bout C++ now everybody gets off-topic  :wink:


The SaiNt

  • *
  • Posts: 1300
    • View Profile
.p, Battle Files 'n Milkshape 3D
« Reply #84 on: 2001-06-06 15:15:00 »
That happens really often here. You'll get used to it.  :)

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
.p, Battle Files 'n Milkshape 3D
« Reply #85 on: 2001-06-06 15:43:00 »
Halkun: It may have been written in C++, but that was almost certainly using C code. The reason MFC (or the VCL) makes everything so quick and easy so it *doesn't* take 11 pages is - Objects. That's one reason to use them (under Windows).

Alhexx: Hey, we might get back ontopic at some point.


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #86 on: 2001-06-06 16:06:00 »
fantastic...

dagsverre

  • *
  • Posts: 323
    • View Profile
    • http://ffsf.cjb.net
.p, Battle Files 'n Milkshape 3D
« Reply #87 on: 2001-06-06 22:12:00 »
Ah...C++ vs. C debates. Have to say at least *something*...

First on the "hello world" example: Actually both are allowed. The standard form of doing it is actually returning an int, "int main()", the return value is given to the OS on program exit, 0 means success (this return value is frequently checked in shell scripts).

Arguments for using C++ instead: The thing that bothers me mest about C is that you can't make your own types. Many people consider operator overloading bad, personally I would prefer C++ just because I get to write:

string s = "Hello ";
s += "world!";

instead of the hideously ugly strcpy you C folks have to deal with.

The second thing is polymorphism. Things like widget libraries simply can't get done in a decent, extensible way without using polymorphism. Polymorphism is possible in C, but it's very messy, ugly, and slower at run-time.

In my experience, people who prefer C often don't get what polymorphism means. Comments like "the difference between a.DoSomething() and DoSomething(a) is pretty damn academic to me" (seen on Slashdot) reveals that these people clearly don't have a first clue what OOP is really about. You don't have to actually use C++, but at least learn yourself what the "virtual" keyword means (polymorphism = virtual member functions).

About Microsoft: That was code for writing a windows program. Microsoft is well known for creating horrible, illogical APIs. From what you say, I'm pretty convinced that a plain C version of the program would be the same length, the difference is that C++ users have a better chance of escaping that.

[EDIT: Typo]

[This message has been edited by dagsverre (edited June 06, 2001).]


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #88 on: 2001-06-06 23:39:00 »
I should have shut up...

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #89 on: 2001-06-12 00:40:00 »
Hey, Guys, GOOD NEWS !
I've been able to program a .p File Viewer (like in Fice's LGPTools) in VB (hey, Fice, did u understand this? => in VB(!!!)) hehe...
Well, it uses OpenGL (...) and u can download it from my page...

The reason why I'm so happy:
This Viewer is the first step in direction to the 'Save File Infos'-option, so I think, there'll be a new Version of Ultima the next days (I promise nothing  :wink:)

BTW: I've seen, that many things have changed in the forum: Fice's a moderator now (Congrats) and guys like The SaiNt aren't any more. Could anybody tell me, what happened? (Hey, Fice, I think u can tell me what's going on)

BTW 2: Hey, Fice, why don't u post a reply on my 'Your Names...' Topic  :-?

- Alhexx


Anonymous

  • Guest
.p, Battle Files 'n Milkshape 3D
« Reply #90 on: 2001-06-12 02:11:00 »
al...... i doesnt work. every p file's 'expressions are too complex'

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
.p, Battle Files 'n Milkshape 3D
« Reply #91 on: 2001-06-12 10:27:00 »
btw Alhexx: When i run Ultima 0.56, and try to open .p file, it shows me 'Active X could not create object', and quits.
and thanks for including me in greetings list.

The SaiNt

  • *
  • Posts: 1300
    • View Profile
.p, Battle Files 'n Milkshape 3D
« Reply #92 on: 2001-06-12 10:53:00 »
 
Quote
Originally posted by Alhexx
BTW: I've seen, that many things have changed in the forum: Fice's a moderator now (Congrats) and guys like The SaiNt aren't any more. Could anybody tell me, what happened? (Hey, Fice, I think u can tell me what's going on)
Huh?


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #93 on: 2001-06-12 17:55:00 »
OOPPSS...   :-?

SaiNt: Ehm, sorry, my mistake ...
I thought, you weren't b'cause u'r not listed in the moderators lists on the Main Message Board Page (???)

mirex: Hmm, interesting - I never had this problem...and I have no idea what happened, because I haven't included any special Active-X controls...
Does anybody know what's wrong?

darkness: I'll take a look at it
BTW: Why don't u register your name???

- Alhexx

- edit -

Oops, my mistake again:
SaiNt is listed on the MMBP...in the Remake Forum (what the heck happened to me?)

- edit 2 -

mirex:
1. Ultima 0.56? Cool  :wink:
2. I think I've got an idea: Ultima creates a 'File System Object' to get the .p file's extension to filter it out in the destination file name - perhaps that's the reason?

[This message has been edited by Alhexx (edited June 12, 2001).]


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #94 on: 2001-06-12 22:21:00 »
Hey, I'm havin' one problem with Ultima 0.27 (not released yet):

Does anybody know an OpenGL command witch lets me move the axis up/down and left/right (somehting like the 'glRotatef'-Command ?)
If someone knows, (Qhimm, you're workin' with opengl viewers, don't you?) please let me know.

- Alhexx


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
.p, Battle Files 'n Milkshape 3D
« Reply #95 on: 2001-06-12 22:32:00 »
OpenGL is my *speciality*. No, it's not programming FF7 editors, it's OpenGL.

What d'you need to do? Move the point that's something's being drawn at? Look at glTranslate command.

hehehe ... if you need to do something in OpenGL, just ask, I'll probably be able to tell you ...


Oh, and as for ActiveX controls: VB probably uses them behind the scenes for lots of stuff. It doesn't exactly give you 100% control over how your app runs.


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #96 on: 2001-06-12 23:21:00 »
Hm, that's *really* good! I'll try out this command...perhaps ultima 0.27 will be released soon (thanx to u, fice  :)

- Alhexx


Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #97 on: 2001-06-13 00:23:00 »
Hey, fice, I think I'll have to list u in my special thanx twice  :)

- Alhexx


mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
.p, Battle Files 'n Milkshape 3D
« Reply #98 on: 2001-06-13 11:33:00 »
Alhexx: sorry, 0.56 => 0.26

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
.p, Battle Files 'n Milkshape 3D
« Reply #99 on: 2001-06-13 14:57:00 »
Nevermind  :)

- Alhexx