![]() |
|
Shaw's Nightmare |
Neil Black
Member #7,867
October 2006
![]() |
Micheal Muniko said: I've to do unessesary work to avoid these warnings. I treat all warnings as errors. This makes things easier later on, when unsolved warnings can start causing problems.
|
amber
Member #6,783
January 2006
![]() |
In particular, your mixture of relying on implicit declarations (so the compiler doesn't know what return values to expect) and letting control reach the end of non-void functions (so you're not providing any) almost ensures you're going to suffer from some terrible stack corruption bug at some point. |
Onewing
Member #6,152
August 2005
![]() |
Neil Black said: I treat all warnings as errors. This makes things easier later on, when unsolved warnings can start causing problems. You can set a lot of IDE's to do the same thing (if you haven't). ------------ |
Neil Black
Member #7,867
October 2006
![]() |
Onewing said: You can set a lot of IDE's to do the same thing (if you haven't).
I've been using the command line lately. I compile with g++, I code with VIM. I don't need no stinking IDE!
|
Onewing
Member #6,152
August 2005
![]() |
Neil Black said: I've been using the command line lately. I compile with g++, I code with VIM. I don't need no stinking IDE! Sounds like college! ------------ |
Neil Black
Member #7,867
October 2006
![]() |
Onewing said: Sounds like college!
I'm a rebel. My programming teacher recommends Eclipse.
|
Johan Halmén
Member #1,550
September 2001
|
Is there a missing 'n' in the name? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
someone972 said: Don't get us wrong we'd be happy to help with smaller problems and such. It's just that most of us have projects of our own and don't want to, or don't have time to, commit to someone else's. For some reason I initially read that as: Quote: Don't get us wrong we'd be happy to help with smaller problems and such. It's just that most of us have projects of our own we don't want to do, or don't have time to do.
-- |
amber
Member #6,783
January 2006
![]() |
Thomas Fjellstrom said: Don't get us wrong we'd be happy to help with smaller problems and such. It's just that most of us have projects of our own we don't want to do, or don't have time to do.
|
Alianix
Member #10,518
December 2008
![]() |
This posts cracked me up, thanks especially Lenny,I always enjoyed as people getting beat on by other people for obvious reasons. Anyways, seriously, you need to port your code to windows or linux, there is really no reason to deal with a dead OS unless of course you are truly retarded but haven't discovered it yet...
|
Niunio
Member #1,975
March 2002
![]() |
Hi Mikey, glad to see you again. ejem ----------------- |
Micheal Muniko
Member #10,953
May 2009
|
It's great to see you Nuno! And you're still welcome! Here's the latest alpha 0.26: http://www.sendspace.com/file/z762iv I will destroy you Kariba -- Steel |
BAF
Member #2,981
December 2002
![]() |
You can also attach your program to your post, instead of sending people to a crappy download site. |
Tobias Dammers
Member #2,604
August 2002
![]() |
Micheal Muniko said: Note: source code will not be availible until this Saturday.
Lemme guess: you still have to write it --- |
Micheal Muniko
Member #10,953
May 2009
|
BAF: The archive is so big that it this forum can't handle it. Source code: http://www.mediafire.com/download.php?jmtyuwim04z I will destroy you Kariba -- Steel |
LennyLen
Member #5,313
December 2004
![]() |
a) This still isn't a game, it's an intro. b) Why the fuck does it say "LennyLen and mickey86 present..?" Please remove my name from it immediately. c) Your code still fails to compile: Build started on: 16-05-2009 at 19:43.13 Build ended on: 16-05-2009 at 19:43.14 -------------- Build: Debug in shaw --------------- mingw32-gcc.exe -Wall -g -c "C:\Users\LennyLen\Documents\source code\shaw\debug.c" -o obj\Debug\debug.o C:\Users\LennyLen\Documents\source code\shaw\debug.c:5: warning: return type defaults to `int' mingw32-gcc.exe -Wall -g -c "C:\Users\LennyLen\Documents\source code\shaw\main.c" -o obj\Debug\main.o In file included from C:\Users\LennyLen\Documents\source code\shaw\main.c:1: C:\Users\LennyLen\Documents\source code\shaw\shaw.h:8:13: warning: no newline at end of file In file included from C:\Users\LennyLen\Documents\source code\shaw\main.c:2: C:\Users\LennyLen\Documents\source code\shaw\sound.h:6:24: warning: no newline at end of file C:\Users\LennyLen\Documents\source code\shaw\main.c:12: warning: return type defaults to `int' C:\Users\LennyLen\Documents\source code\shaw\main.c: In function `Quit': C:\Users\LennyLen\Documents\source code\shaw\main.c:17: warning: control reaches end of non-void function C:\Users\LennyLen\Documents\source code\shaw\main.c: At top level: C:\Users\LennyLen\Documents\source code\shaw\main.c:29: warning: return type defaults to `int' C:\Users\LennyLen\Documents\source code\shaw\main.c: In function `Shaw_Loop': C:\Users\LennyLen\Documents\source code\shaw\main.c:32: warning: implicit declaration of function `loadimage' C:\Users\LennyLen\Documents\source code\shaw\main.c:33: warning: implicit declaration of function `DrawScreen' C:\Users\LennyLen\Documents\source code\shaw\main.c:36: warning: implicit declaration of function `StartMIDI' C:\Users\LennyLen\Documents\source code\shaw\main.c:40: warning: implicit declaration of function `Fatal_Error' C:\Users\LennyLen\Documents\source code\shaw\main.c:43: warning: implicit declaration of function `DrawScreenDirect' C:\Users\LennyLen\Documents\source code\shaw\main.c:54: warning: implicit declaration of function `StartWAV' C:\Users\LennyLen\Documents\source code\shaw\main.c:73: warning: implicit declaration of function `TVRoomCinematic' C:\Users\LennyLen\Documents\source code\shaw\main.c:123: warning: control reaches end of non-void function C:\Users\LennyLen\Documents\source code\shaw\main.c: At top level: C:\Users\LennyLen\Documents\source code\shaw\main.c:126: warning: return type defaults to `int' C:\Users\LennyLen\Documents\source code\shaw\main.c: In function `Shaw_Main': C:\Users\LennyLen\Documents\source code\shaw\main.c:129: warning: implicit declaration of function `clrscr' C:\Users\LennyLen\Documents\source code\shaw\main.c:141: warning: implicit declaration of function `CheckParamanter' C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: `GFX_MODEX' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: (Each undeclared identifier is reported only once C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: for each function it appears in.) C:\Users\LennyLen\Documents\source code\shaw\main.c:188: error: `GFX_VESA1' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:194: error: `GFX_VESA2B' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:200: error: `GFX_VESA2L' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:206: error: `GFX_VESA3' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:212: error: `GFX_VGA' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:214: warning: implicit declaration of function `SetupGraphics' Process terminated with status 1 (0 minutes, 0 seconds) 8 errors, 18 warnings <edit> This isn't even valid C: 1// To save disk space we only need these cards.
2BEGIN_GFX_DRIVER_LIST
3 GFX_DRIVER_VGA
4 GFX_DRIVER_MODEX
5 GFX_DRIVER_VESA3
6 GFX_DRIVER_VESA2L
7 GFX_DRIVER_VESA2B
8 GFX_DRIVER_VESA1
9END_GFX_DRIVER_LIST
10
11BEGIN_DIGI_DRIVER_LIST
12 DIGI_DRIVER_SB
13END_DIGI_DRIVER_LIST
14
15BEGIN_MIDI_DRIVER_LIST
16 MIDI_DRIVER_MPU
17 MIDI_DRIVER_ADLIB
18 MIDI_DRIVER_SB_OUT
19END_MIDI_DRIVER_LIST
</edit> d) Micheal Muniko said: BAF: The archive is so big that it this forum can't handle it. The forum can handle attachments of up to 10Mb.
|
Micheal Muniko
Member #10,953
May 2009
|
You haven't read the docs (Bits required in ShawDoc.htm) are you? I will destroy you Kariba -- Steel |
LennyLen
Member #5,313
December 2004
![]() |
Micheal Muniko said: You haven't read the docs (Bits required in ShawDoc.htm) are you? What does "The executable should be for MSDOS or any other DOS operating systems. The executable should be up to 768KB. We could try UPX or DJP." have to do with anything? The code you gave in your source won't compile under DJGPP either.
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
LennyLen said: This isn't even valid C: Its allegro stuff to select the individual drivers you want to include. -- |
Micheal Muniko
Member #10,953
May 2009
|
LennyLen: What error do they show, and which version are using? I will destroy you Kariba -- Steel |
LennyLen
Member #5,313
December 2004
![]() |
I posted the errors above, but here they are again (this is with the latest code you posted): C:\Users\LennyLen\Documents\source code\shaw\main.c: In function `Shaw_Main': C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: `GFX_MODEX' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: (Each undeclared identifier is reported only once C:\Users\LennyLen\Documents\source code\shaw\main.c:183: error: for each function it appears in.) C:\Users\LennyLen\Documents\source code\shaw\main.c:188: error: `GFX_VESA1' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:194: error: `GFX_VESA2B' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:200: error: `GFX_VESA2L' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:206: error: `GFX_VESA3' undeclared (first use in this function) C:\Users\LennyLen\Documents\source code\shaw\main.c:212: error: `GFX_VGA' undeclared (first use in this function)
|
Micheal Muniko
Member #10,953
May 2009
|
What version of Allegro are you using. I'm using 4.2.2, normal version. I will destroy you Kariba -- Steel |
LennyLen
Member #5,313
December 2004
![]() |
I'm also using 4.2.2
|
Micheal Muniko
Member #10,953
May 2009
|
Maybe it's your problem, maybe you're using SVN version of something. It's something I can't fix without reproduction. Edit: Updated the change log. I will destroy you Kariba -- Steel |
CursedTyrant
Member #7,080
April 2006
![]() |
Quote: Changelog for Shaw's Nightmare or (SHAW3D as I will abbriviate here) Before reading this please read this note: The challenges of making a game are a lot hard! If you And it goes on. Do you really think that, after reading the above, anyone would even think about programming for you? Also, nobody's gonna code a game for MS-DOS. You're like, 10 years too late for that. --------- |
|
|