aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java (unfollow)
Commit message (Collapse)Author
2009-12-27Introduce, and implement as usefully as I can in all front ends, aSimon Tatham
new function in the drawing API which permits the display of text from outside basic ASCII. A fallback mechanism is provided so that puzzles can give a list of strings they'd like to display in order of preference and the system will return the best one it can manage; puzzles are required to cope with ASCII-only front ends. [originally from svn r8793]
2009-02-22Fix the Java front end's vertical text positioning whenSimon Tatham
ALIGN_VNORMAL is in use: ALIGN_VNORMAL indicates that the supplied y-coordinate denotes the _baseline_ of the text, not its top, so adding on 'asc' to convert to the baseline is wrong. This only affects Tents, at present. [originally from svn r8452]
2008-09-19Cut-and-paste error which was preventing any drop-down list in theSimon Tatham
custom game configuration code from working in the Java applets. [originally from svn r8192]
2008-07-05Remove rogue diagnostic.Simon Tatham
[originally from svn r8106]
2008-06-26Handle a <param name="game_id"> by passing it in to the C side asSimon Tatham
argv[1], which in turn feeds it into the midend as a game ID. This can of course take any of the forms supported by the native C puzzles: a pure game parameter string, a params:description specific game ID, or a params#seed random game ID. [originally from svn r8095]
2008-06-26The Java console keeps showing up error reports due to being askedSimon Tatham
to resize the puzzle to zero size. Ignore all such requests, in the assumption that a more sensible resize will be along soon enough (which does seem to happen, though I haven't debugged the NestedVM front end hard enough to figure out why the bogus resizes happen in the first place). [originally from svn r8094]
2008-06-10Michael Schierl's patch to compile the puzzles as Java applets usingSimon Tatham
NestedVM. Wow! [originally from svn r8064]