Giter VIP home page Giter VIP logo

zorbash's Introduction

Pixel art

Welcome to the lair of the dread tentacleye, Zorbash. Collect the crystals of Zorb and confront Zorbash to win. Itch.io

Pixel art and ascii mode options

Press TAB to switch between modes during the game.

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Pixel art         Ascii art

Bestiary

Monster Class/Rarity Dngr Attack # Attcks Other attacks Immunity
Reaper E/common 824 1d6+6 2 Acid
Cold
Fire
Holy-damage
Necrosis
Negation
Paralysis
Confusion
Confusion
Blinding
Poison
Holding
Sanctuary-tiles
Slowing
Webs
Draining
Vorpal-Weapons
Non-Magical-Weapons
Fire Demon D/uncommon 566 1d14+4 2 Fire:1d6+6
Cold
Fire
Necrosis
Poison
Vorpal-Weapons
Cthulite D/rare 440 1d14+4 2 Acid:2d6
Poison:2d12
Acid
Cold
Necrosis
Confusion
Confusion
Poison
Draining
Vorpal-Weapons
Ettin, Two Headed Giant D/rare 382 1d10+4 2
Dark Sluud C/common 360 1d8+1 2 Drain:1d10
Acid
Necrosis
Poison
Water
Flesh Golem C/rare 346 2d8+4 2 Cold
Confusion
Confusion
Poison
Draining
Tentacle Horror B/common 332 2d6+2 1 Acid:1d6
Acid
Necrosis
Undead Bear C/common 328 2d8+5 2 Necrotic:1
Cold
Necrosis
Poison
Draining
Bearowl C/common 290 2d8+5 2
Baby Kraken D/rare 251 1 Bite:3d8+10
Digest:1d20
Drown:1d20
Water
Colossal Scorpion E/v-rare 243 1 Bite:2d8+6
Digest:1d40
Poison:1d20+10
Fire Troll B/uncommon 241 1d12+4 1 Fire
Poison
Yeti C/rare 209 1d12+8 1 Cold
Mummy B/common 208 1d10+10 2 Drain:1d10
Cold
Fire
Necrosis
Poison
Draining
Stone Troll B/common 197 1d12+4 1 Poison
Giant Skeleton C/common 197 1d6 1 Cold
Necrosis
Paralysis
Blinding
Poison
Draining
Dungeon Cleaner B/common 189 1d10 1 Digest:1d40
Acid
Necrosis
Black Pudding B/common 188 3d6+2 1 Acid:2d6
Acid
Cold
Electricity
Lightning
Necrosis
Cement Man C/common 184 3d8+6 1 Cold
Fire
Confusion
Confusion
Poison
Draining
Mummy Necromancer C/uncommon 154 1d6+2 1 Necrotic:1
Cold
Necrosis
Poison
Draining
Bone Spider C/common 152 1d8+3 1 Poison:2d8
Cold
Necrosis
Poison
Webs
Draining
Vorpal-Weapons
Lesser Tentacleye C/common 141 2d6 1 Cold
Necrosis
Poison
Draining
Water
Flameskull C/uncommon 140 2d6 1 Acid
Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Draining
Vorpal-Weapons
Non-Magical-Weapons
Giant Spider B/common 140 1d8+3 1 Poison:2d8
Webs
Gargoyle C/common 134 2d6 1 Cold
Necrosis
Poison
Draining
Water
Vorpal-Weapons
Murder Bunny B/rare 132 1d8 2 Bite:1d6
Claw:1d4
Portable Hole B/uncommon 127 0 Acid
Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Webs
Draining
Vorpal-Weapons
Hill Ogre B/common 127 1d10+4 1
Iceman B/common 126 1 Cold:1d8
Cold
Unleashed Gargoyle C/common 124 1d6+2 1 Necrosis
Poison
Draining
Water
Vorpal-Weapons
Demon Goat B/rare 106 2d6+2 1 Fire
Necrosis
Poison
Giant Piranha B/v-rare 103 1d10+3 1 Bite:1d8
Water
Giant Battle Duck C/v-rare 98 1d8+4 1 Bite:1d10
Claw:1d6
Water
Treasure Chest B/common 93 1d8+4 1 Water
Vorpal-Weapons
Treasure Chest Mimic B/common 93 1d8+4 1 Water
Vorpal-Weapons
Flaming Skeleton B/common 92 1d4 1 Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Draining
Acid Blob A/common 90 1d10 1 Acid
Necrosis
Burning Skeleton B/common 89 1d3 1 Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Draining
Electric Eel B/rare 87 1d3+1 1 Bite:1d4
Electricity
Water
Mantisman B/uncommon 85 1d12+8 1
Dreadfire Snake C/rare 83 1d3+1 1 Poison:1d4
Webs
Water
Flux Spider B/uncommon 82 1d3 1 Necrotic:1
Poison:1d4
Cold
Necrosis
Poison
Webs
Vorpal-Weapons
Gargoyle Baby C/common 80 1d6 1 Cold
Necrosis
Poison
Draining
Water
Vorpal-Weapons
Hellpup B/rare 78 1d6+2 1 Cold
Fire
Necrosis
Poison
Draining
Zorblin Priest B/common 78 1d6+2 1
Assassin Duck B/v-rare 77 1d6+1 1 Bite:1d8
Claw:1d6
Water
Zorblin Leader B/common 76 1d4+2 1
Zorblin Pirate B/common 76 1d4+2 1
Gaseous Gloat B/common 75 1d20 1 Digest:1d40
Necrosis
Firefox B/rare 74 1d6+2 1 Fire
Water
Dungeon Belcher B/common 74 1d20 1 Digest:1d10
Confusion
Confusion
Teletoad B/common 73 1d3+1 1 Poison:1d10
Cold
Water
Death Hornet A/uncommon 72 1d4+1 1 Bite:1d10
Poison:1d10
Zoblin A/common 70 1d6 1 Cold
Necrosis
Poison
Draining
Zoblin A/common 70 1d6 1 Cold
Necrosis
Poison
Draining
Zorblin Soldier A/common 70 1d4+2 1
Huge Fluffy Bat B/common 67 1d4+2 1 Bite:1d4
Claw:1d6
Poison:1d4+1
Water
Deathstalker Scorpion B/rare 66 1d6+1 1 Poison:1d30
Dogman A/common 65 1d4+1 1 Water
Molekin A/uncommon 64 1d4+2 1 Water
Zorblin Wizard C/common 64 1d4+2 1
Lesser Zorblin A/common 64 1d4+2 1
Pyrolizard A/common 64 1d6+1 1 Fire
Gnome Knight B/common 63 1d6+1 1 Poison
Zorblomancer B/common 62 1d4+2 1
Zorblin Eldster B/common 62 1d4+2 1
Piranha A/rare 61 1d4+3 1 Bite:1d4
Water
Carcass Creeper A/common 61 1d6+2 1 Bite:1d8
Claw:1d6
Poison:1d10
Poison
Sluud B/common 61 1d4+1 1 Acid
Poison
Water
Rock Gnome B/common 61 1d6+1 1 Poison
Gnorf A/common 60 1d4+1 1 Cold
Poison
Gnoll A/common 59 1d4+1 1 Water
Brown Extrovert Spider A/uncommon 59 1d3 1 Necrotic:1
Poison:1d3
Necrosis
Webs
Battle Goat B/uncommon 58 1d6+2 1 Poison
Water
Gnome Thief A/common 54 1d2+1 1 Cold
Poison
Slime Jumper A/common 54 2d6+2 1 Acid:1d6
Acid
Necrosis
Kraken Tentacle A/common 52 1d3+1 1 Poison:1d8+1
Water
Thylacine B/v-rare 52 1d6+2 1 Water
Onyx Widow A/common 52 1d3 1 Poison:1d4
Webs
Meatfairy A/common 51 1d3+1 1 Bite:1d4
Claw:1d2
Vorpal-Weapons
Noble Warrior /common 50 1d3 1 Sanctuary-tiles
Blinkcat B/common 50 1d3+1 1 Cold
Water
Vorpal-Weapons
Spectral Blade B/unique 49 1d4 1 Cold
Fire
Necrosis
Paralysis
Confusion
Confusion
Blinding
Poison
Webs
Draining
Vorpal-Weapons
Spectral Blade B/unique 48 1d3 1 Cold
Fire
Necrosis
Paralysis
Confusion
Confusion
Blinding
Poison
Webs
Draining
Vorpal-Weapons
Spectral Blade B/unique 48 1d3 1 Cold
Fire
Necrosis
Paralysis
Confusion
Confusion
Blinding
Poison
Webs
Draining
Vorpal-Weapons
Moresquito A/common 48 1d3+1 1 Bite:1d4
Claw:1d3
Poison:1d4
Drain:1d4
Para Spider B/uncommon 48 1d3 1 Poison:1d4
Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Webs
Draining
Vorpal-Weapons
Orb Of Energy B/uncommon 47 0 Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Webs
Draining
Dog A/uncommon 46 1d4+2 1 Water
Ghost A/common 45 1 Cold:1
Acid
Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Webs
Draining
Water
Cuddly Eel A/common 45 1d3+1 1 Bite:1d4
Water
Ghost Minion A/common 45 1 Cold:1
Acid
Cold
Fire
Necrosis
Paralysis
Blinding
Poison
Webs
Draining
Water
Asp A/common 45 1d3+1 1 Poison:1d3+1
Webs
Water
Scorpion A/common 45 1d3+1 1 Poison:1d12
Orb Of Fire B/uncommon 45 0 Fire
Necrosis
Paralysis
Blinding
Poison
Skeleton A/common 45 1d3 1 Cold
Necrosis
Paralysis
Blinding
Poison
Draining
Giant Rat B/common 45 1d6+2 1 Water
Narhornet A/uncommon 44 1d4+1 1 Bite:1d4
Poison:1d8
Centipede A/common 44 1d4+2 1 Bite:1d8
Claw:1d4
Poison:1d4
Poison
Skeleton A/common 43 1d3 1 Cold
Necrosis
Paralysis
Blinding
Poison
Draining
Skeleton Minion A/common 42 1d2 1 Cold
Necrosis
Paralysis
Blinding
Poison
Draining
Baby Black Pudding B/common 41 1 1 Acid:1d5
Acid
Cold
Electricity
Lightning
Necrosis
Rabid Bat Minion A/common 40 1 1 Bite:1d3
Claw:1d2
Water
Giant Dungeon Duck A/rare 39 1d3+1 1 Bite:1d4
Claw:1d3
Water
Rat A/common 38 1d3+2 1 Water
Fluffy Bat A/common 38 1 1 Bite:1d3
Claw:1d2
Water
Jade Viper B/common 37 1d3+1 1 Poison:1d2
Webs
Water
Clingy Leech A/common 37 1d3+1 1 Bite:1d4
Drain:1d4
Water
Jackalope A/rare 36 1d4 1
Sewer Crab A/common 32 1d3+1 1 Water
Fleshbee A/common 32 1d3+1 1 Bite:1d4
Claw:1d3
Goldfish A/common 31 1 1 Bite:1d1+1
Water
Vorpal-Weapons
Baby Slime Jumper A/common 29 1 1 Acid:1d3
Acid
Necrosis
Lava Ant A/common 27 1d3+1 1 Bite:1d4
Claw:1d3
Fire:1d3+1
Fire
Sheep B/common 27 1d3+2 1 Water
Bloated Bloodbug A/common 24 1d2+1 1 Bite:1d2
Drain:1d1
Vampire Rose A/common 24 1d3 1 Digest:1d5
Confusion
Confusion

Weapons

Name Class/Rarity Damage Damage Roll Special Weapon Damaged Chance Runic Chance Gold Value
Sword Of Darkness C/v-rare 12 - 42 6d6+6 Immunity-Acid
0.01 % Y 1000
Warhammer C/common 4 - 32 4d8 Swing-penalty
Hits all surrounding
0.01 % Y 450
Mace C/common 3 - 24 3d8 Swing-penalty
0.01 % Y 350
Double Shovel C/uncommon 2 - 20 2d10 Hits in-front and behind
1.00 % Y 50
Holy Sword Of Clonrichet C/v-rare 5 - 20 1d16+4 Immunity-Acid
Immunity-Cold
Immunity-Poison
x2 undead
Hits all surrounding
0.01 % Y 2500
Scythe C/uncommon 3 - 18 3d6 Hits all surrounding
0.05 % Y 250
Sword Of Plutonium C/v-rare 5 - 16 1d12+4 Immunity-Acid
0.01 % Y 1000
Sword Of Draining C/v-rare 1 - 12 1d12 Damage-Drain:1d20
Immunity-Drain
Additional-attack
0.05 % Y 1000
Sword Of Duck Summoning C/v-rare 3 - 12 1d10+2 Immunity-Acid
0.01 % Y 1500
Very Broadsword C/uncommon 1 - 12 1d12 Hits adjacent
0.01 % Y 350
Pike B/uncommon 1 - 10 1d10 Hits two ahead
0.50 % Y 10
Cutlass B/rare 1 - 10 1d10 0.20 % Y 100
Shovel B/uncommon 1 - 8 1d8 0.50 % Y 5
Short Sword A/common 1 - 8 1d8 0.10 % Y 100
Rusty Short Sword A/common 2 - 7 1d6+1 Damage-Poison:1d2+1
2.00 % Y 50
Short Axe B/uncommon 1 - 6 1d6 Hits all surrounding
0.05 % Y 150
Dagger A/common 1 - 4 1d4 0.05 % Y 15
Wooden Short Sword A/common 1 - 4 1d4 1.00 % Y 25

Pixelart Screenshots

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

Ascii Screenshots

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

How to build

Linux

  • Tested on Ubuntu 22.10
  • Tested on Fedora 37
    sh ./RUNME

Windows

    sh ./RUNME

Macos

  • Install Mac Ports/Homebrew first.
  • Does not work with anaconda (help wanted as I do not use anaconda):
    sh ./RUNME

Docker

  • Docker (experimental, it builds but cannot find a video display):
    sh ./RUNME.docker.ubuntu
    sh ./RUNME.docker.fedora
    sh ./RUNME.docker.debian

Hardware Specs

The game should run fine on low end PCs, a half decent graphics card and likely > 4g of RAM. If graphics is a limitation, you could run it in ascii mode. I'd be interested in knowing of any low end specs that people get this PC working on.

Dependancies

OpenGL, SDL2 and Python3 (tested up to 3.11) is needed.

Graphics

Music

  • Main music by the amazing Markus Heichelbech (deceased senior technician): found here

Sound effects

Content

  • Dungeon, sewer, swamp, ice, lava, chasms and flooded dungeon biomes
  • Multiple skill and spell trees
  • No end game yet

Other content

  • 125 x monsters
  • 52 x food
  • 25 x items
  • 24 x treasure
  • 24 x staffs
  • 24 x spells
  • 20 x buffs
  • 18 x weapons
  • 14 x potions
  • 12 x debuffs
  • 11 x skills
  • 11 x armor
  • 8 x traps
  • 6 x shield
  • 6 x boots
  • 5 x rings
  • 5 x mobs
  • 5 x keys
  • 5 x amulets
  • 4 x gauntlets
  • 4 x cloaks
  • 3 x doors
  • 1 x player

zorbash's People

Contributors

brettdong avatar goblinhack avatar hirdrac 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zorbash's Issues

Problems compile under GNU/Linux x64

Good day ...

The program doesn't finish the compilation, because I can't find the SDL2 [Maybe] library (which I have in its version 2.0.9), the problem is probably due in part to me, since I have compiled both SDL and SDL2, so the program [probably] won't be able to determine exactly which library to use.

Thanks ....

build.log

compile errors for libstdc++v13

Hi - I opened a pull request to fix compile errors with the latest gcc/libstdc++ v13.
Just opening an issue as well in case you didn't see it.
Thanks!

build improvements

Suggestions for improving your current Makefiles (1 small, 1 big):

  1. Make sure to use '.PHONY' for all Makefile targets that aren't actual files
  2. Object file dependencies are only being created once by build/build.sh with makedepend - no reason you can't change your Makefile to automatically regenerate file dependency info (and also remove need for makedepend).

Here's a sample makefile I created to replace the one generated in src/ (forgive the weird formatting):
COMPILER_FLAGS = -I/usr/include/SDL2 -I/usr/include/python3.9 -DMYVER=\"0.0.4\" -DPYVER=\"3.9\" -O3
CLANG_COMPILER_WARNINGS = -Wall -std=c++2a
GCC_COMPILER_WARNINGS = -x c++ -Wall -std=c++2a

LDFLAGS = -rdynamic
COMPILER_WARNINGS = $(CLANG_COMPILER_WARNINGS)
CC = clang++

EXE =
DSYM =
LDLIBS = -pthread -lSDL2 -lSDL2_mixer -lSDL2_ttf -L/usr/lib64 -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm -lGL
CFLAGS = $(COMPILER_FLAGS) $(COMPILER_WARNINGS)

NAME = zorbash-game
OBJDIR = .build

TARGET_GAME = $(NAME)$(EXE)
.PHONY: all
all: $(TARGET_GAME)

GAME_SOURCE := $(wildcard *.cpp) $(wildcard *.S)
GAME_OBJECTS :=\
$(addprefix $(OBJDIR)/,$(addsuffix .o,$(basename $(GAME_SOURCE))))

DEP_FILES := $(patsubst %.o,%.d,$(GAME_OBJECTS))
DEP_FLAGS = -MMD -MP

$(OBJDIR): ; mkdir -p $(OBJDIR)
$(GAME_OBJECTS): | $(OBJDIR)

$(OBJDIR)/%.o: %.cpp
<tab>$(CC) $(EXTRA_CFLAGS) $(CFLAGS) $(DEP_FLAGS) -c -o $@ $<

$(OBJDIR)/%.o: %.S
<tab>$(CC) $(DEP_FLAGS) -c -o $@ $<

# link
$(TARGET_GAME): $(GAME_OBJECTS)
<tab>$(CC) $(LDFLAGS) $(GAME_OBJECTS) $(LDLIBS) -o $@

# format/clean/clobber
.PHONY: format clean clobber

format:
<tab>clang-format -i *cpp *hpp

clean:
<tab>rm -f ../$(TARGET_GAME) ../stdout.txt ../stderr.txt
<tab>rm -f $(TARGET_GAME) stdout.txt stderr.txt
<tab>rm -rf $(OBJDIR)

clobber: clean
<tab>rm -rf $(OBJDIR)
<tab>mkdir -p $(OBJDIR)

# delete corresponding object file if dependency file needs regeneration
$(OBJDIR)/%.d: ; @rm -f "$(@:.d=.o)"

# include all dependency files
-include $(DEP_FILES)

Change summary:

  1. 'GAME_SOURCE' is defined to contain all your source files (set by wildcard, but it could be a list of files if you don't want to build everything in src/). object files are never listed directly.
  2. GAME_OBJECTS created from GAME_SOURCE
  3. DEP_FILES defined to hold a list of all generated dependency files (.d)
  4. DEP_FLAGS has compiler flags needed to make g++/clang++ generate a dependency file for each source file while compiling
  5. set up makefile targets/dependency to create OBJDIR directory when needed - it doesn't need to be created by clean/clobber any more
  6. %.cpp/%.S source file compile rules changed to include DEP_FLAGS
  7. when makefile starts up, it tires to include dependency files for all source files. If any are missing or out-of-date, corresponding objects files are deleted to trigger the creation of new dependency files

fixes needed for libstdc++ v12

Are you accepting pull requests? I have some fixes for compile errors & warnings I found when I upgraded to gcc 12 (which includes libstdc++)

Here's my 'git diff' output in case you would rather handle the fixes yourself:
diff --git a/src/my_range.hpp b/src/my_range.hpp
index 51a9f711b..b2dba9abd 100644
--- a/src/my_range.hpp
+++ b/src/my_range.hpp
@@ -5,6 +5,8 @@

#pragma once
#include
+#include
+#include

//
// Create a vector of numbers
@@ -27,8 +29,6 @@ template < class T > std::vector< T > make_range(T start, T stop)
//
// Create a vector of numbers and then shuffle them
//
-#include
-#include
extern std::default_random_engine rng;
template < class T > std::vector< T > make_shuffled_range(const size_t how_many)
{

diff --git a/src/my_wid.hpp b/src/my_wid.hpp
index d412cfc72..96ddd3eaa 100644
--- a/src/my_wid.hpp
+++ b/src/my_wid.hpp
@@ -308,7 +308,7 @@ public:
uint64_t key {};
};

-struct tree_wid_key_cmp : public std::binary_function< class tree_wid_key, class tree_wid_key, bool > {
+struct tree_wid_key_cmp {
bool operator()(const tree_wid_key &lhs, const tree_wid_key &rhs) const
{
if (lhs.priority < rhs.priority) {

diff --git a/src/string.cpp b/src/string.cpp
index 260115c3a..00d372f0c 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -7,6 +7,7 @@
#include <libgen.h>
#include
#include
+#include

#include "my_ptrcheck.hpp"
#include "my_sdl.hpp"

build issues

Hello - I found your project while doing a search for C++ roguelikes. Seems very interesting!
Anyways, I managed to build it on my Fedora 34 system but I did run into a few small issues:

  1. The root Makefile couldn't find 'RUNME' (the current directory isn't normally in the search path for most systems). A quick edit of the Makefile to change it to './RUNME' fixed this problem.
  2. You seem to be running clang-format on the source as part of the build process. This caused a lot of files to be changed and made pulling new changes impossible without doing a 'git restore' first. Seems like it would be better to do clang-format as part of your check-in process (maybe with a new makefile target that could be run manually.)

minor build issue

I upgraded my system to Fedora 35 and its newer python version uncovered some minor issues.

  1. build/build.sh creates these files so they should be removed from source control:
    • build/windows/python.version.sh
    • build/windows/windows.xml
  2. .gitignore has the wrong path for these files as well. These .gitignore changes are needed:
    • windows/python.version.sh -> build/windows/python.version.sh
    • windows/windows.xml -> build/windows/windows.xml

doesn't compile for python 3.11

I recently upgraded to Fedora 37 (which includes python 3.11) and now get the following compile warnings & errors:

clang++   -I/usr/include/SDL2 -I/usr/include/python3.11 -include config.h -O3  -Wall  -std=c++2a    -MMD -MP -c -o .build/py_ttf.o py_ttf.cpp
python.cpp:118:3: warning: 'PySys_SetPath' is deprecated [-Wdeprecated-declarations]
  PySys_SetPath(wc_new_path);
  ^
/usr/include/python3.11/sysmodule.h:15:1: note: 'PySys_SetPath' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
^
/usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))


clang++   -I/usr/include/SDL2 -I/usr/include/python3.11 -include config.h -O3  -Wall  -std=c++2a    -MMD -MP -c -o .build/random_name.o random_name.cpp
python_log.cpp:173:25: error: no member named 'frame' in '_ts'; did you mean 'cframe'?
  if (tstate && tstate->frame) {
                        ^~~~~
                        cframe
/usr/include/python3.11/cpython/pystate.h:110:16: note: 'cframe' declared here
    _PyCFrame *cframe;
               ^
python_log.cpp:174:36: error: no member named 'frame' in '_ts'
    PyFrameObject *frame = tstate->frame;
                           ~~~~~~  ^
python_log.cpp:179:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      int   line     = frame->f_lineno;
                            ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:180:46: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      char *filename = py_obj_to_string(frame->f_code->co_filename);
                                             ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:181:46: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      char *funcname = py_obj_to_string(frame->f_code->co_name);
                                             ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:183:20: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      frame = frame->f_back;
                   ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:200:25: error: no member named 'frame' in '_ts'; did you mean 'cframe'?
  if (tstate && tstate->frame) {
                        ^~~~~
                        cframe
/usr/include/python3.11/cpython/pystate.h:110:16: note: 'cframe' declared here
    _PyCFrame *cframe;
               ^
python_log.cpp:201:36: error: no member named 'frame' in '_ts'
    PyFrameObject *frame = tstate->frame;
                           ~~~~~~  ^
python_log.cpp:208:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      int   line     = frame->f_lineno;
                            ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:209:46: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      char *filename = py_obj_to_string(frame->f_code->co_filename);
                                             ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:210:46: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      char *funcname = py_obj_to_string(frame->f_code->co_name);
                                             ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^
python_log.cpp:212:20: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
      frame = frame->f_back;
                   ^
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
               ^

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.