Git Product home page Git Product logo

hedgewood's People

Contributors

mirnoth avatar nischu avatar toco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mirnoth

hedgewood's Issues

Bug: Bus error

Bug:
Hab n bisschen gezockt, dann auf "Save game" geklickt. Das Spiel stürzte ab. Schreibrechte sind da, auch Hedgewood.dataSave existiert.

Ausgabe:
.....
Cusor-Position x: 548 y: 146
Cusor-Position x: 461 y: 125
CANDYSTASH: 0
Cusor-Position x: 131 y: 132
Save Game
Read saved tmpData
Could not open file: Hedgewood.dataStore will not overwrite default tmpData
Successfully written Game-Data
Bus error

Trace: Zwischen Punkt 6 und 4 müsste der Fehler stecken

Thread 0:
0 libSystem.B.dylib 0x94503e42 __kill + 10
1 libSystem.B.dylib 0x9457623a raise + 26
2 libSystem.B.dylib 0x945022bb _sigtramp + 43
3 ??? 0xffffffff 0 + 4294967295
4 Hedgewood 0x000093e1 inputPopUp + 498 (popUp.c:87)
5 Hedgewood 0x000091ed popUp + 54 (popUp.c:24)
6 Hedgewood 0x00007b53 saveGame + 93 (ingameMenu.c:183)
7 Hedgewood 0x000079c3 ingameMenuLoop + 247 (ingameMenu.c:118)
8 Hedgewood 0x00007818 ingameMenuStart + 563 (ingameMenu.c:61)
9 Hedgewood 0x00008c55 gameloop + 1852 (gameloop.c:271)
10 Hedgewood 0x00003ac6 startGame + 24 (menu.c:44)
11 Hedgewood 0x00003df0 mainMenuLoop + 216 (menu.c:125)
12 Hedgewood 0x00003a94 menuStart + 101 (menu.c:32)
13 Hedgewood 0x0000336f SDL_main + 148 (main.c:34)

Save file

es fehlen:
tmpData->player.bp.maxOverall

person:
int candystash;
float cutSpeed;

dataStore:
int verticalScroll;
int horizontalScroll;

setupMenu

In function ‘setupMenu’:
cc1: warning: missing initializer
cc1: warning: (near initialization for ‘textColor.unused’)
cc1: warning: initialization from incompatible pointer type

testLoop

In function ‘testLoop’:
cc1: warning: passing argument 3 of ‘whichButtonClicked’ from incompatible pointer type
cc1: note: expected ‘struct SDL_Rect ’ but argument is of type ‘struct SDL_Rect *

EXC_BAD_ACCESS pathfinding.c

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
0x00000001000042d9 in aStar (data=0x10180c600, end=0x101345420) at pathfinding.c:64
64 if(DBPATH)printf("closed 61 x: %d y: %d\n",closed->n_pos.x,closed->n_pos.y);
(gdb) bt
#0 0x00000001000042d9 in aStar (data=0x10180c600, end=0x101345420) at pathfinding.c:64
#1 0x00000001000036d2 in graphicLoop (l_screen=0x100771ed0, data=0x10180c600) at graphicUpdate.c:89
#2 0x0000000100002a23 in SDL_main (argc=1, argv=0x10070ae70) at main.c:99
#3 0x0000000100001eb0 in -SDLMain applicationDidFinishLaunching:
#4 0x00007fff85283a66 in _nsnote_callback ()
#5 0x00007fff84411000 in __CFXNotificationPost ()
#6 0x00007fff843fd578 in _CFXNotificationPostNotification ()
#7 0x00007fff8527a9ce in -NSNotificationCenter postNotificationName:object:userInfo:
#8 0x00007fff87f513d6 in -NSApplication _postDidFinishNotification
#9 0x00007fff87f5130b in -NSApplication _sendFinishLaunchingNotification
#10 0x00007fff8801c305 in -NSApplication(NSAppleEventHandling) _handleAEOpen:
#11 0x00007fff8801bf81 in -NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:
#12 0x00007fff852b1f62 in -NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:
#13 0x00007fff852b1d92 in _NSAppleEventManagerGenericHandler ()
#14 0x00007fff81a04323 in aeDispatchAppleEvent ()
#15 0x00007fff81a0421c in dispatchEventAndSendReply ()
#16 0x00007fff81a04123 in aeProcessAppleEvent ()
#17 0x00007fff86520765 in AEProcessAppleEvent ()
#18 0x00007fff87f2104b in _DPSNextEvent ()
#19 0x00007fff87f207a9 in -NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:
#20 0x00007fff87ee648b in -NSApplication run
#21 0x0000000100002503 in main ()

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.