Search found 6 matches

by Shigerello
Thu Feb 03, 2011 2:11 am
Forum: Bugs Archive
Topic: Possible redraw failure fix
Replies: 3
Views: 1008

Re: Possible redraw failure fix

I peeked into the source code of SDL 1.2 and 1.3. In both SDL versions, SDL_SetEventFilter() is, while it's emptying the event queue, somewhat defenseless against event push. I filed this problem in Bugzilla of SDL and suggested to 1) use proper mutex or 2) remove emptying process all along. Persona...
by Shigerello
Tue Feb 01, 2011 6:43 am
Forum: Bugs Archive
Topic: Possible redraw failure fix
Replies: 3
Views: 1008

Possible redraw failure fix

I found a Bug forum topic "[Beta 18] Startup screen is blank on MacBook Pro" ( http://forums.te4.org/viewtopic.php?t=24259 , I experienced the same problem in my MacBook), and perhaps found the solution. Easy fix First, an easy fix: (diff of src/main.c , between r ev. 2584 and local ) @@ -...
by Shigerello
Fri Jan 28, 2011 1:26 pm
Forum: General Discussion
Topic: Compiling ToME under Mac OSX
Replies: 76
Views: 23756

Re: Compiling ToME under Mac OSX

You're welcome :D

P.S
I updated the last post: 1) the Xcode project file can now work with the T-Engine SVN repository, and 2) SDL-related header files are correctly searched in all configurations.
by Shigerello
Fri Jan 28, 2011 11:59 am
Forum: Bugs
Topic: A memory leak (patch included)
Replies: 1
Views: 1287

A memory leak (patch included)

I found a memory leak in "core_lua.c" . The memory leak occurs at lua_pushstring() : a returned malloc'd char* string of PHYSFS_getDependentPath() is passed to lua_pushstring() . lua_pushstring() creates a copy of the passed char* string internally, so that responsibility for freeing the m...
by Shigerello
Thu Jan 27, 2011 10:10 am
Forum: General Discussion
Topic: Compiling ToME under Mac OSX
Replies: 76
Views: 23756

Re: Compiling ToME under Mac OSX

Hi Dougiegee. Hm, I guess you are using a PowerPC Mac laptop. If it's an Intel Mac, you don't have to compile T-Engine4 unless you wanna try a bleeding-edge version of T-Engine4 (see http://te4.org/download ). Anyway, here is instructions: You need Xcode. If you don't have it, install it from OS ins...
by Shigerello
Tue Jan 25, 2011 10:28 pm
Forum: General Discussion
Topic: Compiling ToME under Mac OSX
Replies: 76
Views: 23756

Re: Compiling ToME under Mac OSX

The current Xcode project file (rev 2192) can't compile the project, as already explained in the previous posts, because #include directives for SDL-related frameworks do not work (e.g. "SDL.h" should be "SDL/SDL.h" ). To get around this problem, patch "project.pbxproj"...