Giter Club home page Giter Club logo

doom's People

Contributors

bluet avatar medvednikov avatar perlun avatar poettlr avatar spytheman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doom's Issues

Builds in 0.7 seconds...?

DOOM translated from C to V. Builds in 0.7 seconds (x25 speed-up).

Are you able to build the entire project in 0.7 seconds? Or just one file?

It takes 28 seconds on my quad-core Intel i7 @2.8GHz.

redefinition of `memcpy`

Hi, I just tried to follow the build instructions; using V 0.1.21 8373264
I try to call v -lib translated p_enemy.v, get

p_enemy.v:2:12: redefinition of `memcpy`
    1| struct C.FILE{} 

    2| fn C.memcpy(voidptr, voidptr, int) 

                  ^
    3| fn C.memmove(voidptr, voidptr, int) 

    4| fn C.memset(voidptr, voidptr, int) 

I decided to comment that out, got same with next line.
I commented out all the C declared functions, got

p_enemy.v:36:17: struct names must be capitalized: use `struct Ticcmd_t`
   35| 

   36| struct ticcmd_t { 

                       ^
   37| 	forwardmove byte

   38| 	sidemove byte

Any help would be appreciated.

Also, I somehow can't rebuild older version of v (or at least it still tells me the version is V 0.1.21 8373264 even if I go a commit back); so if you can point me to what version of v this works with + how to get it - that would be nice.

"SDL.h" not found

I got an error from running make while following the install steps:

[ 51%] Building C object opl/CMakeFiles/opl.dir/opl.c.o
/Users/dylanwallace/chocolate-doom/opl/opl.c:23:10: fatal error: 'SDL.h' file not found
#include "SDL.h"
         ^~~~~~~
1 error generated.
make[3]: *** [opl/CMakeFiles/opl.dir/opl.c.o] Error 1
make[2]: *** [opl/CMakeFiles/opl.dir/all] Error 2
make[1]: *** [src/CMakeFiles/chocolate-doom.dir/rule] Error 2
make: *** [chocolate-doom] Error 2

Anything helps!

V panic: v translated: unknown command

V panic: v translated: unknown command
Run "v help" for usage.
addr2line: 'v': No such file
v(+0x2e7e) [0x5586a2cbbe7e]
addr2line: 'v': No such file
v(+0x91a66) [0x5586a2d4aa66]
addr2line: 'v': No such file
v(+0x90f23) [0x5586a2d49f23]
addr2line: 'v': No such file
v(+0x93a2a) [0x5586a2d4ca2a]
| 0x7f637b8c4b97 | /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)
addr2line: 'v': No such file
v(+0x194a) [0x5586a2cba94a]

Multiple errors: -lib and no IWAD

Hi,

I tried running the commands to build and run from the README.
However, I failed at v -lib translated p_enemy.v:

Unknown argument `-lib`

And if I just skip that step and try to run with ``src/chocolate-doom -width 640:

                         Chocolate Doom 3.0.0
Z_Init: Init zone memory allocation daemon. 
zone memory: 0x7fd8daf4d010, 1000000 allocated for zone
Using /home/aikido/.local/share/chocolate-doom/ for configuration and saves
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
saving config in /home/aikido/.local/share/chocolate-doom/default.cfg
Game mode indeterminate.  No IWAD file was found.  Try
specifying one with the '-iwad' command line parameter.

I just installed the compiler from https://vlang.io/ today, so I probably have the latest. I'm using Ubuntu 21.10.

Any ideas?

Incomplete code

The source code here only has one file :)

Did you forget to push them by any chance?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.