[Ohrrpgce] SVN: teeemcee/3878 Mac/gfx_sdl: add Help menu and process Cmd-Q, Cmd-H, Cmd-M, Cmd-Shift-H,

Ralph Versteegen teeemcee at gmail.com
Tue Oct 12 18:43:50 PDT 2010


On 13 October 2010 14:20,  <subversion at hamsterrepublic.com> wrote:
> teeemcee
> 2010-10-12 18:20:56 -0700 (Tue, 12 Oct 2010)
> 89
> Mac/gfx_sdl: add Help menu and process Cmd-Q, Cmd-H, Cmd-M, Cmd-Shift-H, Cmd-? key combos
> ---
> U   wip/gfx_sdl.bas
> U   wip/mac/SDLMain.m
> U   wip/scancodes.bi

It's a mistake to have the Help menu show in Game. Maybe I can
determine that at run-time, and also add extra menus like an in-Game
debug menu, and change the name of the application menu to the name of
the current game. This could be reused in other backends that have a
menubar (the non-existent gfx_wxwidgets). Also, I don't know how to
get rid of the search field in the Help menu, that's automatically
added to any menu called "Help".


So, this was my introduction to Objective-C. I thought Obj-C was as
statically typed as C++, but it turns out that you can get totally
incorrect code to compile by fiddling with the syntax, and it will
either generate a warning or a crash at runtime. Crazy stuff.

So how many languages do we have in the repository now? And are there
any amongst us who even know half?!

FreeBASIC
C
C++
Objective C
Hamsterspeak
QuickBASIC
MASM x86 assembler
Python
PHP
Emacs Lisp
Bash script
Windows batch script
GDB script
XSL

I know about half of them - I probably couldn't use QB today without screaming.



More information about the Ohrrpgce mailing list